ratom 0.6.10 → 0.7.0
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/.gitignore +5 -0
- data/.travis.yml +6 -0
- data/Gemfile +4 -0
- data/History.txt +6 -0
- data/README.rdoc +11 -1
- data/Rakefile +6 -55
- data/lib/atom.rb +27 -12
- data/lib/atom/pub.rb +3 -3
- data/lib/atom/version.rb +1 -4
- data/ratom.gemspec +24 -75
- data/spec/atom/pub_spec.rb +3 -3
- data/spec/atom_spec.rb +2 -2
- data/spec/spec_helper.rb +2 -8
- metadata +106 -59
data/.travis.yml
ADDED
data/Gemfile
ADDED
data/History.txt
CHANGED
@@ -1,3 +1,9 @@
|
|
1
|
+
== 0.7.0
|
2
|
+
|
3
|
+
* Atom::VERSION is now a string.
|
4
|
+
* Now works in 1.9.3 without any deprecation warnings. [clnclarinet]
|
5
|
+
* Build system uses bundler and travis and a non-ancient version of Rspec. [clnclarinet]
|
6
|
+
|
1
7
|
== 0.6.10
|
2
8
|
|
3
9
|
* Removed explicit dependency on ActiveSupport. [icambron]
|
data/README.rdoc
CHANGED
@@ -12,6 +12,10 @@ built by Peerworks[http://peerworks.org], via the Atom Publishing protocol. How
|
|
12
12
|
supports, or aims to support, all the Atom Syndication Format and Publication Protocol
|
13
13
|
and can be used to access Atom feeds or to script publishing entries to a blog supporting APP.
|
14
14
|
|
15
|
+
{<img src="https://secure.travis-ci.org/seangeo/ratom.png?branch=master" alt="Build Status" />}[http://travis-ci.org/seangeo/ratom]
|
16
|
+
|
17
|
+
API docs are {here}[http://rdoc.info/github/seangeo/ratom/frames].
|
18
|
+
|
15
19
|
== Prerequisites
|
16
20
|
|
17
21
|
* libxml-ruby, >= 1.1.2
|
@@ -217,7 +221,7 @@ defined like this:
|
|
217
221
|
|
218
222
|
We can tell rAtom about our custom namespace and custom class using the following method calls:
|
219
223
|
|
220
|
-
Atom::Feed
|
224
|
+
Atom::Feed.add_extension_namespace :custom, "http://custom.namespace"
|
221
225
|
Atom::Entry.elements "custom:property", :class => Custom::Property
|
222
226
|
|
223
227
|
The first method call registers an alias for the "http://custom.namespace" namespace and the second method call
|
@@ -282,6 +286,12 @@ The source repository is accessible via GitHub:
|
|
282
286
|
|
283
287
|
git clone git://github.com/seangeo/ratom.git
|
284
288
|
|
289
|
+
The project now uses Bundler for dependency management so, just do
|
290
|
+
|
291
|
+
bundle install
|
292
|
+
|
293
|
+
to get going.
|
294
|
+
|
285
295
|
== Contact Information
|
286
296
|
|
287
297
|
The project page is at http://github.com/seangeo/ratom. Please file any bugs or feedback
|
data/Rakefile
CHANGED
@@ -1,59 +1,10 @@
|
|
1
|
-
|
2
|
-
require
|
1
|
+
#!/usr/bin/env rake
|
2
|
+
require "bundler/gem_tasks"
|
3
|
+
Bundler.setup(:default, :test)
|
3
4
|
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
gem.name = "ratom"
|
8
|
-
gem.summary = %Q{Atom Syndication and Publication API}
|
9
|
-
gem.description = %Q{A fast Atom Syndication and Publication API based on libxml}
|
10
|
-
gem.email = "seangeo@gmail.com"
|
11
|
-
gem.homepage = "http://github.com/seangeo/ratom"
|
12
|
-
gem.rubyforge_project = 'ratom'
|
13
|
-
gem.authors = ["Peerworks", "Sean Geoghegan"]
|
14
|
-
gem.add_development_dependency "rspec"
|
15
|
-
gem.add_dependency 'libxml-ruby', '>= 1.1.2'
|
16
|
-
# gem is a Gem::Specification... see http://www.rubygems.org/read/chapter/20 for additional settings
|
17
|
-
end
|
18
|
-
Jeweler::GemcutterTasks.new
|
19
|
-
Jeweler::RubyforgeTasks.new do |rf|
|
20
|
-
rf.doc_task = 'rdoc'
|
21
|
-
rf.remote_doc_path = ''
|
22
|
-
end
|
23
|
-
rescue LoadError
|
24
|
-
puts "Jeweler (or a dependency) not available. Install it with: gem install jeweler"
|
5
|
+
require 'rspec/core/rake_task'
|
6
|
+
RSpec::Core::RakeTask.new do |t|
|
7
|
+
t.rspec_opts = ['--options', "spec/spec.opts"]
|
25
8
|
end
|
26
9
|
|
27
|
-
|
28
|
-
require 'spec/rake/spectask'
|
29
|
-
Spec::Rake::SpecTask.new do |t|
|
30
|
-
t.spec_opts = ['--options', "spec/spec.opts"]
|
31
|
-
t.spec_files = FileList['spec/**/*_spec.rb']
|
32
|
-
end
|
33
|
-
|
34
|
-
begin
|
35
|
-
require 'rcov/rcovtask'
|
36
|
-
Rcov::RcovTask.new do |test|
|
37
|
-
test.libs << 'test'
|
38
|
-
test.pattern = 'test/**/test_*.rb'
|
39
|
-
test.verbose = true
|
40
|
-
end
|
41
|
-
rescue LoadError
|
42
|
-
task :rcov do
|
43
|
-
abort "RCov is not available. In order to run rcov, you must: sudo gem install spicycode-rcov"
|
44
|
-
end
|
45
|
-
end
|
46
|
-
|
47
|
-
task :spec => :check_dependencies
|
48
|
-
|
49
10
|
task :default => :spec
|
50
|
-
|
51
|
-
require 'rake/rdoctask'
|
52
|
-
Rake::RDocTask.new do |rdoc|
|
53
|
-
version = File.exist?('VERSION') ? File.read('VERSION') : ""
|
54
|
-
|
55
|
-
rdoc.rdoc_dir = 'rdoc'
|
56
|
-
rdoc.title = "ratom #{version}"
|
57
|
-
rdoc.rdoc_files.include('README*')
|
58
|
-
rdoc.rdoc_files.include('lib/**/*.rb')
|
59
|
-
end
|
data/lib/atom.rb
CHANGED
@@ -280,22 +280,37 @@ module Atom # :nodoc:
|
|
280
280
|
end
|
281
281
|
|
282
282
|
def to_xml(nodeonly = true, name = 'content', namespace = nil, namespace_map = Atom::Xml::NamespaceMap.new) # :nodoc:
|
283
|
-
|
284
|
-
# Convert from utf-8 to utf-8 as a way of making sure the content is UTF-8.
|
285
|
-
#
|
286
|
-
# This is a pretty crappy way to do it but if we don't check libxml just
|
283
|
+
# Reject content that isn't UTF-8. If we don't check libxml just
|
287
284
|
# fails silently and outputs the content element without any content. At
|
288
285
|
# least checking here and raising an exception gives the caller a chance
|
289
286
|
# to try and recitfy the situation.
|
290
287
|
#
|
291
|
-
|
292
|
-
|
293
|
-
|
294
|
-
|
295
|
-
|
296
|
-
|
297
|
-
|
298
|
-
|
288
|
+
|
289
|
+
if RUBY_VERSION =~ /^1.8/
|
290
|
+
require 'iconv'
|
291
|
+
# Convert from utf-8 to utf-8 as a way of making sure the content is
|
292
|
+
# UTF-8.
|
293
|
+
begin
|
294
|
+
node = XML::Node.new("#{namespace_map.prefix(Atom::NAMESPACE, name)}")
|
295
|
+
node << Iconv.iconv('utf-8', 'utf-8', self.to_s).first
|
296
|
+
node['type'] = 'html'
|
297
|
+
node['xml:lang'] = self.xml_lang if self.xml_lang
|
298
|
+
node
|
299
|
+
rescue Iconv::IllegalSequence => e
|
300
|
+
raise SerializationError, "Content must be converted to UTF-8 before attempting to serialize to XML: #{e.message}."
|
301
|
+
end
|
302
|
+
|
303
|
+
else
|
304
|
+
|
305
|
+
if self.to_s.force_encoding("UTF-8").ascii_only?
|
306
|
+
node = XML::Node.new("#{namespace_map.prefix(Atom::NAMESPACE, name)}")
|
307
|
+
node << self.to_s
|
308
|
+
node['type'] = 'html'
|
309
|
+
node['xml:lang'] = self.xml_lang if self.xml_lang
|
310
|
+
node
|
311
|
+
else
|
312
|
+
raise SerializationError, "Content must be converted to UTF-8 before attempting to serialize to XML: #{self}."
|
313
|
+
end
|
299
314
|
end
|
300
315
|
end
|
301
316
|
end
|
data/lib/atom/pub.rb
CHANGED
@@ -175,7 +175,7 @@ module Atom
|
|
175
175
|
def headers
|
176
176
|
{'Accept' => 'application/atom+xml',
|
177
177
|
'Content-Type' => 'application/atom+xml;type=entry',
|
178
|
-
'User-Agent' => "rAtom #{Atom::VERSION
|
178
|
+
'User-Agent' => "rAtom #{Atom::VERSION}"
|
179
179
|
}
|
180
180
|
end
|
181
181
|
end
|
@@ -216,7 +216,7 @@ module Atom
|
|
216
216
|
uri = URI.parse(edit.href)
|
217
217
|
response = nil
|
218
218
|
Net::HTTP.start(uri.host, uri.port) do |http|
|
219
|
-
request = Net::HTTP::Delete.new(uri.request_uri, {'Accept' => 'application/atom+xml', 'User-Agent' => "rAtom #{Atom::VERSION
|
219
|
+
request = Net::HTTP::Delete.new(uri.request_uri, {'Accept' => 'application/atom+xml', 'User-Agent' => "rAtom #{Atom::VERSION}"})
|
220
220
|
if opts[:user] && opts[:pass]
|
221
221
|
request.basic_auth(opts[:user], opts[:pass])
|
222
222
|
elsif opts[:hmac_access_id] && opts[:hmac_secret_key]
|
@@ -244,7 +244,7 @@ module Atom
|
|
244
244
|
def headers
|
245
245
|
{'Accept' => 'application/atom+xml',
|
246
246
|
'Content-Type' => 'application/atom+xml;type=entry',
|
247
|
-
'User-Agent' => "rAtom #{Atom::VERSION
|
247
|
+
'User-Agent' => "rAtom #{Atom::VERSION}"
|
248
248
|
}
|
249
249
|
end
|
250
250
|
end
|
data/lib/atom/version.rb
CHANGED
data/ratom.gemspec
CHANGED
@@ -2,97 +2,46 @@
|
|
2
2
|
# DO NOT EDIT THIS FILE DIRECTLY
|
3
3
|
# Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
|
4
4
|
# -*- encoding: utf-8 -*-
|
5
|
+
require File.expand_path('../lib/atom/version', __FILE__)
|
5
6
|
|
6
7
|
Gem::Specification.new do |s|
|
7
|
-
s.name =
|
8
|
-
s.version =
|
8
|
+
s.name = "ratom"
|
9
|
+
s.version = Atom::VERSION
|
9
10
|
|
10
|
-
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
11
11
|
s.authors = ["Peerworks", "Sean Geoghegan"]
|
12
|
-
s.date =
|
13
|
-
s.description =
|
14
|
-
s.email =
|
12
|
+
s.date = "2012-05-11"
|
13
|
+
s.description = "A fast Atom Syndication and Publication API based on libxml"
|
14
|
+
s.email = "seangeo@gmail.com"
|
15
15
|
s.extra_rdoc_files = [
|
16
16
|
"LICENSE",
|
17
17
|
"README.rdoc"
|
18
18
|
]
|
19
|
-
s.files
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
"Rakefile",
|
24
|
-
"VERSION.yml",
|
25
|
-
"lib/atom.rb",
|
26
|
-
"lib/atom/configuration.rb",
|
27
|
-
"lib/atom/pub.rb",
|
28
|
-
"lib/atom/version.rb",
|
29
|
-
"lib/atom/xml/parser.rb",
|
30
|
-
"ratom.gemspec",
|
31
|
-
"spec/app/member_entry.atom",
|
32
|
-
"spec/app/service.xml",
|
33
|
-
"spec/app/service_xml_base.xml",
|
34
|
-
"spec/atom/pub_spec.rb",
|
35
|
-
"spec/atom_spec.rb",
|
36
|
-
"spec/conformance/baseuri.atom",
|
37
|
-
"spec/conformance/divtest.atom",
|
38
|
-
"spec/conformance/linktests.xml",
|
39
|
-
"spec/conformance/nondefaultnamespace-baseline.atom",
|
40
|
-
"spec/conformance/nondefaultnamespace-xhtml.atom",
|
41
|
-
"spec/conformance/nondefaultnamespace.atom",
|
42
|
-
"spec/conformance/ordertest.xml",
|
43
|
-
"spec/conformance/title/html-cdata.atom",
|
44
|
-
"spec/conformance/title/html-entity.atom",
|
45
|
-
"spec/conformance/title/html-ncr.atom",
|
46
|
-
"spec/conformance/title/text-cdata.atom",
|
47
|
-
"spec/conformance/title/text-entity.atom",
|
48
|
-
"spec/conformance/title/text-ncr.atom",
|
49
|
-
"spec/conformance/title/xhtml-entity.atom",
|
50
|
-
"spec/conformance/title/xhtml-ncr.atom",
|
51
|
-
"spec/conformance/unknown-namespace.atom",
|
52
|
-
"spec/conformance/xmlbase.atom",
|
53
|
-
"spec/fixtures/complex_single_entry.atom",
|
54
|
-
"spec/fixtures/created_entry.atom",
|
55
|
-
"spec/fixtures/entry.atom",
|
56
|
-
"spec/fixtures/entry_with_custom_extensions.atom",
|
57
|
-
"spec/fixtures/entry_with_simple_extensions.atom",
|
58
|
-
"spec/fixtures/entry_with_single_custom_extension.atom",
|
59
|
-
"spec/fixtures/external_content_single_entry.atom",
|
60
|
-
"spec/fixtures/multiple_entry.atom",
|
61
|
-
"spec/fixtures/simple_single_entry.atom",
|
62
|
-
"spec/fixtures/with_stylesheet.atom",
|
63
|
-
"spec/paging/first_paged_feed.atom",
|
64
|
-
"spec/paging/last_paged_feed.atom",
|
65
|
-
"spec/paging/middle_paged_feed.atom",
|
66
|
-
"spec/property.rb",
|
67
|
-
"spec/spec.opts",
|
68
|
-
"spec/spec_helper.rb"
|
69
|
-
]
|
70
|
-
s.homepage = %q{http://github.com/seangeo/ratom}
|
19
|
+
s.files = `git ls-files`.split($\)
|
20
|
+
s.executables = s.files.grep(%r{^bin/}).map{ |f| File.basename(f) }
|
21
|
+
s.test_files = s.files.grep(%r{^(test|spec|features)/})
|
22
|
+
s.homepage = "http://github.com/seangeo/ratom"
|
71
23
|
s.require_paths = ["lib"]
|
72
|
-
s.
|
73
|
-
s.rubygems_version = %q{1.3.6}
|
74
|
-
s.summary = %q{Atom Syndication and Publication API}
|
75
|
-
s.test_files = [
|
76
|
-
"spec/atom/pub_spec.rb",
|
77
|
-
"spec/atom_spec.rb",
|
78
|
-
"spec/property.rb",
|
79
|
-
"spec/spec_helper.rb"
|
80
|
-
]
|
24
|
+
s.summary = "Atom Syndication and Publication API"
|
81
25
|
|
82
26
|
if s.respond_to? :specification_version then
|
83
|
-
current_version = Gem::Specification::CURRENT_SPECIFICATION_VERSION
|
84
27
|
s.specification_version = 3
|
85
28
|
|
86
|
-
if Gem::Version.new(Gem::
|
87
|
-
s.
|
88
|
-
s.
|
29
|
+
if Gem::Version.new(Gem::VERSION) >= Gem::Version.new('1.2.0') then
|
30
|
+
s.add_runtime_dependency(%q<libxml-ruby>, ["~> 2.3.2"])
|
31
|
+
s.add_development_dependency(%q<bundler>, ["~> 1.1.0"])
|
32
|
+
s.add_development_dependency(%q<rspec>, ["~> 2.10.0"])
|
33
|
+
s.add_development_dependency(%q<rake>, ["~> 0.9.2"])
|
89
34
|
else
|
90
|
-
s.add_dependency(%q<
|
91
|
-
s.add_dependency(%q<
|
35
|
+
s.add_dependency(%q<libxml-ruby>, ["~> 2.3.2"])
|
36
|
+
s.add_dependency(%q<bundler>, ["~> 1.1.0"])
|
37
|
+
s.add_dependency(%q<rspec>, ["~> 2.10.0"])
|
38
|
+
s.add_dependency(%q<rake>, ["~> 0.9.2"])
|
92
39
|
end
|
93
40
|
else
|
94
|
-
s.add_dependency(%q<
|
95
|
-
s.add_dependency(%q<
|
41
|
+
s.add_dependency(%q<libxml-ruby>, ["~> 2.3.2"])
|
42
|
+
s.add_dependency(%q<bundler>, ["~> 1.1.0"])
|
43
|
+
s.add_dependency(%q<rspec>, ["~> 2.10.0"])
|
44
|
+
s.add_dependency(%q<rake>, ["~> 0.9.2"])
|
96
45
|
end
|
97
46
|
end
|
98
47
|
|
data/spec/atom/pub_spec.rb
CHANGED
@@ -5,7 +5,7 @@
|
|
5
5
|
# Please visit http://www.peerworks.org/contact for further information.
|
6
6
|
#
|
7
7
|
|
8
|
-
require
|
8
|
+
require 'spec_helper'
|
9
9
|
require 'atom'
|
10
10
|
require 'atom/pub'
|
11
11
|
require 'atom/version'
|
@@ -238,7 +238,7 @@ describe Atom::Pub do
|
|
238
238
|
@collection = Atom::Pub::Collection.new(:href => 'http://example.org/blog')
|
239
239
|
@request_headers = {'Accept' => 'application/atom+xml',
|
240
240
|
'Content-Type' => 'application/atom+xml;type=entry',
|
241
|
-
'User-Agent' => "rAtom #{Atom::VERSION
|
241
|
+
'User-Agent' => "rAtom #{Atom::VERSION}"
|
242
242
|
}
|
243
243
|
end
|
244
244
|
|
@@ -380,7 +380,7 @@ describe Atom::Pub do
|
|
380
380
|
before(:each) do
|
381
381
|
@request_headers = {'Accept' => 'application/atom+xml',
|
382
382
|
'Content-Type' => 'application/atom+xml;type=entry',
|
383
|
-
'User-Agent' => "rAtom #{Atom::VERSION
|
383
|
+
'User-Agent' => "rAtom #{Atom::VERSION}"
|
384
384
|
}
|
385
385
|
end
|
386
386
|
|
data/spec/atom_spec.rb
CHANGED
@@ -5,10 +5,10 @@
|
|
5
5
|
# Please visit http://www.peerworks.org/contact for further information.
|
6
6
|
#
|
7
7
|
|
8
|
-
require
|
8
|
+
require 'spec_helper'
|
9
9
|
require 'net/http'
|
10
10
|
require 'time'
|
11
|
-
require '
|
11
|
+
require 'property'
|
12
12
|
|
13
13
|
shared_examples_for 'simple_single_entry.atom attributes' do
|
14
14
|
it "should parse title" do
|
data/spec/spec_helper.rb
CHANGED
@@ -4,18 +4,11 @@
|
|
4
4
|
#
|
5
5
|
# Please visit http://www.peerworks.org/contact for further information.
|
6
6
|
#
|
7
|
-
begin
|
8
|
-
require 'spec'
|
9
|
-
rescue LoadError
|
10
|
-
require 'rubygems'
|
11
|
-
gem 'rspec'
|
12
|
-
require 'spec'
|
13
|
-
end
|
14
7
|
|
15
8
|
$:.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
|
16
9
|
require 'atom'
|
17
10
|
|
18
|
-
|
11
|
+
RSpec.configure do |config|
|
19
12
|
|
20
13
|
def mock_response(klass, body, headers = {})
|
21
14
|
response = klass.new(nil, nil, nil)
|
@@ -39,6 +32,7 @@ Spec::Runner.configure do |config|
|
|
39
32
|
http = mock('http')
|
40
33
|
http.should_receive(:request).with(req).and_return(response)
|
41
34
|
http.stub!(:use_ssl=)
|
35
|
+
http.stub!(:ca_path=)
|
42
36
|
http.stub!(:verify_mode=)
|
43
37
|
http.stub!(:verify_depth=)
|
44
38
|
Net::HTTP.should_receive(:new).with(url.host, url.port).and_return(http)
|
metadata
CHANGED
@@ -1,59 +1,72 @@
|
|
1
|
-
--- !ruby/object:Gem::Specification
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
2
|
name: ratom
|
3
|
-
version: !ruby/object:Gem::Version
|
4
|
-
|
5
|
-
|
6
|
-
- 0
|
7
|
-
- 6
|
8
|
-
- 10
|
9
|
-
version: 0.6.10
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.7.0
|
5
|
+
prerelease:
|
10
6
|
platform: ruby
|
11
|
-
authors:
|
7
|
+
authors:
|
12
8
|
- Peerworks
|
13
9
|
- Sean Geoghegan
|
14
10
|
autorequire:
|
15
11
|
bindir: bin
|
16
12
|
cert_chain: []
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
13
|
+
date: 2012-05-11 00:00:00.000000000 Z
|
14
|
+
dependencies:
|
15
|
+
- !ruby/object:Gem::Dependency
|
16
|
+
name: libxml-ruby
|
17
|
+
requirement: &70333618774100 !ruby/object:Gem::Requirement
|
18
|
+
none: false
|
19
|
+
requirements:
|
20
|
+
- - ~>
|
21
|
+
- !ruby/object:Gem::Version
|
22
|
+
version: 2.3.2
|
23
|
+
type: :runtime
|
24
|
+
prerelease: false
|
25
|
+
version_requirements: *70333618774100
|
26
|
+
- !ruby/object:Gem::Dependency
|
27
|
+
name: bundler
|
28
|
+
requirement: &70333618773580 !ruby/object:Gem::Requirement
|
29
|
+
none: false
|
30
|
+
requirements:
|
31
|
+
- - ~>
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: 1.1.0
|
34
|
+
type: :development
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: *70333618773580
|
37
|
+
- !ruby/object:Gem::Dependency
|
22
38
|
name: rspec
|
39
|
+
requirement: &70333618773000 !ruby/object:Gem::Requirement
|
40
|
+
none: false
|
41
|
+
requirements:
|
42
|
+
- - ~>
|
43
|
+
- !ruby/object:Gem::Version
|
44
|
+
version: 2.10.0
|
45
|
+
type: :development
|
23
46
|
prerelease: false
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
47
|
+
version_requirements: *70333618773000
|
48
|
+
- !ruby/object:Gem::Dependency
|
49
|
+
name: rake
|
50
|
+
requirement: &70333618772520 !ruby/object:Gem::Requirement
|
51
|
+
none: false
|
52
|
+
requirements:
|
53
|
+
- - ~>
|
54
|
+
- !ruby/object:Gem::Version
|
55
|
+
version: 0.9.2
|
31
56
|
type: :development
|
32
|
-
version_requirements: *id001
|
33
|
-
- !ruby/object:Gem::Dependency
|
34
|
-
name: libxml-ruby
|
35
57
|
prerelease: false
|
36
|
-
|
37
|
-
requirements:
|
38
|
-
- - ">="
|
39
|
-
- !ruby/object:Gem::Version
|
40
|
-
segments:
|
41
|
-
- 1
|
42
|
-
- 1
|
43
|
-
- 2
|
44
|
-
version: 1.1.2
|
45
|
-
type: :runtime
|
46
|
-
version_requirements: *id002
|
58
|
+
version_requirements: *70333618772520
|
47
59
|
description: A fast Atom Syndication and Publication API based on libxml
|
48
60
|
email: seangeo@gmail.com
|
49
61
|
executables: []
|
50
|
-
|
51
62
|
extensions: []
|
52
|
-
|
53
|
-
extra_rdoc_files:
|
63
|
+
extra_rdoc_files:
|
54
64
|
- LICENSE
|
55
65
|
- README.rdoc
|
56
|
-
files:
|
66
|
+
files:
|
67
|
+
- .gitignore
|
68
|
+
- .travis.yml
|
69
|
+
- Gemfile
|
57
70
|
- History.txt
|
58
71
|
- LICENSE
|
59
72
|
- README.rdoc
|
@@ -103,38 +116,72 @@ files:
|
|
103
116
|
- spec/property.rb
|
104
117
|
- spec/spec.opts
|
105
118
|
- spec/spec_helper.rb
|
106
|
-
has_rdoc: true
|
107
119
|
homepage: http://github.com/seangeo/ratom
|
108
120
|
licenses: []
|
109
|
-
|
110
121
|
post_install_message:
|
111
122
|
rdoc_options: []
|
112
|
-
|
113
|
-
require_paths:
|
123
|
+
require_paths:
|
114
124
|
- lib
|
115
|
-
required_ruby_version: !ruby/object:Gem::Requirement
|
116
|
-
|
117
|
-
|
118
|
-
|
119
|
-
|
125
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
126
|
+
none: false
|
127
|
+
requirements:
|
128
|
+
- - ! '>='
|
129
|
+
- !ruby/object:Gem::Version
|
130
|
+
version: '0'
|
131
|
+
segments:
|
120
132
|
- 0
|
121
|
-
|
122
|
-
required_rubygems_version: !ruby/object:Gem::Requirement
|
123
|
-
|
124
|
-
|
125
|
-
|
126
|
-
|
133
|
+
hash: -371406572056392839
|
134
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
135
|
+
none: false
|
136
|
+
requirements:
|
137
|
+
- - ! '>='
|
138
|
+
- !ruby/object:Gem::Version
|
139
|
+
version: '0'
|
140
|
+
segments:
|
127
141
|
- 0
|
128
|
-
|
142
|
+
hash: -371406572056392839
|
129
143
|
requirements: []
|
130
|
-
|
131
|
-
|
132
|
-
rubygems_version: 1.3.6
|
144
|
+
rubyforge_project:
|
145
|
+
rubygems_version: 1.8.10
|
133
146
|
signing_key:
|
134
147
|
specification_version: 3
|
135
148
|
summary: Atom Syndication and Publication API
|
136
|
-
test_files:
|
149
|
+
test_files:
|
150
|
+
- spec/app/member_entry.atom
|
151
|
+
- spec/app/service.xml
|
152
|
+
- spec/app/service_xml_base.xml
|
137
153
|
- spec/atom/pub_spec.rb
|
138
154
|
- spec/atom_spec.rb
|
155
|
+
- spec/conformance/baseuri.atom
|
156
|
+
- spec/conformance/divtest.atom
|
157
|
+
- spec/conformance/linktests.xml
|
158
|
+
- spec/conformance/nondefaultnamespace-baseline.atom
|
159
|
+
- spec/conformance/nondefaultnamespace-xhtml.atom
|
160
|
+
- spec/conformance/nondefaultnamespace.atom
|
161
|
+
- spec/conformance/ordertest.xml
|
162
|
+
- spec/conformance/title/html-cdata.atom
|
163
|
+
- spec/conformance/title/html-entity.atom
|
164
|
+
- spec/conformance/title/html-ncr.atom
|
165
|
+
- spec/conformance/title/text-cdata.atom
|
166
|
+
- spec/conformance/title/text-entity.atom
|
167
|
+
- spec/conformance/title/text-ncr.atom
|
168
|
+
- spec/conformance/title/xhtml-entity.atom
|
169
|
+
- spec/conformance/title/xhtml-ncr.atom
|
170
|
+
- spec/conformance/unknown-namespace.atom
|
171
|
+
- spec/conformance/xmlbase.atom
|
172
|
+
- spec/fixtures/complex_single_entry.atom
|
173
|
+
- spec/fixtures/created_entry.atom
|
174
|
+
- spec/fixtures/entry.atom
|
175
|
+
- spec/fixtures/entry_with_custom_extensions.atom
|
176
|
+
- spec/fixtures/entry_with_simple_extensions.atom
|
177
|
+
- spec/fixtures/entry_with_single_custom_extension.atom
|
178
|
+
- spec/fixtures/external_content_single_entry.atom
|
179
|
+
- spec/fixtures/multiple_entry.atom
|
180
|
+
- spec/fixtures/simple_single_entry.atom
|
181
|
+
- spec/fixtures/with_stylesheet.atom
|
182
|
+
- spec/paging/first_paged_feed.atom
|
183
|
+
- spec/paging/last_paged_feed.atom
|
184
|
+
- spec/paging/middle_paged_feed.atom
|
139
185
|
- spec/property.rb
|
186
|
+
- spec/spec.opts
|
140
187
|
- spec/spec_helper.rb
|