ocean-rails 2.16.2 → 2.16.3

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: c1cb97a1135c1b50b38334790a97ac346953eb10
4
- data.tar.gz: 84df7c4bdcb486bebb78e437e0dd9b283c34dace
3
+ metadata.gz: 0abe1ea25a87eacf12ac36147d3f3ed351fd7c0c
4
+ data.tar.gz: 6a3d4902ad2e035d4f6f695f57a46e3c6c616691
5
5
  SHA512:
6
- metadata.gz: 8e948adf741d397fb05557e17a08745060299dc9a207f7feaaceba79cf4895aa9018d769aa17ab5c1609219d24437dd667938953604e9280f4abd057da7400df
7
- data.tar.gz: 9d9f1bbebdb471f1dae85c2fc829a849a82c5524754453d1a3e1eb6c1404951caf849a8fc924b998aacd0e565a4c676113c1f1c372f14327a96c07bc7c0c2fe8
6
+ metadata.gz: 6efe92ccc4ba14e8388bc9193e1f01147864ec32734fa35ab350304c795aa9b3ca87d9fe2420f0a63f402df773f97e2496560e8c81c3ed26b8490600d7fd7dca
7
+ data.tar.gz: cd2a64e30ee8da82577fc7e3512e27d16743a62a62828bcff1b8fa6c639b6ea0fd454d8c4083310444600116bf8f7325d2e4aa8be71b557992d09672dafeef7f
@@ -80,23 +80,23 @@ module OceanApplicationController
80
80
  end
81
81
 
82
82
 
83
- #
84
- # Requires the request to be conditional: it must have an +If-None-Match+ and/or an
85
- # +If-Modified-Since+ HTTP header. If the request isn't conditional, a 428 error is
86
- # returned. The body will be a standard API error message, with two strings:
87
- # <tt>"Precondition Required"</tt> and <tt>"If-None-Match and/or If-Modified-Since missing"</tt>.
88
- #
89
- def require_conditional
90
- if request.headers['If-None-Match'].blank? && request.headers['If-Modified-Since'].blank?
91
- render_api_error 428, "Precondition Required",
92
- "If-None-Match and/or If-Modified-Since missing"
93
- #expires_in 0, must_revalidate: true
94
- expires_now
95
- false
96
- else
97
- true
98
- end
99
- end
83
+ # #
84
+ # # Requires the request to be conditional: it must have an +If-None-Match+ and/or an
85
+ # # +If-Modified-Since+ HTTP header. If the request isn't conditional, a 428 error is
86
+ # # returned. The body will be a standard API error message, with two strings:
87
+ # # <tt>"Precondition Required"</tt> and <tt>"If-None-Match and/or If-Modified-Since missing"</tt>.
88
+ # #
89
+ # def require_conditional
90
+ # if request.headers['If-None-Match'].blank? && request.headers['If-Modified-Since'].blank?
91
+ # render_api_error 428, "Precondition Required",
92
+ # "If-None-Match and/or If-Modified-Since missing"
93
+ # #expires_in 0, must_revalidate: true
94
+ # expires_now
95
+ # false
96
+ # else
97
+ # true
98
+ # end
99
+ # end
100
100
 
101
101
 
102
102
  #
@@ -1,3 +1,3 @@
1
1
  module Ocean
2
- VERSION = "2.16.2"
2
+ VERSION = "2.16.3"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ocean-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.16.2
4
+ version: 2.16.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peter Bengtson
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-06-27 00:00:00.000000000 Z
11
+ date: 2014-08-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: typhoeus