jekyll-tailwind 2.1 → 2.1.1
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-tailwind/version.rb +1 -1
- data/lib/jekyll-tailwind.rb +6 -5
- metadata +3 -6
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 4143a6e5cdedea6635ca46b69cee1add21aacab556875ab7b3846f4ea9df026d
|
|
4
|
+
data.tar.gz: 47e54243b19a5ac892cc08cef4a823aa4a6c420d07f92d0388268a68f739e897
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: d34b4390d3366fd5ead345389af9a5bfba1475efdbdd3f317059c400368b5c1bf8c8e17d6ff94b99d1ed7cae26ee9f0fc41be2b8880a21860198a13a7260f9de
|
|
7
|
+
data.tar.gz: e25623e155c247490e433a28e12a3915fe64b23556136ad09a520ac5b53f260c88571b2d5fccec539c447b63c83afd3e02172023b9227c00c96707fd2e4f61f1
|
data/lib/jekyll-tailwind.rb
CHANGED
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
require_relative "jekyll-tailwind/version"
|
|
4
4
|
|
|
5
|
+
require "shellwords"
|
|
5
6
|
require "jekyll"
|
|
6
7
|
require "tailwindcss/ruby"
|
|
7
8
|
|
|
@@ -33,14 +34,14 @@ module Jekyll
|
|
|
33
34
|
|
|
34
35
|
def compile
|
|
35
36
|
command = [
|
|
36
|
-
Tailwindcss::Ruby.executable,
|
|
37
|
-
"--output", @output,
|
|
38
|
-
"--config", @config,
|
|
37
|
+
Shellwords.escape(Tailwindcss::Ruby.executable),
|
|
38
|
+
"--output", @output.shellescape,
|
|
39
|
+
"--config", @config.shellescape,
|
|
39
40
|
]
|
|
40
41
|
|
|
41
|
-
command += ["--input", @input] if @input
|
|
42
|
+
command += ["--input", @input.shellescape] if @input
|
|
42
43
|
command += ["--minify"] if @minify
|
|
43
|
-
command += ["--postcss", @postcss] if File.exist?(@postcss)
|
|
44
|
+
command += ["--postcss", @postcss.shellescape] if File.exist?(@postcss)
|
|
44
45
|
|
|
45
46
|
`#{command.join(' ')}`
|
|
46
47
|
end
|
metadata
CHANGED
|
@@ -1,15 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: jekyll-tailwind
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version:
|
|
4
|
+
version: 2.1.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Cristian Álvarez Belaustegui
|
|
8
8
|
- Stanislav (Stas) Katkov
|
|
9
|
-
autorequire:
|
|
10
9
|
bindir: exe
|
|
11
10
|
cert_chain: []
|
|
12
|
-
date:
|
|
11
|
+
date: 1980-01-02 00:00:00.000000000 Z
|
|
13
12
|
dependencies:
|
|
14
13
|
- !ruby/object:Gem::Dependency
|
|
15
14
|
name: jekyll
|
|
@@ -81,7 +80,6 @@ metadata:
|
|
|
81
80
|
homepage_uri: https://github.com/crbelaus/jekyll-tailwind
|
|
82
81
|
source_code_uri: https://github.com/crbelaus/jekyll-tailwind
|
|
83
82
|
changelog_uri: https://github.com/crbelaus/jekyll-tailwind/blob/main/CHANGELOG.md
|
|
84
|
-
post_install_message:
|
|
85
83
|
rdoc_options: []
|
|
86
84
|
require_paths:
|
|
87
85
|
- lib
|
|
@@ -96,8 +94,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
96
94
|
- !ruby/object:Gem::Version
|
|
97
95
|
version: '0'
|
|
98
96
|
requirements: []
|
|
99
|
-
rubygems_version:
|
|
100
|
-
signing_key:
|
|
97
|
+
rubygems_version: 4.0.19
|
|
101
98
|
specification_version: 4
|
|
102
99
|
summary: Use Tailwind CLI from your Jekyll site
|
|
103
100
|
test_files: []
|