tailwindcss-rails 2.0.6-x86_64-darwin → 2.0.7-x86_64-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: 24b0d99a6d48fd34a224ee9bfd6f52e01959e00df6634c5a56eca35372cb435b
4
- data.tar.gz: 75b6da74e60e839a116004508576a016be85ac9aa318f005661114f729346922
3
+ metadata.gz: 5ec1e475cd790ad17d0fe0c59ab1f3488a9a47749129ee4e8539e3790e07418a
4
+ data.tar.gz: a4b12811f514920313b310007e8af24f7c72c8b04727be2b80d75acd4c46f2f4
5
5
  SHA512:
6
- metadata.gz: e1f8a52f4557ce58f51e5fbe511f541eb51b2dba0e1f1d887b9800a0136b6a211592dcaf7029f09902f54d37c77eec3a17c3e75086f3ef0917013b5edd8451ae
7
- data.tar.gz: 9cca5aa35e0cf003a32bd1cf78259c84e2540cd5eb600c580d8fcd41f7bb2ecc8e48594697d37ef53fc30779b6faa39ff5c733928cb999384f3720c36e128dc4
6
+ metadata.gz: 4f2eb0b7a1fcb55b05f1b2df56cb8eb773b87136e816c61fc39c4d8dca9eac0f9dd49fc72cee52aa5caa81d9478a9e3be95f3e850eca021a6c7092fccd31ac73
7
+ data.tar.gz: 93c1e6e7f408a77d20108548242e5c073246cc596729725978dfcd74dbf37558c8c0df9dc31642f36a12f3f7173874f12ce81e704a0225cc2741fec5695e54f3
@@ -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-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/tailwindcss
57
56
  - exe/x86_64-darwin/tailwindcss
58
57
  - lib/generators/tailwindcss/controller/controller_generator.rb