layer-ruby 0.7.0 → 0.7.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/layer/client.rb +1 -0
- data/lib/layer/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 58ca734ddad52fe657c82a0c35ed61b14f843746
|
4
|
+
data.tar.gz: aa3c937660b78082c8107302b09237b62e68cac8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7b786542589ffed000d292fdbfa4e467eef9497f4a872fa47b27620120a2719174a146c503e0bbc878d41f272aaca6570c18183b5ff99c80c5870e025e23dd39
|
7
|
+
data.tar.gz: d66c97971bc35d77416d0d27f1a4aeb0c69b50af89b209c60a515e4193fa3f931459b7ac46d3ae3d314126f1482e60e381431f04d97ecaa3c49555c3d89cda81
|
data/lib/layer/client.rb
CHANGED
@@ -67,6 +67,7 @@ module Layer
|
|
67
67
|
url = "https://api.layer.com#{url}" unless url.start_with?('https://api.layer.com')
|
68
68
|
|
69
69
|
headers = {
|
70
|
+
'Accept' => 'application/vnd.layer+json; version=1.0',
|
70
71
|
'Content-Type' => 'application/json',
|
71
72
|
'If-None-Match' => SecureRandom.uuid
|
72
73
|
}.merge(headers)
|
data/lib/layer/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: layer-ruby
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.7.
|
4
|
+
version: 0.7.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Benedikt Deicke
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-06-
|
11
|
+
date: 2016-06-20 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rest-client
|