tailwindcss-rails 0.5.4 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +10 -0
- data/lib/generators/tailwindcss/scaffold/templates/show.html.erb.tt +1 -1
- data/lib/tailwindcss/version.rb +1 -1
- metadata +7 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 271a2b804dd59ec03250304b63c4c6e2f789984eef0a054f146d946679837361
|
4
|
+
data.tar.gz: 25247c46c616a5cc4fa505779917a1e195cbcda3aa52b6afca93b79fa8d4efab
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ecc7197301ae8c84f2d783a660596d33024aaf07e875adba714ea9380bb8c3bdf315be4f49dd743861be182591760bf9782e411ef57a17828002621314106fdd
|
7
|
+
data.tar.gz: 6ce32962dd8c4238cfa10720f8c45607de65800322b134ba72d248ed96ed5edd69cbcab726c02e23c1dad9cdea603d23652714f0f7188d375fdd506d94d1f593
|
data/README.md
CHANGED
@@ -58,6 +58,16 @@ The Tailwind CSS main file that's being used before purging consists of these ve
|
|
58
58
|
* tailwindcss 2.2.15
|
59
59
|
|
60
60
|
|
61
|
+
## Compatibility with Tailwind 3.0
|
62
|
+
|
63
|
+
This gem is not yet compatible with the JIT approach taken with Tailwind 3.0. We're working with the team on an approach that would bring compatibility, but at the moment you'd need to use [cssbundling-rails](https://github.com/rails/cssbundling-rails/) (and thus bring Node into your app) in order to use 3.0.
|
64
|
+
|
65
|
+
|
66
|
+
## Conflict with sassc-rails
|
67
|
+
|
68
|
+
Tailwind uses modern CSS features that are not recognized by the `sassc-rails` extension that was included by default in the Gemfile for Rails 6. In order to avoid any errors like `SassC::SyntaxError`, you must remove that gem from your Gemfile.
|
69
|
+
|
70
|
+
|
61
71
|
## License
|
62
72
|
|
63
73
|
Tailwind for Rails is released under the [MIT License](https://opensource.org/licenses/MIT).
|
@@ -8,7 +8,7 @@
|
|
8
8
|
|
9
9
|
<%%= link_to 'Edit this <%= singular_table_name %>', edit_<%= singular_table_name %>_path(@<%= singular_table_name %>), class: "mt-2 rounded-lg py-3 px-5 bg-gray-100 inline-block font-medium" %>
|
10
10
|
<div class="inline-block ml-2">
|
11
|
-
<%%= button_to 'Destroy this <%= singular_table_name %>', <%= singular_table_name %>_path(@<%= singular_table_name %>), method: :delete,
|
11
|
+
<%%= button_to 'Destroy this <%= singular_table_name %>', <%= singular_table_name %>_path(@<%= singular_table_name %>), method: :delete, class: "mt-2 rounded-lg py-3 px-5 bg-gray-100 font-medium" %>
|
12
12
|
</div>
|
13
13
|
<%%= link_to 'Back to <%= plural_table_name %>', <%= index_helper %>_path, class: "ml-2 rounded-lg py-3 px-5 bg-gray-100 inline-block font-medium" %>
|
14
14
|
</div>
|
data/lib/tailwindcss/version.rb
CHANGED
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: 0.
|
4
|
+
version: 1.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- David Heinemeier Hansson
|
8
|
-
autorequire:
|
8
|
+
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-12-
|
11
|
+
date: 2021-12-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: railties
|
@@ -24,7 +24,7 @@ dependencies:
|
|
24
24
|
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: 6.0.0
|
27
|
-
description:
|
27
|
+
description:
|
28
28
|
email: david@loudthinking.com
|
29
29
|
executables: []
|
30
30
|
extensions: []
|
@@ -75,7 +75,8 @@ licenses:
|
|
75
75
|
- MIT
|
76
76
|
metadata:
|
77
77
|
homepage_uri: https://github.com/rails/tailwindcss-rails
|
78
|
-
|
78
|
+
rubygems_mfa_required: 'true'
|
79
|
+
post_install_message:
|
79
80
|
rdoc_options: []
|
80
81
|
require_paths:
|
81
82
|
- lib
|
@@ -91,7 +92,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
91
92
|
version: '0'
|
92
93
|
requirements: []
|
93
94
|
rubygems_version: 3.2.32
|
94
|
-
signing_key:
|
95
|
+
signing_key:
|
95
96
|
specification_version: 4
|
96
97
|
summary: Integrate Tailwind CSS with the asset pipeline in Rails.
|
97
98
|
test_files: []
|