jekyll-template 0.5.0 → 0.6.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 8b7aaec4de65f9be174eae2f240f3d2b71d19c90
4
- data.tar.gz: f559b2f4735c757689fe65d4007816cbf3b83c43
3
+ metadata.gz: 9992f2776cf32b60b4387b347324510cca909b19
4
+ data.tar.gz: d0c56f1529e3d1b2e464ef55f8606d095c2f250d
5
5
  SHA512:
6
- metadata.gz: 0ff767b706817cebb20e1d8da11b60b15f660394e968215a86524cdcb61e36398cbfc835743013638facf10b5291733b3e76e7ff760e092b6878e241a34ad348
7
- data.tar.gz: 50c722d43da3d20db132d3e651214053ebf581db62ff6868c0da623871d5f32b316af0f43ed896b58cfda6e69efd7d03590a8a6c9018d1041e4f618243a42eae
6
+ metadata.gz: 69f909a86e4c236ec7716d5ad87783352836d04dbe988c20c24e3dd7dbef171cfa51e887bcb7d707b7419f022d8d8268dcb5809532554c372dc2fe2a1c3b64b9
7
+ data.tar.gz: 00b1972ff3c10dce8d92be1a8929fa864cc339a1aea0781b13cd5806d5b9a1b0fe31d953dd1954e22c4b66e0b5b9f5c3ae7d557e0c7bf808ea7a327024e9d8b9
@@ -23,6 +23,7 @@ Gem::Specification.new do |spec|
23
23
  spec.add_runtime_dependency("jekyll", "3.1.2")
24
24
  spec.add_runtime_dependency("htmlcompressor", "~> 0.3.1")
25
25
  spec.add_runtime_dependency("unindent", "~> 1.0")
26
+ spec.add_runtime_dependency("yui-compressor", "~> 0.12.0")
26
27
 
27
28
  spec.add_development_dependency "bundler", "~> 1.13"
28
29
  spec.add_development_dependency "rake", "~> 10.0"
@@ -1,5 +1,5 @@
1
1
  module Jekyll
2
2
  module Template
3
- VERSION = "0.5.0"
3
+ VERSION = "0.6.0"
4
4
  end
5
5
  end
@@ -55,6 +55,10 @@ module Jekyll
55
55
  # Remove leading whitespace
56
56
  # content = content.lstrip
57
57
  compressor = HtmlCompressor::Compressor.new({
58
+ :compress_javascript => true,
59
+ :javascript_compressor => :yui,
60
+ :compress_css => true,
61
+ :css_compressor => :yui,
58
62
  :remove_comments => true
59
63
  })
60
64
  site = context.registers[:site]
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jekyll-template
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - ItsJonQ
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2017-01-05 00:00:00.000000000 Z
11
+ date: 2017-01-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: jekyll
@@ -52,6 +52,20 @@ dependencies:
52
52
  - - "~>"
53
53
  - !ruby/object:Gem::Version
54
54
  version: '1.0'
55
+ - !ruby/object:Gem::Dependency
56
+ name: yui-compressor
57
+ requirement: !ruby/object:Gem::Requirement
58
+ requirements:
59
+ - - "~>"
60
+ - !ruby/object:Gem::Version
61
+ version: 0.12.0
62
+ type: :runtime
63
+ prerelease: false
64
+ version_requirements: !ruby/object:Gem::Requirement
65
+ requirements:
66
+ - - "~>"
67
+ - !ruby/object:Gem::Version
68
+ version: 0.12.0
55
69
  - !ruby/object:Gem::Dependency
56
70
  name: bundler
57
71
  requirement: !ruby/object:Gem::Requirement