rss2mail 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README +1 -1
- data/Rakefile +2 -1
- data/lib/rss2mail/rss.rb +2 -1
- data/lib/rss2mail/version.rb +1 -1
- metadata +10 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 5b26d41eda9e3e48aa7e05eed4da2c46c0c76359
|
4
|
+
data.tar.gz: 6ea4e40523e992f18610321274e489ee29385057
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 283d032a7319f57eeb98b6c054950cc6b19f31a0ed491fd68ff5c3ef3c3c08c6dc21546f9f176a7f5c3d2726ade85d1a26d2039867d667ac24b5c0b6880f8386
|
7
|
+
data.tar.gz: 2847513a86719e8a9a9abc3c844b1a3e0d5e69c8c6cce3abf50fb1beaca31818b250cadb06cc8070177404c91905d6e0fbf10f5348c1c8d9f2a8d95de76bc035
|
data/README
CHANGED
data/Rakefile
CHANGED
@@ -10,9 +10,10 @@ begin
|
|
10
10
|
:summary => %q{Send RSS feeds as e-mail},
|
11
11
|
:author => %q{Jens Wille},
|
12
12
|
:email => %q{jens.wille@gmail.com},
|
13
|
+
:license => %q{AGPL},
|
13
14
|
:homepage => :blackwinter,
|
14
15
|
:extra_files => FileList['templates/*'].to_a,
|
15
|
-
:dependencies => %w[nokogiri
|
16
|
+
:dependencies => %w[nokogiri ruby-nuggets simple-rss sinatra blackwinter-unidecoder]
|
16
17
|
}
|
17
18
|
}}
|
18
19
|
rescue LoadError => err
|
data/lib/rss2mail/rss.rb
CHANGED
@@ -28,7 +28,7 @@
|
|
28
28
|
|
29
29
|
require 'rss'
|
30
30
|
require 'nokogiri'
|
31
|
-
require '
|
31
|
+
require 'unidecoder'
|
32
32
|
require 'simple-rss'
|
33
33
|
require 'nuggets/i18n'
|
34
34
|
|
@@ -182,6 +182,7 @@ module RSS2Mail
|
|
182
182
|
|
183
183
|
body.encode!(encoding) if encoding
|
184
184
|
body
|
185
|
+
rescue OpenURI::HTTPError
|
185
186
|
end
|
186
187
|
|
187
188
|
def extract_body(expr, attribute = nil)
|
data/lib/rss2mail/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rss2mail
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jens Wille
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-
|
11
|
+
date: 2013-08-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: nokogiri
|
@@ -25,7 +25,7 @@ dependencies:
|
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
|
-
name:
|
28
|
+
name: ruby-nuggets
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
30
30
|
requirements:
|
31
31
|
- - '>='
|
@@ -39,7 +39,7 @@ dependencies:
|
|
39
39
|
- !ruby/object:Gem::Version
|
40
40
|
version: '0'
|
41
41
|
- !ruby/object:Gem::Dependency
|
42
|
-
name:
|
42
|
+
name: simple-rss
|
43
43
|
requirement: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
45
|
- - '>='
|
@@ -53,7 +53,7 @@ dependencies:
|
|
53
53
|
- !ruby/object:Gem::Version
|
54
54
|
version: '0'
|
55
55
|
- !ruby/object:Gem::Dependency
|
56
|
-
name:
|
56
|
+
name: sinatra
|
57
57
|
requirement: !ruby/object:Gem::Requirement
|
58
58
|
requirements:
|
59
59
|
- - '>='
|
@@ -67,7 +67,7 @@ dependencies:
|
|
67
67
|
- !ruby/object:Gem::Version
|
68
68
|
version: '0'
|
69
69
|
- !ruby/object:Gem::Dependency
|
70
|
-
name:
|
70
|
+
name: blackwinter-unidecoder
|
71
71
|
requirement: !ruby/object:Gem::Requirement
|
72
72
|
requirements:
|
73
73
|
- - '>='
|
@@ -106,7 +106,8 @@ files:
|
|
106
106
|
- example/config.ru
|
107
107
|
- example/feeds.yaml
|
108
108
|
homepage: http://github.com/blackwinter/rss2mail
|
109
|
-
licenses:
|
109
|
+
licenses:
|
110
|
+
- AGPL
|
110
111
|
metadata: {}
|
111
112
|
post_install_message:
|
112
113
|
rdoc_options:
|
@@ -115,7 +116,7 @@ rdoc_options:
|
|
115
116
|
- --line-numbers
|
116
117
|
- --all
|
117
118
|
- --title
|
118
|
-
- rss2mail Application documentation (v0.2.
|
119
|
+
- rss2mail Application documentation (v0.2.1)
|
119
120
|
- --main
|
120
121
|
- README
|
121
122
|
require_paths:
|
@@ -132,7 +133,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
132
133
|
version: '0'
|
133
134
|
requirements: []
|
134
135
|
rubyforge_project:
|
135
|
-
rubygems_version: 2.0.
|
136
|
+
rubygems_version: 2.0.6
|
136
137
|
signing_key:
|
137
138
|
specification_version: 4
|
138
139
|
summary: Send RSS feeds as e-mail
|