forecast 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- ZDQ3MWFkZjY2MzZjYjIzMzViYmUwNjA4ZGQ4NjMxMzZjZjU4MmU1ZA==
4
+ N2E0YjMzMTg4YzY3NDg4ZGVkYmE4NGVhMjcxZDk5MDRjYWU0ZWVmZQ==
5
5
  data.tar.gz: !binary |-
6
- ZTM0MzkwMTQ5YTA3N2VkNmFjNjliZjg5MjI1NTNmMDkzNGM3ZWNjNQ==
6
+ N2E2MWU1YjEyZDhkZTY2MmVjNDY2ZGRlNDJjMDQzNDEyZmJhMDFlNA==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- ZmU2N2YzZDFlNmVhNzJiZmNkMjVjYTJlYjRhODk5MWVkMjMyNWFhOTM4OTg3
10
- NzA4Mjk5N2EyZWU0ZWE3OWM4ODQ4MGUyMWJhYWQ0OTM4OWEyMDJhZWY1Nzg0
11
- ZGVkNjBiOTk5N2QzYTQ0ZTk0Mzc4YTlmZDE0MjdhOTIyZDlhNTc=
9
+ MTVkNGQwZGNmYTdjZWFlN2E4OWYxYTQxYjY1ODM3YWQzYjI1NTE0YzFlZThi
10
+ ZGUwNjYyMWNlMThmNWU4YTM0NWE4NzUzZjk3MDZiOWY5MjJhNDJiNTQwYWU2
11
+ ZDk4MWY4M2VjYzY3ZDU0ZmU1ZGY3ZWY0ZTcwMDFiOTQzYmZjNGI=
12
12
  data.tar.gz: !binary |-
13
- MWJkMTc5ODQ0YTQwODkwZTYzZjZmZmY2ZjlhZTlhM2U1YTBhMGJjNjgxZDZj
14
- NjY4N2Y5NjRkNjZiMDE1YTk1ZjI0M2UzNDRkNjdhZTMyMDUxZmNhMjY5YTE0
15
- YTA5YjYxODljZjViYTliMWM1ZTFjNDBjMGY4N2U3YTM4YjUwYTQ=
13
+ M2MxMTVhMTc3ZDI1MjNlNDJiMWM0NDg4MmQyODQ2YzMzYTg2OTUwY2Q5NmRj
14
+ MDgxOTI2MTRjYTRlZjE2MDUwMGVmNDk5NzM2MDNmZGVkNjYzYzM5YWMxMGEz
15
+ YTQ4OTRhMTIyYjJjNDJiYjBhNDUzOGNlNTk3ZjI5ZWQxNzg0NDg=
@@ -5,10 +5,10 @@ class Forecast
5
5
 
6
6
  def initialize
7
7
 
8
- @config_file = File.dirname(File.dirname(File.dirname(__FILE__))) + "/config/forecast.yml"
8
+ @config_file = nil
9
+ #File.dirname(File.dirname(File.dirname(__FILE__))) + "/config/forecast.yml"
9
10
 
10
11
  self.load(File.dirname(__FILE__) + '/**/*.yml')
11
- self.load(@config_file)
12
12
 
13
13
  def theme
14
14
  if @theme != nil
@@ -65,10 +65,10 @@ class Forecast
65
65
  def self.configure
66
66
  yield self.config
67
67
  # puts 'configured'
68
- # if self.config.config_file != nil
69
- # puts 'load config from file'
70
- # self.config.load(@config_file)
71
- # end
68
+ if self.config.config_file != nil
69
+ puts '**** load config from file'
70
+ self.config.load(self.config.config_file)
71
+ end
72
72
  end
73
73
 
74
74
 
@@ -1,3 +1,3 @@
1
1
  class Forecast
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: forecast
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rafael Nowrotek