blueprint_ruby_client 0.4.1 → 0.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/Gemfile.lock +65 -0
- data/LICENSE +201 -0
- data/README.md +25 -11
- data/docs/AssetTypeConfigsApi.md +63 -0
- data/docs/AssetTypeTemplatesApi.md +179 -0
- data/docs/AssetsApi.md +19 -19
- data/docs/HierarchyApi.md +35 -35
- data/docs/Integration.md +10 -0
- data/docs/IntegrationBody.md +9 -0
- data/docs/IntegrationTransform.md +11 -0
- data/docs/IntegrationTransformExample.md +9 -0
- data/docs/IntegrationsApi.md +329 -0
- data/docs/LTIApi.md +98 -0
- data/docs/Lti1IntegrationAttributes.md +11 -0
- data/docs/NodeAttributes.md +2 -0
- data/docs/SecurityApi.md +48 -0
- data/docs/Template.md +10 -0
- data/docs/TemplateAttributes.md +9 -0
- data/docs/TemplateBody.md +9 -0
- data/docs/{AssetAttributes.md → TemplateVariables.md} +3 -2
- data/generate.sh +1 -2
- data/git_push.sh +16 -1
- data/lib/blueprint_ruby_client/api/asset_type_configs_api.rb +84 -0
- data/lib/blueprint_ruby_client/api/asset_type_templates_api.rb +214 -0
- data/lib/blueprint_ruby_client/api/assets_api.rb +23 -191
- data/lib/blueprint_ruby_client/api/hierarchy_api.rb +49 -409
- data/lib/blueprint_ruby_client/api/integrations_api.rb +415 -0
- data/lib/blueprint_ruby_client/api/lti_api.rb +156 -0
- data/lib/blueprint_ruby_client/api/security_api.rb +75 -0
- data/lib/blueprint_ruby_client/api_client.rb +0 -2
- data/lib/blueprint_ruby_client/models/asset.rb +2 -59
- data/lib/blueprint_ruby_client/models/asset_body.rb +2 -42
- data/lib/blueprint_ruby_client/models/asset_relationship.rb +2 -57
- data/lib/blueprint_ruby_client/models/asset_result_set.rb +2 -57
- data/lib/blueprint_ruby_client/models/error.rb +2 -59
- data/lib/blueprint_ruby_client/models/errors.rb +2 -25
- data/lib/blueprint_ruby_client/models/integration.rb +225 -0
- data/lib/blueprint_ruby_client/models/{mixed_resource_result_set.rb → integration_body.rb} +27 -12
- data/lib/blueprint_ruby_client/models/integration_transform.rb +221 -0
- data/lib/blueprint_ruby_client/models/integration_transform_example.rb +197 -0
- data/lib/blueprint_ruby_client/models/links.rb +2 -57
- data/lib/blueprint_ruby_client/models/lti1_integration_attributes.rb +225 -0
- data/lib/blueprint_ruby_client/models/meta.rb +2 -57
- data/lib/blueprint_ruby_client/models/namespace.rb +2 -43
- data/lib/blueprint_ruby_client/models/namespace_relationship.rb +2 -25
- data/lib/blueprint_ruby_client/models/node.rb +2 -75
- data/lib/blueprint_ruby_client/models/node_attributes.rb +26 -109
- data/lib/blueprint_ruby_client/models/node_body.rb +2 -42
- data/lib/blueprint_ruby_client/models/node_relationship.rb +2 -57
- data/lib/blueprint_ruby_client/models/node_relationships.rb +2 -73
- data/lib/blueprint_ruby_client/models/node_result_set.rb +2 -57
- data/lib/blueprint_ruby_client/models/resource.rb +2 -59
- data/lib/blueprint_ruby_client/models/template.rb +215 -0
- data/lib/blueprint_ruby_client/models/template_attributes.rb +217 -0
- data/lib/blueprint_ruby_client/models/{asset_attributes.rb → template_body.rb} +23 -33
- data/lib/blueprint_ruby_client/models/template_variables.rb +237 -0
- data/lib/blueprint_ruby_client/version.rb +1 -1
- data/lib/blueprint_ruby_client.rb +14 -0
- data/spec/api/asset_type_configs_api_spec.rb +52 -0
- data/spec/api/asset_type_templates_api_spec.rb +88 -0
- data/spec/api/assets_api_spec.rb +9 -9
- data/spec/api/hierarchy_api_spec.rb +17 -17
- data/spec/api/integrations_api_spec.rb +141 -0
- data/spec/api/lti_api_spec.rb +69 -0
- data/spec/api/security_api_spec.rb +50 -0
- data/spec/api_client_spec.rb +226 -0
- data/spec/configuration_spec.rb +42 -0
- data/spec/models/integration_body_spec.rb +56 -0
- data/spec/models/integration_spec.rb +66 -0
- data/spec/models/integration_transform_example_spec.rb +56 -0
- data/spec/models/integration_transform_spec.rb +76 -0
- data/spec/models/lti1_integration_attributes_spec.rb +76 -0
- data/spec/models/node_attributes_spec.rb +20 -0
- data/spec/models/template_attributes_spec.rb +56 -0
- data/spec/models/{asset_attributes_spec.rb → template_body_spec.rb} +17 -7
- data/spec/models/template_spec.rb +66 -0
- data/spec/models/template_variables_spec.rb +56 -0
- data/spec/spec_helper.rb +111 -0
- data/swagger-codegen-cli.jar +0 -0
- data/templates/model.mustache +5 -5
- metadata +67 -12
- data/docs/MixedResourceResultSet.md +0 -7
- data/spec/models/mixed_resource_result_set_spec.rb +0 -36
@@ -14,25 +14,35 @@ require 'spec_helper'
|
|
14
14
|
require 'json'
|
15
15
|
require 'date'
|
16
16
|
|
17
|
-
# Unit tests for BlueprintClient::
|
17
|
+
# Unit tests for BlueprintClient::TemplateBody
|
18
18
|
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
19
|
# Please update as you see appropriate
|
20
|
-
describe '
|
20
|
+
describe 'TemplateBody' do
|
21
21
|
before do
|
22
22
|
# run before each test
|
23
|
-
@instance = BlueprintClient::
|
23
|
+
@instance = BlueprintClient::TemplateBody.new
|
24
24
|
end
|
25
25
|
|
26
26
|
after do
|
27
27
|
# run after each test
|
28
28
|
end
|
29
29
|
|
30
|
-
describe 'test an instance of
|
31
|
-
it 'should create an instact of
|
32
|
-
@instance.should be_a(BlueprintClient::
|
30
|
+
describe 'test an instance of TemplateBody' do
|
31
|
+
it 'should create an instact of TemplateBody' do
|
32
|
+
@instance.should be_a(BlueprintClient::TemplateBody)
|
33
33
|
end
|
34
34
|
end
|
35
|
-
describe 'test attribute "
|
35
|
+
describe 'test attribute "data"' do
|
36
|
+
it 'should work' do
|
37
|
+
# assertion here
|
38
|
+
# should be_a()
|
39
|
+
# should be_nil
|
40
|
+
# should ==
|
41
|
+
# should_not ==
|
42
|
+
end
|
43
|
+
end
|
44
|
+
|
45
|
+
describe 'test attribute "meta"' do
|
36
46
|
it 'should work' do
|
37
47
|
# assertion here
|
38
48
|
# should be_a()
|
@@ -0,0 +1,66 @@
|
|
1
|
+
=begin
|
2
|
+
Talis Blueprint API
|
3
|
+
|
4
|
+
This is the API documentation for [Blueprint](https://github.com/talis/blueprint-server), a primitive for institutional structure and time periods
|
5
|
+
|
6
|
+
OpenAPI spec version: 1.0.0
|
7
|
+
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for BlueprintClient::Template
|
18
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'Template' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = BlueprintClient::Template.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of Template' do
|
31
|
+
it 'should create an instact of Template' do
|
32
|
+
@instance.should be_a(BlueprintClient::Template)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "id"' do
|
36
|
+
it 'should work' do
|
37
|
+
# assertion here
|
38
|
+
# should be_a()
|
39
|
+
# should be_nil
|
40
|
+
# should ==
|
41
|
+
# should_not ==
|
42
|
+
end
|
43
|
+
end
|
44
|
+
|
45
|
+
describe 'test attribute "type"' do
|
46
|
+
it 'should work' do
|
47
|
+
# assertion here
|
48
|
+
# should be_a()
|
49
|
+
# should be_nil
|
50
|
+
# should ==
|
51
|
+
# should_not ==
|
52
|
+
end
|
53
|
+
end
|
54
|
+
|
55
|
+
describe 'test attribute "attributes"' do
|
56
|
+
it 'should work' do
|
57
|
+
# assertion here
|
58
|
+
# should be_a()
|
59
|
+
# should be_nil
|
60
|
+
# should ==
|
61
|
+
# should_not ==
|
62
|
+
end
|
63
|
+
end
|
64
|
+
|
65
|
+
end
|
66
|
+
|
@@ -0,0 +1,56 @@
|
|
1
|
+
=begin
|
2
|
+
Talis Blueprint API
|
3
|
+
|
4
|
+
This is the API documentation for [Blueprint](https://github.com/talis/blueprint-server), a primitive for institutional structure and time periods
|
5
|
+
|
6
|
+
OpenAPI spec version: 1.0.0
|
7
|
+
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
require 'spec_helper'
|
14
|
+
require 'json'
|
15
|
+
require 'date'
|
16
|
+
|
17
|
+
# Unit tests for BlueprintClient::TemplateVariables
|
18
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
|
+
# Please update as you see appropriate
|
20
|
+
describe 'TemplateVariables' do
|
21
|
+
before do
|
22
|
+
# run before each test
|
23
|
+
@instance = BlueprintClient::TemplateVariables.new
|
24
|
+
end
|
25
|
+
|
26
|
+
after do
|
27
|
+
# run after each test
|
28
|
+
end
|
29
|
+
|
30
|
+
describe 'test an instance of TemplateVariables' do
|
31
|
+
it 'should create an instact of TemplateVariables' do
|
32
|
+
@instance.should be_a(BlueprintClient::TemplateVariables)
|
33
|
+
end
|
34
|
+
end
|
35
|
+
describe 'test attribute "field"' do
|
36
|
+
it 'should work' do
|
37
|
+
# assertion here
|
38
|
+
# should be_a()
|
39
|
+
# should be_nil
|
40
|
+
# should ==
|
41
|
+
# should_not ==
|
42
|
+
end
|
43
|
+
end
|
44
|
+
|
45
|
+
describe 'test attribute "data"' do
|
46
|
+
it 'should work' do
|
47
|
+
# assertion here
|
48
|
+
# should be_a()
|
49
|
+
# should be_nil
|
50
|
+
# should ==
|
51
|
+
# should_not ==
|
52
|
+
end
|
53
|
+
end
|
54
|
+
|
55
|
+
end
|
56
|
+
|
data/spec/spec_helper.rb
ADDED
@@ -0,0 +1,111 @@
|
|
1
|
+
=begin
|
2
|
+
Talis Blueprint API
|
3
|
+
|
4
|
+
This is the API documentation for [Blueprint](https://github.com/talis/blueprint-server), a primitive for institutional structure and time periods
|
5
|
+
|
6
|
+
OpenAPI spec version: 1.0.0
|
7
|
+
|
8
|
+
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
+
|
10
|
+
|
11
|
+
=end
|
12
|
+
|
13
|
+
# load the gem
|
14
|
+
require 'blueprint_ruby_client'
|
15
|
+
|
16
|
+
# The following was generated by the `rspec --init` command. Conventionally, all
|
17
|
+
# specs live under a `spec` directory, which RSpec adds to the `$LOAD_PATH`.
|
18
|
+
# The generated `.rspec` file contains `--require spec_helper` which will cause
|
19
|
+
# this file to always be loaded, without a need to explicitly require it in any
|
20
|
+
# files.
|
21
|
+
#
|
22
|
+
# Given that it is always loaded, you are encouraged to keep this file as
|
23
|
+
# light-weight as possible. Requiring heavyweight dependencies from this file
|
24
|
+
# will add to the boot time of your test suite on EVERY test run, even for an
|
25
|
+
# individual file that may not need all of that loaded. Instead, consider making
|
26
|
+
# a separate helper file that requires the additional dependencies and performs
|
27
|
+
# the additional setup, and require it from the spec files that actually need
|
28
|
+
# it.
|
29
|
+
#
|
30
|
+
# The `.rspec` file also contains a few flags that are not defaults but that
|
31
|
+
# users commonly want.
|
32
|
+
#
|
33
|
+
# See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
|
34
|
+
RSpec.configure do |config|
|
35
|
+
# rspec-expectations config goes here. You can use an alternate
|
36
|
+
# assertion/expectation library such as wrong or the stdlib/minitest
|
37
|
+
# assertions if you prefer.
|
38
|
+
config.expect_with :rspec do |expectations|
|
39
|
+
# This option will default to `true` in RSpec 4. It makes the `description`
|
40
|
+
# and `failure_message` of custom matchers include text for helper methods
|
41
|
+
# defined using `chain`, e.g.:
|
42
|
+
# be_bigger_than(2).and_smaller_than(4).description
|
43
|
+
# # => "be bigger than 2 and smaller than 4"
|
44
|
+
# ...rather than:
|
45
|
+
# # => "be bigger than 2"
|
46
|
+
expectations.include_chain_clauses_in_custom_matcher_descriptions = true
|
47
|
+
end
|
48
|
+
|
49
|
+
# rspec-mocks config goes here. You can use an alternate test double
|
50
|
+
# library (such as bogus or mocha) by changing the `mock_with` option here.
|
51
|
+
config.mock_with :rspec do |mocks|
|
52
|
+
# Prevents you from mocking or stubbing a method that does not exist on
|
53
|
+
# a real object. This is generally recommended, and will default to
|
54
|
+
# `true` in RSpec 4.
|
55
|
+
mocks.verify_partial_doubles = true
|
56
|
+
end
|
57
|
+
|
58
|
+
# The settings below are suggested to provide a good initial experience
|
59
|
+
# with RSpec, but feel free to customize to your heart's content.
|
60
|
+
=begin
|
61
|
+
# These two settings work together to allow you to limit a spec run
|
62
|
+
# to individual examples or groups you care about by tagging them with
|
63
|
+
# `:focus` metadata. When nothing is tagged with `:focus`, all examples
|
64
|
+
# get run.
|
65
|
+
config.filter_run :focus
|
66
|
+
config.run_all_when_everything_filtered = true
|
67
|
+
|
68
|
+
# Allows RSpec to persist some state between runs in order to support
|
69
|
+
# the `--only-failures` and `--next-failure` CLI options. We recommend
|
70
|
+
# you configure your source control system to ignore this file.
|
71
|
+
config.example_status_persistence_file_path = "spec/examples.txt"
|
72
|
+
|
73
|
+
# Limits the available syntax to the non-monkey patched syntax that is
|
74
|
+
# recommended. For more details, see:
|
75
|
+
# - http://rspec.info/blog/2012/06/rspecs-new-expectation-syntax/
|
76
|
+
# - http://www.teaisaweso.me/blog/2013/05/27/rspecs-new-message-expectation-syntax/
|
77
|
+
# - http://rspec.info/blog/2014/05/notable-changes-in-rspec-3/#zero-monkey-patching-mode
|
78
|
+
config.disable_monkey_patching!
|
79
|
+
|
80
|
+
# This setting enables warnings. It's recommended, but in some cases may
|
81
|
+
# be too noisy due to issues in dependencies.
|
82
|
+
config.warnings = true
|
83
|
+
|
84
|
+
# Many RSpec users commonly either run the entire suite or an individual
|
85
|
+
# file, and it's useful to allow more verbose output when running an
|
86
|
+
# individual spec file.
|
87
|
+
if config.files_to_run.one?
|
88
|
+
# Use the documentation formatter for detailed output,
|
89
|
+
# unless a formatter has already been configured
|
90
|
+
# (e.g. via a command-line flag).
|
91
|
+
config.default_formatter = 'doc'
|
92
|
+
end
|
93
|
+
|
94
|
+
# Print the 10 slowest examples and example groups at the
|
95
|
+
# end of the spec run, to help surface which specs are running
|
96
|
+
# particularly slow.
|
97
|
+
config.profile_examples = 10
|
98
|
+
|
99
|
+
# Run specs in random order to surface order dependencies. If you find an
|
100
|
+
# order dependency and want to debug it, you can fix the order by providing
|
101
|
+
# the seed, which is printed after each run.
|
102
|
+
# --seed 1234
|
103
|
+
config.order = :random
|
104
|
+
|
105
|
+
# Seed global randomization in this process using the `--seed` CLI option.
|
106
|
+
# Setting this allows you to use `--seed` to deterministically reproduce
|
107
|
+
# test failures related to randomization by passing the same `--seed` value
|
108
|
+
# as the one that triggered the failure.
|
109
|
+
Kernel.srand config.seed
|
110
|
+
=end
|
111
|
+
end
|
data/swagger-codegen-cli.jar
CHANGED
Binary file
|
data/templates/model.mustache
CHANGED
@@ -97,7 +97,7 @@ module {{moduleName}}{{#models}}{{#model}}{{#description}}
|
|
97
97
|
|
98
98
|
{{/minimum}}
|
99
99
|
{{#pattern}}
|
100
|
-
if @{{{name}}} !~ Regexp.new({{{pattern}}})
|
100
|
+
if @{{{name}}} !~ Regexp.new(/{{{pattern}}}/)
|
101
101
|
invalid_properties.push("invalid value for '{{{name}}}', must conform to the pattern {{{pattern}}}.")
|
102
102
|
end
|
103
103
|
|
@@ -148,7 +148,7 @@ module {{moduleName}}{{#models}}{{#model}}{{#description}}
|
|
148
148
|
|
149
149
|
{{/minimum}}
|
150
150
|
{{#pattern}}
|
151
|
-
if @{{{name}}} !~ Regexp.new({{{pattern}}})
|
151
|
+
if @{{{name}}} !~ Regexp.new(/{{{pattern}}}/)
|
152
152
|
return false
|
153
153
|
end
|
154
154
|
|
@@ -204,7 +204,7 @@ module {{moduleName}}{{#models}}{{#model}}{{#description}}
|
|
204
204
|
|
205
205
|
{{/minimum}}
|
206
206
|
{{#pattern}}
|
207
|
-
if @{{{name}}} !~ Regexp.new({{{pattern}}})
|
207
|
+
if @{{{name}}} !~ Regexp.new(/{{{pattern}}}/)
|
208
208
|
fail ArgumentError, "invalid value for '{{{name}}}', must conform to the pattern {{{pattern}}}."
|
209
209
|
end
|
210
210
|
|
@@ -216,7 +216,7 @@ module {{moduleName}}{{#models}}{{#model}}{{#description}}
|
|
216
216
|
{{/isEnum}}
|
217
217
|
{{/vars}}
|
218
218
|
# Checks equality by comparing each attribute.
|
219
|
-
# @param [Object] Object to be compared
|
219
|
+
# @param [Object] Object to be compared
|
220
220
|
def ==(o)
|
221
221
|
return true if self.equal?(o)
|
222
222
|
self.class == o.class{{#vars}} &&
|
@@ -224,7 +224,7 @@ module {{moduleName}}{{#models}}{{#model}}{{#description}}
|
|
224
224
|
end
|
225
225
|
|
226
226
|
# @see the `==` method
|
227
|
-
# @param [Object] Object to be compared
|
227
|
+
# @param [Object] Object to be compared
|
228
228
|
def eql?(o)
|
229
229
|
self == o
|
230
230
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: blueprint_ruby_client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.5.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ben Paddock
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-10-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: typhoeus
|
@@ -198,21 +198,30 @@ extensions: []
|
|
198
198
|
extra_rdoc_files: []
|
199
199
|
files:
|
200
200
|
- Gemfile
|
201
|
+
- Gemfile.lock
|
202
|
+
- LICENSE
|
201
203
|
- README.md
|
202
204
|
- blueprint_ruby_client.gemspec
|
203
205
|
- config.json
|
204
206
|
- docs/Asset.md
|
205
|
-
- docs/AssetAttributes.md
|
206
207
|
- docs/AssetBody.md
|
207
208
|
- docs/AssetRelationship.md
|
208
209
|
- docs/AssetResultSet.md
|
210
|
+
- docs/AssetTypeConfigsApi.md
|
211
|
+
- docs/AssetTypeTemplatesApi.md
|
209
212
|
- docs/AssetsApi.md
|
210
213
|
- docs/Error.md
|
211
214
|
- docs/Errors.md
|
212
215
|
- docs/HierarchyApi.md
|
216
|
+
- docs/Integration.md
|
217
|
+
- docs/IntegrationBody.md
|
218
|
+
- docs/IntegrationTransform.md
|
219
|
+
- docs/IntegrationTransformExample.md
|
220
|
+
- docs/IntegrationsApi.md
|
221
|
+
- docs/LTIApi.md
|
213
222
|
- docs/Links.md
|
223
|
+
- docs/Lti1IntegrationAttributes.md
|
214
224
|
- docs/Meta.md
|
215
|
-
- docs/MixedResourceResultSet.md
|
216
225
|
- docs/Namespace.md
|
217
226
|
- docs/NamespaceRelationship.md
|
218
227
|
- docs/Node.md
|
@@ -222,24 +231,37 @@ files:
|
|
222
231
|
- docs/NodeRelationships.md
|
223
232
|
- docs/NodeResultSet.md
|
224
233
|
- docs/Resource.md
|
234
|
+
- docs/SecurityApi.md
|
235
|
+
- docs/Template.md
|
236
|
+
- docs/TemplateAttributes.md
|
237
|
+
- docs/TemplateBody.md
|
238
|
+
- docs/TemplateVariables.md
|
225
239
|
- generate.sh
|
226
240
|
- git_push.sh
|
227
241
|
- lib/blueprint_ruby_client.rb
|
242
|
+
- lib/blueprint_ruby_client/api/asset_type_configs_api.rb
|
243
|
+
- lib/blueprint_ruby_client/api/asset_type_templates_api.rb
|
228
244
|
- lib/blueprint_ruby_client/api/assets_api.rb
|
229
245
|
- lib/blueprint_ruby_client/api/hierarchy_api.rb
|
246
|
+
- lib/blueprint_ruby_client/api/integrations_api.rb
|
247
|
+
- lib/blueprint_ruby_client/api/lti_api.rb
|
248
|
+
- lib/blueprint_ruby_client/api/security_api.rb
|
230
249
|
- lib/blueprint_ruby_client/api_client.rb
|
231
250
|
- lib/blueprint_ruby_client/api_error.rb
|
232
251
|
- lib/blueprint_ruby_client/configuration.rb
|
233
252
|
- lib/blueprint_ruby_client/models/asset.rb
|
234
|
-
- lib/blueprint_ruby_client/models/asset_attributes.rb
|
235
253
|
- lib/blueprint_ruby_client/models/asset_body.rb
|
236
254
|
- lib/blueprint_ruby_client/models/asset_relationship.rb
|
237
255
|
- lib/blueprint_ruby_client/models/asset_result_set.rb
|
238
256
|
- lib/blueprint_ruby_client/models/error.rb
|
239
257
|
- lib/blueprint_ruby_client/models/errors.rb
|
258
|
+
- lib/blueprint_ruby_client/models/integration.rb
|
259
|
+
- lib/blueprint_ruby_client/models/integration_body.rb
|
260
|
+
- lib/blueprint_ruby_client/models/integration_transform.rb
|
261
|
+
- lib/blueprint_ruby_client/models/integration_transform_example.rb
|
240
262
|
- lib/blueprint_ruby_client/models/links.rb
|
263
|
+
- lib/blueprint_ruby_client/models/lti1_integration_attributes.rb
|
241
264
|
- lib/blueprint_ruby_client/models/meta.rb
|
242
|
-
- lib/blueprint_ruby_client/models/mixed_resource_result_set.rb
|
243
265
|
- lib/blueprint_ruby_client/models/namespace.rb
|
244
266
|
- lib/blueprint_ruby_client/models/namespace_relationship.rb
|
245
267
|
- lib/blueprint_ruby_client/models/node.rb
|
@@ -249,19 +271,33 @@ files:
|
|
249
271
|
- lib/blueprint_ruby_client/models/node_relationships.rb
|
250
272
|
- lib/blueprint_ruby_client/models/node_result_set.rb
|
251
273
|
- lib/blueprint_ruby_client/models/resource.rb
|
274
|
+
- lib/blueprint_ruby_client/models/template.rb
|
275
|
+
- lib/blueprint_ruby_client/models/template_attributes.rb
|
276
|
+
- lib/blueprint_ruby_client/models/template_body.rb
|
277
|
+
- lib/blueprint_ruby_client/models/template_variables.rb
|
252
278
|
- lib/blueprint_ruby_client/version.rb
|
279
|
+
- spec/api/asset_type_configs_api_spec.rb
|
280
|
+
- spec/api/asset_type_templates_api_spec.rb
|
253
281
|
- spec/api/assets_api_spec.rb
|
254
282
|
- spec/api/hierarchy_api_spec.rb
|
255
|
-
- spec/
|
283
|
+
- spec/api/integrations_api_spec.rb
|
284
|
+
- spec/api/lti_api_spec.rb
|
285
|
+
- spec/api/security_api_spec.rb
|
286
|
+
- spec/api_client_spec.rb
|
287
|
+
- spec/configuration_spec.rb
|
256
288
|
- spec/models/asset_body_spec.rb
|
257
289
|
- spec/models/asset_relationship_spec.rb
|
258
290
|
- spec/models/asset_result_set_spec.rb
|
259
291
|
- spec/models/asset_spec.rb
|
260
292
|
- spec/models/error_spec.rb
|
261
293
|
- spec/models/errors_spec.rb
|
294
|
+
- spec/models/integration_body_spec.rb
|
295
|
+
- spec/models/integration_spec.rb
|
296
|
+
- spec/models/integration_transform_example_spec.rb
|
297
|
+
- spec/models/integration_transform_spec.rb
|
262
298
|
- spec/models/links_spec.rb
|
299
|
+
- spec/models/lti1_integration_attributes_spec.rb
|
263
300
|
- spec/models/meta_spec.rb
|
264
|
-
- spec/models/mixed_resource_result_set_spec.rb
|
265
301
|
- spec/models/namespace_relationship_spec.rb
|
266
302
|
- spec/models/namespace_spec.rb
|
267
303
|
- spec/models/node_attributes_spec.rb
|
@@ -271,6 +307,11 @@ files:
|
|
271
307
|
- spec/models/node_result_set_spec.rb
|
272
308
|
- spec/models/node_spec.rb
|
273
309
|
- spec/models/resource_spec.rb
|
310
|
+
- spec/models/template_attributes_spec.rb
|
311
|
+
- spec/models/template_body_spec.rb
|
312
|
+
- spec/models/template_spec.rb
|
313
|
+
- spec/models/template_variables_spec.rb
|
314
|
+
- spec/spec_helper.rb
|
274
315
|
- swagger-codegen-cli.jar
|
275
316
|
- templates/Gemfile.mustache
|
276
317
|
- templates/README.mustache
|
@@ -309,23 +350,33 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
309
350
|
version: '0'
|
310
351
|
requirements: []
|
311
352
|
rubyforge_project:
|
312
|
-
rubygems_version: 2.
|
353
|
+
rubygems_version: 2.5.1
|
313
354
|
signing_key:
|
314
355
|
specification_version: 4
|
315
356
|
summary: A ruby API wrapper for Blueprint
|
316
357
|
test_files:
|
358
|
+
- spec/api/asset_type_configs_api_spec.rb
|
359
|
+
- spec/api/asset_type_templates_api_spec.rb
|
317
360
|
- spec/api/assets_api_spec.rb
|
318
361
|
- spec/api/hierarchy_api_spec.rb
|
319
|
-
- spec/
|
362
|
+
- spec/api/integrations_api_spec.rb
|
363
|
+
- spec/api/lti_api_spec.rb
|
364
|
+
- spec/api/security_api_spec.rb
|
365
|
+
- spec/api_client_spec.rb
|
366
|
+
- spec/configuration_spec.rb
|
320
367
|
- spec/models/asset_body_spec.rb
|
321
368
|
- spec/models/asset_relationship_spec.rb
|
322
369
|
- spec/models/asset_result_set_spec.rb
|
323
370
|
- spec/models/asset_spec.rb
|
324
371
|
- spec/models/error_spec.rb
|
325
372
|
- spec/models/errors_spec.rb
|
373
|
+
- spec/models/integration_body_spec.rb
|
374
|
+
- spec/models/integration_spec.rb
|
375
|
+
- spec/models/integration_transform_example_spec.rb
|
376
|
+
- spec/models/integration_transform_spec.rb
|
326
377
|
- spec/models/links_spec.rb
|
378
|
+
- spec/models/lti1_integration_attributes_spec.rb
|
327
379
|
- spec/models/meta_spec.rb
|
328
|
-
- spec/models/mixed_resource_result_set_spec.rb
|
329
380
|
- spec/models/namespace_relationship_spec.rb
|
330
381
|
- spec/models/namespace_spec.rb
|
331
382
|
- spec/models/node_attributes_spec.rb
|
@@ -335,4 +386,8 @@ test_files:
|
|
335
386
|
- spec/models/node_result_set_spec.rb
|
336
387
|
- spec/models/node_spec.rb
|
337
388
|
- spec/models/resource_spec.rb
|
338
|
-
|
389
|
+
- spec/models/template_attributes_spec.rb
|
390
|
+
- spec/models/template_body_spec.rb
|
391
|
+
- spec/models/template_spec.rb
|
392
|
+
- spec/models/template_variables_spec.rb
|
393
|
+
- spec/spec_helper.rb
|
@@ -1,36 +0,0 @@
|
|
1
|
-
=begin
|
2
|
-
Talis Blueprint API
|
3
|
-
|
4
|
-
This is the API documentation for [Blueprint](https://github.com/talis/blueprint-server), a primitive for institutional structure and time periods
|
5
|
-
|
6
|
-
OpenAPI spec version: 1.0.0
|
7
|
-
|
8
|
-
Generated by: https://github.com/swagger-api/swagger-codegen.git
|
9
|
-
|
10
|
-
|
11
|
-
=end
|
12
|
-
|
13
|
-
require 'spec_helper'
|
14
|
-
require 'json'
|
15
|
-
require 'date'
|
16
|
-
|
17
|
-
# Unit tests for BlueprintClient::MixedResourceResultSet
|
18
|
-
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
19
|
-
# Please update as you see appropriate
|
20
|
-
describe 'MixedResourceResultSet' do
|
21
|
-
before do
|
22
|
-
# run before each test
|
23
|
-
@instance = BlueprintClient::MixedResourceResultSet.new
|
24
|
-
end
|
25
|
-
|
26
|
-
after do
|
27
|
-
# run after each test
|
28
|
-
end
|
29
|
-
|
30
|
-
describe 'test an instance of MixedResourceResultSet' do
|
31
|
-
it 'should create an instact of MixedResourceResultSet' do
|
32
|
-
@instance.should be_a(BlueprintClient::MixedResourceResultSet)
|
33
|
-
end
|
34
|
-
end
|
35
|
-
end
|
36
|
-
|