openstax_api 6.1.5 → 7.0.1
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/engine.rb +4 -4
- data/lib/openstax/api/responder_with_put_patch_delete_content.rb +9 -0
- data/lib/openstax/api/roar.rb +80 -34
- data/lib/openstax/api/version.rb +1 -1
- data/spec/dummy/db/test.sqlite3 +0 -0
- data/spec/dummy/log/test.log +856 -35153
- data/spec/lib/openstax/api/roar_spec.rb +3 -2
- metadata +3 -3
- data/lib/openstax/api/responder_with_put_content.rb +0 -9
@@ -7,14 +7,15 @@ module OpenStax
|
|
7
7
|
let!(:controller) { OpenStax::Api::V1::ApiController.new }
|
8
8
|
|
9
9
|
it 'adds methods to ApiController instance' do
|
10
|
+
expect(controller).to respond_to(:standard_index)
|
10
11
|
expect(controller).to respond_to(:standard_search)
|
11
12
|
expect(controller).to respond_to(:standard_create)
|
13
|
+
expect(controller).to respond_to(:standard_nested_create)
|
12
14
|
expect(controller).to respond_to(:standard_read)
|
13
15
|
expect(controller).to respond_to(:standard_update)
|
14
16
|
expect(controller).to respond_to(:standard_destroy)
|
15
|
-
expect(controller).to respond_to(:
|
17
|
+
expect(controller).to respond_to(:standard_restore)
|
16
18
|
expect(controller).to respond_to(:standard_sort)
|
17
|
-
expect(controller).to respond_to(:standard_nested_create)
|
18
19
|
expect(controller).to respond_to(:render_api_errors)
|
19
20
|
end
|
20
21
|
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:
|
4
|
+
version: 7.0.1
|
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: 2016-05-
|
12
|
+
date: 2016-05-25 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: rails
|
@@ -248,7 +248,7 @@ files:
|
|
248
248
|
- lib/openstax/api/doorkeeper_application_includes.rb
|
249
249
|
- lib/openstax/api/engine.rb
|
250
250
|
- lib/openstax/api/representable_schema_printer.rb
|
251
|
-
- lib/openstax/api/
|
251
|
+
- lib/openstax/api/responder_with_put_patch_delete_content.rb
|
252
252
|
- lib/openstax/api/roar.rb
|
253
253
|
- lib/openstax/api/routing_mapper_includes.rb
|
254
254
|
- lib/openstax/api/rspec_helpers.rb
|