tailwindcss-rails 2.0.2-x86_64-darwin → 2.0.3-x86_64-darwin
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/exe/tailwindcss +4 -3
- data/exe/x86_64-darwin/tailwindcss +0 -0
- data/lib/tailwindcss/upstream.rb +2 -1
- data/lib/tailwindcss/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f8ebfb1b22fe384350af4d1307f2c3dbbbc1bed17c482fd83bd8588e7e61d5ae
|
4
|
+
data.tar.gz: a23b362de5d211259b7b26580d794c7ec243bb07a6501b5e8d5b9933f46b2ecb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 439f2e0ad1616b170adbe29a4392230cbbef03081d9a202f5637834d66555bcc406f0986b9b028ea9a16cdb9da3d3291e194a99857215c0947eb3697d5a0066e
|
7
|
+
data.tar.gz: d1c77319729129f1a2a68db19d3388a91e97878bf21007ce3fc48df197039a2207cf0592e639529f141b35d94179255d890fc59ee78c58b2bb413fe276c18813
|
data/exe/tailwindcss
CHANGED
@@ -5,10 +5,11 @@ require "shellwords"
|
|
5
5
|
require "tailwindcss/upstream"
|
6
6
|
|
7
7
|
supported_platforms = Tailwindcss::Upstream::NATIVE_PLATFORMS.keys
|
8
|
+
platform = [:cpu, :os].map { |m| Gem::Platform.local.send(m) }.join("-")
|
8
9
|
|
9
10
|
if supported_platforms.none? { |supported_platform| Gem::Platform.match(supported_platform) }
|
10
11
|
STDERR.puts(<<~ERRMSG)
|
11
|
-
ERROR: tailwindcss-rails does not support the #{
|
12
|
+
ERROR: tailwindcss-rails does not support the #{platform} platform
|
12
13
|
Please install tailwindcss following instructions at https://tailwindcss.com/docs/installation
|
13
14
|
ERRMSG
|
14
15
|
exit 1
|
@@ -19,7 +20,7 @@ exe_path = Dir.glob(File.join(__dir__, "*", "tailwindcss")).find do |f|
|
|
19
20
|
end
|
20
21
|
if exe_path.nil?
|
21
22
|
STDERR.puts(<<~ERRMSG)
|
22
|
-
ERROR: Cannot find the tailwindcss executable for #{
|
23
|
+
ERROR: Cannot find the tailwindcss executable for #{platform} in #{__dir__}
|
23
24
|
If you're using bundler, please make sure you're on the latest bundler version:
|
24
25
|
|
25
26
|
gem install bundler
|
@@ -27,7 +28,7 @@ if exe_path.nil?
|
|
27
28
|
|
28
29
|
Then make sure your lock file includes this platform by running:
|
29
30
|
|
30
|
-
bundle lock --add-platform #{
|
31
|
+
bundle lock --add-platform #{platform}
|
31
32
|
bundle install
|
32
33
|
|
33
34
|
See `bundle lock --help` output for details.
|
Binary file
|
data/lib/tailwindcss/upstream.rb
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
module Tailwindcss
|
2
2
|
# constants describing the upstream tailwindcss project
|
3
3
|
module Upstream
|
4
|
-
VERSION = "v3.0.
|
4
|
+
VERSION = "v3.0.8"
|
5
5
|
|
6
6
|
# rubygems platform name => upstream release filename
|
7
7
|
NATIVE_PLATFORMS = {
|
@@ -9,6 +9,7 @@ module Tailwindcss
|
|
9
9
|
"x64-mingw32" => "tailwindcss-windows-x64.exe",
|
10
10
|
"x86_64-darwin" => "tailwindcss-macos-x64",
|
11
11
|
"x86_64-linux" => "tailwindcss-linux-x64",
|
12
|
+
"aarch64-linux" => "tailwindcss-linux-arm64",
|
12
13
|
}
|
13
14
|
end
|
14
15
|
end
|
data/lib/tailwindcss/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tailwindcss-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.0.
|
4
|
+
version: 2.0.3
|
5
5
|
platform: x86_64-darwin
|
6
6
|
authors:
|
7
7
|
- David Heinemeier Hansson
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2022-01-03 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: railties
|