tailwindcss-rails 0.4.0 → 0.4.1

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: afb430c28a949956e14b9486ba7678e9ab2f60ba362e30f9d8817f11ba4a26cb
4
- data.tar.gz: 1a7daff63fc833225a72e65766f7eeb43e759e6b75fa65bc07f27ac8bbd1b3d7
3
+ metadata.gz: 365d102efe121a55ce232e1efe7fa2716d2d81541b68143cfc539c469361cef9
4
+ data.tar.gz: '068ab0d2841cac92fe81665b8840198681ca39920fbcf09a12ab7b9f4e124cfa'
5
5
  SHA512:
6
- metadata.gz: 110a47771378d3fd417f58577eee99bdff47ec0589d47718fb24aaa97c86cce9b6a5609f2aae971fb750dcbb3c2b33f8e04676fcd91ecf4b2e3fec0a874a7665
7
- data.tar.gz: 1b06d07ec16ddeba018820d31520468b7a2e0db9dde857db42112b2325bab300c96809d74aa17df2972fac1f1f8467988186cbc24f9b5427576cde8fa6a00824
6
+ metadata.gz: '0181fbba95ea7a664ade6c2cedd8f3c8d1a96627f76a87eb300830807a2232a2157ed3bd7931068b400b7a45bb874b67361d588226af46197036c770634ae206'
7
+ data.tar.gz: 80e9ff6b2e3e4ef73c7ea50d4d3c6aff9914dcfc3ca092dae1d884ee5cb3e6a55f8f51ab0b0aedfb131203d7cf59b73fe84850cf8413ccf9a94f428512b3d7cc
data/README.md CHANGED
@@ -18,8 +18,6 @@ The last step adds the purger compressor to `config/environments/production.rb`.
18
18
 
19
19
  You can do these things yourself, if you've changed the default setup.
20
20
 
21
- Note: You should ensure to delete `app/assets/stylesheets/scaffolds.scss` that Rails adds after running a scaffold command, if you had run this generator before installing Tailwind CSS for Rails. This stylesheet will interfere with Tailwind's reset of base styles. This gem will turn off stylesheet generation for all future scaffold runs.
22
-
23
21
 
24
22
  ## Purging in production
25
23
 
@@ -8,5 +8,8 @@ else
8
8
  say %( Add <%= stylesheet_link_tag "inter-font" %> and <%= stylesheet_link_tag "tailwind" %> within the <head> tag in your custom layout.)
9
9
  end
10
10
 
11
+ say "Removing scaffold styles"
12
+ remove_file Rails.root.join("app/assets/stylesheets/scaffolds.scss")
13
+
11
14
  say "Turn on purging of unused css classes in production"
12
15
  gsub_file Rails.root.join("config/environments/production.rb"), /^\s+#?\s+config.assets.css_compressor =.*$/, %( config.assets.css_compressor = :purger)
@@ -1,3 +1,3 @@
1
1
  module Tailwindcss
2
- VERSION = "0.4.0"
2
+ VERSION = "0.4.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tailwindcss-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.4.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - David Heinemeier Hansson