mappum 0.2.3 → 0.2.4

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.
@@ -27,7 +27,9 @@ class TestXmlAny < Test::Unit::TestCase
27
27
  assert_equal("2", cli.sex_id)
28
28
  assert_equal("Skoryski", cli.surname)
29
29
  assert_equal("Victoria", cli.address.street)
30
- assert_equal(["j@j.com", "k@k.com", "l@l.com"], cli.emails)
30
+ assert_equal("j@j.com", cli.emails.m_0)
31
+ assert_equal("k@k.com", cli.emails.m_1)
32
+ assert_equal("l@l.com", cli.emails.m_2)
31
33
  assert_equal(["21311231", "21311232"], cli.phones)
32
34
  assert_equal("09876567", cli.main_phone)
33
35
  assert_equal({XSD::QName.new(nil,"ident") => "123212"}, cli.__xmlattr)
@@ -54,7 +56,9 @@ class TestXmlAny < Test::Unit::TestCase
54
56
  assert_equal("2", cli.sex_id)
55
57
  assert_equal("Skoryski", cli.surname)
56
58
  assert_equal("Victoria", cli.address.street)
57
- assert_equal(["j@j.com", "k@k.com", "l@l.com"], cli.emails)
59
+ assert_equal("j@j.com", cli.emails.m_0)
60
+ assert_equal("k@k.com", cli.emails.m_1)
61
+ assert_equal("l@l.com", cli.emails.m_2)
58
62
  assert_equal(["21311231", "21311232"], cli.phones)
59
63
  assert_equal("09876567", cli.main_phone)
60
64
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mappum
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.3
4
+ version: 0.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - "Jan Topi\xC5\x84ski"
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-11-16 00:00:00 +01:00
12
+ date: 2009-12-15 00:00:00 +01:00
13
13
  default_executable: mapserver.rb
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -79,6 +79,7 @@ files:
79
79
  - VERSION
80
80
  - bin/mapserver.rb
81
81
  - java-api/pom.xml
82
+ - java-api/src/main/java/pl/ivmx/mappum/JavaMappumException.java
82
83
  - java-api/src/main/java/pl/ivmx/mappum/JavaTransform.java
83
84
  - java-api/src/main/java/pl/ivmx/mappum/MappumApi.java
84
85
  - java-api/src/main/java/pl/ivmx/mappum/TreeElement.java
@@ -86,12 +87,14 @@ files:
86
87
  - java-api/src/test/java/iv/Client.java
87
88
  - java-api/src/test/java/iv/Person.java
88
89
  - java-api/src/test/java/pl/ivmx/mappum/MappumTest.java
90
+ - java-api/src/test/resources/map/error_map.rb
89
91
  - java-api/src/test/resources/map/example_map.rb
90
92
  - lib/mappum.rb
91
93
  - lib/mappum/autoconv_catalogue.rb
92
94
  - lib/mappum/dsl.rb
93
95
  - lib/mappum/java_transform.rb
94
96
  - lib/mappum/map.rb
97
+ - lib/mappum/map_space.rb
95
98
  - lib/mappum/mappum_exception.rb
96
99
  - lib/mappum/mapserver/mapgraph.rb
97
100
  - lib/mappum/mapserver/mapserver.rb
@@ -112,6 +115,7 @@ files:
112
115
  - sample/crm_client.xsd
113
116
  - sample/erp.rb
114
117
  - sample/erp_person.xsd
118
+ - sample/example_context.rb
115
119
  - sample/example_conversions.rb
116
120
  - sample/example_map.rb
117
121
  - sample/example_notypes.rb
@@ -123,6 +127,7 @@ files:
123
127
  - sample/server/mapserver.sh
124
128
  - sample/server/schema/crm_client.xsd
125
129
  - sample/server/schema/erp/erp_person.xsd
130
+ - test/test_context.rb
126
131
  - test/test_conversions.rb
127
132
  - test/test_example.rb
128
133
  - test/test_openstruct.rb
@@ -164,3 +169,4 @@ test_files:
164
169
  - test/test_conversions.rb
165
170
  - test/test_xml_any.rb
166
171
  - test/test_soap4r.rb
172
+ - test/test_context.rb