blueprint_ruby_client 0.1.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 +7 -0
- data/Gemfile +4 -0
- data/Gemfile.lock +65 -0
- data/README.md +152 -0
- data/blueprint_ruby_client.gemspec +31 -0
- data/config.json +13 -0
- data/docs/Asset.md +9 -0
- data/docs/AssetBody.md +9 -0
- data/docs/AssetResultSet.md +9 -0
- data/docs/AssetsApi.md +376 -0
- data/docs/Error.md +10 -0
- data/docs/Errors.md +8 -0
- data/docs/HierarchyApi.md +745 -0
- data/docs/Links.md +10 -0
- data/docs/Meta.md +10 -0
- data/docs/Namespace.md +9 -0
- data/docs/NamespaceRelationship.md +8 -0
- data/docs/Node.md +11 -0
- data/docs/NodeAttributes.md +13 -0
- data/docs/NodeBody.md +9 -0
- data/docs/NodeRelationship.md +10 -0
- data/docs/NodeRelationships.md +10 -0
- data/docs/NodeResultSet.md +10 -0
- data/generate.sh +7 -0
- data/git_push.sh +52 -0
- data/lib/blueprint_ruby_client/api/assets_api.rb +598 -0
- data/lib/blueprint_ruby_client/api/hierarchy_api.rb +1174 -0
- data/lib/blueprint_ruby_client/api_client.rb +365 -0
- data/lib/blueprint_ruby_client/api_error.rb +36 -0
- data/lib/blueprint_ruby_client/configuration.rb +170 -0
- data/lib/blueprint_ruby_client/models/asset.rb +242 -0
- data/lib/blueprint_ruby_client/models/asset_body.rb +237 -0
- data/lib/blueprint_ruby_client/models/asset_result_set.rb +234 -0
- data/lib/blueprint_ruby_client/models/error.rb +267 -0
- data/lib/blueprint_ruby_client/models/errors.rb +209 -0
- data/lib/blueprint_ruby_client/models/links.rb +257 -0
- data/lib/blueprint_ruby_client/models/meta.rb +260 -0
- data/lib/blueprint_ruby_client/models/namespace.rb +242 -0
- data/lib/blueprint_ruby_client/models/namespace_relationship.rb +207 -0
- data/lib/blueprint_ruby_client/models/node.rb +293 -0
- data/lib/blueprint_ruby_client/models/node_attributes.rb +338 -0
- data/lib/blueprint_ruby_client/models/node_body.rb +237 -0
- data/lib/blueprint_ruby_client/models/node_relationship.rb +259 -0
- data/lib/blueprint_ruby_client/models/node_relationships.rb +257 -0
- data/lib/blueprint_ruby_client/models/node_result_set.rb +261 -0
- data/lib/blueprint_ruby_client/version.rb +15 -0
- data/lib/blueprint_ruby_client.rb +56 -0
- data/spec/api/assets_api_spec.rb +150 -0
- data/spec/api/hierarchy_api_spec.rb +266 -0
- data/spec/models/asset_body_spec.rb +56 -0
- data/spec/models/asset_result_set_spec.rb +56 -0
- data/spec/models/asset_spec.rb +56 -0
- data/spec/models/error_spec.rb +66 -0
- data/spec/models/errors_spec.rb +46 -0
- data/spec/models/links_spec.rb +66 -0
- data/spec/models/meta_spec.rb +66 -0
- data/spec/models/namespace_relationship_spec.rb +46 -0
- data/spec/models/namespace_spec.rb +56 -0
- data/spec/models/node_attributes_spec.rb +96 -0
- data/spec/models/node_body_spec.rb +56 -0
- data/spec/models/node_relationship_spec.rb +66 -0
- data/spec/models/node_relationships_spec.rb +66 -0
- data/spec/models/node_result_set_spec.rb +66 -0
- data/spec/models/node_spec.rb +76 -0
- data/swagger-codegen-cli.jar +0 -0
- data/templates/Gemfile.mustache +4 -0
- data/templates/README.mustache +139 -0
- data/templates/api.mustache +135 -0
- data/templates/api_client.mustache +357 -0
- data/templates/api_doc.mustache +79 -0
- data/templates/api_error.mustache +28 -0
- data/templates/api_info.mustache +18 -0
- data/templates/api_test.mustache +47 -0
- data/templates/base_object.mustache +103 -0
- data/templates/configuration.mustache +192 -0
- data/templates/gem.mustache +40 -0
- data/templates/gemspec.mustache +31 -0
- data/templates/gitignore.mustache +40 -0
- data/templates/model.mustache +242 -0
- data/templates/model_doc.mustache +9 -0
- data/templates/model_test.mustache +40 -0
- data/templates/version.mustache +7 -0
- metadata +322 -0
|
@@ -0,0 +1,242 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
{{> api_info}}
|
|
3
|
+
=end
|
|
4
|
+
|
|
5
|
+
require 'date'
|
|
6
|
+
|
|
7
|
+
module {{moduleName}}{{#models}}{{#model}}{{#description}}
|
|
8
|
+
# {{{description}}}{{/description}}
|
|
9
|
+
class {{classname}}{{#vars}}{{#description}}
|
|
10
|
+
# {{{description}}}{{/description}}
|
|
11
|
+
attr_accessor :{{{name}}}
|
|
12
|
+
{{/vars}}
|
|
13
|
+
|
|
14
|
+
# Attribute mapping from ruby-style variable name to JSON key.
|
|
15
|
+
def self.attribute_map
|
|
16
|
+
{
|
|
17
|
+
{{#vars}}
|
|
18
|
+
:'{{{name}}}' => :'{{{baseName}}}'{{#hasMore}},{{/hasMore}}
|
|
19
|
+
{{/vars}}
|
|
20
|
+
}
|
|
21
|
+
end
|
|
22
|
+
|
|
23
|
+
# Attribute type mapping.
|
|
24
|
+
def self.swagger_types
|
|
25
|
+
{
|
|
26
|
+
{{#vars}}
|
|
27
|
+
:'{{{name}}}' => :'{{{datatype}}}'{{#hasMore}},{{/hasMore}}
|
|
28
|
+
{{/vars}}
|
|
29
|
+
}
|
|
30
|
+
end
|
|
31
|
+
|
|
32
|
+
# Initializes the object
|
|
33
|
+
# @param [Hash] attributes Model attributes in the form of hash
|
|
34
|
+
def initialize(attributes = {})
|
|
35
|
+
return unless attributes.is_a?(Hash)
|
|
36
|
+
|
|
37
|
+
# convert string to symbol for hash key
|
|
38
|
+
attributes = attributes.each_with_object({}){|(k,v), h| h[k.to_sym] = v}
|
|
39
|
+
|
|
40
|
+
{{#vars}}
|
|
41
|
+
if attributes.has_key?(:'{{{baseName}}}')
|
|
42
|
+
{{#isContainer}}
|
|
43
|
+
if (value = attributes[:'{{{baseName}}}']).is_a?(Array)
|
|
44
|
+
self.{{{name}}} = value
|
|
45
|
+
end
|
|
46
|
+
{{/isContainer}}
|
|
47
|
+
{{^isContainer}}
|
|
48
|
+
self.{{{name}}} = attributes[:'{{{baseName}}}']
|
|
49
|
+
{{/isContainer}}
|
|
50
|
+
{{#defaultValue}}
|
|
51
|
+
else
|
|
52
|
+
self.{{{name}}} = {{{defaultValue}}}
|
|
53
|
+
{{/defaultValue}}
|
|
54
|
+
end
|
|
55
|
+
|
|
56
|
+
{{/vars}}
|
|
57
|
+
end
|
|
58
|
+
|
|
59
|
+
# Show invalid properties with the reasons. Usually used together with valid?
|
|
60
|
+
# @return Array for valid properies with the reasons
|
|
61
|
+
def list_invalid_properties
|
|
62
|
+
invalid_properties = Array.new
|
|
63
|
+
{{#isEnum}}
|
|
64
|
+
allowed_values = [{{#allowableValues}}{{#values}}"{{{this}}}"{{^-last}}, {{/-last}}{{/values}}{{/allowableValues}}]
|
|
65
|
+
if @{{{name}}} && !allowed_values.include?({{{name}}})
|
|
66
|
+
invalid_properties.push("invalid value for '{{{name}}}', must be one of #{allowed_values}.")
|
|
67
|
+
end
|
|
68
|
+
|
|
69
|
+
{{/isEnum}}
|
|
70
|
+
{{#hasValidation}}
|
|
71
|
+
if @{{{name}}}.nil?
|
|
72
|
+
fail ArgumentError, "{{{name}}} cannot be nil"
|
|
73
|
+
end
|
|
74
|
+
|
|
75
|
+
{{#minLength}}
|
|
76
|
+
if @{{{name}}}.to_s.length > {{{maxLength}}}
|
|
77
|
+
invalid_properties.push("invalid value for '{{{name}}}', the character length must be smaller than or equal to {{{maxLength}}}.")
|
|
78
|
+
end
|
|
79
|
+
|
|
80
|
+
{{/minLength}}
|
|
81
|
+
{{#maxLength}}
|
|
82
|
+
if @{{{name}}}.to_s.length < {{{minLength}}}
|
|
83
|
+
invalid_properties.push("invalid value for '{{{name}}}', the character length must be great than or equal to {{{minLength}}}.")
|
|
84
|
+
end
|
|
85
|
+
|
|
86
|
+
{{/maxLength}}
|
|
87
|
+
{{#maximum}}
|
|
88
|
+
if @{{{name}}} > {{{maximum}}}
|
|
89
|
+
invalid_properties.push("invalid value for '{{{name}}}', must be smaller than or equal to {{{maximum}}}.")
|
|
90
|
+
end
|
|
91
|
+
|
|
92
|
+
{{/maximum}}
|
|
93
|
+
{{#minimum}}
|
|
94
|
+
if @{{{name}}} < {{{minimum}}}
|
|
95
|
+
invalid_properties.push("invalid value for '{{{name}}}', must be greater than or equal to {{{minimum}}}.")
|
|
96
|
+
end
|
|
97
|
+
|
|
98
|
+
{{/minimum}}
|
|
99
|
+
{{#pattern}}
|
|
100
|
+
if @{{{name}}} !~ Regexp.new({{{pattern}}})
|
|
101
|
+
invalid_properties.push("invalid value for '{{{name}}}', must conform to the pattern {{{pattern}}}.")
|
|
102
|
+
end
|
|
103
|
+
|
|
104
|
+
{{/pattern}}
|
|
105
|
+
{{/hasValidation}}
|
|
106
|
+
return invalid_properties
|
|
107
|
+
end
|
|
108
|
+
|
|
109
|
+
# Check to see if the all the properties in the model are valid
|
|
110
|
+
# @return true if the model is valid
|
|
111
|
+
def valid?
|
|
112
|
+
{{#vars}}
|
|
113
|
+
{{#required}}
|
|
114
|
+
if @{{{name}}}.nil?
|
|
115
|
+
return false
|
|
116
|
+
end
|
|
117
|
+
|
|
118
|
+
{{/required}}
|
|
119
|
+
{{#isEnum}}
|
|
120
|
+
allowed_values = [{{#allowableValues}}{{#values}}"{{{this}}}"{{^-last}}, {{/-last}}{{/values}}{{/allowableValues}}]
|
|
121
|
+
if @{{{name}}} && !allowed_values.include?(@{{{name}}})
|
|
122
|
+
return false
|
|
123
|
+
end
|
|
124
|
+
{{/isEnum}}
|
|
125
|
+
{{#hasValidation}}
|
|
126
|
+
{{#minLength}}
|
|
127
|
+
if @{{{name}}}.to_s.length > {{{maxLength}}}
|
|
128
|
+
return false
|
|
129
|
+
end
|
|
130
|
+
|
|
131
|
+
{{/minLength}}
|
|
132
|
+
{{#maxLength}}
|
|
133
|
+
if @{{{name}}}.to_s.length < {{{minLength}}}
|
|
134
|
+
return false
|
|
135
|
+
end
|
|
136
|
+
|
|
137
|
+
{{/maxLength}}
|
|
138
|
+
{{#maximum}}
|
|
139
|
+
if @{{{name}}} > {{{maximum}}}
|
|
140
|
+
return false
|
|
141
|
+
end
|
|
142
|
+
|
|
143
|
+
{{/maximum}}
|
|
144
|
+
{{#minimum}}
|
|
145
|
+
if @{{{name}}} < {{{minimum}}}
|
|
146
|
+
return false
|
|
147
|
+
end
|
|
148
|
+
|
|
149
|
+
{{/minimum}}
|
|
150
|
+
{{#pattern}}
|
|
151
|
+
if @{{{name}}} !~ Regexp.new({{{pattern}}})
|
|
152
|
+
return false
|
|
153
|
+
end
|
|
154
|
+
|
|
155
|
+
{{/pattern}}
|
|
156
|
+
{{/hasValidation}}
|
|
157
|
+
{{/vars}}
|
|
158
|
+
end
|
|
159
|
+
|
|
160
|
+
{{#vars}}
|
|
161
|
+
{{#isEnum}}
|
|
162
|
+
# Custom attribute writer method checking allowed values (enum).
|
|
163
|
+
# @param [Object] {{{name}}} Object to be assigned
|
|
164
|
+
def {{{name}}}=({{{name}}})
|
|
165
|
+
allowed_values = [{{#allowableValues}}{{#values}}"{{{this}}}"{{^-last}}, {{/-last}}{{/values}}{{/allowableValues}}]
|
|
166
|
+
if {{{name}}} && !allowed_values.include?({{{name}}})
|
|
167
|
+
fail ArgumentError, "invalid value for '{{{name}}}', must be one of #{allowed_values}."
|
|
168
|
+
end
|
|
169
|
+
@{{{name}}} = {{{name}}}
|
|
170
|
+
end
|
|
171
|
+
|
|
172
|
+
{{/isEnum}}
|
|
173
|
+
{{^isEnum}}
|
|
174
|
+
{{#hasValidation}}
|
|
175
|
+
# Custom attribute writer method with validation
|
|
176
|
+
# @param [Object] {{{name}}} Value to be assigned
|
|
177
|
+
def {{{name}}}=({{{name}}})
|
|
178
|
+
if {{{name}}}.nil?
|
|
179
|
+
fail ArgumentError, "{{{name}}} cannot be nil"
|
|
180
|
+
end
|
|
181
|
+
|
|
182
|
+
{{#minLength}}
|
|
183
|
+
if {{{name}}}.to_s.length > {{{maxLength}}}
|
|
184
|
+
fail ArgumentError, "invalid value for '{{{name}}}', the character length must be smaller than or equal to {{{maxLength}}}."
|
|
185
|
+
end
|
|
186
|
+
|
|
187
|
+
{{/minLength}}
|
|
188
|
+
{{#maxLength}}
|
|
189
|
+
if {{{name}}}.to_s.length < {{{minLength}}}
|
|
190
|
+
fail ArgumentError, "invalid value for '{{{name}}}', the character length must be great than or equal to {{{minLength}}}."
|
|
191
|
+
end
|
|
192
|
+
|
|
193
|
+
{{/maxLength}}
|
|
194
|
+
{{#maximum}}
|
|
195
|
+
if {{{name}}} > {{{maximum}}}
|
|
196
|
+
fail ArgumentError, "invalid value for '{{{name}}}', must be smaller than or equal to {{{maximum}}}."
|
|
197
|
+
end
|
|
198
|
+
|
|
199
|
+
{{/maximum}}
|
|
200
|
+
{{#minimum}}
|
|
201
|
+
if {{{name}}} < {{{minimum}}}
|
|
202
|
+
fail ArgumentError, "invalid value for '{{{name}}}', must be greater than or equal to {{{minimum}}}."
|
|
203
|
+
end
|
|
204
|
+
|
|
205
|
+
{{/minimum}}
|
|
206
|
+
{{#pattern}}
|
|
207
|
+
if @{{{name}}} !~ Regexp.new({{{pattern}}})
|
|
208
|
+
fail ArgumentError, "invalid value for '{{{name}}}', must conform to the pattern {{{pattern}}}."
|
|
209
|
+
end
|
|
210
|
+
|
|
211
|
+
{{/pattern}}
|
|
212
|
+
@{{{name}}} = {{{name}}}
|
|
213
|
+
end
|
|
214
|
+
|
|
215
|
+
{{/hasValidation}}
|
|
216
|
+
{{/isEnum}}
|
|
217
|
+
{{/vars}}
|
|
218
|
+
# Checks equality by comparing each attribute.
|
|
219
|
+
# @param [Object] Object to be compared
|
|
220
|
+
def ==(o)
|
|
221
|
+
return true if self.equal?(o)
|
|
222
|
+
self.class == o.class{{#vars}} &&
|
|
223
|
+
{{name}} == o.{{name}}{{/vars}}
|
|
224
|
+
end
|
|
225
|
+
|
|
226
|
+
# @see the `==` method
|
|
227
|
+
# @param [Object] Object to be compared
|
|
228
|
+
def eql?(o)
|
|
229
|
+
self == o
|
|
230
|
+
end
|
|
231
|
+
|
|
232
|
+
# Calculates hash code according to all attributes.
|
|
233
|
+
# @return [Fixnum] Hash code
|
|
234
|
+
def hash
|
|
235
|
+
[{{#vars}}{{name}}{{#hasMore}}, {{/hasMore}}{{/vars}}].hash
|
|
236
|
+
end
|
|
237
|
+
|
|
238
|
+
{{> base_object}}
|
|
239
|
+
end
|
|
240
|
+
{{/model}}
|
|
241
|
+
{{/models}}
|
|
242
|
+
end
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
{{#models}}{{#model}}# {{moduleName}}::{{classname}}
|
|
2
|
+
|
|
3
|
+
## Properties
|
|
4
|
+
Name | Type | Description | Notes
|
|
5
|
+
------------ | ------------- | ------------- | -------------
|
|
6
|
+
{{#vars}}**{{name}}** | {{#isPrimitiveType}}**{{datatype}}**{{/isPrimitiveType}}{{^isPrimitiveType}}[**{{datatype}}**]({{complexType}}.md){{/isPrimitiveType}} | {{description}} | {{^required}}[optional] {{/required}}{{#readOnly}}[readonly] {{/readOnly}}{{#defaultValue}}[default to {{defaultValue}}]{{/defaultValue}}
|
|
7
|
+
{{/vars}}
|
|
8
|
+
|
|
9
|
+
{{/model}}{{/models}}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
=begin
|
|
2
|
+
{{> api_info}}
|
|
3
|
+
=end
|
|
4
|
+
|
|
5
|
+
require 'spec_helper'
|
|
6
|
+
require 'json'
|
|
7
|
+
require 'date'
|
|
8
|
+
|
|
9
|
+
# Unit tests for {{moduleName}}::{{classname}}
|
|
10
|
+
# Automatically generated by swagger-codegen (github.com/swagger-api/swagger-codegen)
|
|
11
|
+
# Please update as you see appropriate
|
|
12
|
+
{{#models}}{{#model}}describe '{{classname}}' do
|
|
13
|
+
before do
|
|
14
|
+
# run before each test
|
|
15
|
+
@instance = {{moduleName}}::{{classname}}.new
|
|
16
|
+
end
|
|
17
|
+
|
|
18
|
+
after do
|
|
19
|
+
# run after each test
|
|
20
|
+
end
|
|
21
|
+
|
|
22
|
+
describe 'test an instance of {{classname}}' do
|
|
23
|
+
it 'should create an instact of {{classname}}' do
|
|
24
|
+
@instance.should be_a({{moduleName}}::{{classname}})
|
|
25
|
+
end
|
|
26
|
+
end
|
|
27
|
+
{{#vars}}
|
|
28
|
+
describe 'test attribute "{{{name}}}"' do
|
|
29
|
+
it 'should work' do
|
|
30
|
+
# assertion here
|
|
31
|
+
# should be_a()
|
|
32
|
+
# should be_nil
|
|
33
|
+
# should ==
|
|
34
|
+
# should_not ==
|
|
35
|
+
end
|
|
36
|
+
end
|
|
37
|
+
|
|
38
|
+
{{/vars}}
|
|
39
|
+
end
|
|
40
|
+
{{/model}}{{/models}}
|
metadata
ADDED
|
@@ -0,0 +1,322 @@
|
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
|
+
name: blueprint_ruby_client
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
version: 0.1.0
|
|
5
|
+
platform: ruby
|
|
6
|
+
authors:
|
|
7
|
+
- Ben Paddock
|
|
8
|
+
autorequire:
|
|
9
|
+
bindir: bin
|
|
10
|
+
cert_chain: []
|
|
11
|
+
date: 2016-05-03 00:00:00.000000000 Z
|
|
12
|
+
dependencies:
|
|
13
|
+
- !ruby/object:Gem::Dependency
|
|
14
|
+
name: typhoeus
|
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
|
16
|
+
requirements:
|
|
17
|
+
- - "~>"
|
|
18
|
+
- !ruby/object:Gem::Version
|
|
19
|
+
version: '1.0'
|
|
20
|
+
- - ">="
|
|
21
|
+
- !ruby/object:Gem::Version
|
|
22
|
+
version: 1.0.1
|
|
23
|
+
type: :runtime
|
|
24
|
+
prerelease: false
|
|
25
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
26
|
+
requirements:
|
|
27
|
+
- - "~>"
|
|
28
|
+
- !ruby/object:Gem::Version
|
|
29
|
+
version: '1.0'
|
|
30
|
+
- - ">="
|
|
31
|
+
- !ruby/object:Gem::Version
|
|
32
|
+
version: 1.0.1
|
|
33
|
+
- !ruby/object:Gem::Dependency
|
|
34
|
+
name: json
|
|
35
|
+
requirement: !ruby/object:Gem::Requirement
|
|
36
|
+
requirements:
|
|
37
|
+
- - "~>"
|
|
38
|
+
- !ruby/object:Gem::Version
|
|
39
|
+
version: '1.8'
|
|
40
|
+
- - ">="
|
|
41
|
+
- !ruby/object:Gem::Version
|
|
42
|
+
version: 1.8.3
|
|
43
|
+
type: :runtime
|
|
44
|
+
prerelease: false
|
|
45
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
46
|
+
requirements:
|
|
47
|
+
- - "~>"
|
|
48
|
+
- !ruby/object:Gem::Version
|
|
49
|
+
version: '1.8'
|
|
50
|
+
- - ">="
|
|
51
|
+
- !ruby/object:Gem::Version
|
|
52
|
+
version: 1.8.3
|
|
53
|
+
- !ruby/object:Gem::Dependency
|
|
54
|
+
name: rspec
|
|
55
|
+
requirement: !ruby/object:Gem::Requirement
|
|
56
|
+
requirements:
|
|
57
|
+
- - "~>"
|
|
58
|
+
- !ruby/object:Gem::Version
|
|
59
|
+
version: '3.4'
|
|
60
|
+
- - ">="
|
|
61
|
+
- !ruby/object:Gem::Version
|
|
62
|
+
version: 3.4.0
|
|
63
|
+
type: :development
|
|
64
|
+
prerelease: false
|
|
65
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
66
|
+
requirements:
|
|
67
|
+
- - "~>"
|
|
68
|
+
- !ruby/object:Gem::Version
|
|
69
|
+
version: '3.4'
|
|
70
|
+
- - ">="
|
|
71
|
+
- !ruby/object:Gem::Version
|
|
72
|
+
version: 3.4.0
|
|
73
|
+
- !ruby/object:Gem::Dependency
|
|
74
|
+
name: vcr
|
|
75
|
+
requirement: !ruby/object:Gem::Requirement
|
|
76
|
+
requirements:
|
|
77
|
+
- - "~>"
|
|
78
|
+
- !ruby/object:Gem::Version
|
|
79
|
+
version: '3.0'
|
|
80
|
+
- - ">="
|
|
81
|
+
- !ruby/object:Gem::Version
|
|
82
|
+
version: 3.0.1
|
|
83
|
+
type: :development
|
|
84
|
+
prerelease: false
|
|
85
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
86
|
+
requirements:
|
|
87
|
+
- - "~>"
|
|
88
|
+
- !ruby/object:Gem::Version
|
|
89
|
+
version: '3.0'
|
|
90
|
+
- - ">="
|
|
91
|
+
- !ruby/object:Gem::Version
|
|
92
|
+
version: 3.0.1
|
|
93
|
+
- !ruby/object:Gem::Dependency
|
|
94
|
+
name: webmock
|
|
95
|
+
requirement: !ruby/object:Gem::Requirement
|
|
96
|
+
requirements:
|
|
97
|
+
- - "~>"
|
|
98
|
+
- !ruby/object:Gem::Version
|
|
99
|
+
version: '1.24'
|
|
100
|
+
- - ">="
|
|
101
|
+
- !ruby/object:Gem::Version
|
|
102
|
+
version: 1.24.3
|
|
103
|
+
type: :development
|
|
104
|
+
prerelease: false
|
|
105
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
106
|
+
requirements:
|
|
107
|
+
- - "~>"
|
|
108
|
+
- !ruby/object:Gem::Version
|
|
109
|
+
version: '1.24'
|
|
110
|
+
- - ">="
|
|
111
|
+
- !ruby/object:Gem::Version
|
|
112
|
+
version: 1.24.3
|
|
113
|
+
- !ruby/object:Gem::Dependency
|
|
114
|
+
name: autotest
|
|
115
|
+
requirement: !ruby/object:Gem::Requirement
|
|
116
|
+
requirements:
|
|
117
|
+
- - "~>"
|
|
118
|
+
- !ruby/object:Gem::Version
|
|
119
|
+
version: '4.4'
|
|
120
|
+
- - ">="
|
|
121
|
+
- !ruby/object:Gem::Version
|
|
122
|
+
version: 4.4.6
|
|
123
|
+
type: :development
|
|
124
|
+
prerelease: false
|
|
125
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
126
|
+
requirements:
|
|
127
|
+
- - "~>"
|
|
128
|
+
- !ruby/object:Gem::Version
|
|
129
|
+
version: '4.4'
|
|
130
|
+
- - ">="
|
|
131
|
+
- !ruby/object:Gem::Version
|
|
132
|
+
version: 4.4.6
|
|
133
|
+
- !ruby/object:Gem::Dependency
|
|
134
|
+
name: autotest-rails-pure
|
|
135
|
+
requirement: !ruby/object:Gem::Requirement
|
|
136
|
+
requirements:
|
|
137
|
+
- - "~>"
|
|
138
|
+
- !ruby/object:Gem::Version
|
|
139
|
+
version: '4.1'
|
|
140
|
+
- - ">="
|
|
141
|
+
- !ruby/object:Gem::Version
|
|
142
|
+
version: 4.1.2
|
|
143
|
+
type: :development
|
|
144
|
+
prerelease: false
|
|
145
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
146
|
+
requirements:
|
|
147
|
+
- - "~>"
|
|
148
|
+
- !ruby/object:Gem::Version
|
|
149
|
+
version: '4.1'
|
|
150
|
+
- - ">="
|
|
151
|
+
- !ruby/object:Gem::Version
|
|
152
|
+
version: 4.1.2
|
|
153
|
+
- !ruby/object:Gem::Dependency
|
|
154
|
+
name: autotest-growl
|
|
155
|
+
requirement: !ruby/object:Gem::Requirement
|
|
156
|
+
requirements:
|
|
157
|
+
- - "~>"
|
|
158
|
+
- !ruby/object:Gem::Version
|
|
159
|
+
version: '0.2'
|
|
160
|
+
- - ">="
|
|
161
|
+
- !ruby/object:Gem::Version
|
|
162
|
+
version: 0.2.16
|
|
163
|
+
type: :development
|
|
164
|
+
prerelease: false
|
|
165
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
166
|
+
requirements:
|
|
167
|
+
- - "~>"
|
|
168
|
+
- !ruby/object:Gem::Version
|
|
169
|
+
version: '0.2'
|
|
170
|
+
- - ">="
|
|
171
|
+
- !ruby/object:Gem::Version
|
|
172
|
+
version: 0.2.16
|
|
173
|
+
- !ruby/object:Gem::Dependency
|
|
174
|
+
name: autotest-fsevent
|
|
175
|
+
requirement: !ruby/object:Gem::Requirement
|
|
176
|
+
requirements:
|
|
177
|
+
- - "~>"
|
|
178
|
+
- !ruby/object:Gem::Version
|
|
179
|
+
version: '0.2'
|
|
180
|
+
- - ">="
|
|
181
|
+
- !ruby/object:Gem::Version
|
|
182
|
+
version: 0.2.11
|
|
183
|
+
type: :development
|
|
184
|
+
prerelease: false
|
|
185
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
186
|
+
requirements:
|
|
187
|
+
- - "~>"
|
|
188
|
+
- !ruby/object:Gem::Version
|
|
189
|
+
version: '0.2'
|
|
190
|
+
- - ">="
|
|
191
|
+
- !ruby/object:Gem::Version
|
|
192
|
+
version: 0.2.11
|
|
193
|
+
description: A client to utilise the hierarchy modelling abilities of Blueprint
|
|
194
|
+
email:
|
|
195
|
+
- bp@talis.com
|
|
196
|
+
executables: []
|
|
197
|
+
extensions: []
|
|
198
|
+
extra_rdoc_files: []
|
|
199
|
+
files:
|
|
200
|
+
- Gemfile
|
|
201
|
+
- Gemfile.lock
|
|
202
|
+
- README.md
|
|
203
|
+
- blueprint_ruby_client.gemspec
|
|
204
|
+
- config.json
|
|
205
|
+
- docs/Asset.md
|
|
206
|
+
- docs/AssetBody.md
|
|
207
|
+
- docs/AssetResultSet.md
|
|
208
|
+
- docs/AssetsApi.md
|
|
209
|
+
- docs/Error.md
|
|
210
|
+
- docs/Errors.md
|
|
211
|
+
- docs/HierarchyApi.md
|
|
212
|
+
- docs/Links.md
|
|
213
|
+
- docs/Meta.md
|
|
214
|
+
- docs/Namespace.md
|
|
215
|
+
- docs/NamespaceRelationship.md
|
|
216
|
+
- docs/Node.md
|
|
217
|
+
- docs/NodeAttributes.md
|
|
218
|
+
- docs/NodeBody.md
|
|
219
|
+
- docs/NodeRelationship.md
|
|
220
|
+
- docs/NodeRelationships.md
|
|
221
|
+
- docs/NodeResultSet.md
|
|
222
|
+
- generate.sh
|
|
223
|
+
- git_push.sh
|
|
224
|
+
- lib/blueprint_ruby_client.rb
|
|
225
|
+
- lib/blueprint_ruby_client/api/assets_api.rb
|
|
226
|
+
- lib/blueprint_ruby_client/api/hierarchy_api.rb
|
|
227
|
+
- lib/blueprint_ruby_client/api_client.rb
|
|
228
|
+
- lib/blueprint_ruby_client/api_error.rb
|
|
229
|
+
- lib/blueprint_ruby_client/configuration.rb
|
|
230
|
+
- lib/blueprint_ruby_client/models/asset.rb
|
|
231
|
+
- lib/blueprint_ruby_client/models/asset_body.rb
|
|
232
|
+
- lib/blueprint_ruby_client/models/asset_result_set.rb
|
|
233
|
+
- lib/blueprint_ruby_client/models/error.rb
|
|
234
|
+
- lib/blueprint_ruby_client/models/errors.rb
|
|
235
|
+
- lib/blueprint_ruby_client/models/links.rb
|
|
236
|
+
- lib/blueprint_ruby_client/models/meta.rb
|
|
237
|
+
- lib/blueprint_ruby_client/models/namespace.rb
|
|
238
|
+
- lib/blueprint_ruby_client/models/namespace_relationship.rb
|
|
239
|
+
- lib/blueprint_ruby_client/models/node.rb
|
|
240
|
+
- lib/blueprint_ruby_client/models/node_attributes.rb
|
|
241
|
+
- lib/blueprint_ruby_client/models/node_body.rb
|
|
242
|
+
- lib/blueprint_ruby_client/models/node_relationship.rb
|
|
243
|
+
- lib/blueprint_ruby_client/models/node_relationships.rb
|
|
244
|
+
- lib/blueprint_ruby_client/models/node_result_set.rb
|
|
245
|
+
- lib/blueprint_ruby_client/version.rb
|
|
246
|
+
- spec/api/assets_api_spec.rb
|
|
247
|
+
- spec/api/hierarchy_api_spec.rb
|
|
248
|
+
- spec/models/asset_body_spec.rb
|
|
249
|
+
- spec/models/asset_result_set_spec.rb
|
|
250
|
+
- spec/models/asset_spec.rb
|
|
251
|
+
- spec/models/error_spec.rb
|
|
252
|
+
- spec/models/errors_spec.rb
|
|
253
|
+
- spec/models/links_spec.rb
|
|
254
|
+
- spec/models/meta_spec.rb
|
|
255
|
+
- spec/models/namespace_relationship_spec.rb
|
|
256
|
+
- spec/models/namespace_spec.rb
|
|
257
|
+
- spec/models/node_attributes_spec.rb
|
|
258
|
+
- spec/models/node_body_spec.rb
|
|
259
|
+
- spec/models/node_relationship_spec.rb
|
|
260
|
+
- spec/models/node_relationships_spec.rb
|
|
261
|
+
- spec/models/node_result_set_spec.rb
|
|
262
|
+
- spec/models/node_spec.rb
|
|
263
|
+
- swagger-codegen-cli.jar
|
|
264
|
+
- templates/Gemfile.mustache
|
|
265
|
+
- templates/README.mustache
|
|
266
|
+
- templates/api.mustache
|
|
267
|
+
- templates/api_client.mustache
|
|
268
|
+
- templates/api_doc.mustache
|
|
269
|
+
- templates/api_error.mustache
|
|
270
|
+
- templates/api_info.mustache
|
|
271
|
+
- templates/api_test.mustache
|
|
272
|
+
- templates/base_object.mustache
|
|
273
|
+
- templates/configuration.mustache
|
|
274
|
+
- templates/gem.mustache
|
|
275
|
+
- templates/gemspec.mustache
|
|
276
|
+
- templates/gitignore.mustache
|
|
277
|
+
- templates/model.mustache
|
|
278
|
+
- templates/model_doc.mustache
|
|
279
|
+
- templates/model_test.mustache
|
|
280
|
+
- templates/version.mustache
|
|
281
|
+
homepage: https://github.com/talis/blueprint_rb
|
|
282
|
+
licenses:
|
|
283
|
+
- Copyright Talis Education Ltd
|
|
284
|
+
metadata: {}
|
|
285
|
+
post_install_message:
|
|
286
|
+
rdoc_options: []
|
|
287
|
+
require_paths:
|
|
288
|
+
- lib
|
|
289
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
290
|
+
requirements:
|
|
291
|
+
- - ">="
|
|
292
|
+
- !ruby/object:Gem::Version
|
|
293
|
+
version: '0'
|
|
294
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
295
|
+
requirements:
|
|
296
|
+
- - ">="
|
|
297
|
+
- !ruby/object:Gem::Version
|
|
298
|
+
version: '0'
|
|
299
|
+
requirements: []
|
|
300
|
+
rubyforge_project:
|
|
301
|
+
rubygems_version: 2.4.8
|
|
302
|
+
signing_key:
|
|
303
|
+
specification_version: 4
|
|
304
|
+
summary: A ruby API wrapper for Blueprint
|
|
305
|
+
test_files:
|
|
306
|
+
- spec/api/assets_api_spec.rb
|
|
307
|
+
- spec/api/hierarchy_api_spec.rb
|
|
308
|
+
- spec/models/namespace_relationship_spec.rb
|
|
309
|
+
- spec/models/node_result_set_spec.rb
|
|
310
|
+
- spec/models/node_spec.rb
|
|
311
|
+
- spec/models/asset_body_spec.rb
|
|
312
|
+
- spec/models/errors_spec.rb
|
|
313
|
+
- spec/models/asset_result_set_spec.rb
|
|
314
|
+
- spec/models/node_relationship_spec.rb
|
|
315
|
+
- spec/models/links_spec.rb
|
|
316
|
+
- spec/models/node_body_spec.rb
|
|
317
|
+
- spec/models/node_relationships_spec.rb
|
|
318
|
+
- spec/models/meta_spec.rb
|
|
319
|
+
- spec/models/error_spec.rb
|
|
320
|
+
- spec/models/node_attributes_spec.rb
|
|
321
|
+
- spec/models/namespace_spec.rb
|
|
322
|
+
- spec/models/asset_spec.rb
|