tailwindcss-rails 3.3.1 → 3.3.2

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: 186507e50a6eada7491d61e0e6c470d6387181d2ccef0b80595843a269ddaf25
4
- data.tar.gz: f5953f069070ec00e7c8075f5e46f6abf62530fd5bee8e8f9dfc8a94d9fce7b2
3
+ metadata.gz: ee1e391824b503c8e61b8a2febd7ccd47d31614bfefd933e272a70e6b02f7e9a
4
+ data.tar.gz: 0b19a09424bdf6f2b8a74bc0cff3867373bd1a6c04c20ecb83ccdb1e2528d8eb
5
5
  SHA512:
6
- metadata.gz: ac1d7fdee37272a7edcacf074114dce4097130c72f6e20f609e2cd7ea17a941d3a1c0b8fa0af04244cb92329fc61854784af79fd1cf6b20dd0904cd07b3408ca
7
- data.tar.gz: 417eb6b2e70f26192adb46b619448e0b5ed7d556b6ecfa01cd5fc464a046e1910e7913f2626ec710d19d7b2359e288a6a46ea2ab466468da54e30e5fa9fb9896
6
+ metadata.gz: ce439d9897933e3c38d64a1bf6459d47cbe9ebf7daa0c79dac66dd1e7e62012eb0602dc0adb2bf239a37c9d2709e429a8912d1918768a777abb9bc5454354e36
7
+ data.tar.gz: 14b70eee495bc67c4f465c041345d48acc5d985a3a06b2fead4bea4f90e5c521eb2aa854fa4f67b3df244aa4d63239bbd27ae1d9edab28a2790d322f3eb75023
@@ -13,7 +13,7 @@ Puma::Plugin.create do
13
13
  # If we use system(*command) instead, IRB and Debug can't read from $stdin
14
14
  # correctly bacause some keystrokes will be taken by watch_command.
15
15
  begin
16
- IO.popen(Tailwindcss::Commands.watch_command, 'r+') do |io|
16
+ IO.popen(Tailwindcss::Commands::ENV, Tailwindcss::Commands.watch_command, 'r+') do |io|
17
17
  IO.copy_stream(io, $stdout)
18
18
  end
19
19
  rescue Interrupt
@@ -2,6 +2,8 @@ require "tailwindcss/ruby"
2
2
 
3
3
  module Tailwindcss
4
4
  module Commands
5
+ ENV = {'BROWSERSLIST_IGNORE_OLD_DATA' => '1'}
6
+
5
7
  class << self
6
8
  def compile_command(debug: false, **kwargs)
7
9
  rails_root = defined?(Rails) ? Rails.root : Pathname.new(Dir.pwd)
@@ -1,3 +1,3 @@
1
1
  module Tailwindcss
2
- VERSION = "3.3.1"
2
+ VERSION = "3.3.2"
3
3
  end
data/lib/tasks/build.rake CHANGED
@@ -4,7 +4,7 @@ namespace :tailwindcss do
4
4
  debug = args.extras.include?("debug")
5
5
  command = Tailwindcss::Commands.compile_command(debug: debug)
6
6
  puts command.inspect if args.extras.include?("verbose")
7
- system(*command, exception: true)
7
+ system(Tailwindcss::Commands::ENV, *command, exception: true)
8
8
  end
9
9
 
10
10
  desc "Watch and build your Tailwind CSS on file changes"
@@ -14,7 +14,7 @@ namespace :tailwindcss do
14
14
  always = args.extras.include?("always")
15
15
  command = Tailwindcss::Commands.watch_command(always: always, debug: debug, poll: poll)
16
16
  puts command.inspect if args.extras.include?("verbose")
17
- system(*command)
17
+ system(Tailwindcss::Commands::ENV, *command)
18
18
  rescue Interrupt
19
19
  puts "Received interrupt, exiting tailwindcss:watch" if args.extras.include?("verbose")
20
20
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tailwindcss-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.3.1
4
+ version: 3.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Heinemeier Hansson
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-01-23 00:00:00.000000000 Z
10
+ date: 1980-01-02 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: railties
@@ -114,7 +114,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
114
114
  - !ruby/object:Gem::Version
115
115
  version: 3.2.0
116
116
  requirements: []
117
- rubygems_version: 3.6.2
117
+ rubygems_version: 3.6.8
118
118
  specification_version: 4
119
119
  summary: Integrate Tailwind CSS with the asset pipeline in Rails.
120
120
  test_files: []