ratom 0.7.0 → 0.7.1

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,7 @@
1
+ == 0.7.1
2
+
3
+ * 1.8.7 Compat fix [doximity]
4
+
1
5
  == 0.7.0
2
6
 
3
7
  * Atom::VERSION is now a string.
@@ -32,6 +32,10 @@ will need to install a more recent version. If you are using Macports:
32
32
 
33
33
  port install libxml2
34
34
 
35
+ Alternatively, using Homebrew:
36
+
37
+ brew install libxml2
38
+
35
39
  == Installation
36
40
 
37
41
  You can install via gem using:
@@ -42,6 +46,8 @@ You can install via gem using:
42
46
 
43
47
  To fetch a parse an Atom Feed you can simply:
44
48
 
49
+ require 'atom'
50
+
45
51
  feed = Atom::Feed.load_feed(URI.parse("http://example.com/feed.atom"))
46
52
 
47
53
  And then iterate over the entries in the feed using:
@@ -1,4 +1,3 @@
1
- require 'yaml'
2
1
  module Atom
3
- VERSION = "0.7.0"
2
+ VERSION = "0.7.1"
4
3
  end
@@ -10,7 +10,7 @@ require 'time'
10
10
  RootCA = '/etc/ssl/certs'
11
11
 
12
12
  # Just a couple methods form transforming strings
13
- unless String.instance_methods.include?(:singularize)
13
+ unless "".respond_to?(:singularize)
14
14
  class String # :nodoc:
15
15
  def singularize
16
16
  if self =~ /ies$/
@@ -22,7 +22,7 @@ unless String.instance_methods.include?(:singularize)
22
22
  end
23
23
  end
24
24
 
25
- unless String.instance_methods.include?(:demodulize)
25
+ unless "".respond_to?(:demodulize)
26
26
  class String # :nodoc:
27
27
  def demodulize
28
28
  self.sub(/.*::/, '')
@@ -30,7 +30,7 @@ unless String.instance_methods.include?(:demodulize)
30
30
  end
31
31
  end
32
32
 
33
- unless String.instance_methods.include?(:constantize)
33
+ unless "".respond_to?(:constantize)
34
34
  class String # :nodoc:
35
35
  def constantize
36
36
  Object.module_eval("::#{self}", __FILE__, __LINE__)
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.7.0
4
+ version: 0.7.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -14,7 +14,7 @@ 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: &70333618774100 !ruby/object:Gem::Requirement
17
+ requirement: &70109177429600 !ruby/object:Gem::Requirement
18
18
  none: false
19
19
  requirements:
20
20
  - - ~>
@@ -22,10 +22,10 @@ dependencies:
22
22
  version: 2.3.2
23
23
  type: :runtime
24
24
  prerelease: false
25
- version_requirements: *70333618774100
25
+ version_requirements: *70109177429600
26
26
  - !ruby/object:Gem::Dependency
27
27
  name: bundler
28
- requirement: &70333618773580 !ruby/object:Gem::Requirement
28
+ requirement: &70109177428920 !ruby/object:Gem::Requirement
29
29
  none: false
30
30
  requirements:
31
31
  - - ~>
@@ -33,10 +33,10 @@ dependencies:
33
33
  version: 1.1.0
34
34
  type: :development
35
35
  prerelease: false
36
- version_requirements: *70333618773580
36
+ version_requirements: *70109177428920
37
37
  - !ruby/object:Gem::Dependency
38
38
  name: rspec
39
- requirement: &70333618773000 !ruby/object:Gem::Requirement
39
+ requirement: &70109177428380 !ruby/object:Gem::Requirement
40
40
  none: false
41
41
  requirements:
42
42
  - - ~>
@@ -44,10 +44,10 @@ dependencies:
44
44
  version: 2.10.0
45
45
  type: :development
46
46
  prerelease: false
47
- version_requirements: *70333618773000
47
+ version_requirements: *70109177428380
48
48
  - !ruby/object:Gem::Dependency
49
49
  name: rake
50
- requirement: &70333618772520 !ruby/object:Gem::Requirement
50
+ requirement: &70109177427900 !ruby/object:Gem::Requirement
51
51
  none: false
52
52
  requirements:
53
53
  - - ~>
@@ -55,7 +55,7 @@ dependencies:
55
55
  version: 0.9.2
56
56
  type: :development
57
57
  prerelease: false
58
- version_requirements: *70333618772520
58
+ version_requirements: *70109177427900
59
59
  description: A fast Atom Syndication and Publication API based on libxml
60
60
  email: seangeo@gmail.com
61
61
  executables: []
@@ -71,7 +71,6 @@ files:
71
71
  - LICENSE
72
72
  - README.rdoc
73
73
  - Rakefile
74
- - VERSION.yml
75
74
  - lib/atom.rb
76
75
  - lib/atom/configuration.rb
77
76
  - lib/atom/pub.rb
@@ -130,7 +129,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
130
129
  version: '0'
131
130
  segments:
132
131
  - 0
133
- hash: -371406572056392839
132
+ hash: -653931537989245690
134
133
  required_rubygems_version: !ruby/object:Gem::Requirement
135
134
  none: false
136
135
  requirements:
@@ -139,7 +138,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
139
138
  version: '0'
140
139
  segments:
141
140
  - 0
142
- hash: -371406572056392839
141
+ hash: -653931537989245690
143
142
  requirements: []
144
143
  rubyforge_project:
145
144
  rubygems_version: 1.8.10
@@ -1,5 +0,0 @@
1
- ---
2
- :patch: 10
3
- :build:
4
- :major: 0
5
- :minor: 6