chlorine 0.1.5 → 0.1.6
Sign up to get free protection for your applications and to get access to all the features.
data/chlorine.gemspec
CHANGED
data/lib/chlorine/version.rb
CHANGED
@@ -3,6 +3,10 @@ module Chlorine
|
|
3
3
|
class ConfigGenerator < Rails::Generators::Base
|
4
4
|
desc 'Creates a Chlorine configuration file at config/chlorine.yml'
|
5
5
|
|
6
|
+
def self.source_root
|
7
|
+
@_chlorine_source_root ||= File.expand_path("../templates", __FILE__)
|
8
|
+
end
|
9
|
+
|
6
10
|
def create_config_file
|
7
11
|
template 'chlorine.yml', File.join('config', 'chlorine.yml')
|
8
12
|
end
|
@@ -1,5 +1,11 @@
|
|
1
1
|
envs: ['development'] # enable only in development mode
|
2
2
|
|
3
|
+
# The contents of any directory specified will be completely erased,
|
4
|
+
# except for the excluded root-level files or directories indicated.
|
5
|
+
# For instance, commenting out the last two lines causes everything
|
6
|
+
# in 'public/javascripts' to be deleted except for the subdirectory
|
7
|
+
# 'public/javascripts/lib'.
|
8
|
+
|
3
9
|
dirs:
|
4
10
|
# 'tmp':
|
5
11
|
# excludes: []
|