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 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*
@@ -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?
@@ -3,7 +3,7 @@
3
3
  namespace :assets do
4
4
  desc "Precompiles static assets."
5
5
  task :precompile do
6
- sh "#{$JAMMIT} -f -o #{$COMPILED_ASSETS_DIR}"
6
+ sh "#{$JAMMIT} -f -o #{$COMPILED_ASSETS_DIR} -c #{$ASSETS_CONFIG}"
7
7
  end
8
8
 
9
9
  desc "Starts watching static assets directory for changes."
@@ -1,3 +1,3 @@
1
1
  module Rosey
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rosey
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: