rails_critical_css 0.3.8 → 0.3.9

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: '08b36ef0e246ec233ed907921d184c1b2988f310d6bf993b7416f83735390810'
4
- data.tar.gz: 59ae0dabd12e65f59389ff27ecfb5ba0bbf912f1f38f80871bf353b268243918
3
+ metadata.gz: 1fce5ce61aaba300ef0817a1cf6f33d66f97be54a59d863aa2626363abcd0618
4
+ data.tar.gz: 605b23b501b0a1f5ef199b34fc4a6e736fd44f9b9aecb712c9e9bbcfd8d6e97a
5
5
  SHA512:
6
- metadata.gz: 3849a469e93679d1393f405c34825ef6812ed614f2e9f38edc71d80aadc500f6d9255aa55dbb7915d3ec7e9f9fba28892ad37836c89850860111f492a8af556e
7
- data.tar.gz: 6219ecd0584ab16821af3bbdb18ecff40d397f447350c7ea23c1fd95b4d170a2aa7f71e52a14973e0f2c4e911f94df3963e778434693f027151d8a1c74c853cf
6
+ metadata.gz: a56bad87de70bbf0d7516a9335b5f6a736a8bdb333a9bc644a0c4b68c2ddd773e7eb51106b57b5a992f336255629f5dadd9621dfd43ab7b680d22e77ad5bd9d5
7
+ data.tar.gz: 190044c5b832af0b9ecf86e4528ab423694a6433bd4f7a9100369dd4941470c5887e0377b558236bc3874e0b5c189aaf75e378a275c00c491fbce4e66cca5539
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- rails_critical_css (0.3.8)
4
+ rails_critical_css (0.3.9)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
data/README.md CHANGED
@@ -57,6 +57,7 @@ In template:
57
57
  # depending on critical_css? flag (it returns false if critical css is being generated)
58
58
  # it emits link(href="your_file" rel="stylesheet") or link(href="your_file" rel="preload" onload="this.rel = 'stylesheet'")
59
59
  = critical_css_link href: 'css/vendors.css'
60
+ = critical_css_link href: 'css/vendors.css', media: 'print'
60
61
 
61
62
  # If you have custom link helper (which for example loads css tag after GDPR accept) you can use helper below
62
63
  # Generator will extract hrefs from emitted html and generate stylesheet output
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module RailsCriticalCss
4
- VERSION = '0.3.8'
4
+ VERSION = '0.3.9'
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails_critical_css
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.8
4
+ version: 0.3.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Mateusz Bagiński