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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 56d7efd14f1b1ae6347a91fd55553809d7597973
4
- data.tar.gz: 0c539f4aef56a8359361ab74c68e4077bd680cba
3
+ metadata.gz: 070b0b0b5836c9268cce47357e443507f8c9f22e
4
+ data.tar.gz: 464f86690db69dab770bb8f799724d7b86ec20a7
5
5
  SHA512:
6
- metadata.gz: 8da392f81941b3f5e33fc36da3d68b7bc8b30e3161dfa410b900264b7c56d9c70b02ab1509851a1753b4da324558cec1d53e99eef1c9a758f57b23080f9c8f0f
7
- data.tar.gz: 9b1fd19ad4255167cc1bd4d22e22cb6ba4d4fd62fb0c3ed56b52951f461a9c60370ab5396d8747bd08bd1f4837ff92d979f59d331ab823b3d5cbbcef204b9e31
6
+ metadata.gz: e38aef90d7a2b86405c1845d37dac9192f58df779700906886e745f7da40baee2f5bca36e5508cd30d5429ea47e4b7b3586ea6b953147a2deb011bd2dca54c77
7
+ data.tar.gz: f35d169ad130f39f357e8aaa9d1f8e2b57be4ebe8a6ab83cf61c88e44d01effb98f9d01d04a7c0c2fef4d6c7aaad038b86e32683e38b65953fa9dd69f17fc2ea
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.2.2
1
+ 0.2.3
@@ -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
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "pagelime-rack"
8
- s.version = "0.2.2"
8
+ s.version = "0.2.3"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Emil Anticevic", "Joel Van Horn"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pagelime-rack
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.2
4
+ version: 0.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Emil Anticevic