diff --git a/camunda-workflow.gemspec b/camunda-workflow.gemspec index 74050c9..5d4c0eb 100644 --- a/camunda-workflow.gemspec +++ b/camunda-workflow.gemspec @@ -20,7 +20,7 @@ Gem::Specification.new do |spec| spec.add_dependency 'activesupport', '>= 3.2.0' spec.add_development_dependency 'pry-rescue', '~> 1.5.0' spec.add_development_dependency 'pry-stack_explorer', '~> 0.4.9.3' - spec.add_development_dependency 'rails', '~> 6.0.1' + spec.add_development_dependency 'rails', '>= 7.0.2' spec.add_development_dependency 'rspec', '~> 3.9.0' spec.add_development_dependency 'rubocop', '~> 0.77' spec.add_development_dependency 'rubocop-rspec', '~> 1.37.0' diff --git a/lib/camunda/workflow.rb b/lib/camunda/workflow.rb index 678273e..8ffa7f1 100644 --- a/lib/camunda/workflow.rb +++ b/lib/camunda/workflow.rb @@ -1,3 +1,4 @@ +require "active_support/core_ext/integer/time" module Camunda ## # Default configuration file for camunda-workflow. These defaults can be overridden using an diff --git a/spec/dummy/config/application.rb b/spec/dummy/config/application.rb index 7b8eee4..cd451a9 100644 --- a/spec/dummy/config/application.rb +++ b/spec/dummy/config/application.rb @@ -8,7 +8,7 @@ module Dummy class Application < Rails::Application # Initialize configuration defaults for originally generated Rails version. - config.load_defaults 6.0 + config.load_defaults 7.0 # Settings in config/environments/* take precedence over those specified here.