diff --git a/lib/routing_report/report.rb b/lib/routing_report/report.rb index d6e0df4..0b484be 100644 --- a/lib/routing_report/report.rb +++ b/lib/routing_report/report.rb @@ -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 diff --git a/lib/routing_report/version.rb b/lib/routing_report/version.rb index 29ff201..c375dbd 100644 --- a/lib/routing_report/version.rb +++ b/lib/routing_report/version.rb @@ -1,3 +1,3 @@ module RoutingReport - VERSION = "0.2.0" + VERSION = "0.3.0" end diff --git a/routing_report.gemspec b/routing_report.gemspec index f25be5f..a8ee93a 100644 --- a/routing_report.gemspec +++ b/routing_report.gemspec @@ -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"