my_target_api 1.2.3 → 1.2.4

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e9a53dbac981b91bd64330d586b2e4936624bb3a
4
- data.tar.gz: 71129d0794f978ad253549ca322474694e8af4d2
3
+ metadata.gz: 332efd986b48d1eb9282a1d9f279af9a73c0d68c
4
+ data.tar.gz: d5c0aaed3310f3916c89efe27429eeeceee0a613
5
5
  SHA512:
6
- metadata.gz: 1aa1eaa4134623accb0b5416512889f242179910cb8af264159d0046ed3def6e2e82c27e616e32a6be15ad99dd986ff863838d7d240c8e1fd8c43aadb7dee3d9
7
- data.tar.gz: 8ba999937d7042307d3b34abdb09a252165ffe22881db9a1ef07348d4698a4edcaa5cb8190767f73b6197cfa8c54445cc1d68b45597a37e034f3cd04045ac07e
6
+ metadata.gz: e76f8ff06d6cf4babe4d373a4b16f8205741f2d5f271f8cd435018775036b37444384519d36dcdcaac36abcfcb5f8f41d6e0969362e7dc769a6d5b4b49906e23
7
+ data.tar.gz: 711ddc0150a890da7c0e31ca94dfa4227e3139cc009e6eec8ca5cce194e0d15ec61d0207035b497355b0a8d4aaf3bf67d6c6e8f292ef17061d260dceb9c60ec4
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- my_target_api (1.2.3)
4
+ my_target_api (1.2.4)
5
5
  json (~> 2.0, >= 2.0.0)
6
6
  rest-client (~> 2.0, >= 2.0.0)
7
7
 
data/README.md CHANGED
@@ -7,7 +7,7 @@
7
7
  Add this line to your application's Gemfile:
8
8
 
9
9
  ```
10
- gem 'my_target_api', '~> 1.2.3'
10
+ gem 'my_target_api', '~> 1.2.4'
11
11
  ```
12
12
 
13
13
  Or install from command line:
@@ -45,7 +45,9 @@ class MyTargetApi
45
45
  log_hash(method: 'Request#upload', url: url, params: params, content: 'no logging')
46
46
 
47
47
  response = with_exception_handling do
48
- RestClient.post(url, content, headers.merge(query(params)))
48
+ RestClient.post(
49
+ url, content, headers.merge(query(params)).merge(content_type: 'application/octet-stream')
50
+ )
49
51
  end
50
52
 
51
53
  process_response(response)
@@ -2,6 +2,6 @@
2
2
 
3
3
  class MyTargetApi
4
4
 
5
- VERSION = '1.2.3'
5
+ VERSION = '1.2.4'
6
6
 
7
7
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: my_target_api
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.3
4
+ version: 1.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - OneRetarget.com
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-02-27 00:00:00.000000000 Z
11
+ date: 2019-06-27 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json