esvg 2.0.0 → 2.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f91ffc4405922601e5479caba9d427a28d643a03
4
- data.tar.gz: 9bb5670d1a45fd37173b0fe311feddb04c47a17b
3
+ metadata.gz: 3b06ff83f195a1168a3fe62eb1a64f661218c9ce
4
+ data.tar.gz: d56ce3d9d1acfcfb9378850829bfbc57b68b5c94
5
5
  SHA512:
6
- metadata.gz: c14ff33cbb42652bd23dd6514e682705e5d9fd0278f1b31793ae230c0d14c3d7e24c5ab1865cde2fda0ec0e874c5839d949f08e7cbd142adf9643efe995963aa
7
- data.tar.gz: 5bd5b90cb67ea78cd5125577a129bd219830202afbbfb2ab2e0837de93f3c3464bd75ac62b0efbeff143932ba783d8713b3fd8e2c4256a08c778f462c573d1f8
6
+ metadata.gz: 31ff50c185b91638aca651808230aa46bf7d3c77c48a2a3542d59ce82ccea9b4c802f306234cf225716752657b88a06c2e5274c6191fd095b0aaf02d90f466f5
7
+ data.tar.gz: 389c9ed99e9152a78d2eaa759a7c9f17ea9ef28d4c2dc4df28f5bbb60fa0b21dba3c0f9edc9d1e734d516bc585f789461645e78d495a833094a5656a10d89905
data/CHANGELOG.md CHANGED
@@ -1,5 +1,8 @@
1
1
  # Changelog
2
2
 
3
+ ### 2.0.1 (2015-07-10)
4
+ - Fix: Caching icons again is fixed.
5
+
3
6
  ### 2.0.0 (2015-07-10)
4
7
  - New: Embed via JS for cacheable icon symbols
5
8
  - New: Better integration with Rails
data/lib/esvg.rb CHANGED
@@ -13,7 +13,7 @@ module Esvg
13
13
  extend self
14
14
 
15
15
  def icons(options={})
16
- @icons = SVG.new(options)
16
+ @icons ||= SVG.new(options)
17
17
 
18
18
  if rails? && ::Rails.env != 'production' && @icons.modified?
19
19
  @icons.read_icons
data/lib/esvg/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Esvg
2
- VERSION = "2.0.0"
2
+ VERSION = "2.0.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: esvg
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.0
4
+ version: 2.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brandon Mathis