svg_sprite 0.2.0 → 0.2.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
  SHA1:
3
- metadata.gz: c809954c826e615c638d11c6e5d45ca4c1433324
4
- data.tar.gz: 2a621741fbca458404d7c788dd8a2e41fe57445f
3
+ metadata.gz: 0ac8bd6dedb2060a3ef3829400feb30169aa05a6
4
+ data.tar.gz: cc439a561b7b2122b2fe719a6015adfa967c4ba7
5
5
  SHA512:
6
- metadata.gz: ee627aee4e0a4d3bb5f2e89a17117a7443d7092f73bd2f91149e741808c7c7a701487ed0509a569a4b208ff4823f3799712229216b3cf6b19e2f2ab85398c0a2
7
- data.tar.gz: 55a3a77f109683caab3e6ea155079f2fc9c00614216688170f027df6ec4b472045417e81fd4fc338341c86b22c476182cd7115c7d07bcaa147f249c0b4898063
6
+ metadata.gz: afcfdb84879668c89aba5ad18afbe888c17c55d2eb5e2835c82a94d28c11a00bd65b43fa56f20a86e8f34fc7dedf8d5f3e66e2e6db1ee9bc6f5679ecf7e7145d
7
+ data.tar.gz: f5fecd19e31258d0795ec062a7b0340eed99d9da6743e77ed83c58e5815efd47b78a94f745cf2e7e8f6f77865db4e09eeaffdf307408ce2934f03f59fa3d9aba
data/lib/svg_sprite.rb CHANGED
@@ -1,6 +1,6 @@
1
1
  module SvgSprite
2
2
  require "base64"
3
- require "cgi"
3
+ require "uri"
4
4
  require "erb"
5
5
  require "svg_optimizer"
6
6
  require "thor"
@@ -43,7 +43,7 @@ module SvgSprite
43
43
 
44
44
  # Return the URL-encoded version of the content.
45
45
  def encoded
46
- CGI.escape(contents)
46
+ URI.escape(contents)
47
47
  end
48
48
 
49
49
  # Return the Base64-encoded version of the content.
@@ -1,3 +1,3 @@
1
1
  module SvgSprite
2
- VERSION = "0.2.0"
2
+ VERSION = "0.2.1"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: svg_sprite
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nando Vieira
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2016-03-23 00:00:00.000000000 Z
11
+ date: 2017-09-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: svg_optimizer
@@ -179,7 +179,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
179
179
  version: '0'
180
180
  requirements: []
181
181
  rubyforge_project:
182
- rubygems_version: 2.5.1
182
+ rubygems_version: 2.6.13
183
183
  signing_key:
184
184
  specification_version: 4
185
185
  summary: Create SVG sprites using data URIs.