tailwindcss-rails 2.0.5-x64-mingw32 → 2.0.6-x64-mingw32

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: ffd4849fa278d77bd3b18cba2f9f4a812eebfbabfc8590ec4af3937b2053fe95
4
- data.tar.gz: 8f295a079d2039d7b1611fcde74ca39edfdd5171f2a90babec10d46dfd2b44c3
3
+ metadata.gz: fb607c4747eb2e6b3b35726febf530f1c43fc4a3aa9d55f5efb51b95906779b9
4
+ data.tar.gz: 5b716c92b93dcc7cc4c5aba13f2c55f7540c195274942e3fd6455d14cef423b8
5
5
  SHA512:
6
- metadata.gz: 75214918f82a491081ef339fe4510ad68a162f94dd366a10048278051c8390edc4372229ad3706554822f9a0f0067176748732302e303aedd1c3bee2e6093bad
7
- data.tar.gz: 6e46d233efd69c68337da2f050707069096acedaf7fddc6a734f5f4bd1989179cdf0f29c7c1f6a00191e698e9c2e34db96ccafc59a4c0a0a97a6bee04ff8f74f
6
+ metadata.gz: 3fd0741f6c793231d0d7715f8496010c80ff8acf2eb6af47b87f59e7699f809b04908c885d8fd2e4e0577294415154e9d121f0dd0d61ccb8be6c4ce6fcc98dc1
7
+ data.tar.gz: d75f4713f82573dc03e17ddbe6973639a678e415f4abaf60b2a58ef70ad70e2b23aa280e1a267efaadf3bbcc4d6b4f8c2eaa2001c8440d6bd420d5da6a2481d0
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
@@ -1,7 +1,7 @@
1
1
  module Tailwindcss
2
2
  # constants describing the upstream tailwindcss project
3
3
  module Upstream
4
- VERSION = "v3.0.15"
4
+ VERSION = "v3.0.22"
5
5
 
6
6
  # rubygems platform name => upstream release filename
7
7
  NATIVE_PLATFORMS = {
@@ -1,3 +1,3 @@
1
1
  module Tailwindcss
2
- VERSION = "2.0.5"
2
+ VERSION = "2.0.6"
3
3
  end
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.5
4
+ version: 2.0.6
5
5
  platform: x64-mingw32
6
6
  authors:
7
7
  - David Heinemeier Hansson
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2022-01-16 00:00:00.000000000 Z
11
+ date: 2022-02-19 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: railties