rss2mail 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
- data/README +1 -1
- data/Rakefile +7 -11
- data/lib/rss2mail/feed.rb +1 -1
- data/lib/rss2mail/version.rb +1 -1
- metadata +61 -34
data/README
CHANGED
data/Rakefile
CHANGED
@@ -1,26 +1,22 @@
|
|
1
|
-
require %q{lib/rss2mail/version}
|
1
|
+
require File.expand_path(%q{../lib/rss2mail/version}, __FILE__)
|
2
2
|
|
3
3
|
begin
|
4
4
|
require 'hen'
|
5
5
|
|
6
6
|
Hen.lay! {{
|
7
7
|
:rubyforge => {
|
8
|
-
:project
|
9
|
-
:package => %q{rss2mail},
|
10
|
-
:rdoc_dir => nil
|
8
|
+
:project => %q{rss2mail}
|
11
9
|
},
|
12
10
|
|
13
11
|
:gem => {
|
14
12
|
:version => RSS2Mail::VERSION,
|
15
13
|
:summary => %q{Send RSS feeds as e-mail},
|
16
|
-
:
|
17
|
-
:
|
18
|
-
:extra_files => FileList['
|
14
|
+
:author => %q{Jens Wille},
|
15
|
+
:email => %q{ww@blackwinter.de},
|
16
|
+
:extra_files => FileList['templates/*'].to_a,
|
19
17
|
:dependencies => %w[simple-rss hpricot unidecode ruby-nuggets]
|
20
18
|
}
|
21
19
|
}}
|
22
|
-
rescue LoadError
|
23
|
-
|
20
|
+
rescue LoadError => err
|
21
|
+
warn "Please install the `hen' gem. (#{err})"
|
24
22
|
end
|
25
|
-
|
26
|
-
### Place your custom Rake tasks here.
|
data/lib/rss2mail/feed.rb
CHANGED
@@ -168,7 +168,7 @@ module RSS2Mail
|
|
168
168
|
log feed.values_at(:etag, :mtime, :updated).inspect, debug
|
169
169
|
rescue OpenURI::HTTPError
|
170
170
|
log 'Feed not found or unchanged'
|
171
|
-
rescue
|
171
|
+
rescue Exception => err
|
172
172
|
error err, 'while getting feed'
|
173
173
|
end
|
174
174
|
|
data/lib/rss2mail/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rss2mail
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
|
4
|
+
hash: 19
|
5
|
+
prerelease:
|
6
|
+
segments:
|
7
|
+
- 0
|
8
|
+
- 0
|
9
|
+
- 6
|
10
|
+
version: 0.0.6
|
5
11
|
platform: ruby
|
6
12
|
authors:
|
7
13
|
- Jens Wille
|
@@ -9,72 +15,88 @@ autorequire:
|
|
9
15
|
bindir: bin
|
10
16
|
cert_chain: []
|
11
17
|
|
12
|
-
date:
|
18
|
+
date: 2011-02-15 00:00:00 +01:00
|
13
19
|
default_executable:
|
14
20
|
dependencies:
|
15
21
|
- !ruby/object:Gem::Dependency
|
16
22
|
name: simple-rss
|
17
|
-
|
18
|
-
|
19
|
-
|
23
|
+
prerelease: false
|
24
|
+
requirement: &id001 !ruby/object:Gem::Requirement
|
25
|
+
none: false
|
20
26
|
requirements:
|
21
27
|
- - ">="
|
22
28
|
- !ruby/object:Gem::Version
|
29
|
+
hash: 3
|
30
|
+
segments:
|
31
|
+
- 0
|
23
32
|
version: "0"
|
24
|
-
|
33
|
+
type: :runtime
|
34
|
+
version_requirements: *id001
|
25
35
|
- !ruby/object:Gem::Dependency
|
26
36
|
name: hpricot
|
27
|
-
|
28
|
-
|
29
|
-
|
37
|
+
prerelease: false
|
38
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
39
|
+
none: false
|
30
40
|
requirements:
|
31
41
|
- - ">="
|
32
42
|
- !ruby/object:Gem::Version
|
43
|
+
hash: 3
|
44
|
+
segments:
|
45
|
+
- 0
|
33
46
|
version: "0"
|
34
|
-
|
47
|
+
type: :runtime
|
48
|
+
version_requirements: *id002
|
35
49
|
- !ruby/object:Gem::Dependency
|
36
50
|
name: unidecode
|
37
|
-
|
38
|
-
|
39
|
-
|
51
|
+
prerelease: false
|
52
|
+
requirement: &id003 !ruby/object:Gem::Requirement
|
53
|
+
none: false
|
40
54
|
requirements:
|
41
55
|
- - ">="
|
42
56
|
- !ruby/object:Gem::Version
|
57
|
+
hash: 3
|
58
|
+
segments:
|
59
|
+
- 0
|
43
60
|
version: "0"
|
44
|
-
|
61
|
+
type: :runtime
|
62
|
+
version_requirements: *id003
|
45
63
|
- !ruby/object:Gem::Dependency
|
46
64
|
name: ruby-nuggets
|
47
|
-
|
48
|
-
|
49
|
-
|
65
|
+
prerelease: false
|
66
|
+
requirement: &id004 !ruby/object:Gem::Requirement
|
67
|
+
none: false
|
50
68
|
requirements:
|
51
69
|
- - ">="
|
52
70
|
- !ruby/object:Gem::Version
|
71
|
+
hash: 3
|
72
|
+
segments:
|
73
|
+
- 0
|
53
74
|
version: "0"
|
54
|
-
|
75
|
+
type: :runtime
|
76
|
+
version_requirements: *id004
|
55
77
|
description: Send RSS feeds as e-mail
|
56
|
-
email:
|
78
|
+
email: ww@blackwinter.de
|
57
79
|
executables:
|
58
80
|
- rss2mail
|
59
81
|
extensions: []
|
60
82
|
|
61
83
|
extra_rdoc_files:
|
84
|
+
- README
|
62
85
|
- COPYING
|
63
86
|
- ChangeLog
|
64
|
-
- README
|
65
87
|
files:
|
66
|
-
- lib/rss2mail
|
67
|
-
- lib/rss2mail/version.rb
|
88
|
+
- lib/rss2mail.rb
|
68
89
|
- lib/rss2mail/util.rb
|
69
90
|
- lib/rss2mail/feed.rb
|
70
|
-
- lib/rss2mail.rb
|
91
|
+
- lib/rss2mail/version.rb
|
92
|
+
- lib/rss2mail/rss.rb
|
71
93
|
- bin/rss2mail
|
72
|
-
- Rakefile
|
73
|
-
- COPYING
|
74
|
-
- ChangeLog
|
75
|
-
- README
|
76
94
|
- templates/plain.erb
|
77
95
|
- templates/html.erb
|
96
|
+
- README
|
97
|
+
- ChangeLog
|
98
|
+
- Rakefile
|
99
|
+
- COPYING
|
78
100
|
- example/feeds.yaml
|
79
101
|
has_rdoc: true
|
80
102
|
homepage: http://rss2mail.rubyforge.org/
|
@@ -84,31 +106,36 @@ post_install_message:
|
|
84
106
|
rdoc_options:
|
85
107
|
- --main
|
86
108
|
- README
|
87
|
-
- --line-numbers
|
88
|
-
- --title
|
89
|
-
- rss2mail Application documentation
|
90
|
-
- --inline-source
|
91
109
|
- --all
|
92
110
|
- --charset
|
93
111
|
- UTF-8
|
112
|
+
- --title
|
113
|
+
- rss2mail Application documentation (v0.0.6)
|
114
|
+
- --line-numbers
|
94
115
|
require_paths:
|
95
116
|
- lib
|
96
117
|
required_ruby_version: !ruby/object:Gem::Requirement
|
118
|
+
none: false
|
97
119
|
requirements:
|
98
120
|
- - ">="
|
99
121
|
- !ruby/object:Gem::Version
|
122
|
+
hash: 3
|
123
|
+
segments:
|
124
|
+
- 0
|
100
125
|
version: "0"
|
101
|
-
version:
|
102
126
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
127
|
+
none: false
|
103
128
|
requirements:
|
104
129
|
- - ">="
|
105
130
|
- !ruby/object:Gem::Version
|
131
|
+
hash: 3
|
132
|
+
segments:
|
133
|
+
- 0
|
106
134
|
version: "0"
|
107
|
-
version:
|
108
135
|
requirements: []
|
109
136
|
|
110
137
|
rubyforge_project: rss2mail
|
111
|
-
rubygems_version: 1.
|
138
|
+
rubygems_version: 1.5.2
|
112
139
|
signing_key:
|
113
140
|
specification_version: 3
|
114
141
|
summary: Send RSS feeds as e-mail
|