tailwindcss-rails 2.4.0-x64-mingw-ucrt → 2.4.1-x64-mingw-ucrt

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: ff7099551b16f337b47edcb643a66ba0a0051f8e658c69a30c56214f8d0f9bc0
4
- data.tar.gz: 5b5e8c030c347f5f737b009c57e53d4e2d76f95dddb1e8fe6cb301e753fa1460
3
+ metadata.gz: 1095f0ce19d9406d8ace03b8d07dd12a2f4063693330cc107cfa6476afffc39d
4
+ data.tar.gz: dce93f91f16789ac461ce077d5622f42e73bd698b8277defc4d20c7b89967f9f
5
5
  SHA512:
6
- metadata.gz: dbc2c5a6c0928061925d8cce17f68fe08f736bcfaf49766308b91e11e77a528b6fc1009c8d7cd649989ddd84f6312a72ebc4c28ba698e11219c6ca6824bbfbe7
7
- data.tar.gz: c97e4c57cbb1ea6f47d81b6bd4a4f9495c7b4f992827e34eb1605e57c6b8c575016e7cc131cf89daae712ace839c0caab04c776f05bd3ffbc429184c9a69de30
6
+ metadata.gz: 998352a5525fc9c2af3591231d42bda9d4b39be713490e992f5b9d6fbc27d36d8d7c021ce79af531155d8d03066fb76fe319e24b3f527afcd5f45d8701366263
7
+ data.tar.gz: ac2237833c25d524a1340b5186a1bf04be170bdd3049e32ac03ff6c50b9f89efae2eb93418a1870cf82c28d36a0f5e6d7f6e50981abf28c70dee82d820b0b35f
data/README.md CHANGED
@@ -17,6 +17,7 @@
17
17
  * [Using with PostCSS](#using-with-postcss)
18
18
  * [Custom inputs or outputs](#custom-inputs-or-outputs)
19
19
  - [Troubleshooting](#troubleshooting)
20
+ * [Lost keystrokes or hanging when using `ruby/debug` with the Puma plugin](#lost-keystrokes-or-hanging-when-using-rubydebug-with-the-puma-plugin)
20
21
  * [Running in a docker container exits prematurely](#running-in-a-docker-container-exits-prematurely)
21
22
  * [Conflict with sassc-rails](#conflict-with-sassc-rails)
22
23
  * [Class names must be spelled out](#class-names-must-be-spelled-out)
@@ -185,6 +186,17 @@ If you need to use a custom input or output file, you can run `bundle exec tailw
185
186
 
186
187
  Some common problems experienced by users ...
187
188
 
189
+ ### Lost keystrokes or hanging when using `ruby/debug` with the Puma plugin
190
+
191
+ If you are using the `ruby/debug` debugger while using the Puma plugin from this gem, and you're experiencing what looks like hanging or lost keystrokes, then you'll need to disable Reline.
192
+
193
+ You can read the [`debug` documentation](https://github.com/ruby/debug?tab=readme-ov-file#configuration) for more information, but the easiest thing to do is to set the environment variable `RUBY_DEBUG_NO_RELINE`:
194
+
195
+ ``` sh
196
+ RUBY_DEBUG_NO_RELINE=1 rails server
197
+ ```
198
+
199
+
188
200
  ### Running in a docker container exits prematurely
189
201
 
190
202
  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.
@@ -8,7 +8,12 @@ Puma::Plugin.create do
8
8
  @puma_pid = $$
9
9
  @tailwind_pid = fork do
10
10
  Thread.new { monitor_puma }
11
- system(*Tailwindcss::Commands.watch_command)
11
+ # Using IO.popen(command, 'r+') will avoid watch_command read from $stdin.
12
+ # If we use system(*command) instead, IRB and Debug can't read from $stdin
13
+ # correctly bacause some keystrokes will be taken by watch_command.
14
+ IO.popen(Tailwindcss::Commands.watch_command, 'r+') do |io|
15
+ IO.copy_stream(io, $stdout)
16
+ end
12
17
  end
13
18
 
14
19
  launcher.events.on_stopped { stop_tailwind }
@@ -1,3 +1,3 @@
1
1
  module Tailwindcss
2
- VERSION = "2.4.0"
2
+ VERSION = "2.4.1"
3
3
  end
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.4.0
4
+ version: 2.4.1
5
5
  platform: x64-mingw-ucrt
6
6
  authors:
7
7
  - David Heinemeier Hansson
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2024-04-08 00:00:00.000000000 Z
11
+ date: 2024-04-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: railties
@@ -104,7 +104,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
104
104
  - !ruby/object:Gem::Version
105
105
  version: 3.2.0
106
106
  requirements: []
107
- rubygems_version: 3.4.19
107
+ rubygems_version: 3.5.9
108
108
  signing_key:
109
109
  specification_version: 4
110
110
  summary: Integrate Tailwind CSS with the asset pipeline in Rails.