Skip to content

Commit

Permalink
Merge pull request #69 from jkogara/jkogara/add_support_for_latest_ve…
Browse files Browse the repository at this point in the history
…rsions

Update to include 7.1 and latest ruby in test matrix
  • Loading branch information
triskweline authored Jul 15, 2024
2 parents 0d2a33b + 085ad29 commit e2a24ab
Show file tree
Hide file tree
Showing 7 changed files with 264 additions and 123 deletions.
52 changes: 27 additions & 25 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,40 +3,42 @@ name: Tests
on:
push:
branches:
- master
- master
pull_request:
branches:
- master
- master
jobs:
test:
runs-on: ubuntu-20.04
strategy:
fail-fast: false
matrix:
include:
- ruby: 2.5.3
gemfile: Gemfile.5-2
- ruby: 2.5.3
gemfile: Gemfile.6-1
- ruby: 2.7.3
gemfile: Gemfile.6-1
- ruby: 2.7.3
gemfile: Gemfile.7-0
- ruby: 3.2.0
gemfile: Gemfile.6-1
- ruby: 3.2.0
gemfile: Gemfile.7-0
- ruby: 2.5.3
gemfile: Gemfile.5-2
- ruby: 2.5.3
gemfile: Gemfile.6-1
- ruby: 2.7.3
gemfile: Gemfile.6-1
- ruby: 2.7.3
gemfile: Gemfile.7-0
- ruby: 3.2.0
gemfile: Gemfile.6-1
- ruby: 3.2.0
gemfile: Gemfile.7-0
- ruby: 3.3.4
gemfile: Gemfile.7-1
env:
BUNDLE_GEMFILE: "${{ matrix.gemfile }}"
steps:
- uses: actions/checkout@v2
- name: Install ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: "${{ matrix.ruby }}"
- name: Bundle
run: |
gem install bundler:1.17.3
bundle install --no-deployment
- name: Run tests
run: bundle exec rspec
- uses: actions/checkout@v2
- name: Install ruby
uses: ruby/setup-ruby@v1
with:
ruby-version: "${{ matrix.ruby }}"
- name: Bundle
run: |
gem install bundler:1.17.3
bundle install --no-deployment
- name: Run tests
run: bundle exec rspec
2 changes: 1 addition & 1 deletion .ruby-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
3.2.0
3.3.4
2 changes: 1 addition & 1 deletion Gemfile
17 changes: 17 additions & 0 deletions Gemfile.7-1
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
source 'https://rubygems.org'

# Runtime dependencies
gem 'railties', '>= 7.0.1'
gem 'assignable_values'

# Development dependencies
gem 'rspec'
gem 'rspec-rails'
gem 'rspec_candy'
gem 'shoulda-matchers'
gem 'sqlite3', "~> 1.7"
gem 'database_cleaner'
gem 'gemika', '>= 0.8.1'

# Gem under test
gem 'consul', :path => '.'
167 changes: 167 additions & 0 deletions Gemfile.7-1.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,167 @@
PATH
remote: .
specs:
consul (1.3.1)
activerecord (>= 3.2)
activesupport (>= 3.2)
edge_rider (>= 0.3.0)
memoized (>= 1.0.2)
railties (>= 3.2)

