tailwindcss-rails 2.0.5-x86_64-darwin → 2.0.6-x86_64-darwin
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 -0
- data/exe/tailwindcss +5 -0
- data/lib/tailwindcss/upstream.rb +1 -1
- data/lib/tailwindcss/version.rb +1 -1
- data/lib/tasks/build.rake +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: 24b0d99a6d48fd34a224ee9bfd6f52e01959e00df6634c5a56eca35372cb435b
|
4
|
+
data.tar.gz: 75b6da74e60e839a116004508576a016be85ac9aa318f005661114f729346922
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e1f8a52f4557ce58f51e5fbe511f541eb51b2dba0e1f1d887b9800a0136b6a211592dcaf7029f09902f54d37c77eec3a17c3e75086f3ef0917013b5edd8451ae
|
7
|
+
data.tar.gz: 9cca5aa35e0cf003a32bd1cf78259c84e2540cd5eb600c580d8fcd41f7bb2ecc8e48594697d37ef53fc30779b6faa39ff5c733928cb999384f3720c36e128dc4
|
data/README.md
CHANGED
@@ -25,6 +25,9 @@ With Rails 7 you can generate a new application preconfigured with Tailwind by u
|
|
25
25
|
|
26
26
|
The `tailwindcss:build` is automatically attached to `assets:precompile`, so before the asset pipeline digests the files, the Tailwind output will be generated.
|
27
27
|
|
28
|
+
## Building for testing
|
29
|
+
|
30
|
+
The `tailwindcss:build` is automatically attached to `test:prepare`, which runs before Rails tests. (Note that this currently only applies to rails `test:*` tasks (like `test:all` or `test:controllers`), not "rails test", as that doesn't load `test:prepare`).
|
28
31
|
|
29
32
|
## Conflict with sassc-rails
|
30
33
|
|
data/exe/tailwindcss
CHANGED
@@ -32,6 +32,11 @@ if exe_path.nil?
|
|
32
32
|
bundle install
|
33
33
|
|
34
34
|
See `bundle lock --help` output for details.
|
35
|
+
|
36
|
+
If you're still seeing this message after taking those steps, try running
|
37
|
+
`bundle config` and ensure `force_ruby_platform` isn't set to `true`. See
|
38
|
+
https://github.com/rails/tailwindcss-rails#check-bundle_force_ruby_platform
|
39
|
+
for more details.
|
35
40
|
ERRMSG
|
36
41
|
exit 1
|
37
42
|
end
|
data/lib/tailwindcss/upstream.rb
CHANGED
data/lib/tailwindcss/version.rb
CHANGED
data/lib/tasks/build.rake
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
TAILWIND_COMPILE_COMMAND = "#{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")}"
|
1
|
+
TAILWIND_COMPILE_COMMAND = "#{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.6
|
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: 2022-
|
11
|
+
date: 2022-02-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: railties
|