transmission-rss 0.1.25 → 0.1.26
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/transmission-rss +13 -6
- data/lib/transmission-rss/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: de5e80915f41e877d053a9f12b6ecb1385d5540b
|
4
|
+
data.tar.gz: 0c10f53b725b7e6b867844b5215bc9457960987c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cd103f696e3699c12eda5b33e4777179e5a0ef3be68b521936db6e010073a1af0db91b42e18b1bf2a556f7286ab6fb24441cdc9c58f63f95572181f8cbd61855
|
7
|
+
data.tar.gz: 2ced9cfeceed1bdea1ed66cb2759d1aa85e3cf73a5b3c97b20fa23e9b6b6f4e0d84f298199ea5d5fb3e3fcfe37c20b32895f2d85fee601f1753065224cdb4a3d
|
data/bin/transmission-rss
CHANGED
@@ -154,19 +154,26 @@ aggregator.on_new_item do |torrent_file, feed|
|
|
154
154
|
client.add_torrent(torrent_file, :url, paused: config.add_paused, download_path: feed.download_path)
|
155
155
|
end
|
156
156
|
|
157
|
-
# Save PID.
|
158
|
-
if config.pid_file
|
159
|
-
log.debug('wrote pid to ' + config.pid_file)
|
160
|
-
File.write(config.pid_file, Process.pid)
|
161
|
-
end
|
162
|
-
|
163
157
|
# Start the aggregation process.
|
164
158
|
begin
|
165
159
|
if config.fork
|
166
160
|
pid = fork { aggregator.run(config.update_interval) }
|
167
161
|
log.debug('forked ' + pid.to_s)
|
162
|
+
|
163
|
+
# Save PID.
|
164
|
+
if config.pid_file
|
165
|
+
log.debug('wrote pid to ' + config.pid_file)
|
166
|
+
File.write(config.pid_file, pid)
|
167
|
+
end
|
168
168
|
else
|
169
169
|
log.debug('pid ' + Process.pid.to_s)
|
170
|
+
|
171
|
+
# Save PID.
|
172
|
+
if config.pid_file
|
173
|
+
log.debug('wrote pid to ' + config.pid_file)
|
174
|
+
File.write(config.pid_file, Process.pid)
|
175
|
+
end
|
176
|
+
|
170
177
|
aggregator.run(config.update_interval)
|
171
178
|
end
|
172
179
|
rescue Interrupt
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: transmission-rss
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.26
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- henning mueller
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2016-04-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: open_uri_redirections
|
@@ -74,7 +74,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
74
74
|
version: '0'
|
75
75
|
requirements: []
|
76
76
|
rubyforge_project:
|
77
|
-
rubygems_version: 2.
|
77
|
+
rubygems_version: 2.5.1
|
78
78
|
signing_key:
|
79
79
|
specification_version: 4
|
80
80
|
summary: Adds torrents from rss feeds to transmission web frontend.
|