routes_coverage 0.3.2 → 0.3.3

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
2
  SHA1:
3
- metadata.gz: 9fd0d372ca985855bedda4e7e5ce090503e3d6b1
4
- data.tar.gz: 6c7062187db049f99930e2ecd8604a285863de66
3
+ metadata.gz: 9fb3534646a507fefba0989e3257bb6848dc92d3
4
+ data.tar.gz: 68f609a43165593a150a252260ea4780a6b70c07
5
5
  SHA512:
6
- metadata.gz: ba8107b3b8ad9a6fbe15a5320114e1ce45b96a797bc0e7b6cd58a6544e1663933088e079ad532780ee331a13927e9688034270e3255d2a6172d650928525e242
7
- data.tar.gz: ab7d524a0aa07dbfd167c2505a41efc76c47e5e6f385ea8799e062f39860b1df5267fd4fe385e766df0390d84daf81f336dd8000203e165416502c120931ded0
6
+ metadata.gz: ebb1acac5797622c4155d74875953b535cb48f8fafc2d9b7749a8087ab49fc1cbedd9be15820bb50976c04002ed1794b0d3e2a69fc6c7edf15a3ab87805959a7
7
+ data.tar.gz: 49505c2171c86c1b0dc473bb6636db8a1b15a61f224f89d623ffa0a5211232dd37bf2d3e69233d9d5e779e0ef38ee88026e65a9534ab9b4e9507aa19096b8747
@@ -3,8 +3,8 @@
3
3
  source "https://rubygems.org"
4
4
 
5
5
  gem "rails", "~>4.0.0"
6
- gem "simplecov", :require => false
6
+ gem "simplecov", require: false
7
7
  gem "sprockets"
8
8
  gem "sass"
9
9
 
10
- gemspec :path => "../"
10
+ gemspec path: "../"
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- routes_coverage (0.3.2)
4
+ routes_coverage (0.3.3)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -97,4 +97,4 @@ DEPENDENCIES
97
97
  sprockets
98
98
 
99
99
  BUNDLED WITH
100
- 1.14.6
100
+ 1.15.1
@@ -3,9 +3,9 @@
3
3
  source "https://rubygems.org"
4
4
 
5
5
  gem "rails", "~>4.0.0"
6
- gem "simplecov", :require => false
6
+ gem "simplecov", require: false
7
7
  gem "sprockets"
8
8
  gem "sass"
9
9
  gem "rspec-rails"
10
10
 
11
- gemspec :path => "../"
11
+ gemspec path: "../"
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- routes_coverage (0.3.2)
4
+ routes_coverage (0.3.3)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -116,4 +116,4 @@ DEPENDENCIES
116
116
  sprockets
117
117
 
118
118
  BUNDLED WITH
119
- 1.14.6
119
+ 1.15.1
@@ -7,4 +7,4 @@ gem "simplecov"
7
7
  gem "sprockets"
8
8
  gem "sass"
9
9
 
10
- gemspec :path => "../"
10
+ gemspec path: "../"
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- routes_coverage (0.3.2)
4
+ routes_coverage (0.3.3)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -97,4 +97,4 @@ DEPENDENCIES
97
97
  sprockets
98
98
 
99
99
  BUNDLED WITH
100
- 1.14.6
100
+ 1.15.1
@@ -3,8 +3,8 @@
3
3
  source "https://rubygems.org"
4
4
 
5
5
  gem "rails", "~>4.2.0"
6
- gem "simplecov", :require => false
6
+ gem "simplecov", require: false
7
7
  gem "sprockets"
8
8
  gem "sass"
9
9
 
10
- gemspec :path => "../"
10
+ gemspec path: "../"
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- routes_coverage (0.3.2)
4
+ routes_coverage (0.3.3)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -126,4 +126,4 @@ DEPENDENCIES
126
126
  sprockets
127
127
 
128
128
  BUNDLED WITH
129
- 1.14.6
129
+ 1.15.1
@@ -3,8 +3,8 @@
3
3
  source "https://rubygems.org"
4
4
 
5
5
  gem "rails", "~>5.0.0"
6
- gem "simplecov", :require => false
6
+ gem "simplecov", require: false
7
7
  gem "sprockets"
8
8
  gem "sass"
9
9
 
10
- gemspec :path => "../"
10
+ gemspec path: "../"
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- routes_coverage (0.3.2)
4
+ routes_coverage (0.3.3)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -132,4 +132,4 @@ DEPENDENCIES
132
132
  sprockets
133
133
 
134
134
  BUNDLED WITH
135
- 1.14.6
135
+ 1.15.1
@@ -3,8 +3,8 @@
3
3
  source "https://rubygems.org"
4
4
 
5
5
  gem "rails", "~>5.1.0"
6
- gem "simplecov", :require => false
6
+ gem "simplecov", require: false
7
7
  gem "sprockets"
8
8
  gem "sass"
9
9
 
10
- gemspec :path => "../"
10
+ gemspec path: "../"
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: ..
3
3
  specs:
4
- routes_coverage (0.3.2)
4
+ routes_coverage (0.3.3)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -132,4 +132,4 @@ DEPENDENCIES
132
132
  sprockets
133
133
 
134
134
  BUNDLED WITH
135
- 1.14.6
135
+ 1.15.1
@@ -10,7 +10,9 @@ module RoutesCoverage
10
10
  ::Rails.application.routes.router.recognize(req) do |route|
11
11
  dispatcher = route.app
12
12
  if dispatcher.respond_to?(:dispatcher?)
13
- dispatcher = nil unless dispatcher.matches?(req) && dispatcher.dispatcher?
13
+ unless dispatcher.matches?(req) # && dispatcher.dispatcher?
14
+ dispatcher = nil
15
+ end
14
16
  else # rails < 4.2
15
17
  dispatcher = route.app
16
18
  while dispatcher.is_a?(ActionDispatch::Routing::Mapper::Constraints) do
@@ -1,3 +1,3 @@
1
1
  module RoutesCoverage
2
- VERSION = "0.3.2"
2
+ VERSION = "0.3.3"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: routes_coverage
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.2
4
+ version: 0.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vasily Fedoseyev
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-05-25 00:00:00.000000000 Z
11
+ date: 2017-06-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler