ayadn 1.2.3 → 1.2.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/ayadn/errors.rb +2 -2
- data/lib/ayadn/settings.rb +0 -6
- data/lib/ayadn/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ca8e8a07df3d851eae8681f4deec06980fd041f4
|
4
|
+
data.tar.gz: 516918cad6f66415b0e0613f5b6deeabace99dd9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 44a0f52199b397810c4dd83116e695b62a148b3170dddc891a7568a14108d7d3f730ac7c09bc3f1e1bb6fd140b7453cba03597a9a1463f01ed092c5332f56a19
|
7
|
+
data.tar.gz: de84cdef5a33b6dc416edf032e14f9a7d963f5ad81ab1802db6fdff124c663bba4ff0b8e328f38b6784d5860f288317be06013b93fd4303fd4d69437c7e36424
|
data/CHANGELOG.md
CHANGED
data/lib/ayadn/errors.rb
CHANGED
@@ -11,9 +11,9 @@ module Ayadn
|
|
11
11
|
Logs.rec.debug "STACK: #{caller}"
|
12
12
|
Logs.rec.error "--END--"
|
13
13
|
puts "\n(error logged in #{Settings.config[:paths][:log]}/ayadn.log)\n".color(:blue)
|
14
|
-
if Settings.options[:timeline][:show_debug] == true
|
14
|
+
#if Settings.options[:timeline][:show_debug] == true
|
15
15
|
raise error
|
16
|
-
end
|
16
|
+
#end
|
17
17
|
exit
|
18
18
|
end
|
19
19
|
def self.error(status)
|
data/lib/ayadn/settings.rb
CHANGED
@@ -81,12 +81,6 @@ module Ayadn
|
|
81
81
|
# TODO: system to merge existing config file when future category are added
|
82
82
|
begin
|
83
83
|
@options = YAML.load(File.read(config_file))
|
84
|
-
if @options[:timeline][:show_debug].nil?
|
85
|
-
@options[:timeline][:show_debug] = false
|
86
|
-
end
|
87
|
-
if @options[:nicerank][:threshold]
|
88
|
-
@options[:nicerank][:threshold] = @options[:nicerank][:threshold].round
|
89
|
-
end
|
90
84
|
rescue => e
|
91
85
|
Errors.global_error("myconfig/load config.yml", nil, e)
|
92
86
|
end
|
data/lib/ayadn/version.rb
CHANGED