rails_critical_css_server 0.1.1 → 0.1.2

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
  SHA1:
3
- metadata.gz: e81a3e89924258af11404c123bb24590adfc9f4a
4
- data.tar.gz: af07c7389972216f4b2d70b391ef104503cc0f0d
3
+ metadata.gz: 4315716a1c280034eee9a5b73934bbfdf4a24fae
4
+ data.tar.gz: 106e235a486969775f72875b46ebe19b531210af
5
5
  SHA512:
6
- metadata.gz: 599173767c511cc437b2aa0d79cb0721d197cefa607bced076b0854a4d56a292f8466ee2a68b5fc6e5ee28c35f359968d27f344fdd492021d020b5052e3d5532
7
- data.tar.gz: 1db8efec180c1be72e797ee414c45b5e02e7bdf669635ddbf7f8e7edf2a46225d001640dace1879610a259c4e9be447368dae9bb40c6208a79a95fdd66ecc4d4
6
+ metadata.gz: 45f8b82422672a8b82ae9b649b035d1a710de5dc64c3247597a077bb02ebd3872c60078f7630a82a9fc2a916950a406eb23d0d2c3c84ba3c873ceb04cfc88c5f
7
+ data.tar.gz: beb3e939c006289bca58583d8d6aa3981b75a6043e4c4649f8b6b4e2c116289724ff757e64399e28478e02f9e531a375cacdb20a98f50636bf33c7fb864b0c3e
@@ -65,7 +65,7 @@ module RailsCriticalCssServer
65
65
  end
66
66
 
67
67
  def phantomjs_useragent?
68
- request.user_agent.match(/PhantomJS/)
68
+ request.user_agent.present? && request.user_agent.match(/PhantomJS/)
69
69
  end
70
70
 
71
71
  def client
@@ -1,3 +1,3 @@
1
1
  module RailsCriticalCssServer
2
- VERSION = '0.1.1'
2
+ VERSION = '0.1.2'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rails_critical_css_server
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.1
4
+ version: 0.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Wheeler