tailwindcss-rails 2.0.6-x86_64-linux → 2.0.7-x86_64-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: 37c57d8bda6e661abaf99b5648b4ed97c14e82ea73be71aa58eb7c37ddd136c3
4
- data.tar.gz: 9a34a0304e6c28d8336eaf4820188e3a27c0a15a8c10d312dcfb735afc0df86c
3
+ metadata.gz: bd3f1384301276000d71c984c7d6772ae22e19aa33859a0de7a6d3dce9cba939
4
+ data.tar.gz: 91c7dd714b89336f09b82192251e48a45817ee2a0ce6a51f08cdd0a7a454f446
5
5
  SHA512:
6
- metadata.gz: e251f9148a0e263b2f5630800b683f4fd49b024163726abb953eb92abcc9520ac4b23446eb43e73c7b95bc19cf10544121ac5e9570bf8c6573b5a7d0b7e3af73
7
- data.tar.gz: cc97a7388fadd62c6b54cd734a0d57459233569f2e86de20617241cd74f0cbfd1608af1cabc40ddf4cd7c788c733ce21955d81d6ca03460afc6d7191fbf27934
6
+ metadata.gz: 29edd29ac9e63117b9f2ad5133cbd8a75573db74bd51f01060461314ea664091ef6884d1ddfc9070385c2616d93fe0518a9ab11a1a26e6bc0dec0e94bc950ca0
7
+ data.tar.gz: 248071df47b8451a124647585746763c1809cb089458bc575b42600fc680702b026270e78f3da3587a77ef145d5d7ae97e2c6d7a9d9fbdc30dfcd578b71b608d
@@ -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: x86_64-linux
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/x86_64-linux/tailwindcss
58
57
  - lib/generators/tailwindcss/controller/controller_generator.rb