openstax_api 5.4.6 → 5.5.0
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: b516a7b480a4b886c0e156b8e2056f2d777d4c11
|
4
|
+
data.tar.gz: b606dd4bc73814c91bc87aef95d1d789e2787f5b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: aae51bbafed8a9f24cc16d73ff5f6cfb756be3353fd840b37d9b3cfd9060369ee45f683b4b05933730d79bf6c6a30024c7c3b4609db00531567ab80d55c9340a
|
7
|
+
data.tar.gz: 38fc0194a381b0b49f7a38bd47b8484eaca65207cdcaa2cd62f019910c3226c58c3ac6574cbafef5fb9e1cd5f8330d2e82aa012f1bc3f485bf619913fad6b2a0
|
data/lib/openstax/api/roar.rb
CHANGED
@@ -12,7 +12,7 @@ module OpenStax
|
|
12
12
|
def standard_search(model, routine, represent_with, options={})
|
13
13
|
user = current_api_user
|
14
14
|
OSU::AccessPolicy.require_action_allowed!(:search, user, model)
|
15
|
-
result = routine.call(params)
|
15
|
+
result = routine.call(params, options)
|
16
16
|
return render_api_errors(result.errors) if result.errors.any?
|
17
17
|
outputs = result.outputs
|
18
18
|
outputs[:items].each do |item|
|
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
|
+
version: 5.5.0
|
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-07-01 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|