Merge v0.3.0
Squashed commit of the following: commit8bee76eb76
Author: Rob Watson <rob@mixlr.com> Date: Thu Jan 18 19:47:00 2018 +0000 Bump version > 0.3.0 commitbe0036d747
Author: Rob Watson <rob@mixlr.com> Date: Thu Jan 18 19:31:35 2018 +0000 routes_without_actions: Consider all public instance methods commit716d9117bb
Author: Rob Watson <rob@mixlr.com> Date: Thu Jan 18 19:30:39 2018 +0000 Add missing dependency
This commit is contained in:
parent
b624715f26
commit
8df57065c6
|
@ -29,7 +29,7 @@ module RoutingReport
|
||||||
# actions in a superclass:
|
# actions in a superclass:
|
||||||
matching_controllers = controller.ancestors.select { |c| c < base_class }
|
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}"
|
accum << "#{controller_name}##{action_name}"
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
|
@ -1,3 +1,3 @@
|
||||||
module RoutingReport
|
module RoutingReport
|
||||||
VERSION = "0.2.0"
|
VERSION = "0.3.0"
|
||||||
end
|
end
|
||||||
|
|
|
@ -22,6 +22,7 @@ Gem::Specification.new do |spec|
|
||||||
|
|
||||||
spec.add_dependency 'terminal-table', '~> 1.8'
|
spec.add_dependency 'terminal-table', '~> 1.8'
|
||||||
spec.add_dependency 'activesupport', '~> 4'
|
spec.add_dependency 'activesupport', '~> 4'
|
||||||
|
spec.add_dependency 'unicode'
|
||||||
|
|
||||||
spec.add_development_dependency "bundler", "~> 1.14"
|
spec.add_development_dependency "bundler", "~> 1.14"
|
||||||
spec.add_development_dependency "rake", "~> 10.0"
|
spec.add_development_dependency "rake", "~> 10.0"
|
||||||
|
|
Loading…
Reference in New Issue