rosey 0.0.2 → 0.0.3
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/README.md +4 -0
- data/lib/rosey/config.rb +2 -0
- data/lib/rosey/tasks/assets.rb +1 -1
- data/lib/rosey/version.rb +1 -1
- metadata +1 -1
data/README.md
CHANGED
@@ -80,13 +80,17 @@ You can also specify `DEV` option to execute it in development mode:
|
|
80
80
|
This can be combined with ERb powered Jammit's configuration:
|
81
81
|
|
82
82
|
<% if ENV['DEV'] == '1' %>
|
83
|
+
|
83
84
|
compress_assets: off
|
84
85
|
embed_assets: off
|
85
86
|
gzip_assets: off
|
87
|
+
|
86
88
|
<% else %>
|
89
|
+
|
87
90
|
compress_assets: on
|
88
91
|
embed_assets: datauri
|
89
92
|
gzip_assets: true
|
93
|
+
|
90
94
|
<% end %>
|
91
95
|
|
92
96
|
# *snip*
|
data/lib/rosey/config.rb
CHANGED
@@ -12,6 +12,8 @@ $GUARD = ENV['GUARD'] || "guard"
|
|
12
12
|
$PUBLIC_DIR = ENV['PUBLIC_DIR']
|
13
13
|
# Compiled assets will land here.
|
14
14
|
$COMPILED_ASSETS_DIR = ENV['COMPILED_ASSETS_DIR']
|
15
|
+
# Path to assets config file
|
16
|
+
$ASSETS_CONFIG = ENV['ASSETS_CONFIG'] || 'config/assets.yml'
|
15
17
|
# Deployments will be committed to this branch.
|
16
18
|
$PRODUCTION_BRANCH = ENV['PRODUCTION_BRANCH']
|
17
19
|
# Is it development mode?
|
data/lib/rosey/tasks/assets.rb
CHANGED
data/lib/rosey/version.rb
CHANGED