feed_torrents 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/lib/feed_torrents/feed/download.rb +1 -1
- data/lib/feed_torrents/mail.rb +2 -2
- 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: f6cc9f35b4390852818e8771940c90480a94b261
|
4
|
+
data.tar.gz: 2e60c8bec39bde2b4520ddbbe653fea6b0e948a8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f51383e6cae5add36e681f0d64ac64507ba1259dc698d2e2d70f3d0f97a3d08512b2a7ce262910e98425eb43df7d29ef2c6608de9ea9a372a6607dfeaea23ead
|
7
|
+
data.tar.gz: 9d5cbbff0432f8d5dd32a8c7012bd815fa403f2d411881527ddeffe82a8de365c88d0734555570dca2c5b10fd66a6c2d7a78c1afb1a61c8811771a3de6cd9460
|
data/lib/feed_torrents/mail.rb
CHANGED
@@ -8,10 +8,10 @@ module FeedTorrents
|
|
8
8
|
mail(subject: "#{PREFIX}Test email", body: 'test email')
|
9
9
|
end
|
10
10
|
|
11
|
-
def send_email(subject)
|
11
|
+
def send_email(subject, body)
|
12
12
|
return unless FeedTorrents.configuration.email[:enabled]
|
13
13
|
|
14
|
-
mail(subject: "#{PREFIX}#{subject}", body:
|
14
|
+
mail(subject: "#{PREFIX}#{subject}", body: body)
|
15
15
|
end
|
16
16
|
|
17
17
|
private
|
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.1
|
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-01-
|
11
|
+
date: 2015-01-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: eventmachine
|