openstax_api 5.4.4 → 5.4.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 +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 036cdab28b799619aaef3c315dc9c604668f76a1
|
4
|
+
data.tar.gz: af4643c9eed7bfbf437c71a0a5c8cc141d2eda38
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8e137b5795a29d376c4f8a11367cd5707f102d1914d074c9dc6189cb0a4091f39a3b7889b6fa735a79136559aa3dc948f2b749692441291149ca6e7762d3c54d
|
7
|
+
data.tar.gz: d72a4c1f0997d9ec1c5a5f527e0337b2ac20367d8880d9afd5da6c7f9fcfe8806f78d5b3bd0645f1b409b3919827e826e2db7b3c367b312a109027150c5ed590
|
data/lib/openstax/api/roar.rb
CHANGED
@@ -46,7 +46,7 @@ module OpenStax
|
|
46
46
|
# Must be able to update the record before and after the update itself
|
47
47
|
OSU::AccessPolicy.require_action_allowed!(:update, current_api_user, model)
|
48
48
|
|
49
|
-
model.
|
49
|
+
model.with_lock do
|
50
50
|
consume!(model, represent_with: represent_with)
|
51
51
|
yield model if block_given?
|
52
52
|
OSU::AccessPolicy.require_action_allowed!(:update, current_api_user, model)
|
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.4.
|
4
|
+
version: 5.4.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-
|
12
|
+
date: 2015-06-12 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|