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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: c9dfc25d4ead142867378507240822a12a682b08
4
- data.tar.gz: 0a7d7e9c73af6c5277837978ec6dde6a9ad0ddf4
3
+ metadata.gz: b516a7b480a4b886c0e156b8e2056f2d777d4c11
4
+ data.tar.gz: b606dd4bc73814c91bc87aef95d1d789e2787f5b
5
5
  SHA512:
6
- metadata.gz: 54001e781fc87ae83a75b91325ec396fd2455026eb107e52a9948886654579a04ff36266f83c0df5e93126fef9665d73ea431fd79afa87719d6909734964c3ce
7
- data.tar.gz: 383d729b633cf2cb7f9c0eeefccd5b187f5fb55101e5c1a1d1d129d3cebc2f38729b9b10e38f3940174bf82049ac70e5f4313f191ce88d5ead83e48b381b743d
6
+ metadata.gz: aae51bbafed8a9f24cc16d73ff5f6cfb756be3353fd840b37d9b3cfd9060369ee45f683b4b05933730d79bf6c6a30024c7c3b4609db00531567ab80d55c9340a
7
+ data.tar.gz: 38fc0194a381b0b49f7a38bd47b8484eaca65207cdcaa2cd62f019910c3226c58c3ac6574cbafef5fb9e1cd5f8330d2e82aa012f1bc3f485bf619913fad6b2a0
@@ -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|
@@ -1,5 +1,5 @@
1
1
  module OpenStax
2
2
  module Api
3
- VERSION = "5.4.6"
3
+ VERSION = "5.5.0"
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.4.6
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-06-19 00:00:00.000000000 Z
12
+ date: 2015-07-01 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails