chlorine 0.1.6 → 0.1.7
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/chlorine.gemspec +1 -1
- data/lib/chlorine/clean.rb +1 -1
- data/lib/chlorine/version.rb +1 -1
- metadata +2 -2
data/chlorine.gemspec
CHANGED
data/lib/chlorine/clean.rb
CHANGED
|
@@ -8,7 +8,7 @@ module Chlorine
|
|
|
8
8
|
initializer "chlorine.configure_rails_initialization" do
|
|
9
9
|
begin
|
|
10
10
|
@config = YAML::load_file File.expand_path('config/chlorine.yml', Rails.root)
|
|
11
|
-
return unless @config && @config['envs']
|
|
11
|
+
return unless @config && @config['envs'] && @config['dirs']
|
|
12
12
|
require_clean = (@config['envs'].collect {|env| env.downcase}).include? Rails.env
|
|
13
13
|
rescue Exception => e
|
|
14
14
|
puts "Chlorine was unable to read its configuration: #{e}"
|
data/lib/chlorine/version.rb
CHANGED