tailwindcss-rails 2.0.26-aarch64-linux → 2.0.28-aarch64-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: 4f8e66e8a49715b1cb0af9c40ae68394e61f7b61b5339aeaaf9fcb1da2b9d714
4
- data.tar.gz: 3c2ed2f8b556c0e91ce117edeee18235cf569301fa240d54ab07e7bbd1789ae6
3
+ metadata.gz: c88522e32a076ca9bccff6a79af62499c58485445aaae88fc3a61fcf5a78e71c
4
+ data.tar.gz: ac9aa9ba3bbc2ed1190517cb288657040908ea03a0bdd52fdae5c65c0ba1ee1b
5
5
  SHA512:
6
- metadata.gz: a62c54cd2a2cb6dcdac340d25c551f9a953dca6b7393836368d5138bb97b06ccbe19a5554851c7fcad91c1f05a7fddd50604704dc774860911c478f7d940b548
7
- data.tar.gz: 285464118a92d6315adb467af5cf2d6992b7c2e1dd45e2ca69fe8b5a01c58ef58ff08b457ce955fb82698c93e2b352eae27d3d4bbace6d5f4796a9b8eaacd122
6
+ metadata.gz: a57daedd8e9511ba249ab66ed96dd09e3d51e63ee6f8b0575a7d32932103d6b8843b62020f36948877865bab3862ee9ae564158997dd847dca7e4df06d813b21
7
+ data.tar.gz: c833a10e48fa43dbe1caf787f8146e84f02767a93ea1a8ea0b503a6453c13b2adf72d800c7e4c9db479276c3a0c831c46fcf7d23956fe7c546520e372d3fd58d
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.0"
4
+ VERSION = "v3.3.1"
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.26"
2
+ VERSION = "2.0.28"
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.26
4
+ version: 2.0.28
5
5
  platform: aarch64-linux
6
6
  authors:
7
7
  - David Heinemeier Hansson
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2023-03-30 00:00:00.000000000 Z
11
+ date: 2023-04-21 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: railties
@@ -101,7 +101,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
101
101
  - !ruby/object:Gem::Version
102
102
  version: '0'
103
103
  requirements: []
104
- rubygems_version: 3.4.6
104
+ rubygems_version: 3.4.10
105
105
  signing_key:
106
106
  specification_version: 4
107
107
  summary: Integrate Tailwind CSS with the asset pipeline in Rails.