openstax_api 5.5.4 → 5.5.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/openstax/api/roar.rb +1 -1
- data/lib/openstax/api/version.rb +1 -1
- metadata +16 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0a4a62e0c855267073313750dea1b8c1ce50c7d5
|
4
|
+
data.tar.gz: 5671f53966b6807fd03caff38c14fc906942719a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e4e2e245a23bce08fdbfe1b0d15425a1b80b914e4521ac896e63817e0550bd0172d2bd977339dbcc564dc73d975bbcc01d66e9b76e2e73764d1de090262d5f1d
|
7
|
+
data.tar.gz: 7103de402ddfcdabfe5e0ac5e9feef57156e38fdfac3cb9b207da413d56a6faba56c8655279d0818e52f9b014d7544efeaa1900f64d19516ba56fa059a479124
|
data/lib/openstax/api/roar.rb
CHANGED
@@ -39,7 +39,7 @@ module OpenStax
|
|
39
39
|
def standard_read(model, represent_with=nil, use_timestamp_for_cache=false)
|
40
40
|
OSU::AccessPolicy.require_action_allowed!(:read, current_api_user, model)
|
41
41
|
respond_with model, represent_with: represent_with \
|
42
|
-
if !use_timestamp_for_cache || stale?(model)
|
42
|
+
if !use_timestamp_for_cache || stale?(model, template: false)
|
43
43
|
end
|
44
44
|
|
45
45
|
def standard_update(model, represent_with=nil)
|
data/lib/openstax/api/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: openstax_api
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 5.5.
|
4
|
+
version: 5.5.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dante Soares
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2015-08-
|
12
|
+
date: 2015-08-26 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|
@@ -207,6 +207,20 @@ dependencies:
|
|
207
207
|
- - ">="
|
208
208
|
- !ruby/object:Gem::Version
|
209
209
|
version: '0'
|
210
|
+
- !ruby/object:Gem::Dependency
|
211
|
+
name: multi_json
|
212
|
+
requirement: !ruby/object:Gem::Requirement
|
213
|
+
requirements:
|
214
|
+
- - ">="
|
215
|
+
- !ruby/object:Gem::Version
|
216
|
+
version: '0'
|
217
|
+
type: :development
|
218
|
+
prerelease: false
|
219
|
+
version_requirements: !ruby/object:Gem::Requirement
|
220
|
+
requirements:
|
221
|
+
- - ">="
|
222
|
+
- !ruby/object:Gem::Version
|
223
|
+
version: '0'
|
210
224
|
description: Provides models, controllers and libraries that help OpenStax products
|
211
225
|
define API's for user applications.
|
212
226
|
email:
|