tailwindcss-rails 2.0.5-x86_64-linux → 2.0.6-x86_64-linux

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: 9d14cda7300e9e7bec7c026317d0fa5942ebde61c98174f0abd074b6443188ff
4
- data.tar.gz: d075251a5c7b0a35e28cc1528409cce9853a092a6541475401afcfd4ba84234d
3
+ metadata.gz: 37c57d8bda6e661abaf99b5648b4ed97c14e82ea73be71aa58eb7c37ddd136c3
4
+ data.tar.gz: 9a34a0304e6c28d8336eaf4820188e3a27c0a15a8c10d312dcfb735afc0df86c
5
5
  SHA512:
6
- metadata.gz: cdfe5dd518c0f603d8721fdf6383fb81085632729d3d1ba154357119a490352df9c0f1526d90611a31aa60db38c06ca962715c7e4fa1c17f69c5c6c2239de01f
7
- data.tar.gz: c21fd33e18a5ed69e331a9d7e43e015dc35de4b1bb8159c953372ee87f5450a391d0e205201cbadc1c2c2655cf42fbbe2fb78c6b2856a915cb315d5565cef802
6
+ metadata.gz: e251f9148a0e263b2f5630800b683f4fd49b024163726abb953eb92abcc9520ac4b23446eb43e73c7b95bc19cf10544121ac5e9570bf8c6573b5a7d0b7e3af73
7
+ data.tar.gz: cc97a7388fadd62c6b54cd734a0d57459233569f2e86de20617241cd74f0cbfd1608af1cabc40ddf4cd7c788c733ce21955d81d6ca03460afc6d7191fbf27934
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: x86_64-linux
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