premailer-rails 1.11.0 → 1.11.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: 6190c1ff4075799a5bb8860f3f1052ea5312aada5a99aa5a8acad78eee3be40f
4
- data.tar.gz: d45d0c59d8849cb5b76f265e8a281b632698bef153a8a266a55b3064a7e0dbbe
3
+ metadata.gz: 13055f85c556422022c71564c81f5816ecffd482e4514c1481212fab2c942eb7
4
+ data.tar.gz: 8b9093f66f195ac826382329877be7c9b863650c5bcb0c057bae0cc073b8978d
5
5
  SHA512:
6
- metadata.gz: e17ac0c63b5a86baf6316a8e3f595147e5989880e349b904a3f70bce50e6818da0a94f571dd1dba5828ae5692ff1070fedc35bdbda8f88a8440eff72962eabe3
7
- data.tar.gz: 9f0ac9954868ff7ec22e7d44e3226257f00188bd58ab3ae91b6619e9a6f43bf1f28c9f3f1c40e0602b73b3fd1146c09b27826318326eda853557a15d0d2439bb
6
+ metadata.gz: a861465e80d026c7e221b09f0c395be4d4fb26fa3662a233de5ba8295c41f0861b79958f873830fa4bd6333bd21798298155f8cadf1cf7861f08f5348ee3f901
7
+ data.tar.gz: f4cd1b29b3b1a4ee43fe83971b35b6a43896298ab3c1fec8d4fc91e2fc0d1290b353bba0096e2ae45376e394f6ad00142cf3dda7447a72259c7639c01fbd4231
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## v1.11.1
4
+
5
+ - Check if `Rails.application` is defined (@pabloh, #250)
6
+
3
7
  ## v1.11.0
4
8
 
5
9
  - Remove `force_encoding!`
data/VERSION CHANGED
@@ -1 +1 @@
1
- 1.11.0
1
+ 1.11.1
@@ -25,6 +25,7 @@ class Premailer
25
25
 
26
26
  def asset_pipeline_present?
27
27
  defined?(::Rails) &&
28
+ ::Rails.respond_to?(:application) &&
28
29
  ::Rails.application &&
29
30
  ::Rails.application.respond_to?(:assets_manifest) &&
30
31
  ::Rails.application.assets_manifest
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: premailer-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.11.0
4
+ version: 1.11.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Philipe Fatio
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-03-17 00:00:00.000000000 Z
11
+ date: 2020-04-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: premailer