chlorine 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
data/chlorine.gemspec CHANGED
@@ -5,11 +5,11 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{chlorine}
8
- s.version = "0.1.1"
8
+ s.version = "0.1.2"
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"]
12
- s.date = %q{2010-07-24}
12
+ s.date = %q{2010-07-30}
13
13
  s.description = %q{Automatically cleans out directories you specify when the server starts up.}
14
14
  s.email = %q{trevor@iterative.ly}
15
15
  s.extra_rdoc_files = [
@@ -8,12 +8,11 @@ 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['envs'] and @config['envs'].include? Rails.env
11
12
  rescue Exception => e
12
13
  puts "Chlorine was unable to read its configuration: #{e}"
13
14
  end
14
15
 
15
- return unless @config['envs'] and @config['envs'].include? Rails.env
16
-
17
16
  @config['dirs'].each do |dir_name, dir_config|
18
17
  begin
19
18
  dir_config['excludes'] = dir_config['excludes'].collect {|x| x[-1] == '/' ? x[0...-1] : x}
@@ -2,7 +2,7 @@ module Chlorine
2
2
  module Version
3
3
  MAJOR = 0
4
4
  MINOR = 1
5
- PATCH = 1
5
+ PATCH = 2
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
- - 1
9
- version: 0.1.1
8
+ - 2
9
+ version: 0.1.2
10
10
  platform: ruby
11
11
  authors:
12
12
  - Trevor Burnham
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-07-24 00:00:00 -04:00
17
+ date: 2010-07-30 00:00:00 -04:00
18
18
  default_executable:
19
19
  dependencies: []
20
20