chlorine 0.1.6 → 0.1.7
Sign up to get free protection for your applications and to get access to all the features.
- 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