attune 1.0.20 → 1.0.21
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/attune/client.rb +3 -3
- data/lib/attune/version.rb +1 -1
- metadata +2 -2
data/lib/attune/client.rb
CHANGED
@@ -116,14 +116,14 @@ module Attune
|
|
116
116
|
|
117
117
|
builder.request :url_encoded
|
118
118
|
|
119
|
-
# Allow one retry per request
|
120
|
-
builder.request :retry, 0
|
121
|
-
|
122
119
|
builder.use Attune::JsonLogger, logger if logging_enabled
|
123
120
|
|
124
121
|
# Gzip requests, Faraday handles responses automatically
|
125
122
|
builder.use Attune::Gzip
|
126
123
|
|
124
|
+
# Allow one retry per request
|
125
|
+
builder.request :retry, 1
|
126
|
+
|
127
127
|
# Raise exceptions for HTTP 4xx/5xx
|
128
128
|
builder.response :raise_error
|
129
129
|
|
data/lib/attune/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: attune
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.
|
4
|
+
version: 1.0.21
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -10,7 +10,7 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2015-06-
|
13
|
+
date: 2015-06-10 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: faraday
|