jekyll-assets 0.3.8 → 0.4.0
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 +5 -0
- data/lib/jekyll/assets_plugin/environment.rb +0 -3
- data/lib/jekyll/assets_plugin/version.rb +1 -1
- data/spec/fixtures/_assets/app.js +0 -2
- data/spec/lib/jekyll/assets_plugin/patches/site_patch_spec.rb +0 -6
- metadata +4 -10
- data/lib/jekyll/assets_plugin/liquid_processor.rb +0 -18
data/HISTORY.md
CHANGED
@@ -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
|
|
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.
|
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-
|
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.
|
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
|