excon 0.27.1 → 0.27.2
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.
- data/Gemfile.lock +1 -1
- data/changelog.txt +5 -0
- data/excon.gemspec +2 -2
- data/lib/excon/constants.rb +1 -1
- data/lib/excon/middlewares/idempotent.rb +2 -2
- metadata +3 -3
data/Gemfile.lock
CHANGED
data/changelog.txt
CHANGED
data/excon.gemspec
CHANGED
|
@@ -13,8 +13,8 @@ Gem::Specification.new do |s|
|
|
|
13
13
|
## If your rubyforge_project name is different, then edit it and comment out
|
|
14
14
|
## the sub! line in the Rakefile
|
|
15
15
|
s.name = 'excon'
|
|
16
|
-
s.version = '0.27.
|
|
17
|
-
s.date = '2013-10-
|
|
16
|
+
s.version = '0.27.2'
|
|
17
|
+
s.date = '2013-10-10'
|
|
18
18
|
s.rubyforge_project = 'excon'
|
|
19
19
|
|
|
20
20
|
## Make sure your summary is short. The description may be as long
|
data/lib/excon/constants.rb
CHANGED
|
@@ -7,8 +7,8 @@ module Excon
|
|
|
7
7
|
# reduces remaining retries, reset connection, and restart request_call
|
|
8
8
|
datum[:retries_remaining] -= 1
|
|
9
9
|
connection = datum.delete(:connection)
|
|
10
|
-
datum.reject
|
|
11
|
-
connection.request(
|
|
10
|
+
retry_datum = datum.reject {|key, _| !VALID_REQUEST_KEYS.include?(key) }
|
|
11
|
+
connection.request(retry_datum)
|
|
12
12
|
else
|
|
13
13
|
@stack.error_call(datum)
|
|
14
14
|
end
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: excon
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.27.
|
|
4
|
+
version: 0.27.2
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -11,7 +11,7 @@ authors:
|
|
|
11
11
|
autorequire:
|
|
12
12
|
bindir: bin
|
|
13
13
|
cert_chain: []
|
|
14
|
-
date: 2013-10-
|
|
14
|
+
date: 2013-10-10 00:00:00.000000000 Z
|
|
15
15
|
dependencies:
|
|
16
16
|
- !ruby/object:Gem::Dependency
|
|
17
17
|
name: activesupport
|
|
@@ -243,7 +243,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
243
243
|
version: '0'
|
|
244
244
|
segments:
|
|
245
245
|
- 0
|
|
246
|
-
hash:
|
|
246
|
+
hash: 1278435808778456235
|
|
247
247
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
248
248
|
none: false
|
|
249
249
|
requirements:
|