tailwindcss-rails 2.0.6-x64-mingw32 → 2.0.7-x64-mingw32
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 +4 -4
- data/lib/install/tailwindcss.rb +4 -2
- data/lib/tailwindcss/version.rb +1 -1
- metadata +2 -3
- data/app/assets/stylesheets/tailwind.css +0 -295158
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c0d88630e2711495a47a5aa59c18ab3c02f3e337f7bf3bdec0eb1822e22d9f7c
|
4
|
+
data.tar.gz: 708013b2a3f8920e5c0869670c113b29d1fadd85d06c0348c041a487e3aea1a0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f34003a45fc083a46e82ff70db921ed3221c303ff81df75081a23271075ffa38b4900047707d8ca14b1ec4a60570404f850dc98605df89c2d9c25c9f7439125d
|
7
|
+
data.tar.gz: 275e1f5d40243d657437240be960cdcbe05d11d33c2b9c5f2256a4f942158065297a05e2a715fd73bfa78a40a5d2dc97a7e353c2e09cbbc4f5130e2b2b0a83ff
|
data/lib/install/tailwindcss.rb
CHANGED
@@ -7,8 +7,10 @@ if APPLICATION_LAYOUT_PATH.exist?
|
|
7
7
|
<%= stylesheet_link_tag "tailwind", "inter-font", "data-turbo-track": "reload" %>
|
8
8
|
ERB
|
9
9
|
|
10
|
-
|
11
|
-
|
10
|
+
if File.open(APPLICATION_LAYOUT_PATH).read =~ /<body>\n\s*<%= yield %>\n\s*<\/body>/
|
11
|
+
insert_into_file APPLICATION_LAYOUT_PATH.to_s, %( <main class="container mx-auto mt-28 px-5 flex">\n ), before: CENTERING_CONTAINER_INSERTION_POINT
|
12
|
+
insert_into_file APPLICATION_LAYOUT_PATH.to_s, %(\n </main>), after: CENTERING_CONTAINER_INSERTION_POINT
|
13
|
+
end
|
12
14
|
else
|
13
15
|
say "Default application.html.erb is missing!", :red
|
14
16
|
say %( Add <%= stylesheet_link_tag "tailwind", "inter-font", "data-turbo-track": "reload" %> within the <head> tag in your custom layout.)
|
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: 2.0.
|
4
|
+
version: 2.0.7
|
5
5
|
platform: x64-mingw32
|
6
6
|
authors:
|
7
7
|
- David Heinemeier Hansson
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-02-
|
11
|
+
date: 2022-02-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: railties
|
@@ -52,7 +52,6 @@ files:
|
|
52
52
|
- app/assets/fonts/Inter-roman.symbols.var.woff2
|
53
53
|
- app/assets/fonts/Inter-roman.vietnamese.var.woff2
|
54
54
|
- app/assets/stylesheets/inter-font.css
|
55
|
-
- app/assets/stylesheets/tailwind.css
|
56
55
|
- exe/tailwindcss
|
57
56
|
- exe/x64-mingw32/tailwindcss
|
58
57
|
- lib/generators/tailwindcss/controller/controller_generator.rb
|