Skip to content

Commit

Permalink
Merge pull request #372 from spree/fix/ruby-3-0-0
Browse files Browse the repository at this point in the history
Ruby 3.0 support
  • Loading branch information
damianlegawiec authored Jan 14, 2021
2 parents be94871 + 6ad87f5 commit 97e27b8
Show file tree
Hide file tree
Showing 6 changed files with 10 additions and 32 deletions.
12 changes: 8 additions & 4 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -15,22 +15,26 @@ services:
language: ruby

rvm:
- 2.6
- 2.7
- 3.0

env:
- DB=mysql
- DB=postgres

gemfile:
- gemfiles/spree_3_7.gemfile
- gemfiles/spree_4_0.gemfile
- gemfiles/spree_4_1.gemfile
- gemfiles/spree_4_2.gemfile
- gemfiles/spree_master.gemfile

jobs:
allow_failures:
- gemfile: gemfiles/spree_master.gemfile
- gemfile: gemfiles/spree_master.gemfile
exclude:
- rvm: 3.0
gemfile: gemfiles/spree_4_1.gemfile
- rvm: 3.0
gemfile: gemfiles/spree_3_7.gemfile

before_install:
- mysql -u root -e "GRANT ALL ON *.* TO 'travis'@'%';"
Expand Down
10 changes: 0 additions & 10 deletions Appraisals
Original file line number Diff line number Diff line change
Expand Up @@ -4,16 +4,6 @@ appraise 'spree-3-7' do
gem 'sass-rails'
end

appraise 'spree-4-0' do
gem 'spree', '~> 4.0.0'
gem 'rails-controller-testing'
end

appraise 'spree-4-2' do
gem 'spree', '~> 4.2.0.beta'
gem 'rails-controller-testing'
end

appraise 'spree-4-1' do
gem 'spree', '~> 4.1.0'
gem 'rails-controller-testing'
Expand Down
2 changes: 1 addition & 1 deletion app/models/spree/gateway/stripe_ach_gateway.rb
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ def payment_source_class
Check
end

def verify(source, **gateway_options)
def verify(source, gateway_options)
provider.verify(source, gateway_options)
end

Expand Down
8 changes: 0 additions & 8 deletions gemfiles/spree_4_0.gemfile

This file was deleted.

8 changes: 0 additions & 8 deletions gemfiles/spree_4_2.gemfile

This file was deleted.

2 changes: 1 addition & 1 deletion lib/spree_gateway/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
module SpreeGateway
def self.version
'3.9.2'
'3.9.3'
end
end

0 comments on commit 97e27b8

Please sign in to comment.