ratom 0.3.6 → 0.3.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/History.txt +4 -0
- data/lib/atom/version.rb +1 -1
- data/lib/atom/xml/parser.rb +1 -1
- data/spec/atom_spec.rb +4 -0
- metadata +2 -2
data/History.txt
CHANGED
data/lib/atom/version.rb
CHANGED
data/lib/atom/xml/parser.rb
CHANGED
|
@@ -80,7 +80,7 @@ module Atom
|
|
|
80
80
|
end
|
|
81
81
|
end
|
|
82
82
|
elsif self.respond_to?(:simple_extensions)
|
|
83
|
-
self[xml.namespace_uri, xml.local_name] << xml.
|
|
83
|
+
self[xml.namespace_uri, xml.local_name] << xml.read_inner_xml
|
|
84
84
|
end
|
|
85
85
|
end
|
|
86
86
|
break unless !options[:once] && xml.next == 1 && xml.depth >= starting_depth
|
data/spec/atom_spec.rb
CHANGED
|
@@ -995,6 +995,10 @@ describe Atom do
|
|
|
995
995
|
end
|
|
996
996
|
|
|
997
997
|
it_should_behave_like 'simple_single_entry.atom attributes'
|
|
998
|
+
|
|
999
|
+
it "should load simple extension 3 xml for entry" do
|
|
1000
|
+
@entry["http://example.org/example3", 'simple3'].should == ['<ContinuityOfCareRecord xmlns="urn:astm-org:CCR">Simple Entry Value (NS2)</ContinuityOfCareRecord>']
|
|
1001
|
+
end
|
|
998
1002
|
end
|
|
999
1003
|
|
|
1000
1004
|
describe 'writing simple extensions' do
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: ratom
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.3.
|
|
4
|
+
version: 0.3.7
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Peerworks
|
|
@@ -9,7 +9,7 @@ autorequire:
|
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
11
|
|
|
12
|
-
date: 2008-05
|
|
12
|
+
date: 2008-06-05 00:00:00 +09:30
|
|
13
13
|
default_executable:
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|