tailwindcss-rails 2.0.6-aarch64-linux → 2.0.7-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: 43f025b4b06f09bde2246864228258dc9bc52ebd2e181a7ab241b35184ebf05d
4
- data.tar.gz: 3ca265b063a9af414ebb1ff00bb9a943bec80382c7a4023c258d16a2d692b486
3
+ metadata.gz: 0b71fef772e79316d37a4fa0bb7321f019dd2bee6fed61eba7e2c3749d2827d1
4
+ data.tar.gz: 02f2361e9a8a4bcfa28de0cd9bfa5a6bce48968771d3fbb665dee6b3e017de01
5
5
  SHA512:
6
- metadata.gz: 9a09abecaaf3512b27eb21ddd6066e0c0c0a534a09bdbbfd42a562c9842792189f2fd9e36b97b4e3c379b4b7c894dc4a49005bdb0b2be1b184d4dd576170e555
7
- data.tar.gz: dd2e390051b597e92104819eb1e7ea219db3f2cd882731f6de2e4ffcf1ba875ad80e5e2872273120f7cdca81a2b5a93360cb42c6afc59050de143938a4bf5ab7
6
+ metadata.gz: 8de5b91a23fbdc68035660ac0625a96a66bb1f6c357f845129fd92ad6a99b4c41b12437f63a098fe0fe86c1574b8df35734d92d8a09cc900869b8e4cabac2c3b
7
+ data.tar.gz: e658a7029280351c2c0a2c61a65ffdc8e51e8565b9b072f1afe1fe0b075a82943ff166a3e384bd36e3f1d5a2bab14d0e5ff048b2b8db97c09cab9124cd9e538d
@@ -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: aarch64-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/aarch64-linux/tailwindcss
57
56
  - exe/tailwindcss
58
57
  - lib/generators/tailwindcss/controller/controller_generator.rb