ocean-rails 2.16.1 → 2.16.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: ce2c60ebafc941ee1eb947750ff671a40c8d94fe
4
- data.tar.gz: 57f32cf769c9bb3781cd227117633199b4965d2f
3
+ metadata.gz: c1cb97a1135c1b50b38334790a97ac346953eb10
4
+ data.tar.gz: 84df7c4bdcb486bebb78e437e0dd9b283c34dace
5
5
  SHA512:
6
- metadata.gz: e69fbedb2734b66e99b2c5f673331ad6ce550a0fee95e8676d02ac4518deb0260254c8477b0e0449e7632c26390a62bb99cf184c8c43c3729a33c2807f92c376
7
- data.tar.gz: b22390265d6c445ac7e154a20b862ae78550e7be707ea5a99cdddaa41d9b86385f6cd506c6c289a3980ee84d37c791bf7c9f4b9cabd076b78cf344856dc15491
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
@@ -1,3 +1,3 @@
1
1
  module Ocean
2
- VERSION = "2.16.1"
2
+ VERSION = "2.16.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: 2.16.1
4
+ version: 2.16.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter Bengtson