feed_torrents 0.2.1 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/feed_torrents/feed/list.rb +5 -2
- data/lib/feed_torrents/mail.rb +1 -0
- data/lib/feed_torrents/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7411b8200b438e66ce95e1d0bb3f81cbb8211291
|
4
|
+
data.tar.gz: ebb42046d0894cb26a3291e694c8f7f88ae32029
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 02cd8bd0cfd7b036da3b0358ee25e9e786717946e006b4122f2f34989d4e2b556ce77df8218978525e81b9ea5746fc711628f964d2b3812bec594230e1ded2e5
|
7
|
+
data.tar.gz: 750f23570668cc1a2fc32e20a2041df4b1cef33da74633147323d7a24568b5d622d208cbfcb82e053fc1a2679aa07fb9881a7db8b27bca7d865cafd22486dbfa
|
@@ -58,9 +58,12 @@ module FeedTorrents
|
|
58
58
|
|
59
59
|
rss.items.each do |item|
|
60
60
|
link = CGI.unescapeHTML(item.link)
|
61
|
+
title = CGI.unescapeHTML(item.title)
|
62
|
+
title = title.force_encoding('UTF-8')
|
61
63
|
|
62
|
-
|
63
|
-
|
64
|
+
|
65
|
+
if matches_filter?(title)
|
66
|
+
process(title, link) if FeedTorrents.configuration.filter_testing? || !already_processed?(link)
|
64
67
|
end
|
65
68
|
end
|
66
69
|
rescue Exception => e
|
data/lib/feed_torrents/mail.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: feed_torrents
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Tom van Leeuwen
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-02-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: eventmachine
|