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 +4 -4
- data/lib/ocean/api.rb +1 -1
- data/lib/ocean/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: 1a8bad0a8e46d2f3570e5f07061b9ebabfd877f6
|
4
|
+
data.tar.gz: 52025ca7debadedd060faacb86cb89fefd84aa34
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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:
|
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
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
|
+
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-
|
11
|
+
date: 2014-06-04 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|