pagelime-rack 0.2.2 → 0.2.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/lib/pagelime/s3_client.rb +1 -1
- data/pagelime-rack.gemspec +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 070b0b0b5836c9268cce47357e443507f8c9f22e
|
4
|
+
data.tar.gz: 464f86690db69dab770bb8f799724d7b86ec20a7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e38aef90d7a2b86405c1845d37dac9192f58df779700906886e745f7da40baee2f5bca36e5508cd30d5429ea47e4b7b3586ea6b953147a2deb011bd2dca54c77
|
7
|
+
data.tar.gz: f35d169ad130f39f357e8aaa9d1f8e2b57be4ebe8a6ab83cf61c88e44d01effb98f9d01d04a7c0c2fef4d6c7aaad038b86e32683e38b65953fa9dd69f17fc2ea
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.2.
|
1
|
+
0.2.3
|
data/lib/pagelime/s3_client.rb
CHANGED
@@ -82,7 +82,7 @@ module Pagelime
|
|
82
82
|
Pagelime.logger.debug "PAGELIME CMS RACK PLUGIN: S3 response code: #{response.code.inspect}"
|
83
83
|
|
84
84
|
# only return the body if response code 200-399
|
85
|
-
response.body if (200...400).include?(response.code)
|
85
|
+
response.body if (200...400).include?(response.code.to_f)
|
86
86
|
end
|
87
87
|
|
88
88
|
def http
|
data/pagelime-rack.gemspec
CHANGED