assette 0.0.7 → 0.0.8
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/examples/.asset_key +1 -1
- data/examples/config/assets.rb +1 -0
- data/lib/assette/cli.rb +1 -1
- data/lib/assette/config.rb +3 -2
- metadata +3 -3
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.0.
|
1
|
+
0.0.8
|
data/assette.gemspec
CHANGED
data/examples/.asset_key
CHANGED
@@ -1 +1 @@
|
|
1
|
-
|
1
|
+
111121_204651
|
data/examples/config/assets.rb
CHANGED
data/lib/assette/cli.rb
CHANGED
data/lib/assette/config.rb
CHANGED
@@ -16,8 +16,8 @@ module Assette
|
|
16
16
|
|
17
17
|
class Config
|
18
18
|
MULTIPLES = %w{file_path asset_host}.freeze
|
19
|
-
SINGLES = %w{asset_dir templates_path template_format cache_method
|
20
|
-
template_preloader template_partial}.freeze
|
19
|
+
SINGLES = %w{asset_dir templates_path template_format cache_method
|
20
|
+
template_preloader template_partial asset_version_file}.freeze
|
21
21
|
BLOCKS = %w{after_compile}.freeze
|
22
22
|
|
23
23
|
OPTIONS = begin
|
@@ -34,6 +34,7 @@ module Assette
|
|
34
34
|
|
35
35
|
DEFAULTS = {
|
36
36
|
:asset_dir => 'assets',
|
37
|
+
:asset_version_file => 'assets/version',
|
37
38
|
:asset_hosts => [],
|
38
39
|
:file_paths => %w{public},
|
39
40
|
:templates_path => 'app/templates',
|
metadata
CHANGED