inline_stylesheet_tag 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: 02126031d7cc838930715d895721e3904e9676e5
4
- data.tar.gz: 247d96403d9274b9d114577ef27a2d92dd6b65ea
3
+ metadata.gz: a585815db701444ac9f1801e1539181224bd5676
4
+ data.tar.gz: 46e4ad6a64e807f44afe9e6af1a995f6f747094d
5
5
  SHA512:
6
- metadata.gz: 560e8fc5d7caea73b4077a06bf140e5282698c9fc89a8a06b37efd26551d13e1cf6ea25b288f229f40c4354ce7c98ad4ddb33a5565042f890a47553242f9831e
7
- data.tar.gz: 860b1af299c61235319a29741a2f0adc6c8bcb9f114f66731abd3dfe5a9311a4c9e89565782ed62f6f8a378c98205637e1e99c8cd51dc050639f5d4760a3d03b
6
+ metadata.gz: 07652e7aa569c1577a10915aeb47a3942f08786467630de2a537cd0ce2f68e97c46aaba3e650c8e43df7166f86549e205e4bb8bc15fba2ff4a045e31a2cea54c
7
+ data.tar.gz: 7886de5befaf082fd6b3e5e6858d550cd147c2e372477b799644165c47302fae65554c0df4d2f73c31f6b73d4a4a1b1624cb3b0302887afda9a0ebf9455c6b1a
@@ -1,3 +1,3 @@
1
1
  module InlineStylesheetTag
2
- VERSION = "0.1.1"
2
+ VERSION = "0.1.2"
3
3
  end
@@ -9,7 +9,7 @@ module InlineStylesheetTag::ViewHelpers
9
9
  Rails.cache.fetch("inline-css-#{Digest::MD5.hexdigest(url)}", expires_in: 1.hour) do
10
10
  content = fetch_inline_stylesheet_tag(url) rescue nil
11
11
  if content.present?
12
- content_tag(:style, content.html_safe, escape: false)
12
+ content_tag(:style, content.html_safe)
13
13
  else
14
14
  stylesheet_link_tag url, *more
15
15
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: inline_stylesheet_tag
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
  - Tejas Dinkar