GEM
remote: https://rubygems.org/
specs:
actionpack (7.1.3.4)
actionview (= 7.1.3.4)
activesupport (= 7.1.3.4)
nokogiri (>= 1.8.5)
racc
rack (>= 2.2.4)
rack-session (>= 1.0.1)
rack-test (>= 0.6.3)
rails-dom-testing (~> 2.2)
rails-html-sanitizer (~> 1.6)
actionview (7.1.3.4)
activesupport (= 7.1.3.4)
builder (~> 3.1)
erubi (~> 1.11)
rails-dom-testing (~> 2.2)
rails-html-sanitizer (~> 1.6)
activemodel (7.1.3.4)
activesupport (= 7.1.3.4)
activerecord (7.1.3.4)
activemodel (= 7.1.3.4)
activesupport (= 7.1.3.4)
timeout (>= 0.4.0)
activesupport (7.1.3.4)
base64
bigdecimal
concurrent-ruby (~> 1.0, >= 1.0.2)
connection_pool (>= 2.2.5)
drb
i18n (>= 1.6, < 2)
minitest (>= 5.1)
mutex_m
tzinfo (~> 2.0)
assignable_values (1.0.0)
activerecord (>= 2.3)
base64 (0.2.0)
bigdecimal (3.1.8)
builder (3.3.0)
concurrent-ruby (1.3.3)
connection_pool (2.4.1)
crass (1.0.6)
database_cleaner (2.0.2)
database_cleaner-active_record (>= 2, < 3)
database_cleaner-active_record (2.2.0)
activerecord (>= 5.a)
database_cleaner-core (~> 2.0.0)
database_cleaner-core (2.0.1)
diff-lcs (1.5.1)
drb (2.2.1)
edge_rider (2.3.0)
activerecord (>= 3.2)
erubi (1.13.0)
gemika (0.8.3)
i18n (1.14.5)
concurrent-ruby (~> 1.0)
io-console (0.7.2)
irb (1.14.0)
rdoc (>= 4.0.0)
reline (>= 0.4.2)
loofah (2.22.0)
crass (~> 1.0.2)
nokogiri (>= 1.12.0)
memoized (1.1.1)
mini_portile2 (2.8.7)
minitest (5.24.1)
mutex_m (0.2.0)
nokogiri (1.16.6)
mini_portile2 (~> 2.8.2)
racc (~> 1.4)
psych (5.1.2)
stringio
racc (1.8.0)
rack (3.1.7)
rack-session (2.0.0)
rack (>= 3.0.0)
rack-test (2.1.0)
rack (>= 1.3)
rackup (2.1.0)
rack (>= 3)
webrick (~> 1.8)
rails-dom-testing (2.2.0)
activesupport (>= 5.0.0)
minitest
nokogiri (>= 1.6)
rails-html-sanitizer (1.6.0)
loofah (~> 2.21)
nokogiri (~> 1.14)
railties (7.1.3.4)
actionpack (= 7.1.3.4)
activesupport (= 7.1.3.4)
irb
rackup (>= 1.0.0)
rake (>= 12.2)
thor (~> 1.0, >= 1.2.2)
zeitwerk (~> 2.6)
rake (13.2.1)
rdoc (6.7.0)
psych (>= 4.0.0)
reline (0.5.9)
io-console (~> 0.5)
rspec (3.13.0)
rspec-core (~> 3.13.0)
rspec-expectations (~> 3.13.0)
rspec-mocks (~> 3.13.0)
rspec-core (3.13.0)
rspec-support (~> 3.13.0)
rspec-expectations (3.13.1)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.13.0)
rspec-mocks (3.13.1)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.13.0)
rspec-rails (6.1.3)
actionpack (>= 6.1)
activesupport (>= 6.1)
railties (>= 6.1)
rspec-core (~> 3.13)
rspec-expectations (~> 3.13)
rspec-mocks (~> 3.13)
rspec-support (~> 3.13)
rspec-support (3.13.1)
rspec_candy (0.5.1)
rspec
sneaky-save
shoulda-matchers (6.2.0)
activesupport (>= 5.2.0)
sneaky-save (0.1.3)
activerecord (>= 3.2.0)
sqlite3 (1.7.3)
mini_portile2 (~> 2.8.0)
stringio (3.1.1)
thor (1.3.1)
timeout (0.4.1)
tzinfo (2.0.6)
concurrent-ruby (~> 1.0)
webrick (1.8.1)
zeitwerk (2.6.16)

PLATFORMS
ruby

DEPENDENCIES
assignable_values
consul!
database_cleaner
gemika (>= 0.8.1)
railties (>= 7.0.1)
rspec
rspec-rails
rspec_candy
shoulda-matchers
sqlite3 (~> 1.7)

BUNDLED WITH
2.5.15
2 changes: 1 addition & 1 deletion Gemfile.lock
Loading

0 comments on commit e2a24ab

Please sign in to comment.