jekyll-minify 1.1.4 → 1.1.6
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/README.md +1 -1
- data/lib/jekyll-minify/version.rb +1 -1
- data/lib/jekyll-minify.rb +9 -2
- metadata +15 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 54325d0362b0885bd72860ee0ead6d036e59d4ad47c3c00ce804ef2b7aeacc27
|
|
4
|
+
data.tar.gz: 563c1fa1a094a967fd1c47ff975ccbcde581bd35eca131ca6af99fb93d6acf20
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 50b3e6363ae9ffb636d4364698989e9f764f5d4466d1945f0bdf56445dccf37d62788199349ed4fdb01c2ecd1146245be28991d2a890b69862fc169b35acbb47
|
|
7
|
+
data.tar.gz: 0566f097397fdaec7134ac312f16fdd950e83d067a7a40163d416fd73ba341403bc6175e51f1213db8c193dd5196fba136886fc278dac5ce66e644cd4a15b43d
|
data/README.md
CHANGED
|
@@ -6,6 +6,6 @@ module Jekyll
|
|
|
6
6
|
# Regenerated alongside the gemspec on every `make jekyll-minify.gemspec`
|
|
7
7
|
# run (locally or in CI), so it always matches spec.version in the built
|
|
8
8
|
# gem. Any hand edit is overwritten on the next run.
|
|
9
|
-
VERSION = '1.1.
|
|
9
|
+
VERSION = '1.1.6'
|
|
10
10
|
end
|
|
11
11
|
end
|
data/lib/jekyll-minify.rb
CHANGED
|
@@ -49,7 +49,7 @@
|
|
|
49
49
|
# minify_css: false # disable CSS minification
|
|
50
50
|
# minify_js: false # disable JS minification
|
|
51
51
|
#
|
|
52
|
-
# Defaults to all
|
|
52
|
+
# Defaults to all 8 minify-html options enabled. YAML string keys are automatically
|
|
53
53
|
# converted to symbols for the minify-html gem.
|
|
54
54
|
#
|
|
55
55
|
# === W3C HTML Validation Compatibility ===
|
|
@@ -59,6 +59,12 @@
|
|
|
59
59
|
# containing special characters, preventing unquoting issues with attributes like:
|
|
60
60
|
# prefix="og: https://ogp.me/ns#"
|
|
61
61
|
#
|
|
62
|
+
# It also sets `keep_input_type_text_attr` so `<input type="text">` survives
|
|
63
|
+
# minification. Dropping it is valid HTML (browsers default to type=text), but
|
|
64
|
+
# html-validate's `no-implicit-input-type` rule flags the omission as an error,
|
|
65
|
+
# so stripping it here would reintroduce a validation failure the source
|
|
66
|
+
# template deliberately avoids by writing the attribute explicitly.
|
|
67
|
+
#
|
|
62
68
|
# === CSS/JavaScript Minification Note ===
|
|
63
69
|
#
|
|
64
70
|
# The minify-html Ruby gem only exposes HTML minification through its public API.
|
|
@@ -109,7 +115,8 @@ module Jekyll
|
|
|
109
115
|
minify_js: true,
|
|
110
116
|
remove_bangs: true,
|
|
111
117
|
remove_processing_instructions: true,
|
|
112
|
-
ensure_spec_compliant_unquoted_attribute_values: true
|
|
118
|
+
ensure_spec_compliant_unquoted_attribute_values: true,
|
|
119
|
+
keep_input_type_text_attr: true
|
|
113
120
|
}.freeze
|
|
114
121
|
|
|
115
122
|
# Asset types processed by the minifier, in order.
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: jekyll-minify
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 1.1.
|
|
4
|
+
version: 1.1.6
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Alain Reguera Delgado
|
|
@@ -85,6 +85,20 @@ dependencies:
|
|
|
85
85
|
- - "~>"
|
|
86
86
|
- !ruby/object:Gem::Version
|
|
87
87
|
version: '3.13'
|
|
88
|
+
- !ruby/object:Gem::Dependency
|
|
89
|
+
name: rspec_junit_formatter
|
|
90
|
+
requirement: !ruby/object:Gem::Requirement
|
|
91
|
+
requirements:
|
|
92
|
+
- - "~>"
|
|
93
|
+
- !ruby/object:Gem::Version
|
|
94
|
+
version: '0.6'
|
|
95
|
+
type: :development
|
|
96
|
+
prerelease: false
|
|
97
|
+
version_requirements: !ruby/object:Gem::Requirement
|
|
98
|
+
requirements:
|
|
99
|
+
- - "~>"
|
|
100
|
+
- !ruby/object:Gem::Version
|
|
101
|
+
version: '0.6'
|
|
88
102
|
- !ruby/object:Gem::Dependency
|
|
89
103
|
name: simplecov
|
|
90
104
|
requirement: !ruby/object:Gem::Requirement
|