jekyll-pug 1.5.1 → 1.5.2
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.
- checksums.yaml +4 -4
- data/lib/jekyll-pug.rb +9 -0
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 9ecc6ea32f3c4d644385a1534e4947d6a1b89c96
|
|
4
|
+
data.tar.gz: 487011ebc0ce0ab87cb0c9cd7fd1fc3ded6891fb
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: f6fd317eee190030f7943186e4d4b2b410e9ad3933482e249e3cd6fcf5c7c7dd9bf42e27bb031256d90d9c731815ae1a35e9a5efbf903b083f6704ff9b43d1e2
|
|
7
|
+
data.tar.gz: 0e4d68c7001ff5e1be038424244dab071fe388baa007ade22e4e595e2075fae97e3b5a4e80d96661b41d7a1eb3c52adee1fc098167240cb0f6937f64ac217a10
|
data/lib/jekyll-pug.rb
CHANGED
|
@@ -13,6 +13,15 @@ if $jekyllConfig['jekyll-pug']
|
|
|
13
13
|
# Minify is disabled - pretty enabled
|
|
14
14
|
Pug.config.pretty = true
|
|
15
15
|
end
|
|
16
|
+
if $jekyllConfig['jekyll-pug']['shipped_version']
|
|
17
|
+
# Minify is enabled - pretty disabled
|
|
18
|
+
Pug.use $jekyllConfig['jekyll-pug']['shipped_version']
|
|
19
|
+
puts "Using shipped Pug version: " + Pug.compiler.version.to_s
|
|
20
|
+
else
|
|
21
|
+
# Minify is disabled - pretty enabled
|
|
22
|
+
puts "Using system Pug version: " + Pug.compiler.version.to_s
|
|
23
|
+
Pug.use :system
|
|
24
|
+
end
|
|
16
25
|
else
|
|
17
26
|
# Enable pretty by default
|
|
18
27
|
Pug.config.pretty = true
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: jekyll-pug
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.5.
|
|
4
|
+
version: 1.5.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Doug Beney
|
|
@@ -30,15 +30,15 @@ dependencies:
|
|
|
30
30
|
requirements:
|
|
31
31
|
- - "~>"
|
|
32
32
|
- !ruby/object:Gem::Version
|
|
33
|
-
version: '
|
|
33
|
+
version: '2.0'
|
|
34
34
|
type: :runtime
|
|
35
35
|
prerelease: false
|
|
36
36
|
version_requirements: !ruby/object:Gem::Requirement
|
|
37
37
|
requirements:
|
|
38
38
|
- - "~>"
|
|
39
39
|
- !ruby/object:Gem::Version
|
|
40
|
-
version: '
|
|
41
|
-
description: Flawlessly use Pug with Jekyll to convert Pug files into
|
|
40
|
+
version: '2.0'
|
|
41
|
+
description: Flawlessly use Pug with Jekyll to convert Pug files into HTML
|
|
42
42
|
email:
|
|
43
43
|
- contact@dougie.io
|
|
44
44
|
executables: []
|