Compare commits

...

3 Commits
master ... v0.3

Author SHA1 Message Date
Rob Watson 8bee76eb76 Bump version > 0.3.0 2018-01-18 19:47:00 +00:00
Rob Watson be0036d747 routes_without_actions: Consider all public instance methods 2018-01-18 19:31:35 +00:00
Rob Watson 716d9117bb Add missing dependency 2018-01-18 19:30:39 +00:00
3 changed files with 3 additions and 2 deletions

View File

@ -29,7 +29,7 @@ module RoutingReport
# actions in a superclass:
matching_controllers = controller.ancestors.select { |c| c < base_class }
unless matching_controllers.any? { |c| c.public_instance_methods(false).include?(action_name.to_sym) }
unless matching_controllers.any? { |c| c.public_instance_methods.include?(action_name.to_sym) }
accum << "#{controller_name}##{action_name}"
end
end

View File

@ -1,3 +1,3 @@
module RoutingReport
VERSION = "0.2.0"
VERSION = "0.3.0"
end

View File

@ -22,6 +22,7 @@ Gem::Specification.new do |spec|
spec.add_dependency 'terminal-table', '~> 1.8'
spec.add_dependency 'activesupport', '~> 4'
spec.add_dependency 'unicode'
spec.add_development_dependency "bundler", "~> 1.14"
spec.add_development_dependency "rake", "~> 10.0"