consolr 1.1.3 → 1.1.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/consolr/version.rb +1 -1
- data/lib/consolr.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a38a3e55d260cd0e651624b9538fe1dd5c02ebec
|
4
|
+
data.tar.gz: 97b68495858ac85a54d9f676d82009ab3439cfee
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5a95919989e09084c03e4855ff040aaa3d077bc26487b32eca569e9bfbbf3925d6cbe737782d977f9ede59eaa6a7ccc917b34edd1ac68e7b7c5728f582a826e0
|
7
|
+
data.tar.gz: 630d5a041cec8a5fee3980ae3a6bfad5ad84c0e359fe7879281bab738ce04005ef9a46277ebb608d9138b171fa2ac3bb21ffd705b8ad2025ce563529764371f5
|
data/lib/consolr/version.rb
CHANGED
data/lib/consolr.rb
CHANGED
@@ -19,7 +19,7 @@ module Consolr
|
|
19
19
|
config_file = potential_config_paths.compact.find do |conf|
|
20
20
|
begin
|
21
21
|
expanded_path = File.expand_path(conf, __FILE__)
|
22
|
-
File.readable?(
|
22
|
+
File.readable?(expanded_path) and File.size(expanded_path) > 0
|
23
23
|
rescue ArgumentError
|
24
24
|
# if $HOME is not set, or if `~` cannot be expanded, `expand_path` will throw and ArgumentError
|
25
25
|
# in that case, just go to the next potential config file - this one obviously will not work
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: consolr
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.1.
|
4
|
+
version: 1.1.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Will Richard
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2016-03-
|
12
|
+
date: 2016-03-16 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: collins_auth
|