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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: fb607c4747eb2e6b3b35726febf530f1c43fc4a3aa9d55f5efb51b95906779b9
4
- data.tar.gz: 5b716c92b93dcc7cc4c5aba13f2c55f7540c195274942e3fd6455d14cef423b8
3
+ metadata.gz: c0d88630e2711495a47a5aa59c18ab3c02f3e337f7bf3bdec0eb1822e22d9f7c
4
+ data.tar.gz: 708013b2a3f8920e5c0869670c113b29d1fadd85d06c0348c041a487e3aea1a0
5
5
  SHA512:
6
- metadata.gz: 3fd0741f6c793231d0d7715f8496010c80ff8acf2eb6af47b87f59e7699f809b04908c885d8fd2e4e0577294415154e9d121f0dd0d61ccb8be6c4ce6fcc98dc1
7
- data.tar.gz: d75f4713f82573dc03e17ddbe6973639a678e415f4abaf60b2a58ef70ad70e2b23aa280e1a267efaadf3bbcc4d6b4f8c2eaa2001c8440d6bd420d5da6a2481d0
6
+ metadata.gz: f34003a45fc083a46e82ff70db921ed3221c303ff81df75081a23271075ffa38b4900047707d8ca14b1ec4a60570404f850dc98605df89c2d9c25c9f7439125d
7
+ data.tar.gz: 275e1f5d40243d657437240be960cdcbe05d11d33c2b9c5f2256a4f942158065297a05e2a715fd73bfa78a40a5d2dc97a7e353c2e09cbbc4f5130e2b2b0a83ff
@@ -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
- insert_into_file APPLICATION_LAYOUT_PATH.to_s, %( <main class="container mx-auto mt-28 px-5 flex">\n ), before: CENTERING_CONTAINER_INSERTION_POINT
11
- insert_into_file APPLICATION_LAYOUT_PATH.to_s, %(\n </main>), after: CENTERING_CONTAINER_INSERTION_POINT
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.)
@@ -1,3 +1,3 @@
1
1
  module Tailwindcss
2
- VERSION = "2.0.6"
2
+ VERSION = "2.0.7"
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.0.6
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-19 00:00:00.000000000 Z
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