ridley 4.3.1 → 4.3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/lib/ridley.rb +2 -0
- data/lib/ridley/httpclient_ext.rb +3 -0
- data/lib/ridley/httpclient_ext/cookie.rb +13 -0
- data/lib/ridley/version.rb +1 -1
- data/spec/unit/ridley/connection_spec.rb +2 -2
- metadata +4 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4c73bbc35f580f839090a95c36596b1bdfb4b964
|
4
|
+
data.tar.gz: 4b49aefdc9fc5131405180c6d7bc5eeea7538b4d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3310169e9d3883306db759fc9b3374407bf41ccbde8e2c9f8e56c9771b0ac0483d7211537d59c9eeb54ccbec88af4743591d97308bd92130d4b2dbf80f9cc82f
|
7
|
+
data.tar.gz: 97e67adf132b721fe9f3d99faf96d4262b488b93e43f26a9e16374a71e391448cc8172e074028859d790629bb1965c90fa9f2c5ff04fd04ec27fa93c28c75de8
|
data/CHANGELOG.md
CHANGED
data/lib/ridley.rb
CHANGED
data/lib/ridley/version.rb
CHANGED
@@ -17,7 +17,7 @@ describe Ridley::Connection do
|
|
17
17
|
it "attempts five (5) retries by default" do
|
18
18
|
expect {
|
19
19
|
subject.get('organizations/vialstudios')
|
20
|
-
}.to raise_error
|
20
|
+
}.to raise_error(Ridley::Errors::HTTPInternalServerError)
|
21
21
|
expect(a_request(:get, "https://api.opscode.com/organizations/vialstudios")).to have_been_made.times(6)
|
22
22
|
end
|
23
23
|
|
@@ -29,7 +29,7 @@ describe Ridley::Connection do
|
|
29
29
|
it "attempts two (2) retries" do
|
30
30
|
expect {
|
31
31
|
subject.get('organizations/vialstudios')
|
32
|
-
}.to raise_error
|
32
|
+
}.to raise_error(Ridley::Errors::HTTPInternalServerError)
|
33
33
|
|
34
34
|
expect(a_request(:get, "https://api.opscode.com/organizations/vialstudios")).to have_been_made.times(3)
|
35
35
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ridley
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.3.
|
4
|
+
version: 4.3.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jamie Winsor
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2015-10-
|
12
|
+
date: 2015-10-08 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: addressable
|
@@ -295,6 +295,8 @@ files:
|
|
295
295
|
- lib/ridley/connection.rb
|
296
296
|
- lib/ridley/errors.rb
|
297
297
|
- lib/ridley/helpers.rb
|
298
|
+
- lib/ridley/httpclient_ext.rb
|
299
|
+
- lib/ridley/httpclient_ext/cookie.rb
|
298
300
|
- lib/ridley/logger.rb
|
299
301
|
- lib/ridley/logging.rb
|
300
302
|
- lib/ridley/middleware.rb
|