transmission-rss 0.2.3 → 0.2.4

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: 308a6cffa8b0b4570b172ec2891344b10726c5cd
4
- data.tar.gz: d120e43d3a23aa660999150273b688d90d762ab0
3
+ metadata.gz: 704c52a380e2d3a708361c0bcc0f6a3a6b09b645
4
+ data.tar.gz: 0ede1eafb3b90889b62e33667d78b2b556e71ebe
5
5
  SHA512:
6
- metadata.gz: 55fe05569697552defa7b30639efddcd25efe286e0a7956cd6e38ba7e981b533f9a81607ee4ba59801f2306339a0b965c030cd907d71dd4d2edf8b14e0774bef
7
- data.tar.gz: 74332340051a28cd920ffee68207aff7bc637d8e8d2ff5332a93d4b67b468f27cfb133f434462ba0d10c9d9229db0fe93e6283b832556b012b9c0ded25d35f2c
6
+ metadata.gz: 835221ea29553f8e4c95fceaca9278d141201635fe766e13ee6b50d8129416c713ddd2d095d7a3d49ac9347760a46a0a0ce45781009526e93c1cb537d3b18621
7
+ data.tar.gz: a2ac8712185966c4e6179e33c645c0f8598f41c023f22625ef1954d2ec9f2add118d9e176602f724a54a6bc43d635dbcee8f3d944c80203d2dbd5135e78b8447
@@ -137,11 +137,12 @@ end
137
137
  aggregator = Aggregator.new(config.feeds, seen_file: config.seen_file)
138
138
 
139
139
  if reset_seen_file
140
- aggregator.seen.clear!
140
+ aggregator.seen.clear!
141
141
  log.debug('seenfile reset')
142
142
  end
143
143
 
144
144
  # Initialize communication to transmission.
145
+ p config.server
145
146
  client = Client.new(config.server, config.login)
146
147
 
147
148
  # Callback for a new item on one of the feeds.
@@ -11,12 +11,12 @@ module TransmissionRSS
11
11
  end
12
12
 
13
13
  def initialize(server = {}, login = nil, options = {})
14
- @host = server[:host] || 'localhost'
15
- @port = server[:port] || 9091
16
- @rpc_path = server[:rpc_path] || '/transmission/rpc'
14
+ @host = server.host || 'localhost'
15
+ @port = server.port || 9091
16
+ @rpc_path = server.rpc_path || '/transmission/rpc'
17
17
  @login = login
18
18
 
19
- @timeout = options[:timeout] || 5
19
+ @timeout = options.timeout || 5
20
20
  @log = TransmissionRSS::Log.instance
21
21
  end
22
22
 
@@ -1,3 +1,3 @@
1
1
  module TransmissionRSS
2
- VERSION = '0.2.3'
2
+ VERSION = '0.2.4'
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.3
4
+ version: 0.2.4
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-02-04 00:00:00.000000000 Z
11
+ date: 2017-02-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: open_uri_redirections