strong_routes 0.9.0 → 0.9.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 42f14c0ba0507ea6159188aa77ea3ef1c1dcfb19
4
- data.tar.gz: 1b70c4df7176535de76d78c4f620c501668f2801
3
+ metadata.gz: 17b09099951dd3c119b970bf253d0e825665f234
4
+ data.tar.gz: aeee964355b5805e3b923c2ed8237ea4e1843993
5
5
  SHA512:
6
- metadata.gz: 78655f85f60188e5bd9074b2f06d778144e5a001e3b19add068b61afff1f1da5a4316c49515fdb2cc56422bdbb4c5259ce0fbf5d07b50c1ae6423c966a4e72bc
7
- data.tar.gz: 29fbc16ece04910b136feeeac04354621e9bbcb69a024c6fe78e30f9bb181ab49737ad6e9c14d524a67618adf991992557673a9c4d8d50296582a4cdb10c9695
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
@@ -1,3 +1,3 @@
1
1
  module StrongRoutes
2
- VERSION = "0.9.0"
2
+ VERSION = "0.9.1"
3
3
  end
@@ -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.0
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: {}