shutl_resource 1.9.0 → 1.9.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/shutl/resource/rest_class_methods.rb +1 -1
- data/lib/shutl/resource/version.rb +1 -1
- data/spec/request_headers_spec.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 23481343576ffb03542d0945b903a5529fbf687c
|
4
|
+
data.tar.gz: e2a6b77db9ee46dc1f1c7837b699f85734ea4e60
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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!(
|
257
|
+
header_opts.merge!('X-Request-Id' => request_id) if request_id
|
258
258
|
header_opts
|
259
259
|
end
|
260
260
|
|
@@ -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
|
-
'
|
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.
|
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-
|
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.
|
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
|