Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add Ruby 3.2 on CI #642

Merged
merged 3 commits into from
Apr 12, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
9 changes: 9 additions & 0 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,7 @@ jobs:
- "2.7"
- "3.0"
- "3.1"
- "3.2"
exclude:

# Rails 7.0 requires Ruby 2.7 and above
Expand Down Expand Up @@ -92,6 +93,14 @@ jobs:
gemfile: rails_5_1
- ruby: "3.1"
gemfile: rails_5_2
- ruby: "3.2"
gemfile: rails_4_2
- ruby: "3.2"
gemfile: rails_5_0
- ruby: "3.2"
gemfile: rails_5_1
- ruby: "3.2"
gemfile: rails_5_2
- ruby: "jruby"
gemfile: rails_4_2
- ruby: "jruby"
Expand Down
10 changes: 5 additions & 5 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ GEM
jaro_winkler (1.5.4)
jmespath (1.6.2)
json (2.6.3)
method_source (0.9.2)
method_source (1.0.0)
minitest (5.16.3)
overcommit (0.59.1)
childprocess (>= 0.6.3, < 5)
Expand All @@ -56,9 +56,9 @@ GEM
parallel (1.22.1)
parser (3.1.3.0)
ast (~> 2.4.1)
pry (0.12.2)
coderay (~> 1.1.0)
method_source (~> 0.9.0)
pry (0.14.2)
coderay (~> 1.1)
method_source (~> 1.0)
pry-byebug (3.8.0)
byebug (~> 11.0)
pry (~> 0.10)
Expand Down Expand Up @@ -136,7 +136,7 @@ DEPENDENCIES
codecov (~> 0.6)
dynamoid!
overcommit
pry (~> 0.12.0)
pry (~> 0.14)
pry-byebug
pry-debugger-jruby
rake (~> 13.0)
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ end
Dynamoid supports Ruby >= 2.3 and Rails >= 4.2.

Its compatibility is tested against following Ruby versions: 2.3, 2.4,
2.5, 2.6, 2.7 and 3.0, JRuby 9.2.x and against Rails versions: 4.2, 5.0, 5.1,
2.5, 2.6, 2.7, 3.0, 3.1 and 3.2, JRuby 9.4.x and against Rails versions: 4.2, 5.0, 5.1,
5.2, 6.0, 6.1 and 7.0.

## Setup
Expand Down
4 changes: 1 addition & 3 deletions dynamoid.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -58,9 +58,7 @@ Gem::Specification.new do |spec|

spec.add_development_dependency 'appraisal'
spec.add_development_dependency 'bundler'
# Since 0.13.0 pry is incompatible with old versions of pry-byebug.
# We use these old versions of pry-byebug to run tests on Ruby 2.3 which new versions don't support
spec.add_development_dependency 'pry', '~> 0.12.0'
spec.add_development_dependency 'pry', '~> 0.14'
spec.add_development_dependency 'rake', '~> 13.0'
spec.add_development_dependency 'rspec', '~> 3.12'
# 'rubocop-lts' is for Ruby 2.3+, see https://rubocop-lts.gitlab.io/
Expand Down
2 changes: 1 addition & 1 deletion spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,7 @@
)

Dynamoid.configure do |config|
config.endpoint = 'http://127.0.0.1:8000'
config.endpoint = 'http://localhost:8000'
config.namespace = 'dynamoid_tests'
config.warn_on_scan = false
config.sync_retry_wait_seconds = 0
Expand Down