assette 0.0.11 → 0.0.12
Sign up to get free protection for your applications and to get access to all the features.
- data/VERSION +1 -1
- data/assette.gemspec +1 -1
- data/lib/assette/config.rb +3 -2
- data/lib/assette/post_processors/js_min.rb +1 -1
- metadata +3 -3
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.12
|
data/assette.gemspec
CHANGED
data/lib/assette/config.rb
CHANGED
@@ -17,7 +17,7 @@ module Assette
|
|
17
17
|
class Config
|
18
18
|
MULTIPLES = %w{file_path asset_host}.freeze
|
19
19
|
SINGLES = %w{asset_dir templates_path template_format cache_method
|
20
|
-
template_preloader template_partial asset_version_file}.freeze
|
20
|
+
template_preloader template_partial asset_version_file uglifier}.freeze
|
21
21
|
BLOCKS = %w{after_compile}.freeze
|
22
22
|
|
23
23
|
OPTIONS = begin
|
@@ -39,7 +39,8 @@ module Assette
|
|
39
39
|
:file_paths => %w{public},
|
40
40
|
:templates_path => 'app/templates',
|
41
41
|
:template_format => 'AT.t[{*path*}] = {*template*};',
|
42
|
-
:after_compile => Proc.new {}
|
42
|
+
:after_compile => Proc.new {},
|
43
|
+
:uglifier => {:copyright => false, :mangle => false}
|
43
44
|
}.freeze
|
44
45
|
|
45
46
|
def initialize args = {}
|
metadata
CHANGED