ocean-rails 3.7.3 → 3.7.4

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: aeca7252a82ca7b563ccf1e82c01e193a416026f
4
- data.tar.gz: a003f64cb6bab3da9f119265b4187527d58cab1d
3
+ metadata.gz: 488ffb9752c36dd3c3fc31c800133a06800c9742
4
+ data.tar.gz: ade7530bafe37195a1d69ac75d110c28033fd766
5
5
  SHA512:
6
- metadata.gz: 3ef103871d6b82357cb2b20caa0db66fc4c19125cab4812c52b463caaf60facff9f145965f4c242db41bfc57f6d7b46adf0c88516526e6895c11950a47c5a910
7
- data.tar.gz: 62ef3eb48d620fa2c1c8304ec52972c3fa1346376e7bec62663ac8ecfac022faa97d5fa96ce1f09574d937f51ac43e6e32b0f3c616f250fc82955370bbbe4feb
6
+ metadata.gz: ada19f7671f2f004ecbb82fc9b3cd7f128b59a8c6a26579eb6c0d1d7cabe468ea6ecfc5b8d868efdaebc0193c699379ee032d6fa57515e8b5cc5b0ead4ad47b3
7
+ data.tar.gz: 21e2bfc0a296101710653979d51596ece14fc42b8399c69ced2e3dc126c0cd1a16057c20b15878da9e0a26dfd31d696eadb7c3a9939f15ccb962621adcc852d4
@@ -340,7 +340,7 @@ class Api
340
340
 
341
341
  def _modify(body)
342
342
  credentials, token = RemoteResource._credentials(self)
343
- response = Api.request Api.internalize_uri(uri), :put, headers: {}, body: body,
343
+ response = Api.request Api.internalize_uri(uri), :put, headers: {}, body: body.to_json,
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 Api.internalize_uri(post_uri), :post, headers: {}, body: body,
367
+ response = Api.request Api.internalize_uri(post_uri), :post, headers: {}, body: body.to_json,
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
data/lib/ocean/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Ocean
2
- VERSION = "3.7.3"
2
+ VERSION = "3.7.4"
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.3
4
+ version: 3.7.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter Bengtson