diff --git a/lib/step_by_step/controller.rb b/lib/step_by_step/controller.rb index 9b4375c..6f05d2e 100644 --- a/lib/step_by_step/controller.rb +++ b/lib/step_by_step/controller.rb @@ -4,9 +4,9 @@ module Controller included do helper_method :rollout? - hide_action :rollout? - - hide_action :degrade_feature + private_class_method :rollout? + + private_class_method :degrade_feature end def rollout?(name) diff --git a/lib/step_by_step/version.rb b/lib/step_by_step/version.rb index f21cca7..810ab72 100644 --- a/lib/step_by_step/version.rb +++ b/lib/step_by_step/version.rb @@ -1,3 +1,3 @@ module StepByStep - VERSION = "0.0.1.6" + VERSION = "0.0.1.7" end diff --git a/spec/support/schema.rb b/spec/support/schema.rb index b4039ea..b38242a 100644 --- a/spec/support/schema.rb +++ b/spec/support/schema.rb @@ -8,6 +8,6 @@ t.integer :percentage t.integer :failure_count - t.timestamps + t.timestamps null: false end end diff --git a/step_by_step.gemspec b/step_by_step.gemspec index 716d1ea..300fd3d 100644 --- a/step_by_step.gemspec +++ b/step_by_step.gemspec @@ -23,5 +23,5 @@ Gem::Specification.new do |spec| spec.add_development_dependency "rspec-rails" spec.add_development_dependency "sqlite3" spec.add_development_dependency "pry" - spec.add_dependency 'rails', '>= 3.2' + spec.add_dependency 'rails', '>= 4.2' end