ocean-rails 3.3.0 → 3.3.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/ocean/api_remote_resource.rb +1 -1
- data/lib/ocean/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 31b1b38b3c165623d55d20c2c50a4e8d0dfcf3af
|
|
4
|
+
data.tar.gz: 4953f5131a176fe9e62d5026170756069546cad0
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 449a836b690b3246421c3a821469cd5ccd9bc2926803db306e58c0c875a6cb7b859938d08f724053d3a09b9262005b83c53f8206d11c946d17186a859aeae306
|
|
7
|
+
data.tar.gz: c29371feb920c6ae52c51617fc3c82db1684864d219bcf3c8a07af611145bd7a35187756afbb0207664b18117ea61fa2bd277bd9139f000a401c70c9508119ae
|
|
@@ -180,7 +180,7 @@ class Api
|
|
|
180
180
|
rr.send :status=, response.status
|
|
181
181
|
rr.send :status_message=, response.message
|
|
182
182
|
raise GetFailed unless response.success?
|
|
183
|
-
raise WrongContentType unless response.headers['Content-Type'] == rr.content_type
|
|
183
|
+
#raise WrongContentType unless response.headers['Content-Type'] == rr.content_type
|
|
184
184
|
begin
|
|
185
185
|
raw = response.body
|
|
186
186
|
rescue JSON::ParserError
|
data/lib/ocean/version.rb
CHANGED