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 +4 -4
- data/bin/transmission-rss +5 -4
- 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: d04dcbfa2b15a85adac02157dbe197068e22aba7
|
4
|
+
data.tar.gz: 08f228da9f88789ca114f7395c8f6c12f257b2d4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c7540dc33d8862a6ac5135b327487b0fd0b8b3cb43aa31950f3c0f5e6f63a2fd7cd1edc323d0af4ffe1ab3a4def186a85e2dbe4125b6e246d71692f37229cf6c
|
7
|
+
data.tar.gz: 88cd91d28ea29c2620737d332916d0628d795cbdff851a8f3f099191faa9f58581a87ba52e1532c467f66f22b2fe9e17edd382c933f1f53db4043c17d6e21ccf
|
data/bin/transmission-rss
CHANGED
@@ -97,12 +97,13 @@ rescue Errno::ENOENT
|
|
97
97
|
log.error(config_file + ' not found')
|
98
98
|
end
|
99
99
|
|
100
|
-
#
|
101
|
-
|
102
|
-
|
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?
|
106
|
+
if File.exists?(path)
|
106
107
|
log.debug('loading user config ' + path)
|
107
108
|
config.load(path)
|
108
109
|
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.
|
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-
|
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.
|
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.
|