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 +5 -5
- data/lib/routing_report/report.rb +1 -1
- data/lib/routing_report/version.rb +1 -1
- data/routing_report.gemspec +1 -0
- metadata +17 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
|
-
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: 8e81b03eefd4ff0fd3d9f319ab262a17a60405c82897ab152ecc0d5da63076e2
|
4
|
+
data.tar.gz: f15ac107e52598af71f69d5af6036abbd9e7034cd0fa7da828fc966c6814b570
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
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
|
data/routing_report.gemspec
CHANGED
@@ -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.
|
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-
|
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.
|
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
|