jekyll-assets 0.3.8 → 0.4.0

Sign up to get free protection for your applications and to get access to all the features.
data/HISTORY.md CHANGED
@@ -1,3 +1,8 @@
1
+ ### 0.4.0 (2013-05-08)
2
+
3
+ * Drop Liquid pre-processing. See #25.
4
+
5
+
1
6
  ### 0.3.8 (2013-04-29)
2
7
 
3
8
  * Play nice with query strings and anchors in pathnames of requested assets.
@@ -31,9 +31,6 @@ module Jekyll
31
31
  self.js_compressor = @site.assets_config.js_compressor
32
32
  self.css_compressor = @site.assets_config.css_compressor
33
33
 
34
- register_preprocessor "text/css", LiquidProcessor
35
- register_preprocessor "application/javascript", LiquidProcessor
36
-
37
34
  # bind jekyll and Sprockets context together
38
35
  context_class.instance_variable_set :@site, @site
39
36
 
@@ -1,5 +1,5 @@
1
1
  module Jekyll
2
2
  module AssetsPlugin
3
- VERSION = "0.3.8"
3
+ VERSION = "0.4.0"
4
4
  end
5
5
  end
@@ -1,3 +1 @@
1
1
  //= require vapor
2
-
3
- var noise = '{% asset_path noise.png %}';
@@ -54,12 +54,6 @@ module Jekyll::AssetsPlugin
54
54
  end
55
55
  end
56
56
  end
57
-
58
- context "with Liquid markup within assets" do
59
- it "should be rendered" do
60
- site.assets["app.js"].to_s.should match(/noise-[a-f0-9]{32}\.png/)
61
- end
62
- end
63
57
  end
64
58
 
65
59
 
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.3.8
4
+ version: 0.4.0
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-04-29 00:00:00.000000000 Z
12
+ date: 2013-05-08 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: jekyll
@@ -184,7 +184,6 @@ files:
184
184
  - lib/jekyll/assets_plugin/configuration.rb
185
185
  - lib/jekyll/assets_plugin/environment.rb
186
186
  - lib/jekyll/assets_plugin/filters.rb
187
- - lib/jekyll/assets_plugin/liquid_processor.rb
188
187
  - lib/jekyll/assets_plugin/patches.rb
189
188
  - lib/jekyll/assets_plugin/patches/context_patch.rb
190
189
  - lib/jekyll/assets_plugin/patches/index_patch.rb
@@ -232,24 +231,18 @@ required_ruby_version: !ruby/object:Gem::Requirement
232
231
  - - ! '>='
233
232
  - !ruby/object:Gem::Version
234
233
  version: '0'
235
- segments:
236
- - 0
237
- hash: -1911320826109447063
238
234
  required_rubygems_version: !ruby/object:Gem::Requirement
239
235
  none: false
240
236
  requirements:
241
237
  - - ! '>='
242
238
  - !ruby/object:Gem::Version
243
239
  version: '0'
244
- segments:
245
- - 0
246
- hash: -1911320826109447063
247
240
  requirements: []
248
241
  rubyforge_project:
249
242
  rubygems_version: 1.8.23
250
243
  signing_key:
251
244
  specification_version: 3
252
- summary: jekyll-assets-0.3.8
245
+ summary: jekyll-assets-0.4.0
253
246
  test_files:
254
247
  - spec/fixtures/.gitignore
255
248
  - spec/fixtures/_assets/app.css.erb
@@ -278,3 +271,4 @@ test_files:
278
271
  - spec/lib/jekyll/assets_plugin/tag_spec.rb
279
272
  - spec/spec_helper.rb
280
273
  - spec/support/fixtures_path.rb
274
+ has_rdoc:
@@ -1,18 +0,0 @@
1
- # 3rd-party
2
- require 'tilt'
3
-
4
-
5
- module Jekyll
6
- module AssetsPlugin
7
- class LiquidProcessor < Tilt::LiquidTemplate
8
- def evaluate context, locals, &block
9
- @engine.render locals, {
10
- :filters => [Jekyll::Filters],
11
- :registers => {
12
- :site => context.site
13
- }
14
- }
15
- end
16
- end
17
- end
18
- end