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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0976249289a43645badaaadd9d3a67cb684938d2
4
- data.tar.gz: bc136906bf91e1ae79cbd6423adec89dc06304ed
3
+ metadata.gz: 58ca734ddad52fe657c82a0c35ed61b14f843746
4
+ data.tar.gz: aa3c937660b78082c8107302b09237b62e68cac8
5
5
  SHA512:
6
- metadata.gz: 0ad40b5dab203070617cae0a203d25f88e2944b36aba548afc0ad1ea2c5f068b66dff7145cc7c194a64227a50b487da0e2548569571853ead9852e35f72ba7af
7
- data.tar.gz: 52d8129875fd24be068f90e60bd710a3c39734535aab61fce2c93261f2ac8a9c8ee36ac35a84fad431d0d116219037de0626b7860f995404929e35729ad2db1a
6
+ metadata.gz: 7b786542589ffed000d292fdbfa4e467eef9497f4a872fa47b27620120a2719174a146c503e0bbc878d41f272aaca6570c18183b5ff99c80c5870e025e23dd39
7
+ data.tar.gz: d66c97971bc35d77416d0d27f1a4aeb0c69b50af89b209c60a515e4193fa3f931459b7ac46d3ae3d314126f1482e60e381431f04d97ecaa3c49555c3d89cda81
@@ -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)
@@ -1,3 +1,3 @@
1
1
  module Layer
2
- VERSION = '0.7.0'
2
+ VERSION = '0.7.1'
3
3
  end
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.0
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-16 00:00:00.000000000 Z
11
+ date: 2016-06-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rest-client