rss2mail 0.0.6 → 0.0.7
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/README +2 -2
- data/lib/rss2mail/feed.rb +4 -2
- data/lib/rss2mail/version.rb +1 -1
- metadata +7 -7
data/README
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
== VERSION
|
|
4
4
|
|
|
5
|
-
This documentation refers to rss2mail version 0.0.
|
|
5
|
+
This documentation refers to rss2mail version 0.0.7
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
== DESCRIPTION
|
|
@@ -26,7 +26,7 @@ Rubyforge project:: <http://rubyforge.org/projects/rss2mail>
|
|
|
26
26
|
|
|
27
27
|
== LICENSE AND COPYRIGHT
|
|
28
28
|
|
|
29
|
-
Copyright (C) 2007-
|
|
29
|
+
Copyright (C) 2007-2011 Jens Wille
|
|
30
30
|
|
|
31
31
|
rss2mail is free software: you can redistribute it and/or modify it under
|
|
32
32
|
the terms of the GNU General Public License as published by the Free Software
|
data/lib/rss2mail/feed.rb
CHANGED
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
# #
|
|
4
4
|
# A component of rss2mail, the RSS to e-mail forwarder. #
|
|
5
5
|
# #
|
|
6
|
-
# Copyright (C) 2007-
|
|
6
|
+
# Copyright (C) 2007-2011 Jens Wille #
|
|
7
7
|
# #
|
|
8
8
|
# Authors: #
|
|
9
9
|
# Jens Wille <ww@blackwinter.de> #
|
|
@@ -154,7 +154,7 @@ module RSS2Mail
|
|
|
154
154
|
feed[:etag] = etag
|
|
155
155
|
end
|
|
156
156
|
|
|
157
|
-
if mtime = uri.last_modified
|
|
157
|
+
if mtime = begin; uri.last_modified; rescue ArgumentError; end
|
|
158
158
|
feed[:mtime] = mtime.rfc822
|
|
159
159
|
end
|
|
160
160
|
|
|
@@ -221,6 +221,8 @@ module RSS2Mail
|
|
|
221
221
|
msg << ": #{err} (#{err.class})" if err
|
|
222
222
|
msg << " [#{extra}]" if extra
|
|
223
223
|
|
|
224
|
+
msg = [msg, *err.backtrace].join("\n ") if debug
|
|
225
|
+
|
|
224
226
|
log msg, true
|
|
225
227
|
end
|
|
226
228
|
|
data/lib/rss2mail/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: rss2mail
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
hash:
|
|
4
|
+
hash: 17
|
|
5
5
|
prerelease:
|
|
6
6
|
segments:
|
|
7
7
|
- 0
|
|
8
8
|
- 0
|
|
9
|
-
-
|
|
10
|
-
version: 0.0.
|
|
9
|
+
- 7
|
|
10
|
+
version: 0.0.7
|
|
11
11
|
platform: ruby
|
|
12
12
|
authors:
|
|
13
13
|
- Jens Wille
|
|
@@ -15,7 +15,7 @@ autorequire:
|
|
|
15
15
|
bindir: bin
|
|
16
16
|
cert_chain: []
|
|
17
17
|
|
|
18
|
-
date: 2011-
|
|
18
|
+
date: 2011-03-28 00:00:00 +02:00
|
|
19
19
|
default_executable:
|
|
20
20
|
dependencies:
|
|
21
21
|
- !ruby/object:Gem::Dependency
|
|
@@ -104,14 +104,14 @@ licenses: []
|
|
|
104
104
|
|
|
105
105
|
post_install_message:
|
|
106
106
|
rdoc_options:
|
|
107
|
+
- --line-numbers
|
|
107
108
|
- --main
|
|
108
109
|
- README
|
|
109
110
|
- --all
|
|
110
111
|
- --charset
|
|
111
112
|
- UTF-8
|
|
112
113
|
- --title
|
|
113
|
-
- rss2mail Application documentation (v0.0.
|
|
114
|
-
- --line-numbers
|
|
114
|
+
- rss2mail Application documentation (v0.0.7)
|
|
115
115
|
require_paths:
|
|
116
116
|
- lib
|
|
117
117
|
required_ruby_version: !ruby/object:Gem::Requirement
|
|
@@ -135,7 +135,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
135
135
|
requirements: []
|
|
136
136
|
|
|
137
137
|
rubyforge_project: rss2mail
|
|
138
|
-
rubygems_version: 1.
|
|
138
|
+
rubygems_version: 1.6.2
|
|
139
139
|
signing_key:
|
|
140
140
|
specification_version: 3
|
|
141
141
|
summary: Send RSS feeds as e-mail
|