transmission-rss 0.2.5 → 0.2.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f6d73ffc3970765dd6e3cf73c3cd4b8a0f448748
4
- data.tar.gz: abfa8c32eca25e0c8d19f97456cc7b7ef42f968f
3
+ metadata.gz: 493cecb752e1c3a5bbb092cdbde8c28cb6f16a42
4
+ data.tar.gz: a0fc2fefd52f20222de0d2fcb53ec91c8c19e92c
5
5
  SHA512:
6
- metadata.gz: fcc856bd2404f61c9d73b736e4ee1580b39c4dd8bafba51ad8c53f753ea7a121ecd181d4446c172d44aab5fbe0a52a2acce54249b37db4af8d83089abb1181e8
7
- data.tar.gz: bd8215efee450e96d7728e68eaf0eada697a6e9b7cf28fcdf8b51d4b9b7d479b5e985921aea8f39b4332978380c322c530406c5e7f3e3c32db66543e8aeedd99
6
+ metadata.gz: a8fcb2eef302a7682b6897f8e083a1e9cb21e4b5ec4059e678fa710e97c407a70d21bb6f815455147cf5965dba222aa25f97a4f1880d34f0086a7fb5117d9ce9
7
+ data.tar.gz: a452c783869832ef8c2aa0f24ba05f6a28eef56ae08d03bf5f10c3123e1c211a7fe99a3bac9ec8e315cd7adc1a360e1fcfeb0309716b81f09e5038261ad4db37
@@ -147,7 +147,6 @@ if reset_seen_file
147
147
  end
148
148
 
149
149
  # Initialize communication to transmission.
150
- p config.server
151
150
  client = Client.new(config.server, config.login)
152
151
 
153
152
  # Callback for a new item on one of the feeds.
@@ -43,7 +43,7 @@ module TransmissionRSS
43
43
  loop do
44
44
  @feeds.each do |feed|
45
45
  @log.debug('aggregate ' + feed.url)
46
-
46
+
47
47
  options = {allow_redirections: :safe}
48
48
 
49
49
  unless feed.validate_cert
@@ -11,7 +11,7 @@ module TransmissionRSS
11
11
 
12
12
  @url = URI.encode(config['url'] || config.keys.first)
13
13
 
14
- @download_path = config['download_path']
14
+ @download_path = config['download_path']
15
15
  @validate_cert = config['validate_cert'].nil? || config['validate_cert']
16
16
 
17
17
  matchers = Array(config['regexp']).map do |e|
@@ -22,6 +22,7 @@ module TransmissionRSS
22
22
 
23
23
  initialize_download_paths(config['regexp'])
24
24
  else
25
+ @config = {}
25
26
  @url = config.to_s
26
27
  end
27
28
  end
@@ -33,7 +34,7 @@ module TransmissionRSS
33
34
  return path if title =~ to_regexp(regexp)
34
35
  end
35
36
 
36
- return @download_path
37
+ @download_path
37
38
  end
38
39
 
39
40
  def matches_regexp?(title)
@@ -1,3 +1,3 @@
1
1
  module TransmissionRSS
2
- VERSION = '0.2.5'
2
+ VERSION = '0.2.6'
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.2.5
4
+ version: 0.2.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - henning mueller
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-09-13 00:00:00.000000000 Z
11
+ date: 2017-10-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: open_uri_redirections
@@ -96,7 +96,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
96
96
  version: '0'
97
97
  requirements: []
98
98
  rubyforge_project:
99
- rubygems_version: 2.6.11
99
+ rubygems_version: 2.6.13
100
100
  signing_key:
101
101
  specification_version: 4
102
102
  summary: Adds torrents from rss feeds to transmission web frontend.