chlorine 0.1.5 → 0.1.6
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
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: []
|