Skip to content

Commit

Permalink
Fix rspec on ruby 2.7
Browse files Browse the repository at this point in the history
  • Loading branch information
hammerhead committed Feb 19, 2024
1 parent 2bc8092 commit e427f93
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 3 deletions.
4 changes: 2 additions & 2 deletions .github/workflows/tests.yml
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ jobs:

matrix:
os: [ "ubuntu-latest" ]
ruby-version: [ "2.4", "2.5", "2.6" ]
ruby-version: [ "2.7" ]

services:
cratedb:
Expand Down Expand Up @@ -54,7 +54,7 @@ jobs:

- name: Bundle install
run: |
gem install bundler
gem install bundler -v 2.4.22
bundle config path vendor/bundle
bundle install
Expand Down
1 change: 1 addition & 0 deletions .ruby-version
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
2.7.8
4 changes: 3 additions & 1 deletion activerecord-crate-adapter.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -46,9 +46,11 @@ Gem::Specification.new do |spec|

spec.add_development_dependency "bundler"
spec.add_development_dependency "rake"
spec.add_development_dependency "rspec", "~> 2.14"
spec.add_development_dependency "rspec", "~> 3.13"

spec.add_dependency('activerecord', '~> 4.1.0')
spec.add_dependency('arel', '>= 5.0.0')
spec.add_dependency('crate_ruby', '~> 0.2.0')
# https://github.com/ruby/bigdecimal#which-version-should-you-select
spec.add_dependency('bigdecimal', '1.3.5')
end

0 comments on commit e427f93

Please sign in to comment.