gyoku 0.4.2 → 0.4.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,5 +1,5 @@
1
1
  module Gyoku
2
2
 
3
- VERSION = "0.4.2"
3
+ VERSION = "0.4.3"
4
4
 
5
5
  end
@@ -1,4 +1,5 @@
1
1
  require "cgi"
2
+ require "date"
2
3
 
3
4
  module Gyoku
4
5
  module XMLValue
@@ -132,16 +132,14 @@ describe Gyoku::Hash do
132
132
  "<v2:third><v2:firstName>Danie</v2:firstName></v2:third>"
133
133
  )
134
134
  end
135
-
135
+
136
136
  it "should add given :namespace to every element in an array" do
137
137
  hash = { :array => [ :first => "Luvy", :second => "Anna" ]}
138
138
  result = to_xml hash, :element_form_default => :qualified, :namespace => :v1
139
139
 
140
- result.should include(
141
- "<v1:array><v1:first>Luvy</v1:first><v1:second>Anna</v1:second></v1:array>"
142
- )
140
+ result.should include("<v1:array>", "<v1:first>Luvy</v1:first>", "<v1:second>Anna</v1:second>")
143
141
  end
144
-
142
+
145
143
  end
146
144
  end
147
145
 
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gyoku
3
3
  version: !ruby/object:Gem::Version
4
- hash: 11
4
+ hash: 9
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 4
9
- - 2
10
- version: 0.4.2
9
+ - 3
10
+ version: 0.4.3
11
11
  platform: ruby
12
12
  authors:
13
13
  - Daniel Harrington
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-04-07 00:00:00 +02:00
18
+ date: 2011-05-04 00:00:00 +02:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
@@ -141,7 +141,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
141
141
  requirements: []
142
142
 
143
143
  rubyforge_project: gyoku
144
- rubygems_version: 1.4.2
144
+ rubygems_version: 1.4.1
145
145
  signing_key:
146
146
  specification_version: 3
147
147
  summary: Converts Ruby Hashes to XML