ratom 0.7.2 → 0.8.0
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +5 -0
- data/README.rdoc +1 -1
- data/lib/atom.rb +4 -8
- data/lib/atom/version.rb +1 -1
- data/ratom.gemspec +6 -5
- data/spec/atom_spec.rb +316 -263
- data/spec/conformance/atom.rng +600 -0
- data/spec/fixtures/entry_with_custom_content_type.atom +10 -0
- metadata +55 -15
@@ -0,0 +1,10 @@
|
|
1
|
+
<?xml version="1.0" encoding="utf-8"?>
|
2
|
+
<entry xmlns='http://www.w3.org/2005/Atom' xmlns:custom='http://custom.namespace'>
|
3
|
+
<title>Atom-Powered Robots Run Amok</title>
|
4
|
+
<link href="http://example.org/2003/12/13/atom03"/>
|
5
|
+
<id>urn:uuid:1225c695-cfb8-4ebb-aaaa-80da344efa6a</id>
|
6
|
+
<content type="custom-content-type/xml">
|
7
|
+
<changes xmlns="http://www.xxx.com/app"/>
|
8
|
+
</content>
|
9
|
+
<updated>2003-12-13T18:30:02Z</updated>
|
10
|
+
</entry>
|
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.
|
4
|
+
version: 0.8.0
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -10,33 +10,43 @@ authors:
|
|
10
10
|
autorequire:
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
|
-
date: 2012-05-11 00:00:00.
|
13
|
+
date: 2012-05-11 00:00:00.000000000 Z
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
16
16
|
name: libxml-ruby
|
17
|
-
requirement:
|
17
|
+
requirement: !ruby/object:Gem::Requirement
|
18
18
|
none: false
|
19
19
|
requirements:
|
20
20
|
- - ~>
|
21
21
|
- !ruby/object:Gem::Version
|
22
|
-
version: 2.3
|
22
|
+
version: '2.3'
|
23
23
|
type: :runtime
|
24
24
|
prerelease: false
|
25
|
-
version_requirements:
|
25
|
+
version_requirements: !ruby/object:Gem::Requirement
|
26
|
+
none: false
|
27
|
+
requirements:
|
28
|
+
- - ~>
|
29
|
+
- !ruby/object:Gem::Version
|
30
|
+
version: '2.3'
|
26
31
|
- !ruby/object:Gem::Dependency
|
27
32
|
name: bundler
|
28
|
-
requirement:
|
33
|
+
requirement: !ruby/object:Gem::Requirement
|
29
34
|
none: false
|
30
35
|
requirements:
|
31
36
|
- - ~>
|
32
37
|
- !ruby/object:Gem::Version
|
33
|
-
version: 1.1
|
38
|
+
version: '1.1'
|
34
39
|
type: :development
|
35
40
|
prerelease: false
|
36
|
-
version_requirements:
|
41
|
+
version_requirements: !ruby/object:Gem::Requirement
|
42
|
+
none: false
|
43
|
+
requirements:
|
44
|
+
- - ~>
|
45
|
+
- !ruby/object:Gem::Version
|
46
|
+
version: '1.1'
|
37
47
|
- !ruby/object:Gem::Dependency
|
38
48
|
name: rspec
|
39
|
-
requirement:
|
49
|
+
requirement: !ruby/object:Gem::Requirement
|
40
50
|
none: false
|
41
51
|
requirements:
|
42
52
|
- - ~>
|
@@ -44,10 +54,15 @@ dependencies:
|
|
44
54
|
version: 2.10.0
|
45
55
|
type: :development
|
46
56
|
prerelease: false
|
47
|
-
version_requirements:
|
57
|
+
version_requirements: !ruby/object:Gem::Requirement
|
58
|
+
none: false
|
59
|
+
requirements:
|
60
|
+
- - ~>
|
61
|
+
- !ruby/object:Gem::Version
|
62
|
+
version: 2.10.0
|
48
63
|
- !ruby/object:Gem::Dependency
|
49
64
|
name: rake
|
50
|
-
requirement:
|
65
|
+
requirement: !ruby/object:Gem::Requirement
|
51
66
|
none: false
|
52
67
|
requirements:
|
53
68
|
- - ~>
|
@@ -55,7 +70,28 @@ dependencies:
|
|
55
70
|
version: 0.9.2
|
56
71
|
type: :development
|
57
72
|
prerelease: false
|
58
|
-
version_requirements:
|
73
|
+
version_requirements: !ruby/object:Gem::Requirement
|
74
|
+
none: false
|
75
|
+
requirements:
|
76
|
+
- - ~>
|
77
|
+
- !ruby/object:Gem::Version
|
78
|
+
version: 0.9.2
|
79
|
+
- !ruby/object:Gem::Dependency
|
80
|
+
name: nokogiri
|
81
|
+
requirement: !ruby/object:Gem::Requirement
|
82
|
+
none: false
|
83
|
+
requirements:
|
84
|
+
- - ~>
|
85
|
+
- !ruby/object:Gem::Version
|
86
|
+
version: 1.5.6
|
87
|
+
type: :development
|
88
|
+
prerelease: false
|
89
|
+
version_requirements: !ruby/object:Gem::Requirement
|
90
|
+
none: false
|
91
|
+
requirements:
|
92
|
+
- - ~>
|
93
|
+
- !ruby/object:Gem::Version
|
94
|
+
version: 1.5.6
|
59
95
|
description: A fast Atom Syndication and Publication API based on libxml
|
60
96
|
email: seangeo@gmail.com
|
61
97
|
executables: []
|
@@ -82,6 +118,7 @@ files:
|
|
82
118
|
- spec/app/service_xml_base.xml
|
83
119
|
- spec/atom/pub_spec.rb
|
84
120
|
- spec/atom_spec.rb
|
121
|
+
- spec/conformance/atom.rng
|
85
122
|
- spec/conformance/baseuri.atom
|
86
123
|
- spec/conformance/divtest.atom
|
87
124
|
- spec/conformance/linktests.xml
|
@@ -102,6 +139,7 @@ files:
|
|
102
139
|
- spec/fixtures/complex_single_entry.atom
|
103
140
|
- spec/fixtures/created_entry.atom
|
104
141
|
- spec/fixtures/entry.atom
|
142
|
+
- spec/fixtures/entry_with_custom_content_type.atom
|
105
143
|
- spec/fixtures/entry_with_custom_extensions.atom
|
106
144
|
- spec/fixtures/entry_with_simple_extensions.atom
|
107
145
|
- spec/fixtures/entry_with_single_custom_extension.atom
|
@@ -129,7 +167,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
129
167
|
version: '0'
|
130
168
|
segments:
|
131
169
|
- 0
|
132
|
-
hash:
|
170
|
+
hash: -1893051224371747200
|
133
171
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
134
172
|
none: false
|
135
173
|
requirements:
|
@@ -138,10 +176,10 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
138
176
|
version: '0'
|
139
177
|
segments:
|
140
178
|
- 0
|
141
|
-
hash:
|
179
|
+
hash: -1893051224371747200
|
142
180
|
requirements: []
|
143
181
|
rubyforge_project:
|
144
|
-
rubygems_version: 1.8.
|
182
|
+
rubygems_version: 1.8.25
|
145
183
|
signing_key:
|
146
184
|
specification_version: 3
|
147
185
|
summary: Atom Syndication and Publication API
|
@@ -151,6 +189,7 @@ test_files:
|
|
151
189
|
- spec/app/service_xml_base.xml
|
152
190
|
- spec/atom/pub_spec.rb
|
153
191
|
- spec/atom_spec.rb
|
192
|
+
- spec/conformance/atom.rng
|
154
193
|
- spec/conformance/baseuri.atom
|
155
194
|
- spec/conformance/divtest.atom
|
156
195
|
- spec/conformance/linktests.xml
|
@@ -171,6 +210,7 @@ test_files:
|
|
171
210
|
- spec/fixtures/complex_single_entry.atom
|
172
211
|
- spec/fixtures/created_entry.atom
|
173
212
|
- spec/fixtures/entry.atom
|
213
|
+
- spec/fixtures/entry_with_custom_content_type.atom
|
174
214
|
- spec/fixtures/entry_with_custom_extensions.atom
|
175
215
|
- spec/fixtures/entry_with_simple_extensions.atom
|
176
216
|
- spec/fixtures/entry_with_single_custom_extension.atom
|