shutl_resource 1.9.0 → 1.9.1

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: 9193516a7835099997481b7a29524fe83868e53f
4
- data.tar.gz: dd95aa8e494ca22eb997168f9bd4d3498eb959d8
3
+ metadata.gz: 23481343576ffb03542d0945b903a5529fbf687c
4
+ data.tar.gz: e2a6b77db9ee46dc1f1c7837b699f85734ea4e60
5
5
  SHA512:
6
- metadata.gz: c34c79b4ce9ebacbd56b5e8153b92f7abd5e2f609e2f31a2d40e20c0a7db18054a65edf569bcda4be1e54bf67ec2ca37e8203da55270ec35678113a4b5115a10
7
- data.tar.gz: ea595f4d869c8f4304f230adffdd4bbc02c9c57ea97233ba3fa4d4928155302a3ebd86f655e1802917a11b575ed8e0e7618354cc86ea95955caa13b451c6f2c6
6
+ metadata.gz: 9ece7cf3bcc2dad0b34623321813ef6e49c4a2e23ff8299a271fe557da4f77209b9fa646d4c59c51115473cd9eb182834a46618c004ab8ced6e43542b20e3134
7
+ data.tar.gz: c245751a1fb9c6a86db78fe235ba8b1acea40fcbf8969bf264e498a913464e2e5c6744298a22be4274b146bf295e477a2847d8d5d760e2cfc7a502e9f5355124
@@ -254,7 +254,7 @@ module Shutl::Resource
254
254
  header_opts = params[:headers] || {}
255
255
  header_opts.merge!(authorization: "Bearer #{params[:auth]}") if params[:auth]
256
256
  header_opts.merge!(from: current_user_email(params)) if current_user_email(params)
257
- header_opts.merge!(HTTP_X_REQUEST_ID: request_id) if request_id
257
+ header_opts.merge!('X-Request-Id' => request_id) if request_id
258
258
  header_opts
259
259
  end
260
260
 
@@ -1,5 +1,5 @@
1
1
  module Shutl
2
2
  module Resource
3
- VERSION = '1.9.0'
3
+ VERSION = '1.9.1'
4
4
  end
5
5
  end
@@ -11,7 +11,7 @@ describe Shutl::Resource::Rest do
11
11
  'Content-Type' => 'application/json+consumer',
12
12
  'User-Agent' => "Shutl Resource Gem v#{Shutl::Resource::VERSION}",
13
13
  'Consumer-Access-Token' => 'ConsumerAccessToken',
14
- 'Http-X-Request-Id' => 'ABCDE123'
14
+ 'X-Request-Id' => 'ABCDE123'
15
15
  }
16
16
  }
17
17
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: shutl_resource
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.9.0
4
+ version: 1.9.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Rouchy
@@ -13,7 +13,7 @@ authors:
13
13
  autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
- date: 2015-11-13 00:00:00.000000000 Z
16
+ date: 2015-11-23 00:00:00.000000000 Z
17
17
  dependencies:
18
18
  - !ruby/object:Gem::Dependency
19
19
  name: shutl_auth
@@ -192,7 +192,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
192
192
  version: '0'
193
193
  requirements: []
194
194
  rubyforge_project:
195
- rubygems_version: 2.2.2
195
+ rubygems_version: 2.4.5.1
196
196
  signing_key:
197
197
  specification_version: 4
198
198
  summary: Manage Shutl Rest resource. Parse/Serialize JSON