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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: fa641fabb07e0f42ffb837d7c89fe363d6a39512
4
- data.tar.gz: b0824327608585661139d792dd5273ec72e39069
3
+ metadata.gz: de5e80915f41e877d053a9f12b6ecb1385d5540b
4
+ data.tar.gz: 0c10f53b725b7e6b867844b5215bc9457960987c
5
5
  SHA512:
6
- metadata.gz: 72965be8fee0e2b989bcb55c2973aff2784d4a0f170e342455225abc83d6cf620d5cb0665e1adc1690d2795d6047cdbbc033f4f34f23f879686144d640dda867
7
- data.tar.gz: a647e5865cdae78072bb8d8401cd87abc2db1057914e52d75e62a5cffc9ab6500505cacfeae46725fefee7b267fd53c9d2a3cf9414e975aa76bb5ffdd3472cc6
6
+ metadata.gz: cd103f696e3699c12eda5b33e4777179e5a0ef3be68b521936db6e010073a1af0db91b42e18b1bf2a556f7286ab6fb24441cdc9c58f63f95572181f8cbd61855
7
+ data.tar.gz: 2ced9cfeceed1bdea1ed66cb2759d1aa85e3cf73a5b3c97b20fa23e9b6b6f4e0d84f298199ea5d5fb3e3fcfe37c20b32895f2d85fee601f1753065224cdb4a3d
@@ -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
@@ -1,3 +1,3 @@
1
1
  module TransmissionRSS
2
- VERSION = '0.1.25'
2
+ VERSION = '0.1.26'
3
3
  end
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.25
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: 2015-10-18 00:00:00.000000000 Z
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.4.5.1
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.