strong_routes 0.9.4 → 0.9.5
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/allow.rb +1 -1
- data/lib/strong_routes/version.rb +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: 0b15e31fe4c1c99b2dae4003285ebe54fa57af7f
|
4
|
+
data.tar.gz: 2df7a6c037ab27aedb53062c8791554a02287e73
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 352a1c740e090c13a9c38694267751b410af4083e938b233d3d74f8b809defb161adb1c249c896ad8e5ae5b02bf1888d968d212dd569ad9ebd46951c897be032
|
7
|
+
data.tar.gz: 23f4690f909af7020d1a3b1c2a2d89b7bc37676f38d33f217ae116c89f56a25c06af4222674dc48c3fd0db9b9606a86834749f304e7b2c3d91673896a76011fe
|
data/lib/strong_routes/allow.rb
CHANGED
@@ -13,7 +13,7 @@ module StrongRoutes
|
|
13
13
|
if allowed?(request)
|
14
14
|
@app.call(env)
|
15
15
|
else
|
16
|
-
[ 404, { "Content-Type" => "text/html", "Content-Length" => config.message.length }, [ config.message ] ]
|
16
|
+
[ 404, { "Content-Type" => "text/html", "Content-Length" => config.message.length.to_s }, [ config.message ] ]
|
17
17
|
end
|
18
18
|
end
|
19
19
|
|
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: 0.9.
|
4
|
+
version: 0.9.5
|
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-
|
11
|
+
date: 2014-03-31 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rack
|