Skip to content

Commit

Permalink
Make gem work with all versions of rails less than version 8
Browse files Browse the repository at this point in the history
In order to make this gem work with all version of rails that have
official releases, this commit updates the constraints on the
activerecord for anything less than version 8. Due to the patch the
version was bumped to `1.3.7` in this commit.
  • Loading branch information
marcusmyers committed Apr 10, 2024
1 parent e1dd02e commit 486f639
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion interpret_date.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ Gem::Specification.new do |spec|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
spec.require_paths = ["lib"]

spec.add_runtime_dependency 'activerecord', '<= 7'
spec.add_runtime_dependency 'activerecord', '< 8'
spec.add_development_dependency "bundler"
spec.add_development_dependency "rake"
spec.add_development_dependency "rspec"
Expand Down
2 changes: 1 addition & 1 deletion lib/interpret_date/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module InterpretDate
VERSION = "1.3.6"
VERSION = "1.3.7"
end

0 comments on commit 486f639

Please sign in to comment.