forecast 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +8 -8
- data/lib/forecast/config.rb +1 -0
- data/lib/forecast/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
ZDQ3MWFkZjY2MzZjYjIzMzViYmUwNjA4ZGQ4NjMxMzZjZjU4MmU1ZA==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
ZTM0MzkwMTQ5YTA3N2VkNmFjNjliZjg5MjI1NTNmMDkzNGM3ZWNjNQ==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
ZmU2N2YzZDFlNmVhNzJiZmNkMjVjYTJlYjRhODk5MWVkMjMyNWFhOTM4OTg3
|
10
|
+
NzA4Mjk5N2EyZWU0ZWE3OWM4ODQ4MGUyMWJhYWQ0OTM4OWEyMDJhZWY1Nzg0
|
11
|
+
ZGVkNjBiOTk5N2QzYTQ0ZTk0Mzc4YTlmZDE0MjdhOTIyZDlhNTc=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
MWJkMTc5ODQ0YTQwODkwZTYzZjZmZmY2ZjlhZTlhM2U1YTBhMGJjNjgxZDZj
|
14
|
+
NjY4N2Y5NjRkNjZiMDE1YTk1ZjI0M2UzNDRkNjdhZTMyMDUxZmNhMjY5YTE0
|
15
|
+
YTA5YjYxODljZjViYTliMWM1ZTFjNDBjMGY4N2U3YTM4YjUwYTQ=
|
data/lib/forecast/config.rb
CHANGED
@@ -27,6 +27,7 @@ class Forecast
|
|
27
27
|
def load(pattern)
|
28
28
|
Dir.glob(pattern).sort{ |a, b| a.split(/\//).length <=> b.split(/\//).length}.reverse.each do |f|
|
29
29
|
obj = YAML.load_file(f)
|
30
|
+
puts 'load forecast config ' + f.to_s
|
30
31
|
if obj['forecast'] != nil
|
31
32
|
obj['forecast'].each do |k, v|
|
32
33
|
if respond_to?("#{k}")
|
data/lib/forecast/version.rb
CHANGED