tailwindcss-rails 2.0.27-x64-mingw-ucrt → 2.0.29-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: 2fa56d07c404c777a9b1a88ed124863817eb46c05b865079fc947be5711c1078
4
- data.tar.gz: 648743e06a38fa08bf3113a8af1b1f5c7cd53d5c63a276cb82be8dc0c8d61e53
3
+ metadata.gz: 6eff1828b2daca2a4e85f6f4e5a7dc425ac97498d4d379d828937c3e9cebef15
4
+ data.tar.gz: 15219e91c48067f7d15aadccbcda24656d515d72d62767e888be743e1b286e55
5
5
  SHA512:
6
- metadata.gz: 676ea01c71381053789c95999494ddfb236d5b32c1c2d52e4f3c7d071dd98a7c01c1629446cb06f1ecf72dbbd735669dd8dc4777c3f515be77b67a3c74bff415
7
- data.tar.gz: d12e4078c62a02b3c4157c22063c61b3a99e94b5346ec0a497ebe73bebce54357c9624c1a5c681d9afd6d68ce16e89379980516a44adf81caba278b75f8dc953
6
+ metadata.gz: c1eab94f0bf054f0eee8813a24901cde88cba4722db2347d76d29727d33ef6b24508645d6607ffb7d103bc07cf02bc8a94a0eae6f683f91f39f6d0ebff382006
7
+ data.tar.gz: 7a4912ebf798ae83f5045dc267315dc59d4c515594583ae0afb80fa4e39426641332f60c5cafa3b2c21d0a1ed44eaf0f96cc66f698205b8fb6b36be003c30d9d
data/README.md CHANGED
@@ -70,9 +70,11 @@ While you're developing your application, you want to run Tailwind in "watch" mo
70
70
  - running `rails tailwindcss:watch` as a separate process,
71
71
  - or by running `./bin/dev` which uses [foreman](https://github.com/ddollar/foreman) to start both the Tailwind watch process and the rails server in development mode.
72
72
 
73
+ If you are running `rails tailwindcss:watch` on a system that doesn't fully support file system events, pass a `poll` argument to the task to instruct tailwindcss to instead use polling: `rails tailwindcss:watch[poll]`. If you use `bin/dev` then you should modify your `Procfile.dev`.
74
+
73
75
  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.
74
76
 
75
- If you are running `rails tailwindcss:watch` on a system that doesn't fully support file system events, pass a `poll` argument to the task to instruct tailwindcss to instead use polling: `rails tailwindcss:watch[poll]`. If you use `bin/dev` then you should modify your `Procfile.dev`.
77
+ If you are running `rails tailwindcss:watch` in a docker container without a tty, pass the `always` argument to the task to instruct tailwindcss to keep the watcher alive even when `stdin` is closed: `rails tailwindcss:watch[always]`. If you use `bin/dev` then you should modify your `Procfile.dev`.
76
78
 
77
79
 
78
80
  ### Debugging with unminified assets
Binary file
@@ -83,9 +83,10 @@ module Tailwindcss
83
83
  end
84
84
  end
85
85
 
86
- def watch_command(poll: false, **kwargs)
86
+ def watch_command(always: false, poll: false, **kwargs)
87
87
  compile_command(**kwargs).tap do |command|
88
88
  command << "-w"
89
+ command << "always" if always
89
90
  command << "-p" if poll
90
91
  end
91
92
  end
@@ -1,7 +1,7 @@
1
1
  module Tailwindcss
2
2
  # constants describing the upstream tailwindcss project
3
3
  module Upstream
4
- VERSION = "v3.3.1"
4
+ VERSION = "v3.3.2"
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.27"
2
+ VERSION = "2.0.29"
3
3
  end
data/lib/tasks/build.rake CHANGED
@@ -11,7 +11,8 @@ namespace :tailwindcss do
11
11
  task watch: :environment do |_, args|
12
12
  debug = args.extras.include?("debug")
13
13
  poll = args.extras.include?("poll")
14
- command = Tailwindcss::Commands.watch_command(debug: debug, poll: poll)
14
+ always = args.extras.include?("always")
15
+ command = Tailwindcss::Commands.watch_command(always: always, debug: debug, poll: poll)
15
16
  puts command.inspect if args.extras.include?("verbose")
16
17
  system(*command)
17
18
  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.0.27
4
+ version: 2.0.29
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: 2023-04-02 00:00:00.000000000 Z
11
+ date: 2023-04-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: railties