raml_ruby 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (88) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +19 -0
  3. data/.travis.yml +6 -0
  4. data/Gemfile +4 -0
  5. data/LICENSE.txt +22 -0
  6. data/README.md +71 -0
  7. data/Rakefile +1 -0
  8. data/fixtures/include_1.raml +7 -0
  9. data/fixtures/schemas/canonicalSchemas.raml +3 -0
  10. data/fixtures/schemas/filesystem/file.json +1 -0
  11. data/fixtures/schemas/filesystem/files.json +1 -0
  12. data/fixtures/schemas/filesystem/fileupdate.json +1 -0
  13. data/fixtures/schemas/filesystem/relative/test.json +1 -0
  14. data/lib/raml.rb +104 -0
  15. data/lib/raml/exceptions.rb +27 -0
  16. data/lib/raml/mixin/bodies.rb +32 -0
  17. data/lib/raml/mixin/documentable.rb +32 -0
  18. data/lib/raml/mixin/global.rb +20 -0
  19. data/lib/raml/mixin/headers.rb +22 -0
  20. data/lib/raml/mixin/merge.rb +24 -0
  21. data/lib/raml/mixin/parent.rb +54 -0
  22. data/lib/raml/mixin/validation.rb +49 -0
  23. data/lib/raml/node.rb +219 -0
  24. data/lib/raml/node/abstract_method.rb +61 -0
  25. data/lib/raml/node/abstract_resource.rb +165 -0
  26. data/lib/raml/node/abstract_resource_circular.rb +5 -0
  27. data/lib/raml/node/body.rb +94 -0
  28. data/lib/raml/node/documentation.rb +28 -0
  29. data/lib/raml/node/header.rb +4 -0
  30. data/lib/raml/node/method.rb +106 -0
  31. data/lib/raml/node/parameter/abstract_parameter.rb +251 -0
  32. data/lib/raml/node/parameter/base_uri_parameter.rb +6 -0
  33. data/lib/raml/node/parameter/form_parameter.rb +6 -0
  34. data/lib/raml/node/parameter/query_parameter.rb +6 -0
  35. data/lib/raml/node/parameter/uri_parameter.rb +7 -0
  36. data/lib/raml/node/parametized_reference.rb +15 -0
  37. data/lib/raml/node/reference.rb +4 -0
  38. data/lib/raml/node/resource.rb +26 -0
  39. data/lib/raml/node/resource_type.rb +20 -0
  40. data/lib/raml/node/resource_type_reference.rb +5 -0
  41. data/lib/raml/node/response.rb +32 -0
  42. data/lib/raml/node/root.rb +246 -0
  43. data/lib/raml/node/schema.rb +41 -0
  44. data/lib/raml/node/schema_reference.rb +5 -0
  45. data/lib/raml/node/template.rb +55 -0
  46. data/lib/raml/node/trait.rb +18 -0
  47. data/lib/raml/node/trait_reference.rb +5 -0
  48. data/lib/raml/parser.rb +57 -0
  49. data/lib/raml/parser/include.rb +25 -0
  50. data/lib/raml/patch/hash.rb +6 -0
  51. data/lib/raml/patch/module.rb +12 -0
  52. data/lib/raml/version.rb +3 -0
  53. data/raml_ruby.gemspec +35 -0
  54. data/raml_spec_reqs.md +276 -0
  55. data/templates/abstract_parameter.slim +68 -0
  56. data/templates/body.slim +15 -0
  57. data/templates/collapse.slim +10 -0
  58. data/templates/documentation.slim +2 -0
  59. data/templates/method.slim +38 -0
  60. data/templates/resource.slim +33 -0
  61. data/templates/response.slim +13 -0
  62. data/templates/root.slim +39 -0
  63. data/templates/style.sass +119 -0
  64. data/test/apis/box-api.raml +4224 -0
  65. data/test/apis/instagram-api.raml +3378 -0
  66. data/test/apis/stripe-api.raml +12227 -0
  67. data/test/apis/twilio-rest-api.raml +6618 -0
  68. data/test/apis/twitter-rest-api.raml +34284 -0
  69. data/test/raml/body_spec.rb +268 -0
  70. data/test/raml/documentation_spec.rb +49 -0
  71. data/test/raml/header_spec.rb +17 -0
  72. data/test/raml/include_spec.rb +40 -0
  73. data/test/raml/method_spec.rb +701 -0
  74. data/test/raml/parameter/abstract_parameter_spec.rb +564 -0
  75. data/test/raml/parameter/form_parameter_spec.rb +17 -0
  76. data/test/raml/parameter/query_parameter_spec.rb +33 -0
  77. data/test/raml/parameter/uri_parameter_spec.rb +44 -0
  78. data/test/raml/parser_spec.rb +53 -0
  79. data/test/raml/raml_spec.rb +32 -0
  80. data/test/raml/resource_spec.rb +440 -0
  81. data/test/raml/resource_type_spec.rb +51 -0
  82. data/test/raml/response_spec.rb +251 -0
  83. data/test/raml/root_spec.rb +655 -0
  84. data/test/raml/schema_spec.rb +110 -0
  85. data/test/raml/spec_helper.rb +11 -0
  86. data/test/raml/template_spec.rb +98 -0
  87. data/test/raml/trait_spec.rb +31 -0
  88. metadata +337 -0
