tailwindcss-rails 2.0.2 → 2.0.3

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a21c4aeac25794e2d622dc19cd4a48278255c48b08bc69182093fbe3e13ab92a
4
- data.tar.gz: c1a67abc4163c3933159107a3a7d2d0b5e46edf5f0dbc34a3ead0ff41912d3c9
3
+ metadata.gz: 5c09153300325d7b67d239f117852078a9c3d045941d5af4b9f614953383795d
4
+ data.tar.gz: 07fe9aca3e1b23b4909823cf00bebb5df2535190459dc62868be3a347d082fc9
5
5
  SHA512:
6
- metadata.gz: 8a7e4bd3aa848e7f4ab76971862897dc213fc0624b26772d8d988e1acf19ac7c6be05cf221d581178709f7e1734fa5994df2191b5946bade6aef56e6370b5def
7
- data.tar.gz: 719272771d2b41e991390e3327e40e994222215a62c1d11785025c8e87f2a30369b2a48e105f52396806006c8e8c1da5b0d9883ae977af002ba854b7b9eb3a2a
6
+ metadata.gz: 7174d0296b6fa462b5f0404a152ab12961fee7a4f971e8578cbe1731a764ef604422e4abca7912ea675b5dc517ba7608769ef0818fa99c075f102b78f3593512
7
+ data.tar.gz: 70db6509c906fe5b42d456521fac87584e37c52a04a7e67c4301c2d41bd3caf1668f49e59b8262a60de90e4e683686da4bc9f705bd7c46e1c2afb18daef38a82
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 #{::Gem::Platform.local} platform
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 #{::Gem::Platform.local} in #{__dir__}
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 #{::Gem::Platform.local}
31
+ bundle lock --add-platform #{platform}
31
32
  bundle install
32
33
 
33
34
  See `bundle lock --help` output for details.
@@ -1,7 +1,7 @@
1
1
  module Tailwindcss
2
2
  # constants describing the upstream tailwindcss project
3
3
  module Upstream
4
- VERSION = "v3.0.7"
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
@@ -1,3 +1,3 @@
1
1
  module Tailwindcss
2
- VERSION = "2.0.2"
2
+ VERSION = "2.0.3"
3
3
  end
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.2
4
+ version: 2.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Heinemeier Hansson
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2021-12-19 00:00:00.000000000 Z
11
+ date: 2022-01-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: railties