tailwindcss-rails 2.0.6-arm64-darwin → 2.0.7-arm64-darwin

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: 2106cdbaa8c20534c87149617dd3c1a7024bd4f12f0ad106eafb59dd2a36344e
4
- data.tar.gz: b2eb2c4b257f76823447eb9ed96e045d26dd5a4cc31b094bc0e1b8393fe3b075
3
+ metadata.gz: b324461ac63e38f0188c936e92cdf66328409f30d6f51b2929ff74ed8d11fc55
4
+ data.tar.gz: db3f76b02068eb258d567175396a21cef6926cf3a3aa1fd60f673ca1b6305023
5
5
  SHA512:
6
- metadata.gz: 2a6c4d8679e86dd7a37d3b8f3536245bc8e47ebdb7f3891034f39eab9b080405e886e4c65f2823fcd4badcc0758c6343e0f1a2d0b3e98a29841bab2f0c6464a2
7
- data.tar.gz: c5aed067b6c73ddd5ef4e009d5c6325a44e3605e39b7a447959292a284add1d1fdb1d595fe9d43592f034721f8bf72c70cd15ddfbc1d9cbdac6d797df1f2fd66
6
+ metadata.gz: 85862d45962c516e591c7d10a8abb97e1a8965ddc5b7b55fff5768310161600e3451f56ee5ab48e90571d25986f1842168341a7fab4836f3d9a9ac02d137c1e3
7
+ data.tar.gz: 607516eab8fa24a8f716551fd2017613d340ef964cff47c05ba6a79e5ffd69ce40e5ee898f657e38bf367e906041d98741d10db34b65836cb3f4179b8ff0d0dc
@@ -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: arm64-darwin
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/arm64-darwin/tailwindcss
57
56
  - exe/tailwindcss
58
57
  - lib/generators/tailwindcss/controller/controller_generator.rb