strong_routes 0.9.0 → 0.9.1
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/railtie.rb +2 -2
- data/lib/strong_routes/version.rb +1 -1
- data/strong_routes.gemspec +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 17b09099951dd3c119b970bf253d0e825665f234
|
4
|
+
data.tar.gz: aeee964355b5805e3b923c2ed8237ea4e1843993
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 19fae4e92306b9d9f23ea120d65f32ed1f8d5dae8ff18b6a634df0a11fa0e34f40bfffd8f65c52a9c3183c14d0f082525bc95db1c134198848c2b51951efabb2
|
7
|
+
data.tar.gz: f3da2b627943094e54f2014f538c2077f9d616eb7ed87fdb7624726cd1e28317a05010945bc13fe31f6dd4e45b3f4645397335b14ede44a2674542bae251bca0
|
@@ -6,8 +6,8 @@ module StrongRoutes
|
|
6
6
|
config.strong_routes = ::StrongRoutes.config
|
7
7
|
|
8
8
|
initializer 'strong_routes.initialize' do |app|
|
9
|
-
config.allowed_routes ||= []
|
10
|
-
config.allowed_routes += ::StrongRoutes::Rails::RouteMapper.map(app.routes)
|
9
|
+
config.strong_routes.allowed_routes ||= []
|
10
|
+
config.strong_routes.allowed_routes += ::StrongRoutes::Rails::RouteMapper.map(app.routes)
|
11
11
|
|
12
12
|
case
|
13
13
|
when config.strong_routes.insert_before? then
|
data/strong_routes.gemspec
CHANGED
@@ -10,7 +10,7 @@ Gem::Specification.new do |spec|
|
|
10
10
|
spec.email = ["liveh2o@gmail.com"]
|
11
11
|
spec.summary = %q{Middleware to reject/allow requests before allocating a database connection or any resources}
|
12
12
|
spec.description = spec.summary
|
13
|
-
spec.homepage = ""
|
13
|
+
spec.homepage = "https://github.com/liveh2o/strong_routes"
|
14
14
|
spec.license = "MIT"
|
15
15
|
|
16
16
|
spec.files = `git ls-files`.split($/)
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: strong_routes
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Adam Hutchison
|
@@ -135,7 +135,7 @@ files:
|
|
135
135
|
- spec/strong_routes/route_matcher_spec.rb
|
136
136
|
- spec/strong_routes_spec.rb
|
137
137
|
- strong_routes.gemspec
|
138
|
-
homepage:
|
138
|
+
homepage: https://github.com/liveh2o/strong_routes
|
139
139
|
licenses:
|
140
140
|
- MIT
|
141
141
|
metadata: {}
|