ocean-rails 2.11.4 → 2.11.5

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: 5f509c7ca2095afc696aadcea5e96f40d686fcbd
4
- data.tar.gz: 5455d120bf112d8c87192c1e4b8fa09e0def5385
3
+ metadata.gz: 1a8bad0a8e46d2f3570e5f07061b9ebabfd877f6
4
+ data.tar.gz: 52025ca7debadedd060faacb86cb89fefd84aa34
5
5
  SHA512:
6
- metadata.gz: c3e499f1c3e7819af844fa0e6e619f0fb06e0cd9f04ec57dfe3e95c98900efdb643f86233e09ad75eb6be3f138441d5acbf7ec829d38443b3c01132c237169ab
7
- data.tar.gz: 38e34fdd84873e49113f28e629a0e5d5ee57d098765d4001796dc503a72e904692eed2118dea1e48d34dd394ed97de23ce9ef92410c934c3cfe88e65f7b1c387
6
+ metadata.gz: a72866c4f7dfae39f8cc9ee1b1c25ed0afc2e94c99b0f688bb36e1b9b34709293c91cd3345eb41e4102f54a13e61d65d7aefa1718e23dc71e5e1207be8e98a34
7
+ data.tar.gz: d0b54eeaae9fc520203622c2a92d91e8c2a0960eff231ff8d2fc9694b3a768f5709a44d58eaed262a851b9a1a6e4034136b550726e12f001dbfbb18f3075d831
data/lib/ocean/api.rb CHANGED
@@ -132,7 +132,7 @@ class Api
132
132
  # +x_api_token+, if given, is a string which will be used as an X-API-Token header.
133
133
  #
134
134
  def self.request(url, http_method, args: nil, headers: {}, body: nil,
135
- x_api_token: nil)
135
+ x_api_token: headers['X-API-Token'])
136
136
  # Set up the request
137
137
  headers['Accept'] = "application/json"
138
138
  headers['Content-Type'] = "application/json"
data/lib/ocean/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Ocean
2
- VERSION = "2.11.4"
2
+ VERSION = "2.11.5"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ocean-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.11.4
4
+ version: 2.11.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter Bengtson
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-06-03 00:00:00.000000000 Z
11
+ date: 2014-06-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus