http_api_client 0.2.5 → 0.2.6

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: 54e5cc3e091a6b8b2c34bd5a951a6d268df93353
4
- data.tar.gz: 7c3d604794064976b1e820f8ea5bfdf6e44577e9
3
+ metadata.gz: 3650761deaca429698be39dcdf3c9a219702e2f7
4
+ data.tar.gz: 638542b71016c016e28824cc7ba833ad8578b018
5
5
  SHA512:
6
- metadata.gz: 1133f70afc24fe758002beec77dce9682100b781797db8403e9c8b0be857af70dbd5b78284f0052e8f4dee04b023536e07002567b94b7a43c2e9046765550ea6
7
- data.tar.gz: 942ff0d97af528eb8576157c8319b5d86a8e248218319536cd9187285f7832f2ef844af5d9eddbbc43ecabaf22e45268f59a44a7bf39f87a2dc9f805f21c8488
6
+ metadata.gz: 8cd2bf6d70c3188bd692782a7d8fb3292d206e64fccca539d6b0bb033e12981fadc46cf6347ca6913445ba9e307fb5573eec20bb7509f24482875700bfcffca1
7
+ data.tar.gz: f87a3c3925303d5d770b87e3562ce7789fe396e12a4a46710e3ae343fed4a381b9d91f3e4abc02e5e9978c264371b8be3d20aa8322e6f8ff284dab8d75a9a6d2
data/README.md CHANGED
@@ -177,3 +177,9 @@ This will install `/usr/local/opt/curl-ca-bundle/share/ca-bundle.crt`
177
177
 
178
178
  ### 0.2.4 - 2014-05-06
179
179
  * Switch to vanilla net_http rather than net_http_persistent to see if a couple of connection / response issues resolve.
180
+
181
+ ### 0.2.5 - 2014-06-13
182
+ * Allow for earlier version of faraday
183
+
184
+ ### 0.2.6 - 2014-10-07
185
+ * Convert hash contents (dates etc) to correct JSON format before sending over the wire.
@@ -54,7 +54,7 @@ module HttpApiClient
54
54
  log_data = { method: 'post', remote_host: config.server, path: full_path(path) }
55
55
 
56
56
  response = HttpApiClient.metrics.time('http_api_client_request', log_data) do
57
- connection.post(full_path(path), JSON.fast_generate(with_auth(payload)), request_headers(update_headers, custom_headers))
57
+ connection.post(full_path(path), JSON.fast_generate(with_auth(payload).as_json), request_headers(update_headers, custom_headers))
58
58
  end
59
59
 
60
60
  handle_response(response, :post, path)
@@ -158,4 +158,4 @@ module HttpApiClient
158
158
  end
159
159
 
160
160
  end
161
- end
161
+ end
@@ -1,5 +1,5 @@
1
1
  # encoding: utf-8
2
2
 
3
3
  module HttpApiClient
4
- VERSION = "0.2.5"
4
+ VERSION = "0.2.6"
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: http_api_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.5
4
+ version: 0.2.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rob Monie
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2014-06-13 00:00:00.000000000 Z
14
+ date: 2014-10-07 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: bundler