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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: bfc5db87c31c4f1f704558198c29a61878e9d3bfc707d8a448ca63b166487a29
4
- data.tar.gz: 3f2472d57d40f82f51e3de00517d58bff5fe4e5a6f04d22aef4cc0934b5abb6b
3
+ metadata.gz: 4143a6e5cdedea6635ca46b69cee1add21aacab556875ab7b3846f4ea9df026d
4
+ data.tar.gz: 47e54243b19a5ac892cc08cef4a823aa4a6c420d07f92d0388268a68f739e897
5
5
  SHA512:
6
- metadata.gz: 7c17b0881fb9ca7878c97e9619243ea7f4b1742e9342e414ddacb02a3ae0b5a8a29c9392372a97a515d39c17e72fca1416263698e2f4f95f583a500378586b31
7
- data.tar.gz: 10c55df1672307e2b27c177c466e2155a4b8d4be3233fc6ef9d6ca35605312e0c700197fc0c89fbadcfaa4cb13635252e027490393b8cf01dbb2834698c51207
6
+ metadata.gz: d34b4390d3366fd5ead345389af9a5bfba1475efdbdd3f317059c400368b5c1bf8c8e17d6ff94b99d1ed7cae26ee9f0fc41be2b8880a21860198a13a7260f9de
7
+ data.tar.gz: e25623e155c247490e433a28e12a3915fe64b23556136ad09a520ac5b53f260c88571b2d5fccec539c447b63c83afd3e02172023b9227c00c96707fd2e4f61f1
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Jekyll
4
4
  class Tailwind
5
- VERSION = "2.1"
5
+ VERSION = "2.1.1"
6
6
  end
7
7
  end
@@ -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: '2.1'
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: 2025-01-20 00:00:00.000000000 Z
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: 3.5.22
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: []