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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 80cc28e28cafca66bb88206472f693711a1c1904
4
- data.tar.gz: dd40afb0e2a7507df308b96ebb3abdb0a42c1337
3
+ metadata.gz: 0a4a62e0c855267073313750dea1b8c1ce50c7d5
4
+ data.tar.gz: 5671f53966b6807fd03caff38c14fc906942719a
5
5
  SHA512:
6
- metadata.gz: 1f2bba98776f60bf7aafdee2d3a8f24f43f491e663717074779c251305249d60ce12b1298b42dd2ff39103e5275baf95ec68f30c689cc998695877c54803837a
7
- data.tar.gz: 6f0f670549f31858279f9748d7ad54a4b8ea7c500172156b87f11ef96eb5313db45e9dcf5b21715d5bbe759d8355a13e29d18173ee83087746a5d534311c1ff0
6
+ metadata.gz: e4e2e245a23bce08fdbfe1b0d15425a1b80b914e4521ac896e63817e0550bd0172d2bd977339dbcc564dc73d975bbcc01d66e9b76e2e73764d1de090262d5f1d
7
+ data.tar.gz: 7103de402ddfcdabfe5e0ac5e9feef57156e38fdfac3cb9b207da413d56a6faba56c8655279d0818e52f9b014d7544efeaa1900f64d19516ba56fa059a479124
@@ -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)
@@ -1,5 +1,5 @@
1
1
  module OpenStax
2
2
  module Api
3
- VERSION = "5.5.4"
3
+ VERSION = "5.5.5"
4
4
  end
5
5
  end
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
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-25 00:00:00.000000000 Z
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: