Skip to content
This repository has been archived by the owner on May 19, 2021. It is now read-only.

Commit

Permalink
make compatible with Rails 5
Browse files Browse the repository at this point in the history
  • Loading branch information
chrhansen committed Oct 27, 2016
1 parent 2848935 commit 16c0365
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions lib/step_by_step/controller.rb
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down
2 changes: 1 addition & 1 deletion lib/step_by_step/version.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
module StepByStep
VERSION = "0.0.1.6"
VERSION = "0.0.1.7"
end
2 changes: 1 addition & 1 deletion spec/support/schema.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,6 @@
t.integer :percentage
t.integer :failure_count

t.timestamps
t.timestamps null: false
end
end
2 changes: 1 addition & 1 deletion step_by_step.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -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

0 comments on commit 16c0365

Please sign in to comment.