routing_report 0.2.0 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 1832b2f484b6e598ba6fc8ccff2633ce8df0df0c
4
- data.tar.gz: 952d415d7ba83045c20fccf7ff94fc1217f78c7a
2
+ SHA256:
3
+ metadata.gz: 8e81b03eefd4ff0fd3d9f319ab262a17a60405c82897ab152ecc0d5da63076e2
4
+ data.tar.gz: f15ac107e52598af71f69d5af6036abbd9e7034cd0fa7da828fc966c6814b570
5
5
  SHA512:
6
- metadata.gz: b614738b7496864b6931be1331dafc043f795c407e56a73eee83d310f51334a80d37a3c80f72e6e42ae624cd1a8b16f0087200be1b2d9718ac1bb3c4f07c4243
7
- data.tar.gz: 61dadfc33e5f208884e921904afeccc9732180a937f73b207141adeef06d3a45d665b97bd5ff0be1efb88d59ce1a0c4c497c5ea7d3bcd9837a3ab5d19ff891d7
6
+ metadata.gz: 2753b185830e3acbe465e601e1ae2ccb9b24ecd2e35096825a710a6da568a868d1ea5a0749b58b2b105277ec673541dd497470c39bccd417e7603615752ec5d8
7
+ data.tar.gz: 1e8a5ddd5bf9cbb4b1095449601b23e2a226a822536b5da9c1af2c1fce51c8301a8ae037e28644770882fc8135dd4be5a3b88b60f76399116dba7dbb083be01f
@@ -29,7 +29,7 @@ module RoutingReport
29
29
  # actions in a superclass:
30
30
  matching_controllers = controller.ancestors.select { |c| c < base_class }
31
31
 
32
- unless matching_controllers.any? { |c| c.public_instance_methods(false).include?(action_name.to_sym) }
32
+ unless matching_controllers.any? { |c| c.public_instance_methods.include?(action_name.to_sym) }
33
33
  accum << "#{controller_name}##{action_name}"
34
34
  end
35
35
  end
@@ -1,3 +1,3 @@
1
1
  module RoutingReport
2
- VERSION = "0.2.0"
2
+ VERSION = "0.3.0"
3
3
  end
@@ -22,6 +22,7 @@ Gem::Specification.new do |spec|
22
22
 
23
23
  spec.add_dependency 'terminal-table', '~> 1.8'
24
24
  spec.add_dependency 'activesupport', '~> 4'
25
+ spec.add_dependency 'unicode'
25
26
 
26
27
  spec.add_development_dependency "bundler", "~> 1.14"
27
28
  spec.add_development_dependency "rake", "~> 10.0"
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: routing_report
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rob Watson
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-01-10 00:00:00.000000000 Z
11
+ date: 2018-01-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: terminal-table
@@ -38,6 +38,20 @@ dependencies:
38
38
  - - "~>"
39
39
  - !ruby/object:Gem::Version
40
40
  version: '4'
41
+ - !ruby/object:Gem::Dependency
42
+ name: unicode
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
41
55
  - !ruby/object:Gem::Dependency
42
56
  name: bundler
43
57
  requirement: !ruby/object:Gem::Requirement
@@ -136,7 +150,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
136
150
  version: '0'
137
151
  requirements: []
138
152
  rubyforge_project:
139
- rubygems_version: 2.5.2.2
153
+ rubygems_version: 2.7.4
140
154
  signing_key:
141
155
  specification_version: 4
142
156
  summary: Identify unused routes and controller actions in Rails apps