ocean-rails 2.16.1 → 2.16.2
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/ocean_application_controller.rb +2 -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: c1cb97a1135c1b50b38334790a97ac346953eb10
|
|
4
|
+
data.tar.gz: 84df7c4bdcb486bebb78e437e0dd9b283c34dace
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8e948adf741d397fb05557e17a08745060299dc9a207f7feaaceba79cf4895aa9018d769aa17ab5c1609219d24437dd667938953604e9280f4abd057da7400df
|
|
7
|
+
data.tar.gz: 9d9f1bbebdb471f1dae85c2fc829a849a82c5524754453d1a3e1eb6c1404951caf849a8fc924b998aacd0e565a4c676113c1f1c372f14327a96c07bc7c0c2fe8
|
|
@@ -90,7 +90,8 @@ module OceanApplicationController
|
|
|
90
90
|
if request.headers['If-None-Match'].blank? && request.headers['If-Modified-Since'].blank?
|
|
91
91
|
render_api_error 428, "Precondition Required",
|
|
92
92
|
"If-None-Match and/or If-Modified-Since missing"
|
|
93
|
-
expires_in 0, must_revalidate: true
|
|
93
|
+
#expires_in 0, must_revalidate: true
|
|
94
|
+
expires_now
|
|
94
95
|
false
|
|
95
96
|
else
|
|
96
97
|
true
|
data/lib/ocean/version.rb
CHANGED