spectifly 0.0.6 → 0.0.7
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.
- data/lib/spectifly/version.rb +1 -1
- data/lib/spectifly/xsd/association.rb +1 -1
- data/spec/expectations/individual.json +5 -0
- data/spec/expectations/individual.xsd +5 -0
- data/spec/expectations/presented/positionless_individual.json +5 -0
- data/spec/expectations/presented/positionless_individual.xsd +5 -0
- data/spec/fixtures/individual.entity +4 -0
- data/spec/fixtures/presenters/positionless_individual/individual.entity +1 -0
- metadata +3 -8
data/lib/spectifly/version.rb
CHANGED
|
@@ -13,8 +13,8 @@ module Spectifly
|
|
|
13
13
|
else
|
|
14
14
|
attributes['name'] = name
|
|
15
15
|
attributes['type'] = "#{Spectifly::Support.lower_camelize(type)}Type"
|
|
16
|
-
attributes['minOccurs'] = '0' unless required?
|
|
17
16
|
end
|
|
17
|
+
attributes['minOccurs'] = '0' unless required?
|
|
18
18
|
attributes['maxOccurs'] = 'unbounded' if multiple?
|
|
19
19
|
block = embedded_block
|
|
20
20
|
builder.xs :element, attributes, &block
|
|
@@ -5,6 +5,11 @@
|
|
|
5
5
|
"type": "group",
|
|
6
6
|
"required": true,
|
|
7
7
|
"description": "Which funtime party this individual happy with is"
|
|
8
|
+
},
|
|
9
|
+
"stupid_club": {
|
|
10
|
+
"type": "group",
|
|
11
|
+
"required": false,
|
|
12
|
+
"description": "Which stupid club this individual was manipulated into joining"
|
|
8
13
|
}
|
|
9
14
|
},
|
|
10
15
|
"name": {
|
|
@@ -41,6 +41,11 @@
|
|
|
41
41
|
<xs:documentation>Which funtime party this individual happy with is</xs:documentation>
|
|
42
42
|
</xs:annotation>
|
|
43
43
|
</xs:element>
|
|
44
|
+
<xs:element name="StupidClubId" type="xs:string" minOccurs="0">
|
|
45
|
+
<xs:annotation>
|
|
46
|
+
<xs:documentation>Which stupid club this individual was manipulated into joining</xs:documentation>
|
|
47
|
+
</xs:annotation>
|
|
48
|
+
</xs:element>
|
|
44
49
|
</xs:sequence>
|
|
45
50
|
</xs:complexType>
|
|
46
51
|
</xs:schema>
|
|
@@ -5,6 +5,11 @@
|
|
|
5
5
|
"type": "group",
|
|
6
6
|
"required": true,
|
|
7
7
|
"description": "Which funtime party this individual happy with is"
|
|
8
|
+
},
|
|
9
|
+
"stupid_club": {
|
|
10
|
+
"type": "group",
|
|
11
|
+
"required": false,
|
|
12
|
+
"description": "Which stupid club this individual was manipulated into joining"
|
|
8
13
|
}
|
|
9
14
|
},
|
|
10
15
|
"name": {
|
|
@@ -29,6 +29,11 @@
|
|
|
29
29
|
<xs:documentation>Which funtime party this individual happy with is</xs:documentation>
|
|
30
30
|
</xs:annotation>
|
|
31
31
|
</xs:element>
|
|
32
|
+
<xs:element name="StupidClubId" type="xs:string" minOccurs="0">
|
|
33
|
+
<xs:annotation>
|
|
34
|
+
<xs:documentation>Which stupid club this individual was manipulated into joining</xs:documentation>
|
|
35
|
+
</xs:annotation>
|
|
36
|
+
</xs:element>
|
|
32
37
|
</xs:sequence>
|
|
33
38
|
</xs:complexType>
|
|
34
39
|
</xs:schema>
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: spectifly
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.7
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2013-08-
|
|
12
|
+
date: 2013-08-16 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: builder
|
|
@@ -207,18 +207,12 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
207
207
|
- - ! '>='
|
|
208
208
|
- !ruby/object:Gem::Version
|
|
209
209
|
version: '0'
|
|
210
|
-
segments:
|
|
211
|
-
- 0
|
|
212
|
-
hash: 2137149722934303799
|
|
213
210
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
214
211
|
none: false
|
|
215
212
|
requirements:
|
|
216
213
|
- - ! '>='
|
|
217
214
|
- !ruby/object:Gem::Version
|
|
218
215
|
version: '0'
|
|
219
|
-
segments:
|
|
220
|
-
- 0
|
|
221
|
-
hash: 2137149722934303799
|
|
222
216
|
requirements: []
|
|
223
217
|
rubyforge_project:
|
|
224
218
|
rubygems_version: 1.8.23
|
|
@@ -254,3 +248,4 @@ test_files:
|
|
|
254
248
|
- spec/spectifly/xsd/field_spec.rb
|
|
255
249
|
- spec/spectifly/xsd/types_spec.rb
|
|
256
250
|
- spec/support/path_helper.rb
|
|
251
|
+
has_rdoc:
|