Skip to content

Commit

Permalink
Add compatibility with Ruby 3.2 (#49)
Browse files Browse the repository at this point in the history
* Add compatibility with Ruby 3.2

* try to fix tests
  • Loading branch information
katrinwiedmann committed Dec 22, 2023
1 parent 4f3d796 commit 6de7d34
Show file tree
Hide file tree
Showing 16 changed files with 58 additions and 58 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
Expand Up @@ -37,11 +37,11 @@ jobs:
- ruby: 2.7.2
gemfile: Gemfile.cucumber-5.3

- ruby: 3.0.0
- ruby: 3.2.0
gemfile: Gemfile.cucumber-4.1
- ruby: 3.0.0
- ruby: 3.2.0
gemfile: Gemfile.cucumber-5.3
- ruby: 3.0.0
- ruby: 3.2.0
gemfile: Gemfile.rails-7
env:
BUNDLE_GEMFILE: "${{ matrix.gemfile }}"
Expand Down
2 changes: 1 addition & 1 deletion .ruby-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
2.5.3
3.2.0
2 changes: 1 addition & 1 deletion Gemfile.cucumber-1.3
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ gem 'pg', ' < 1'
gem 'rspec', '> 3.0'
gem 'rake', '>=10.0.4'
gem 'database_cleaner', '~>1.0.0'
gem 'gemika'
gem 'gemika', '>= 0.8.1'

# Test dependencies
gem 'factory_bot', '< 5'
Expand Down
4 changes: 2 additions & 2 deletions Gemfile.cucumber-1.3.lock
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ GEM
diff-lcs (1.3)
factory_bot (4.11.1)
activesupport (>= 3.0.0)
gemika (0.5.0)
gemika (0.8.2)
gherkin (2.12.2)
multi_json (~> 1.3)
i18n (0.9.5)
Expand Down Expand Up @@ -82,7 +82,7 @@ DEPENDENCIES
cucumber_factory!
database_cleaner (~> 1.0.0)
factory_bot (< 5)
gemika
gemika (>= 0.8.1)
pg (< 1)
rake (>= 10.0.4)
rspec (> 3.0)
Expand Down
2 changes: 1 addition & 1 deletion Gemfile.cucumber-2.4
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ gem 'pg', ' < 1'
gem 'rspec', '~> 3.0'
gem 'rake'
gem 'database_cleaner'
gem 'gemika'
gem 'gemika', '>= 0.8.1'

# Test dependencies
gem 'factory_bot', '< 5' # 5.0 requires Ruby >= 2.3
Expand Down
4 changes: 2 additions & 2 deletions Gemfile.cucumber-2.4.lock
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ GEM
diff-lcs (1.3)
factory_bot (4.11.1)
activesupport (>= 3.0.0)
gemika (0.5.0)
gemika (0.8.2)
gherkin (4.1.3)
i18n (0.9.5)
concurrent-ruby (~> 1.0)
Expand Down Expand Up @@ -86,7 +86,7 @@ DEPENDENCIES
cucumber_factory!
database_cleaner
factory_bot (< 5)
gemika
gemika (>= 0.8.1)
pg (< 1)
rake
rspec (~> 3.0)
Expand Down
2 changes: 1 addition & 1 deletion Gemfile.cucumber-3.0
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ gem 'pg', ' < 1'
gem 'rspec', '~> 3.0'
gem 'rake'
gem 'database_cleaner'
gem 'gemika'
gem 'gemika', '>= 0.8.1'

# Test dependencies
gem 'factory_bot'
Expand Down
4 changes: 2 additions & 2 deletions Gemfile.cucumber-3.0.lock
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ GEM
diff-lcs (1.3)
factory_bot (5.1.1)
activesupport (>= 4.2.0)
gemika (0.5.0)
gemika (0.8.2)
gherkin (4.1.3)
i18n (0.9.5)
concurrent-ruby (~> 1.0)
Expand Down Expand Up @@ -91,7 +91,7 @@ DEPENDENCIES
cucumber_factory!
database_cleaner
factory_bot
gemika
gemika (>= 0.8.1)
pg (< 1)
rake
rspec (~> 3.0)
Expand Down
2 changes: 1 addition & 1 deletion Gemfile.cucumber-3.1
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ gem 'pg'
gem 'rspec', '~> 3.0'
gem 'rake'
gem 'database_cleaner'
gem 'gemika'
gem 'gemika', '>= 0.8.1'

# Test dependencies
gem 'factory_bot'
Expand Down
6 changes: 3 additions & 3 deletions Gemfile.cucumber-3.1.lock
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ GEM
diff-lcs (1.3)
factory_bot (5.1.1)
activesupport (>= 4.2.0)
gemika (0.5.0)
gemika (0.8.2)
gherkin (5.0.0)
i18n (0.9.5)
concurrent-ruby (~> 1.0)
Expand All @@ -61,7 +61,7 @@ GEM
minitest (5.11.3)
multi_json (1.13.1)
multi_test (0.1.2)
pg (1.2.3)
pg (1.5.4)
rake (12.3.0)
rspec (3.7.0)
rspec-core (~> 3.7.0)
Expand Down Expand Up @@ -91,7 +91,7 @@ DEPENDENCIES
cucumber_factory!
database_cleaner
factory_bot
gemika
gemika (>= 0.8.1)
pg
rake
rspec (~> 3.0)
Expand Down
6 changes: 3 additions & 3 deletions Gemfile.cucumber-4.1
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ source 'https://rubygems.org'
gem 'cucumber', '~> 4.1.0'
gem 'activesupport', '~> 6.0.0'
gem 'activerecord', '~> 6.0.0'
gem 'pg'
gem 'pg', '> 1.2.3'

# Development dependencies
gem 'rspec', '~> 3.0'
gem 'rake'
gem 'rake', '> 10.0'
gem 'database_cleaner'
gem 'gemika'
gem 'gemika', '>= 0.8.1'

# Test dependencies
gem 'factory_bot'
Expand Down
12 changes: 6 additions & 6 deletions Gemfile.cucumber-4.1.lock
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ GEM
factory_bot (6.1.0)
activesupport (>= 5.0.0)
ffi (1.15.0)
gemika (0.5.0)
gemika (0.8.2)
i18n (1.8.9)
concurrent-ruby (~> 1.0)
image_processing (1.12.1)
Expand All @@ -88,7 +88,7 @@ GEM
mini_mime (1.0.3)
minitest (5.14.4)
multi_test (0.1.2)
pg (1.2.3)
pg (1.5.4)
protobuf-cucumber (3.10.8)
activesupport (>= 3.2)
middleware
Expand Down Expand Up @@ -131,10 +131,10 @@ DEPENDENCIES
cucumber_factory!
database_cleaner
factory_bot
gemika
pg
rake
gemika (>= 0.8.1)
pg (> 1.2.3)
rake (> 10.0)
rspec (~> 3.0)

BUNDLED WITH
2.1.4
2.4.22
6 changes: 3 additions & 3 deletions Gemfile.cucumber-5.3
Original file line number Diff line number Diff line change
Expand Up @@ -4,13 +4,13 @@ source 'https://rubygems.org'
gem 'cucumber', '~> 5.3.0'
gem 'activesupport', '~> 6.1.0'
gem 'activerecord', '~> 6.1.0'
gem 'pg'
gem 'pg', '> 1.2.3'

# Development dependencies
gem 'rspec', '~> 3.0'
gem 'rake'
gem 'rake', '> 10.0'
gem 'database_cleaner'
gem 'gemika'
gem 'gemika', '>= 0.8.1'

# Test dependencies
gem 'factory_bot'
Expand Down
12 changes: 6 additions & 6 deletions Gemfile.cucumber-5.3.lock
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ GEM
factory_bot (6.1.0)
activesupport (>= 5.0.0)
ffi (1.15.0)
gemika (0.5.0)
gemika (0.8.2)
i18n (1.8.9)
concurrent-ruby (~> 1.0)
image_processing (1.12.1)
Expand All @@ -88,7 +88,7 @@ GEM
mini_mime (1.0.3)
minitest (5.14.4)
multi_test (0.1.2)
pg (1.2.3)
pg (1.5.4)
protobuf-cucumber (3.10.8)
activesupport (>= 3.2)
middleware
Expand Down Expand Up @@ -131,10 +131,10 @@ DEPENDENCIES
cucumber_factory!
database_cleaner
factory_bot
gemika
pg
rake
gemika (>= 0.8.1)
pg (> 1.2.3)
rake (> 10.0)
rspec (~> 3.0)

BUNDLED WITH
2.1.4
2.4.22
10 changes: 5 additions & 5 deletions Gemfile.rails-7
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@ source 'https://rubygems.org'

# Runtime dependencies
gem 'cucumber', '~> 5.3.0'
gem 'activesupport', '~> 7.0.0'
gem 'activerecord', '~> 7.0.0'
gem 'pg'
gem 'activesupport', '~> 7.0.1'
gem 'activerecord', '~> 7.0.1'
gem 'pg', '> 1.2.3'

# Development dependencies
gem 'rspec', '~> 3.0'
gem 'rake'
gem 'rake', '> 10.0'
gem 'database_cleaner'
gem 'gemika'
gem 'gemika', '>= 0.8.1'

# Test dependencies
gem 'factory_bot'
Expand Down
36 changes: 18 additions & 18 deletions Gemfile.rails-7.lock
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ PATH
GEM
remote: https://rubygems.org/
specs:
activemodel (7.0.0)
activesupport (= 7.0.0)
activerecord (7.0.0)
activemodel (= 7.0.0)
activesupport (= 7.0.0)
activesupport (7.0.0)
activemodel (7.0.8)
activesupport (= 7.0.8)
activerecord (7.0.8)
activemodel (= 7.0.8)
activesupport (= 7.0.8)
activesupport (7.0.8)
concurrent-ruby (~> 1.0, >= 1.0.2)
i18n (>= 1.6, < 2)
minitest (>= 5.1)
Expand All @@ -31,7 +31,7 @@ GEM
marcel (~> 1.0.0)
mini_mime (>= 0.1.3)
ssrf_filter (~> 1.0)
concurrent-ruby (1.1.9)
concurrent-ruby (1.2.2)
cucumber (5.3.0)
builder (~> 3.2, >= 3.2.4)
cucumber-core (~> 8.0, >= 8.0.1)
Expand Down Expand Up @@ -75,8 +75,8 @@ GEM
factory_bot (6.2.0)
activesupport (>= 5.0.0)
ffi (1.15.4)
gemika (0.6.1)
i18n (1.8.11)
gemika (0.8.2)
i18n (1.14.1)
concurrent-ruby (~> 1.0)
image_processing (1.12.1)
mini_magick (>= 4.9.5, < 5)
Expand All @@ -85,9 +85,9 @@ GEM
middleware (0.1.0)
mini_magick (4.11.0)
mini_mime (1.1.2)
minitest (5.15.0)
minitest (5.20.0)
multi_test (0.1.2)
pg (1.2.3)
pg (1.5.4)
protobuf-cucumber (3.10.8)
activesupport (>= 3.2)
middleware
Expand Down Expand Up @@ -115,24 +115,24 @@ GEM
ffi (~> 1.1)
thor (1.1.0)
thread_safe (0.3.6)
tzinfo (2.0.4)
tzinfo (2.0.6)
concurrent-ruby (~> 1.0)

PLATFORMS
x86_64-linux

DEPENDENCIES
activerecord (~> 7.0.0)
activesupport (~> 7.0.0)
activerecord (~> 7.0.1)
activesupport (~> 7.0.1)
carrierwave
cucumber (~> 5.3.0)
cucumber_factory!
database_cleaner
factory_bot
gemika
pg
rake
gemika (>= 0.8.1)
pg (> 1.2.3)
rake (> 10.0)
rspec (~> 3.0)

BUNDLED WITH
2.3.0
2.4.22

0 comments on commit 6de7d34

Please sign in to comment.