mofo 0.2.15 → 0.2.16
Sign up to get free protection for your applications and to get access to all the features.
- data/Rakefile +1 -1
- data/lib/mofo/hentry.rb +1 -1
- data/test/hatom_test.rb +1 -1
- metadata +2 -2
data/Rakefile
CHANGED
data/lib/mofo/hentry.rb
CHANGED
@@ -81,7 +81,7 @@ class Array
|
|
81
81
|
<<-end_atom
|
82
82
|
<?xml version="1.0" encoding="UTF-8"?>
|
83
83
|
<feed xml:lang="en-US" xmlns="http://www.w3.org/2005/Atom">
|
84
|
-
|
84
|
+
<id>#{first.base_url}</id>
|
85
85
|
<link type="text/html" href="#{first.base_url}" rel="alternate"/>
|
86
86
|
<title>#{options[:title]}</title>
|
87
87
|
<updated>#{(first.updated || first.published).try(:xmlschema)}</updated>
|
data/test/hatom_test.rb
CHANGED
@@ -89,7 +89,7 @@ context "An hFeed" do
|
|
89
89
|
to_atom = $hentries.to_atom(:title => 'Err the Blog')
|
90
90
|
expected = <<-end_atom
|
91
91
|
<entry>
|
92
|
-
<id>
|
92
|
+
<id>http://errtheblog.com/posts/rss</id>
|
93
93
|
<link type="text/html" href="http://errtheblog.com/post/13" rel="alternate"/>
|
94
94
|
<title>Err the Blog</title>
|
95
95
|
<content type="html">
|
metadata
CHANGED
@@ -3,8 +3,8 @@ rubygems_version: 0.9.4
|
|
3
3
|
specification_version: 1
|
4
4
|
name: mofo
|
5
5
|
version: !ruby/object:Gem::Version
|
6
|
-
version: 0.2.
|
7
|
-
date: 2008-
|
6
|
+
version: 0.2.16
|
7
|
+
date: 2008-02-10 00:00:00 -08:00
|
8
8
|
summary: mofo is a ruby microformat parser
|
9
9
|
require_paths:
|
10
10
|
- lib
|