Merge v0.3.0

Squashed commit of the following:

commit 8bee76eb76
Author: Rob Watson <rob@mixlr.com>
Date:   Thu Jan 18 19:47:00 2018 +0000

    Bump version > 0.3.0

commit be0036d747
Author: Rob Watson <rob@mixlr.com>
Date:   Thu Jan 18 19:31:35 2018 +0000

    routes_without_actions: Consider all public instance methods

commit 716d9117bb
Author: Rob Watson <rob@mixlr.com>
Date:   Thu Jan 18 19:30:39 2018 +0000

    Add missing dependency
This commit is contained in:
Rob Watson 2018-01-18 19:47:37 +00:00
parent b624715f26
commit 8df57065c6
3 changed files with 3 additions and 2 deletions

View File

@ -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

View File

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

View File

@ -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"