svgeez 0.1.3 → 0.1.4

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: 68003f5ca3c021b9d8cb2053495efbd74f0efa81
4
- data.tar.gz: 8f1d0d5a16bcc7248d13f22523f6a2dce8b95fe2
3
+ metadata.gz: fa1d11cc37ab394b50c0dd37232f56545a5ba9d9
4
+ data.tar.gz: 59f46fd6e13ee2a43e6e794cc7d24b6d5c38cd4f
5
5
  SHA512:
6
- metadata.gz: 443aa10a864005fd76fc06748ef8351972ae8af6a00cb67e6d9212d5491e4ed2815ac3740700314ac70c1e9b3fbb9d0e067d387862be790d1ae6ea65e4449eae
7
- data.tar.gz: 99dd511e7ab2857862aebffa6fd04e0f7788073cc501e6667215d67e0812eddba6dfdfab2044138f3df5de92f7aae689be96895ae64a50e1a5be21cfd688517d
6
+ metadata.gz: 1cccbf1eea252f0dca0d8d3a16516f06c6214d0262fdd4cb635fa8bfde6df1a7f31c952e960cbfac11daccdcd8cb1ef40571df31c5c79a2e9ca7387d18d3e24f
7
+ data.tar.gz: a11b06cd02239d19adf123f8790ec18d86f62befcc0b37a4f7d076f5df14c2a6241dad35530dff5c6af46a88ecadbd716c7e0470dc9ad65c2577b4df766ddff4
@@ -34,7 +34,7 @@ module Svgeez
34
34
  end
35
35
 
36
36
  def build_output_file_contents
37
- '<svg style="display: none;" version="1.1">'.tap do |output_file_contents|
37
+ %{<svg id="#{source_basename}" style="display: none;" version="1.1">}.tap do |output_file_contents|
38
38
  # Loop over all input files, grabbing their content, and appending to `output_file_contents`
39
39
  input_file_paths.each do |file_path|
40
40
  file_contents = use_svgo? ? `svgo -i #{file_path} -o -` : IO.read(file_path)
@@ -1,3 +1,3 @@
1
1
  module Svgeez
2
- VERSION = '0.1.3'
2
+ VERSION = '0.1.4'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: svgeez
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.3
4
+ version: 0.1.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jason Garber