traquitana 0.0.27 → 0.0.28
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- checksums.yaml.gz.sig +0 -0
- data.tar.gz.sig +0 -0
- data/lib/config.rb +5 -3
- data/lib/traquitana/version.rb +1 -1
- metadata +2 -2
- metadata.gz.sig +0 -0
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 76cd65635a94eecaf2eed22b0d7a896fb8092530
|
4
|
+
data.tar.gz: 8a66ba46f03c06d0b9f6e2264ff558e17528c0e0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 253509415f25425cbd2cbf46b1609b99584bd604e5fb71fbd4dabace16327a6e88f4a8123d7caf19b1391af6dd5f20e48e892f526eb2e9326e8dd831889d4560
|
7
|
+
data.tar.gz: 88c441a87698129aaba46aaa00c6fcdf6f8ccaebc4d60d45e00911e1ba86dc213324da4120416ae3c32d5b6953589daf0cdb9f3a683d7697938a4fcc7518ac9c
|
checksums.yaml.gz.sig
CHANGED
Binary file
|
data.tar.gz.sig
CHANGED
Binary file
|
data/lib/config.rb
CHANGED
@@ -51,11 +51,13 @@ module Traquitana
|
|
51
51
|
private
|
52
52
|
def check_configs(file)
|
53
53
|
@configs = YAML.load(File.read(file || self.filename)) rescue nil
|
54
|
-
|
54
|
+
STDERR.puts "Configs not found (tried '#{file}' and '#{self.filename}')" if !@configs
|
55
|
+
@configs
|
55
56
|
end
|
56
57
|
|
57
58
|
def check_target
|
58
|
-
return if !@target
|
59
|
+
return if !@target || !@configs
|
60
|
+
|
59
61
|
if !@configs[@target]
|
60
62
|
STDERR.puts "Target #{@target} not found."
|
61
63
|
exit(1)
|
@@ -66,7 +68,7 @@ module Traquitana
|
|
66
68
|
end
|
67
69
|
|
68
70
|
def check_default_target
|
69
|
-
if !@target && @configs["default"]
|
71
|
+
if !@target && @configs && @configs["default"]
|
70
72
|
STDOUT.puts "Loading default target ..."
|
71
73
|
@configs = @configs["default"]
|
72
74
|
end
|
data/lib/traquitana/version.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: traquitana
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.28
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Eustaquio Rangel
|
@@ -30,7 +30,7 @@ cert_chain:
|
|
30
30
|
JzBjXv5+jP7BaxFmlTOJBcCLZQATZKINFqzb7fMkFfbnMdKdcs1P7wkzKw18sP/t
|
31
31
|
FYMhZELccG8VXnfUk5zfuFakoJPqFJ+W34tNhuf95AazAIQF3If4UFU=
|
32
32
|
-----END CERTIFICATE-----
|
33
|
-
date: 2016-04-
|
33
|
+
date: 2016-04-20 00:00:00.000000000 Z
|
34
34
|
dependencies:
|
35
35
|
- !ruby/object:Gem::Dependency
|
36
36
|
name: rubyzip
|
metadata.gz.sig
CHANGED
Binary file
|