tailwindcss-rails 2.0.8-x86_64-linux → 2.0.9-x86_64-linux
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +3 -2
- data/exe/x86_64-linux/tailwindcss +0 -0
- data/lib/install/tailwind.config.js +1 -0
- data/lib/tailwindcss/upstream.rb +2 -1
- data/lib/tailwindcss/version.rb +1 -1
- data/lib/tasks/build.rake +1 -1
- metadata +7 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 85ebb7b738c2f653cdabb620fd35f6f2d92f33d81258dac38e77e26f7b968e72
|
4
|
+
data.tar.gz: fd7fbaa2c0da083de739f6271173236ff57d2300a1760a3f99a4f1e34efde085
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 30331c31ded00710338af254e9bfce6c69c551ff8de3724261e013863c99f8cf59e58f883ce7324f66c2a6311b36127e712933ca05555f3b9d0193f77ecf2194
|
7
|
+
data.tar.gz: 924f8e9ea16084d25da167b91c7fbe7c6da019045848e71a9f83018e601b19c9c7d24546706bc03f70d7c6b4b1a53018c83989677e6161d5c0546160427c3d75
|
data/README.md
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
|
3
3
|
[Tailwind CSS](https://tailwindcss.com) is a utility-first CSS framework packed with classes like flex, pt-4, text-center and rotate-90 that can be composed to build any design, directly in your markup.
|
4
4
|
|
5
|
-
This gem wraps [the standalone executable version](https://tailwindcss.com/blog/standalone-cli) of the Tailwind CSS
|
5
|
+
This gem wraps [the standalone executable version](https://tailwindcss.com/blog/standalone-cli) of the Tailwind CSS v3 framework. These executables are platform specific, so there are actually separate underlying gems per platform, but the correct gem will automatically be picked for your platform. Supported platforms are Linux x64, macOS arm64, macOS x64, and Windows x64. (Note that due to this setup, you must install the actual gems – you can't pin your gem to the github repo.)
|
6
6
|
|
7
7
|
You can customize the Tailwind build through the `config/tailwind.config.js` file, just like you would if Tailwind was running in a traditional node installation. All the first-party plugins are supported.
|
8
8
|
|
@@ -10,7 +10,7 @@ The installer will create your Tailwind input file in `app/assets/stylesheets/ap
|
|
10
10
|
|
11
11
|
If you need to use a custom input or output file, you can run `bundle exec tailwindcss` to access the platform-specific executable, and give it your own build options.
|
12
12
|
|
13
|
-
When you're developing your application, you want to run Tailwind in watch mode, so changes are automatically reflected in the generated CSS output. You can do this either by running `rails tailwindcss:watch` as a separate process, or by running `./bin/dev` which uses [foreman](https://github.com/ddollar/foreman) to starts both the Tailwind watch process and the rails server in development mode.
|
13
|
+
When you're developing your application, you want to run Tailwind in watch mode, so changes are automatically reflected in the generated CSS output. You can do this either by running `rails tailwindcss:watch` as a separate process, or by running `./bin/dev` which uses [foreman](https://github.com/ddollar/foreman) to starts both the Tailwind watch process and the rails server in development mode. If you are running `rails tailwindcss:watch` as a process in a Docker container, set `tty: true` in `docker-compose.yml` for the appropriate container to keep the watch process running.
|
14
14
|
|
15
15
|
|
16
16
|
## Installation
|
@@ -47,6 +47,7 @@ Some users are reporting this error even when running on one of the supported na
|
|
47
47
|
|
48
48
|
- arm64-darwin
|
49
49
|
- x64-mingw32
|
50
|
+
- x64-mingw-ucrt
|
50
51
|
- x86_64-darwin
|
51
52
|
- x86_64-linux
|
52
53
|
- aarch64-linux
|
Binary file
|
data/lib/tailwindcss/upstream.rb
CHANGED
@@ -1,12 +1,13 @@
|
|
1
1
|
module Tailwindcss
|
2
2
|
# constants describing the upstream tailwindcss project
|
3
3
|
module Upstream
|
4
|
-
VERSION = "v3.
|
4
|
+
VERSION = "v3.1.3"
|
5
5
|
|
6
6
|
# rubygems platform name => upstream release filename
|
7
7
|
NATIVE_PLATFORMS = {
|
8
8
|
"arm64-darwin" => "tailwindcss-macos-arm64",
|
9
9
|
"x64-mingw32" => "tailwindcss-windows-x64.exe",
|
10
|
+
"x64-mingw-ucrt" => "tailwindcss-windows-x64.exe",
|
10
11
|
"x86_64-darwin" => "tailwindcss-macos-x64",
|
11
12
|
"x86_64-linux" => "tailwindcss-linux-x64",
|
12
13
|
"aarch64-linux" => "tailwindcss-linux-arm64",
|
data/lib/tailwindcss/version.rb
CHANGED
data/lib/tasks/build.rake
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
TAILWIND_COMPILE_COMMAND = "#{RbConfig.ruby} #{Pathname.new(__dir__).to_s}/../../exe/tailwindcss -i #{Rails.root.join("app/assets/stylesheets/application.tailwind.css")} -o #{Rails.root.join("app/assets/builds/tailwind.css")} -c #{Rails.root.join("config/tailwind.config.js")} --minify"
|
1
|
+
TAILWIND_COMPILE_COMMAND = "#{RbConfig.ruby} #{Pathname.new(__dir__).to_s}/../../exe/tailwindcss -i '#{Rails.root.join("app/assets/stylesheets/application.tailwind.css")}' -o '#{Rails.root.join("app/assets/builds/tailwind.css")}' -c '#{Rails.root.join("config/tailwind.config.js")}' --minify"
|
2
2
|
|
3
3
|
namespace :tailwindcss do
|
4
4
|
desc "Build your Tailwind CSS"
|
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.9
|
5
5
|
platform: x86_64-linux
|
6
6
|
authors:
|
7
7
|
- David Heinemeier Hansson
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-06-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: railties
|
@@ -24,7 +24,7 @@ dependencies:
|
|
24
24
|
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: 6.0.0
|
27
|
-
description:
|
27
|
+
description:
|
28
28
|
email: david@loudthinking.com
|
29
29
|
executables:
|
30
30
|
- tailwindcss
|
@@ -84,7 +84,7 @@ licenses:
|
|
84
84
|
metadata:
|
85
85
|
homepage_uri: https://github.com/rails/tailwindcss-rails
|
86
86
|
rubygems_mfa_required: 'true'
|
87
|
-
post_install_message:
|
87
|
+
post_install_message:
|
88
88
|
rdoc_options: []
|
89
89
|
require_paths:
|
90
90
|
- lib
|
@@ -99,8 +99,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
99
99
|
- !ruby/object:Gem::Version
|
100
100
|
version: '0'
|
101
101
|
requirements: []
|
102
|
-
rubygems_version: 3.
|
103
|
-
signing_key:
|
102
|
+
rubygems_version: 3.3.14
|
103
|
+
signing_key:
|
104
104
|
specification_version: 4
|
105
105
|
summary: Integrate Tailwind CSS with the asset pipeline in Rails.
|
106
106
|
test_files: []
|