forked from activemerchant/active_merchant
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #11 from BookingSync/support-rails-7
support Rails 7
- Loading branch information
Showing
8 changed files
with
85 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
name: CI | ||
on: [pull_request] | ||
jobs: | ||
rspec: | ||
strategy: | ||
fail-fast: false | ||
matrix: | ||
include: | ||
- { ruby: '3.0', rails: '6.0' } | ||
- { ruby: '3.0', rails: '6.1' } | ||
- { ruby: '3.0', rails: '7.0' } | ||
- { ruby: '3.1', rails: '7.0' } | ||
- { ruby: '3.2', rails: '7.0' } | ||
runs-on: ubuntu-latest | ||
env: | ||
BUNDLE_GEMFILE: ${{ github.workspace }}/gemfiles/rails.${{ matrix.rails }}.gemfile | ||
steps: | ||
- uses: actions/checkout@v2 | ||
- uses: ruby/setup-ruby@v1 | ||
with: | ||
ruby-version: ${{ matrix.ruby }} | ||
bundler-cache: true | ||
- run: bundle exec rake test:units |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
%w[6.0 6.1 7.0].each do |version| | ||
appraise "rails.#{version}" do | ||
gem "activesupport", "~> #{version}.0" | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
source 'https://rubygems.org' | ||
gemspec | ||
|
||
gem 'jruby-openssl', :platforms => :jruby | ||
|
||
group :test, :remote_test do | ||
# gateway-specific dependencies, keeping these gems out of the gemspec | ||
gem 'braintree', '~> 2.78.0' | ||
end | ||
|
||
gem 'activesupport', '~> 7.0' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
source "https://rubygems.org" | ||
|
||
gem "activesupport", "~> 6.0" | ||
gem "rexml", ">= 3.2.4" | ||
|
||
gem 'jruby-openssl', :platforms => :jruby | ||
|
||
group :test, :remote_test do | ||
# gateway-specific dependencies, keeping these gems out of the gemspec | ||
gem 'braintree', '~> 2.78.0' | ||
gem "psych", "< 4" | ||
end | ||
|
||
gemspec path: "../" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
source "https://rubygems.org" | ||
|
||
gem "activesupport", "~> 6.1" | ||
gem "rexml", ">= 3.2.4" | ||
|
||
gem 'jruby-openssl', :platforms => :jruby | ||
|
||
group :test, :remote_test do | ||
# gateway-specific dependencies, keeping these gems out of the gemspec | ||
gem 'braintree', '~> 2.78.0' | ||
gem "psych", "< 4" | ||
end | ||
|
||
gemspec path: "../" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
source "https://rubygems.org" | ||
|
||
gem "activesupport", "~> 7.0" | ||
gem "rexml", ">= 3.2.4" | ||
|
||
gem 'jruby-openssl', :platforms => :jruby | ||
|
||
group :test, :remote_test do | ||
# gateway-specific dependencies, keeping these gems out of the gemspec | ||
gem 'braintree', '~> 2.78.0' | ||
gem "psych", "< 4" | ||
end | ||
|
||
|
||
gemspec path: "../" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters