strong_routes 1.0.0.rc1 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/strong_routes/rails/route_mapper.rb +2 -2
- data/lib/strong_routes/version.rb +1 -1
- data/spec/spec_helper.rb +2 -2
- data/strong_routes.gemspec +2 -2
- metadata +8 -8
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7d6b1526fd0f847bb4bfda2d3e1dfb1fb236e186
|
4
|
+
data.tar.gz: 2487bf0af56d8fc1649649d1b5d4f8c46384b890
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 65d87b0e55b2d4b91a3d2b977bcceaba2d7c009a4717c793e70eb5677c6d787f1a555061b8312971b5628a8480b30b1a3a1010e2d65361d6d1e83ae646ff035f
|
7
|
+
data.tar.gz: f98962e0f6bae04d7ac292ff4be989015aac7a6cc7d271687b412edf98bfe95587a917530933b2da957fa495df4ba8ce081dbdc63ca7bcd4b20e34e514973fb3
|
@@ -1,4 +1,4 @@
|
|
1
|
-
require '
|
1
|
+
require 'active_support/core_ext/hash/reverse_merge'
|
2
2
|
|
3
3
|
module StrongRoutes
|
4
4
|
module Rails
|
@@ -36,7 +36,7 @@ module StrongRoutes
|
|
36
36
|
# Extract the route paths from the route objects so we have a simple
|
37
37
|
# string to interact with.
|
38
38
|
def paths
|
39
|
-
paths = route_set.routes.map { |route|
|
39
|
+
paths = route_set.routes.map { |route| route.path.spec.to_s }
|
40
40
|
paths.uniq!
|
41
41
|
paths
|
42
42
|
end
|
data/spec/spec_helper.rb
CHANGED
@@ -10,13 +10,13 @@ end
|
|
10
10
|
require 'bundler'
|
11
11
|
::Bundler.require(:default, :development, :test)
|
12
12
|
|
13
|
-
require 'minitest/spec'
|
14
13
|
require 'minitest/autorun'
|
14
|
+
require 'minitest/spec'
|
15
15
|
require 'minitest/pride'
|
16
16
|
|
17
17
|
include ::Rack::Test::Methods
|
18
18
|
|
19
|
-
class MiniTest::Spec
|
19
|
+
class MiniTest::Spec
|
20
20
|
class << self
|
21
21
|
alias_method :setup, :before
|
22
22
|
alias_method :teardown, :after
|
data/strong_routes.gemspec
CHANGED
@@ -20,10 +20,10 @@ Gem::Specification.new do |spec|
|
|
20
20
|
|
21
21
|
spec.add_dependency "rack"
|
22
22
|
|
23
|
-
spec.add_development_dependency "actionpack"
|
23
|
+
spec.add_development_dependency "actionpack", ">= 3.2.0"
|
24
24
|
spec.add_development_dependency "bundler"
|
25
25
|
spec.add_development_dependency "pry-nav"
|
26
|
-
spec.add_development_dependency "rake"
|
27
26
|
spec.add_development_dependency "rack-test"
|
27
|
+
spec.add_development_dependency "rake"
|
28
28
|
spec.add_development_dependency "simplecov"
|
29
29
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: strong_routes
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.0
|
4
|
+
version: 1.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Adam Hutchison
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-04
|
11
|
+
date: 2014-06-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rack
|
@@ -30,14 +30,14 @@ dependencies:
|
|
30
30
|
requirements:
|
31
31
|
- - '>='
|
32
32
|
- !ruby/object:Gem::Version
|
33
|
-
version:
|
33
|
+
version: 3.2.0
|
34
34
|
type: :development
|
35
35
|
prerelease: false
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
37
37
|
requirements:
|
38
38
|
- - '>='
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version:
|
40
|
+
version: 3.2.0
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
42
|
name: bundler
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
@@ -67,7 +67,7 @@ dependencies:
|
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '0'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
|
-
name:
|
70
|
+
name: rack-test
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
73
|
- - '>='
|
@@ -81,7 +81,7 @@ dependencies:
|
|
81
81
|
- !ruby/object:Gem::Version
|
82
82
|
version: '0'
|
83
83
|
- !ruby/object:Gem::Dependency
|
84
|
-
name:
|
84
|
+
name: rake
|
85
85
|
requirement: !ruby/object:Gem::Requirement
|
86
86
|
requirements:
|
87
87
|
- - '>='
|
@@ -150,9 +150,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
150
150
|
version: '0'
|
151
151
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
152
152
|
requirements:
|
153
|
-
- - '
|
153
|
+
- - '>='
|
154
154
|
- !ruby/object:Gem::Version
|
155
|
-
version:
|
155
|
+
version: '0'
|
156
156
|
requirements: []
|
157
157
|
rubyforge_project:
|
158
158
|
rubygems_version: 2.2.2
|