ratom 0.5.1 → 0.5.2

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 CHANGED
@@ -1,3 +1,7 @@
1
+ == 0.5.2 2008-12-06
2
+
3
+ * Remove whitespace modification in content. (dlisboa)
4
+
1
5
  == 0.5.1 2008-08-05
2
6
 
3
7
  * Added optional AuthHMAC support
data/lib/atom/version.rb CHANGED
@@ -8,7 +8,7 @@ module Atom #:nodoc:
8
8
  module VERSION #:nodoc:
9
9
  MAJOR = 0
10
10
  MINOR = 5
11
- TINY = 1
11
+ TINY = 2
12
12
 
13
13
  STRING = [MAJOR, MINOR, TINY].join('.')
14
14
  end
data/lib/atom.rb CHANGED
@@ -207,7 +207,7 @@ module Atom # :nodoc:
207
207
  def initialize(o)
208
208
  case o
209
209
  when XML::Reader
210
- super(o.read_string.gsub(/\s+/, ' ').strip)
210
+ super(o.read_string)
211
211
  parse(o, :once => true)
212
212
  when String
213
213
  super(o)
@@ -1,10 +1,7 @@
1
1
  <?xml version="1.0" encoding="utf-8"?>
2
2
  <feed xmlns="http://www.w3.org/2005/Atom">
3
3
  <title type="text">dive into mark</title>
4
- <subtitle type="html">
5
- A &lt;em&gt;lot&lt;/em&gt; of effort
6
- went into making this effortless
7
- </subtitle>
4
+ <subtitle type="html">A &lt;em&gt;lot&lt;/em&gt; of effort went into making this effortless</subtitle>
8
5
  <updated>2005-07-31T12:29:29Z</updated>
9
6
  <id>tag:example.org,2003:3</id>
10
7
  <link rel="alternate" type="text/html"
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.5.1
4
+ version: 0.5.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Peerworks
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2008-08-11 00:00:00 +09:30
13
+ date: 2008-12-06 00:00:00 +10:30
14
14
  default_executable:
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
@@ -31,7 +31,7 @@ dependencies:
31
31
  requirements:
32
32
  - - ">="
33
33
  - !ruby/object:Gem::Version
34
- version: 1.7.0
34
+ version: 1.8.2
35
35
  version:
36
36
  description: Atom Syndication and Publication API
37
37
  email: sean@peerworks.org
@@ -123,7 +123,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
123
123
  requirements: []
124
124
 
125
125
  rubyforge_project: ratom
126
- rubygems_version: 1.2.0
126
+ rubygems_version: 1.3.1
127
127
  signing_key:
128
128
  specification_version: 2
129
129
  summary: Atom Syndication and Publication API