Skip to content

Commit

Permalink
SRCH-3825 update gems and code for compatibility with Ruby 3.0 (GSA#182)
Browse files Browse the repository at this point in the history
- add Ruby 3.0 to CircleCi matrix
- specify 3.0.3 as the development version
- removed unused web-console gem
  • Loading branch information
MothOnMars authored Feb 17, 2023
1 parent 43da814 commit 5a40db9
Show file tree
Hide file tree
Showing 9 changed files with 128 additions and 124 deletions.
3 changes: 2 additions & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,8 @@ workflows:
parameters:
ruby_version:
- 2.7.5
# not yet compatible with Ruby 3.x
- 3.0.3
# not yet compatible with 3.1 or 3.2
elasticsearch_version:
- 7.17.7
# not yet compatible with Elasticsearch 8
2 changes: 1 addition & 1 deletion .ruby-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
ruby-2.7.5
ruby-3.0.3
10 changes: 4 additions & 6 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@ gem 'rails', '~> 6.1.0'

gem 'rake', '~> 13.0.6'

gem 'grape', '~> 1.3.2'
gem 'grape', '~> 1.7.0'

gem 'jbuilder', '~> 2.6.4'
gem 'jbuilder', '~> 2.11.5'

gem 'elasticsearch-api', '~> 6.0'
gem 'elasticsearch-model', '~> 5.0'
Expand Down Expand Up @@ -41,9 +41,7 @@ group :development, :test do
end

group :development do
# Access an IRB console on exception pages or by using <%= console %> anywhere in the code.
gem 'listen', '>= 3.0.5', '< 3.2'
gem 'web-console', '>= 3.3.0'
gem 'listen', '~> 3.8.0'
# Spring speeds up development by keeping your application running in the background. Read more: https://github.com/rails/spring
gem 'spring'
gem 'spring-watcher-listen', '~> 2.0.0'
Expand All @@ -57,5 +55,5 @@ group :test do
gem 'rspec-sidekiq', '~> 3.0.1'
gem 'rspec_junit_formatter', '~> 0.4.1'
gem 'simplecov', '~> 0.16.1'
gem 'webmock', '~> 3.5.1'
gem 'webmock', '~> 3.18'
end
Loading

0 comments on commit 5a40db9

Please sign in to comment.