jekyll-assets 0.5.2 → 0.5.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/HISTORY.md CHANGED
@@ -1,3 +1,8 @@
1
+ ### 0.5.3 (2013-05-25)
2
+
3
+ * Assets cache disable by default, in order to avoid "unpredictable" behavior.
4
+
5
+
1
6
  ### 0.5.2 (2013-05-25)
2
7
 
3
8
  * Use Sprocket assets cache for compilation speed improvement. See #32.
data/README.md CHANGED
@@ -212,12 +212,20 @@ assets:
212
212
 
213
213
  ### Compilation Cache
214
214
 
215
- To improve build time, we have Sprockets caching enabled. You might want to
216
- clean this cache time after time with `assets:cleanup` jekyll command:
215
+ To improve build time, you can enabled compiled assets cache:
216
+
217
+ ``` yaml
218
+ assets:
219
+ cache_assets: true
220
+ ```
221
+
222
+ In this case you might want to clean cache time after time:
217
223
 
218
224
  $ jekyll assets:cleanup
219
225
 
220
- You can turn caching off with `cache_assests` configuration option.
226
+ Also you will need to add `.jekyll-assets-cache` path under source of your
227
+ jekyll site into exclusion list of your source control system (`.gitignore`
228
+ for git).
221
229
 
222
230
  At the moment we use *FileStore* cache which keeps compiled data on file system.
223
231
  If you need MemCache or Redis based store, please raise a ticket.
@@ -450,11 +458,10 @@ assets:
450
458
  #
451
459
  cachebust: hard
452
460
  #
453
- # Whenever or not cache compiled assets (enabled by default).
454
- # Caching significantly improves compilation performance, but you might need
455
- # clean it up time after time with `jekyll assets:cleanup` command.
461
+ # Whenever or not cache compiled assets (disabled by default).
462
+ # See `Compilation Cache` section of README for details.
456
463
  #
457
- cache_assets: true
464
+ cache_assets: false
458
465
  #
459
466
  # Specifies list of MIME types that needs to have gzipped versions.
460
467
  # You can set it to `false` to disable gzipping. Only javascripts and
@@ -10,7 +10,7 @@ module Jekyll
10
10
  :sources => %w{_assets/javascripts _assets/stylesheets _assets/images},
11
11
  :compress => { :css => nil, :js => nil },
12
12
  :cachebust => :hard,
13
- :cache_assets => true,
13
+ :cache_assets => false,
14
14
  :gzip => %w{ text/css application/javascript }
15
15
  }.freeze
16
16
 
@@ -1,5 +1,5 @@
1
1
  module Jekyll
2
2
  module AssetsPlugin
3
- VERSION = "0.5.2"
3
+ VERSION = "0.5.3"
4
4
  end
5
5
  end
@@ -43,7 +43,7 @@ module Jekyll::AssetsPlugin
43
43
 
44
44
  context "cache_assets?" do
45
45
  subject { config.cache_assets? }
46
- it { should be_true }
46
+ it { should be_false }
47
47
  end
48
48
 
49
49
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-assets
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.2
4
+ version: 0.5.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -243,7 +243,7 @@ rubyforge_project:
243
243
  rubygems_version: 1.8.23
244
244
  signing_key:
245
245
  specification_version: 3
246
- summary: jekyll-assets-0.5.2
246
+ summary: jekyll-assets-0.5.3
247
247
  test_files:
248
248
  - spec/fixtures/.gitignore
249
249
  - spec/fixtures/_assets/app.css.erb