Skip to content

Commit

Permalink
Support Rails 8
Browse files Browse the repository at this point in the history
  • Loading branch information
rzepetor committed Nov 12, 2024
1 parent fdff26b commit 7411d38
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 3 deletions.
5 changes: 3 additions & 2 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,11 @@ source 'https://rubygems.org'

gemspec

gem 'rails', '~> 7.0.0'
gem 'rails', '~> 8.0.0'
gem 'rspec'
gem 'rspec-rails', '~> 6.0'
gem 'rspec-rails', '~> 7.1'
gem 'sqlite3'
gem 'byebug'
gem 'appraisal'
gem 'nokogiri', '~> 1.8'
gem 'mutex_m'
1 change: 1 addition & 0 deletions lib/validates_timeliness.rb
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
require 'active_support/core_ext/date_time/acts_like'
require 'active_support/core_ext/date_time/conversions'
require 'timeliness'
require "mutex_m"

Timeliness.module_eval do
class << self
Expand Down
2 changes: 1 addition & 1 deletion validates_timeliness.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -28,6 +28,6 @@ Gem::Specification.new do |s|
"wiki_uri" => "#{github_url}/wiki",
}

s.add_runtime_dependency("activemodel", [">= 7.0.0", "< 8"])
s.add_runtime_dependency("activemodel", [">= 8.0.0", "< 9"])
s.add_runtime_dependency("timeliness", [">= 0.3.10", "< 1"])
end

0 comments on commit 7411d38

Please sign in to comment.