octopress-minify-html 1.2.2 → 1.2.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/octopress-minify-html.rb +2 -2
- data/lib/octopress-minify-html/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 353446441bd8215c7f58475be805aae2085f401c
|
4
|
+
data.tar.gz: d214183e8f6861d217d336db6577697a92c709cf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cb56c9d4eb3c5cb551b96db122b6d1e370953fc594e606d08dc83ce005fb268d9333bb87e1e47fc5806ac49be2d62dc7830e5c900f62d9a74a2629c32ec3bd18
|
7
|
+
data.tar.gz: a90b095fe446250e4ef303db9ed5f26fdb23bf7581755a3a449658fdc4481184fb192ceb896656802859f88ea69c3cd4eec868e3763eb05257aa16c2e93216bd
|
data/CHANGELOG.md
CHANGED
@@ -10,8 +10,8 @@ module Octopress
|
|
10
10
|
end
|
11
11
|
|
12
12
|
def minify?(item)
|
13
|
-
|
14
|
-
|
13
|
+
config = item.site.config
|
14
|
+
if item.destination(config['destination']).end_with?('html')
|
15
15
|
minify = config['minify_html']
|
16
16
|
production = config['env'].nil? || config['env'] =~ /production/i
|
17
17
|
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: octopress-minify-html
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Brandon Mathis
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-03-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|