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 0454366
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .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
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 0454366

Please sign in to comment.