@@ -0,0 +1,110 @@
1
+ require_relative 'spec_helper'
2
+
3
+ describe Raml::Schema do
4
+ let(:root_data) { {'title' => 'x', 'baseUri' => 'http://foo.com'} }
5
+ let(:root) { Raml::Root.new root_data }
6
+ subject { Raml::Schema.new 'MySchema', schema, root }
7
+
8
+ describe '#new' do
9
+ context 'with a valid schema' do
10
+ context 'with a JSON Schema' do
11
+ let(:schema) do
12
+ %q|
13
+ {
14
+ "$schema": "http://json-schema.org/draft-03/schema#",
15
+ "properties": {
16
+ "input": {
17
+ "required": false,
18
+ "type": "string"
19
+ }
20
+ },
21
+ "required": false,
22
+ "type": "object"
23
+ }
24
+ |
25
+ end
26
+
27
+ it { expect { subject }.to_not raise_error }
28
+ it { subject.should be_json_schema }
29
+ it { subject.should_not be_xml_schema }
30
+ it 'stores the schema in value' do
31
+ subject.value.should == schema
32
+ end
33
+ it 'stores the name in name' do
34
+ subject.name.should == 'MySchema'
35
+ end
36
+ end
37
+ context 'with a XML Schema' do
38
+ let(:schema) do
39
+ %q|
40
+ <xs:schema attributeFormDefault="unqualified"
41
+ elementFormDefault="qualified"
42
+ xmlns:xs="http://www.w3.org/2001/XMLSchema">
43
+ <xs:element name="api-request">
44
+ <xs:complexType>
45
+ <xs:sequence>
46
+ <xs:element type="xs:string" name="input"/>
47
+ </xs:sequence>
48
+ </xs:complexType>
49
+ </xs:element>
50
+ </xs:schema>
51
+ |
52
+ end
53
+
54
+ it { expect { subject }.to_not raise_error }
55
+ it { subject.should_not be_json_schema }
56
+ it { subject.should be_xml_schema }
57
+ end
58
+ context 'with a schema that is neither JSON Schema or XML Schema' do
59
+ # A RELAX NG compact XML schema
60
+ let(:schema) do
61
+ %q!
62
+ # A library patron example
63
+ default namespace = "http://some.other.url/ns"
64
+ namespace foo = "http://home.of.foo/ns"
65
+ datatypes xsd = "http://www.w3.org/2001/XMLSchema-datatypes"
66
+ ## Annotation here
67
+ element patron {
68
+ element name { xsd:string { pattern = "\w{,10}" } }
69
+ & element id-num { xsd:string }
70
+ & element book {
71
+ ( attribute isbn { text }
72
+ | attribute title { text }
73
+ | attribute anonymous { empty })
74
+ }*
75
+ }
76
+ !
77
+ end
78
+
79
+ it { expect { subject }.to_not raise_error }
80
+ it { subject.should_not be_json_schema }
81
+ it { subject.should_not be_xml_schema }
82
+ end
83
+ end
84
+ context 'with an invalid schema' do
85
+ context 'with a malformed JSON schema' do
86
+ let(:schema) do
87
+ %q|
88
+ "$schema": "http://json-schema.org/draft-04/schema#",
89
+ "multipleOf" : "xxx"
90
+ }
91
+ |
92
+ end
93
+
94
+ it { expect { subject }.to raise_error Raml::InvalidSchema }
95
+ end
96
+ context 'with an invalid JSON schema' do
97
+ let(:schema) do
98
+ %q|
99
+ {
100
+ "$schema": "http://json-schema.org/draft-04/schema#",
101
+ "multipleOf" : "xxx"
102
+ }
103
+ |
104
+ end
105
+
106
+ it { expect { subject }.to raise_error Raml::InvalidSchema }
107
+ end
108
+ end
109
+ end
110
+ end
@@ -0,0 +1,11 @@
1
+ require_relative '../../lib/raml'
2
+ require 'pry'
3
+ require 'yaml'
4
+
5
+ RSpec.configure do |config|
6
+ config.expect_with :rspec do |c|
7
+ c.syntax = [:should, :expect]
8
+ end
9
+ config.mock_framework = :rr
10
+ end
11
+
@@ -0,0 +1,98 @@
1
+ require_relative 'spec_helper'
2
+
3
+ describe Raml::Template do
4
+ let(:root) { Raml::Root.new 'title' => 'x', 'baseUri' => 'http://foo.com' }
5
+
6
+ describe '#new' do
7
+ end
8
+
9
+ describe '#interpolate' do
10
+ subject { Raml::Template.new('foo', data, root).interpolate params }
11
+ context 'when the data requires no parameters' do
12
+ let(:params) { {} }
13
+ context 'when its a shallow object' do
14
+ let(:data ) { {'aaa' => 'bbb', 'ccc' => 'ddd', 'eee' => 'fff' } }
15
+ it 'returns the same data that was inputted' do
16
+ subject[1].should eq data
17
+ end
18
+ end
19
+ context 'when its a nested object' do
20
+ let(:data ) { {'aaa' => 'bbb', 'ccc' => [ 'ddd', 'eee' ], 'fff' => { 'ggg' => 'hhh', 'iii' => ['jjj'] } } }
21
+ it 'returns the same data that was inputted' do
22
+ subject[1].should eq data
23
+ end
24
+ end
25
+ end
26
+ context 'when the data requires parameters' do
27
+ context 'when its a shallow object' do
28
+ let(:data ) { {'aaa <<foo>>' => 'bbb', 'ccc' => '<<bar>> ddd', 'eee' => 'fff' } }
29
+ context 'when a required parameter is missing' do
30
+ let(:params) { { 'foo' => 'bar' } }
31
+ it do
32
+ expect { subject }.to raise_exception Raml::UnknownTypeOrTraitParameter
33
+ end
34
+ end
35
+ context 'when all parameters are given' do
36
+ let(:params) { { 'foo' => 'bar', 'bar' => 'baz' } }
37
+ it 'returns the name with the parameter interpolated' do
38
+ subject[1].should eq ({'aaa bar' => 'bbb', 'ccc' => 'baz ddd', 'eee' => 'fff' })
39
+ end
40
+ end
41
+ end
42
+ context 'when its a nested object' do
43
+ let(:data ) { {'aaa <<foo>>' => 'bbb', 'ccc' => [ '<<bar>> ddd', 'eee' ], 'fff' => { 'ggg' => 'hhh', '<<baz>> iii' => ['<<jaz>> jjj'] } } }
44
+ context 'when a required parameter is missing' do
45
+ let(:params) { { 'foo' => 'bar' } }
46
+ it do
47
+ expect { subject }.to raise_exception Raml::UnknownTypeOrTraitParameter
48
+ end
49
+ end
50
+ context 'when all parameters are given' do
51
+ let(:params) { { 'foo' => 'bar', 'bar' => 'baz', 'baz' => 'jaz', 'jaz' => 'max' } }
52
+ it 'returns the name with the parameter interpolated' do
53
+ subject[1].should eq ({'aaa bar' => 'bbb', 'ccc' => [ 'baz ddd', 'eee' ], 'fff' => { 'ggg' => 'hhh', 'jaz iii' => ['max jjj'] } })
54
+ end
55
+ end
56
+ end
57
+ end
58
+ context 'when function parameters are used' do
59
+ context 'when the function is not known' do
60
+ let(:params) { {'some_param' => 'test'} }
61
+ let(:data ) { {'bar' => '<<some_param | !unknown>>'} }
62
+ it do
63
+ expect { subject }.to raise_exception Raml::UnknownTypeOrTraitParamFunction
64
+ end
65
+ end
66
+ context 'when the function is singularize' do
67
+ let(:data) { {'bar' => 'some <<some_param | !singularize>>'} }
68
+ context 'when the parameter is plural' do
69
+ let(:params) { {'some_param' => 'tests'} }
70
+ it 'signularizes it' do
71
+ subject[1]['bar'].should eq 'some test'
72
+ end
73
+ end
74
+ context 'when the parameter is singular' do
75
+ let(:params) { {'some_param' => 'test'} }
76
+ it 'keeps it singular' do
77
+ subject[1]['bar'].should eq 'some test'
78
+ end
79
+ end
80
+ end
81
+ context 'when the function is pluralize' do
82
+ let(:data) { {'bar' => 'some <<some_param | !pluralize>>'} }
83
+ context 'when the parameter is singular' do
84
+ let(:params) { {'some_param' => 'test'} }
85
+ it 'pluralizes it' do
86
+ subject[1]['bar'].should eq 'some tests'
87
+ end
88
+ end
89
+ context 'when the parameter is plural' do
90
+ let(:params) { {'some_param' => 'tests'} }
91
+ it 'keeps it plural' do
92
+ subject[1]['bar'].should eq 'some tests'
93
+ end
94
+ end
95
+ end
96
+ end
97
+ end
98
+ end
@@ -0,0 +1,31 @@
1
+ require_relative 'spec_helper'
2
+
3
+ describe Raml::Trait do
4
+ let(:name) { 'secured' }
5
+ let(:data) {
6
+ YAML.load(%q(
7
+ usage: Apply this to any method that needs to be secured
8
+ description: Some requests require authentication.
9
+ queryParameters:
10
+ access_token:
11
+ description: Access Token
12
+ type: string
13
+ example: ACCESS_TOKEN
14
+ required: true
15
+ ))
16
+ }
17
+ let(:root) { Raml::Root.new 'title' => 'x', 'baseUri' => 'http://foo.com' }
18
+
19
+ subject { Raml::Trait.new name, data, root }
20
+
21
+ describe '#new' do
22
+ context 'when the trait name is not an HTTP method name' do
23
+ it { expect { subject }.to_not raise_error }
24
+ end
25
+ context 'when the usage property is given' do
26
+ it 'stores the usage property' do
27
+ subject.instantiate({}).usage.should eq data['usage']
28
+ end
29
+ end
30
+ end
31
+ end
metadata ADDED
@@ -0,0 +1,337 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: raml_ruby
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.1
5
+ platform: ruby
6
+ authors:
7
+ - Kirill Gorin
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+ date: 2015-03-28 00:00:00.000000000 Z
12
+ dependencies:
13
+ - !ruby/object:Gem::Dependency
14
+ name: activesupport
15
+ requirement: !ruby/object:Gem::Requirement
16
+ requirements:
17
+ - - "~>"
18
+ - !ruby/object:Gem::Version
19
+ version: '4.1'
20
+ type: :runtime
21
+ prerelease: false
22
+ version_requirements: !ruby/object:Gem::Requirement
23
+ requirements:
24
+ - - "~>"
25
+ - !ruby/object:Gem::Version
26
+ version: '4.1'
27
+ - !ruby/object:Gem::Dependency
28
+ name: json-schema
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - "~>"
32
+ - !ruby/object:Gem::Version
33
+ version: '2.2'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '2.2'
41
+ - !ruby/object:Gem::Dependency
42
+ name: kramdown
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - "~>"
46
+ - !ruby/object:Gem::Version
47
+ version: '1.4'
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - "~>"
53
+ - !ruby/object:Gem::Version
54
+ version: '1.4'
55
+ - !ruby/object:Gem::Dependency
56
+ name: rouge
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: '1.7'
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: '1.7'
69
+ - !ruby/object:Gem::Dependency
70
+ name: sass
71
+ requirement: !ruby/object:Gem::Requirement
72
+ requirements:
73
+ - - "~>"
74
+ - !ruby/object:Gem::Version
75
+ version: '3.4'
76
+ type: :runtime
77
+ prerelease: false
78
+ version_requirements: !ruby/object:Gem::Requirement
79
+ requirements:
80
+ - - "~>"
81
+ - !ruby/object:Gem::Version
82
+ version: '3.4'
83
+ - !ruby/object:Gem::Dependency
84
+ name: slim
85
+ requirement: !ruby/object:Gem::Requirement
86
+ requirements:
87
+ - - "~>"
88
+ - !ruby/object:Gem::Version
89
+ version: '2.0'
90
+ type: :runtime
91
+ prerelease: false
92
+ version_requirements: !ruby/object:Gem::Requirement
93
+ requirements:
94
+ - - "~>"
95
+ - !ruby/object:Gem::Version
96
+ version: '2.0'
97
+ - !ruby/object:Gem::Dependency
98
+ name: uri_template
99
+ requirement: !ruby/object:Gem::Requirement
100
+ requirements:
101
+ - - "~>"
102
+ - !ruby/object:Gem::Version
103
+ version: '0.7'
104
+ type: :runtime
105
+ prerelease: false
106
+ version_requirements: !ruby/object:Gem::Requirement
107
+ requirements:
108
+ - - "~>"
109
+ - !ruby/object:Gem::Version
110
+ version: '0.7'
111
+ - !ruby/object:Gem::Dependency
112
+ name: bundler
113
+ requirement: !ruby/object:Gem::Requirement
114
+ requirements:
115
+ - - "~>"
116
+ - !ruby/object:Gem::Version
117
+ version: '1.3'
118
+ type: :development
119
+ prerelease: false
120
+ version_requirements: !ruby/object:Gem::Requirement
121
+ requirements:
122
+ - - "~>"
123
+ - !ruby/object:Gem::Version
124
+ version: '1.3'
125
+ - !ruby/object:Gem::Dependency
126
+ name: rake
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - "~>"
130
+ - !ruby/object:Gem::Version
131
+ version: '10.0'
132
+ type: :development
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - "~>"
137
+ - !ruby/object:Gem::Version
138
+ version: '10.0'
139
+ - !ruby/object:Gem::Dependency
140
+ name: rspec
141
+ requirement: !ruby/object:Gem::Requirement
142
+ requirements:
143
+ - - "~>"
144
+ - !ruby/object:Gem::Version
145
+ version: '3.0'
146
+ type: :development
147
+ prerelease: false
148
+ version_requirements: !ruby/object:Gem::Requirement
149
+ requirements:
150
+ - - "~>"
151
+ - !ruby/object:Gem::Version
152
+ version: '3.0'
153
+ - !ruby/object:Gem::Dependency
154
+ name: rr
155
+ requirement: !ruby/object:Gem::Requirement
156
+ requirements:
157
+ - - "~>"
158
+ - !ruby/object:Gem::Version
159
+ version: '1.1'
160
+ type: :development
161
+ prerelease: false
162
+ version_requirements: !ruby/object:Gem::Requirement
163
+ requirements:
164
+ - - "~>"
165
+ - !ruby/object:Gem::Version
166
+ version: '1.1'
167
+ - !ruby/object:Gem::Dependency
168
+ name: pry
169
+ requirement: !ruby/object:Gem::Requirement
170
+ requirements:
171
+ - - "~>"
172
+ - !ruby/object:Gem::Version
173
+ version: '0.10'
174
+ type: :development
175
+ prerelease: false
176
+ version_requirements: !ruby/object:Gem::Requirement
177
+ requirements:
178
+ - - "~>"
179
+ - !ruby/object:Gem::Version
180
+ version: '0.10'
181
+ - !ruby/object:Gem::Dependency
182
+ name: yard
183
+ requirement: !ruby/object:Gem::Requirement
184
+ requirements:
185
+ - - "~>"
186
+ - !ruby/object:Gem::Version
187
+ version: '0.8'
188
+ type: :development
189
+ prerelease: false
190
+ version_requirements: !ruby/object:Gem::Requirement
191
+ requirements:
192
+ - - "~>"
193
+ - !ruby/object:Gem::Version
194
+ version: '0.8'
195
+ description: Implementation of RAML parser in Ruby.
196
+ email:
197
+ - me@kgor.in
198
+ executables: []
199
+ extensions: []
200
+ extra_rdoc_files: []
201
+ files:
202
+ - ".gitignore"
203
+ - ".travis.yml"
204
+ - Gemfile
205
+ - LICENSE.txt
206
+ - README.md
207
+ - Rakefile
208
+ - fixtures/include_1.raml
209
+ - fixtures/schemas/canonicalSchemas.raml
210
+ - fixtures/schemas/filesystem/file.json
211
+ - fixtures/schemas/filesystem/files.json
212
+ - fixtures/schemas/filesystem/fileupdate.json
213
+ - fixtures/schemas/filesystem/relative/test.json
214
+ - lib/raml.rb
215
+ - lib/raml/exceptions.rb
216
+ - lib/raml/mixin/bodies.rb
217
+ - lib/raml/mixin/documentable.rb
218
+ - lib/raml/mixin/global.rb
219
+ - lib/raml/mixin/headers.rb
220
+ - lib/raml/mixin/merge.rb
221
+ - lib/raml/mixin/parent.rb
222
+ - lib/raml/mixin/validation.rb
223
+ - lib/raml/node.rb
224
+ - lib/raml/node/abstract_method.rb
225
+ - lib/raml/node/abstract_resource.rb
226
+ - lib/raml/node/abstract_resource_circular.rb
227
+ - lib/raml/node/body.rb
228
+ - lib/raml/node/documentation.rb
229
+ - lib/raml/node/header.rb
230
+ - lib/raml/node/method.rb
231
+ - lib/raml/node/parameter/abstract_parameter.rb
232
+ - lib/raml/node/parameter/base_uri_parameter.rb
233
+ - lib/raml/node/parameter/form_parameter.rb
234
+ - lib/raml/node/parameter/query_parameter.rb
235
+ - lib/raml/node/parameter/uri_parameter.rb
236
+ - lib/raml/node/parametized_reference.rb
237
+ - lib/raml/node/reference.rb
238
+ - lib/raml/node/resource.rb
239
+ - lib/raml/node/resource_type.rb
240
+ - lib/raml/node/resource_type_reference.rb
241
+ - lib/raml/node/response.rb
242
+ - lib/raml/node/root.rb
243
+ - lib/raml/node/schema.rb
244
+ - lib/raml/node/schema_reference.rb
245
+ - lib/raml/node/template.rb
246
+ - lib/raml/node/trait.rb
247
+ - lib/raml/node/trait_reference.rb
248
+ - lib/raml/parser.rb
249
+ - lib/raml/parser/include.rb
250
+ - lib/raml/patch/hash.rb
251
+ - lib/raml/patch/module.rb
252
+ - lib/raml/version.rb
253
+ - raml_ruby.gemspec
254
+ - raml_spec_reqs.md
255
+ - templates/abstract_parameter.slim
256
+ - templates/body.slim
257
+ - templates/collapse.slim
258
+ - templates/documentation.slim
259
+ - templates/method.slim
260
+ - templates/resource.slim
261
+ - templates/response.slim
262
+ - templates/root.slim
263
+ - templates/style.sass
264
+ - test/apis/box-api.raml
265
+ - test/apis/instagram-api.raml
266
+ - test/apis/stripe-api.raml
267
+ - test/apis/twilio-rest-api.raml
268
+ - test/apis/twitter-rest-api.raml
269
+ - test/raml/body_spec.rb
270
+ - test/raml/documentation_spec.rb
271
+ - test/raml/header_spec.rb
272
+ - test/raml/include_spec.rb
273
+ - test/raml/method_spec.rb
274
+ - test/raml/parameter/abstract_parameter_spec.rb
275
+ - test/raml/parameter/form_parameter_spec.rb
276
+ - test/raml/parameter/query_parameter_spec.rb
277
+ - test/raml/parameter/uri_parameter_spec.rb
278
+ - test/raml/parser_spec.rb
279
+ - test/raml/raml_spec.rb
280
+ - test/raml/resource_spec.rb
281
+ - test/raml/resource_type_spec.rb
282
+ - test/raml/response_spec.rb
283
+ - test/raml/root_spec.rb
284
+ - test/raml/schema_spec.rb
285
+ - test/raml/spec_helper.rb
286
+ - test/raml/template_spec.rb
287
+ - test/raml/trait_spec.rb
288
+ homepage: https://github.com/coub/raml_ruby
289
+ licenses:
290
+ - MIT
291
+ metadata: {}
292
+ post_install_message:
293
+ rdoc_options: []
294
+ require_paths:
295
+ - lib
296
+ required_ruby_version: !ruby/object:Gem::Requirement
297
+ requirements:
298
+ - - ">="
299
+ - !ruby/object:Gem::Version
300
+ version: '0'
301
+ required_rubygems_version: !ruby/object:Gem::Requirement
302
+ requirements:
303
+ - - ">="
304
+ - !ruby/object:Gem::Version
305
+ version: '0'
306
+ requirements: []
307
+ rubyforge_project:
308
+ rubygems_version: 2.4.6
309
+ signing_key:
310
+ specification_version: 4
311
+ summary: raml_ruby is implementation of RAML parser in Ruby.
312
+ test_files:
313
+ - test/apis/box-api.raml
314
+ - test/apis/instagram-api.raml
315
+ - test/apis/stripe-api.raml
316
+ - test/apis/twilio-rest-api.raml
317
+ - test/apis/twitter-rest-api.raml
318
+ - test/raml/body_spec.rb
319
+ - test/raml/documentation_spec.rb
320
+ - test/raml/header_spec.rb
321
+ - test/raml/include_spec.rb
322
+ - test/raml/method_spec.rb
323
+ - test/raml/parameter/abstract_parameter_spec.rb
324
+ - test/raml/parameter/form_parameter_spec.rb
325
+ - test/raml/parameter/query_parameter_spec.rb
326
+ - test/raml/parameter/uri_parameter_spec.rb
327
+ - test/raml/parser_spec.rb
328
+ - test/raml/raml_spec.rb
329
+ - test/raml/resource_spec.rb
330
+ - test/raml/resource_type_spec.rb
331
+ - test/raml/response_spec.rb
332
+ - test/raml/root_spec.rb
333
+ - test/raml/schema_spec.rb
334
+ - test/raml/spec_helper.rb
335
+ - test/raml/template_spec.rb
336
+ - test/raml/trait_spec.rb
337
+ has_rdoc: