ocean-rails 3.7.1 → 3.7.2

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: ed162b3b5596e3d89355491f248cb6130bc2c740
4
- data.tar.gz: de749dc4a656157f009b364b123391f7c2785294
3
+ metadata.gz: 9ee2e4f23d522e6cc485c827979be527bde0cf0d
4
+ data.tar.gz: dac5ee572b1d4ecd6b37a963141c810f29ba39e5
5
5
  SHA512:
6
- metadata.gz: e504ead775dac6f1a7bf8430fe638ee0aa11c567421c8f4939168b04ffe25551a9b39a5d2ce31d5ed79364550a1f20626b939d833a1e3d8d17306dfa5e92bf1d
7
- data.tar.gz: 7eb4d41631be3c3f59619e5b6a55caa64778cd6f0fad529ddb06b1b35c00484bd9e59c478600e7c9b5e1e6b0291b269b87817761ae93b111a0f0491254c75488
6
+ metadata.gz: 4b06fe7bbe0e80a77388cf17e38efc43e0d0bc2ba321ff049eb7d06d0c87b80ea69e2251979ffdb3cdc3688c6d5dc60fa63cb972d76ceb83fdaa969348ecb95e
7
+ data.tar.gz: 19214dcaf3f29dea4b8a6b411ea35879f19c477976041dc318be088c9eb00d1bac84ece4b628b15fb088056a119cdae7d46b74d1a20b85b1b84db53b5173cefc
@@ -294,7 +294,7 @@ class Api
294
294
 
295
295
  def self._retrieve(rr)
296
296
  credentials, token = _credentials(rr)
297
- response = Api.request rr.uri, :get, headers: {}, credentials: credentials, x_api_token: token,
297
+ response = Api.request Api.internalize_uri(rr.uri), :get, headers: {}, credentials: credentials, x_api_token: token,
298
298
  retries: rr.retries, backoff_time: rr.backoff_time, backoff_rate: rr.backoff_rate,
299
299
  backoff_max: rr.backoff_max
300
300
  rr.send :response=, response
@@ -340,7 +340,7 @@ class Api
340
340
 
341
341
  def _modify(body)
342
342
  credentials, token = RemoteResource._credentials(self)
343
- response = Api.request uri, :put, headers: {}, body: body,
343
+ response = Api.request Api.internalize_uri(uri), :put, headers: {}, body: body,
344
344
  credentials: credentials, x_api_token: token,
345
345
  retries: retries, backoff_time: backoff_time, backoff_rate: backoff_rate,
346
346
  backoff_max: backoff_max
@@ -364,7 +364,7 @@ class Api
364
364
 
365
365
  def _create(post_uri, body)
366
366
  credentials, token = RemoteResource._credentials(self)
367
- response = Api.request post_uri, :post, headers: {}, body: body,
367
+ response = Api.request Api.internalize_uri(post_uri), :post, headers: {}, body: body,
368
368
  credentials: credentials, x_api_token: token,
369
369
  retries: retries, backoff_time: backoff_time, backoff_rate: backoff_rate,
370
370
  backoff_max: backoff_max
@@ -383,7 +383,7 @@ class Api
383
383
 
384
384
  def _destroy(delete_uri)
385
385
  credentials, token = RemoteResource._credentials(self)
386
- response = Api.request delete_uri, :delete, headers: {},
386
+ response = Api.request Api.internalize_uri(delete_uri), :delete, headers: {},
387
387
  credentials: credentials, x_api_token: token,
388
388
  retries: retries, backoff_time: backoff_time, backoff_rate: backoff_rate,
389
389
  backoff_max: backoff_max
data/lib/ocean/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Ocean
2
- VERSION = "3.7.1"
2
+ VERSION = "3.7.2"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ocean-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.7.1
4
+ version: 3.7.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter Bengtson