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.
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{chlorine}
8
- s.version = "0.1.6"
8
+ s.version = "0.1.7"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Trevor Burnham"]
@@ -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}"
@@ -2,7 +2,7 @@ module Chlorine
2
2
  module Version
3
3
  MAJOR = 0
4
4
  MINOR = 1
5
- PATCH = 6
5
+ PATCH = 7
6
6
  STRING = [MAJOR, MINOR, PATCH].join(".")
7
7
  end
8
8
  end
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 1
8
- - 6
9
- version: 0.1.6
8
+ - 7
9
+ version: 0.1.7
10
10
  platform: ruby
11
11
  authors:
12
12
  - Trevor Burnham