transmission-rss 0.1.21 → 0.1.22

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: adc5b70e9c7cff82b8db6cabe9fc924b4630cabe
4
- data.tar.gz: 51140c286b43766af87b95b121ba992f41f56567
3
+ metadata.gz: d04dcbfa2b15a85adac02157dbe197068e22aba7
4
+ data.tar.gz: 08f228da9f88789ca114f7395c8f6c12f257b2d4
5
5
  SHA512:
6
- metadata.gz: c3fc99c0f45b4bdd46af4d16561f5143f0930acb1ba42589edb0f6ef415b450fc26e98d44d68c9c79a30a817c17d60ace8ea50924d8a846dce1726ba310b3750
7
- data.tar.gz: f118fc0e62173649f464e2524bba2779287feb82ea8cd860aa4d485d6c2f077ded7b0cd3b784a835d5c72a069629abd10e896a2f2f0d2350e31b33dd6e8ab070
6
+ metadata.gz: c7540dc33d8862a6ac5135b327487b0fd0b8b3cb43aa31950f3c0f5e6f63a2fd7cd1edc323d0af4ffe1ab3a4def186a85e2dbe4125b6e246d71692f37229cf6c
7
+ data.tar.gz: 88cd91d28ea29c2620737d332916d0628d795cbdff851a8f3f099191faa9f58581a87ba52e1532c467f66f22b2fe9e17edd382c933f1f53db4043c17d6e21ccf
@@ -97,12 +97,13 @@ rescue Errno::ENOENT
97
97
  log.error(config_file + ' not found')
98
98
  end
99
99
 
100
- # Check for user configuration and load if existing.
101
- unless custom_config
102
- prefix = ENV['XDG_CONFIG_HOME'] || File.join(ENV['HOME'], '.config')
100
+ # Unless a custom config is given as an argument from command line or HOME is
101
+ # unset, check for user configuration and load if existing.
102
+ if !(custom_config || ENV['HOME'].nil?)
103
+ prefix = ENV['XDG_CONFIG_HOME'] || File.expand_path('~/.config')
103
104
  path = File.join(prefix, 'transmission-rss', 'config.yml')
104
105
 
105
- if File.exists? path
106
+ if File.exists?(path)
106
107
  log.debug('loading user config ' + path)
107
108
  config.load(path)
108
109
  end
@@ -1,3 +1,3 @@
1
1
  module TransmissionRSS
2
- VERSION = '0.1.21'
2
+ VERSION = '0.1.22'
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.21
4
+ version: 0.1.22
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-06-06 00:00:00.000000000 Z
11
+ date: 2015-08-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: open_uri_redirections
@@ -73,7 +73,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
73
73
  version: '0'
74
74
  requirements: []
75
75
  rubyforge_project:
76
- rubygems_version: 2.4.5
76
+ rubygems_version: 2.5.0
77
77
  signing_key:
78
78
  specification_version: 4
79
79
  summary: Adds torrents from rss feeds to transmission web frontend.