svg-to-eps 0.0.1 → 0.0.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: 5658c4850cef1be3c312034104bbd45f05942664
4
- data.tar.gz: b722595075b0e292e49c5698eb7679c2635c1e57
3
+ metadata.gz: a18e5ea190829d5848fdaecd484334e97dfd36da
4
+ data.tar.gz: 625ccc732a7af2570a7067ba4313a0e4c653e51d
5
5
  SHA512:
6
- metadata.gz: a9632dac27ec5f6ce93029364667663622575294ac119e8d8e946e446bcf79998d5b8d9ace753123d711e38fba24cc0786ae0d916f4821316ea09ad450e70779
7
- data.tar.gz: 3d827edc62c48dbcfa484a0e9d9b1b6db8dce9567ad98bbb2f032293f207dfeff848968baad65888d38a7f1ca47bda31d125eca9b56992f327f041c5fc8d397b
6
+ metadata.gz: 0bb06e2f6059e06582f97611f7b3b386fd6da1d905f9368e05ce4ef7813b9831b9693e90e9147e5209db0e7794ea8cdbd09399cb79f456a804f98713aa3c96fb
7
+ data.tar.gz: 94d1473cdc87ab6fc75e5ca54f6a3d7a972a18a99c8924121789960c439562246becfe4aa622c8e5e01eae0df6e6dcfa68d4995c1a37b5c8d4737ddfac623dbd
data/.gitignore CHANGED
@@ -2,3 +2,4 @@
2
2
  *.swo
3
3
  Gemfile.lock
4
4
  fixtures/*.eps
5
+ *.gem
@@ -0,0 +1,13 @@
1
+ svg-to-eps
2
+ ==========
3
+
4
+ SVG to EPS converter Ruby gem, with lib and CLI, requires inkscape
5
+
6
+ Installation
7
+ ============
8
+ gem install svg-to-eps
9
+
10
+ Usage
11
+ =====
12
+ svg-to-eps whatever.svg
13
+ svg-to-eps ./mysvgs/*.svg
@@ -3,6 +3,7 @@
3
3
  class SVGtoEPS
4
4
  def self.convert(input, output = nil)
5
5
  output = input.to_s.gsub(/.svg/, '.eps') if output.nil?
6
+ puts "入[#{input}] 出[#{output}]"
6
7
  system "inkscape --export-text-to-path --without-gui --file=#{input.to_s} --export-eps=#{output.to_s}"
7
8
  end
8
9
  end
@@ -1,6 +1,6 @@
1
1
  Gem::Specification.new do |s|
2
2
  s.name = 'svg-to-eps'
3
- s.version = '0.0.1'
3
+ s.version = '0.0.2'
4
4
  s.license = 'GPL3'
5
5
  s.summary = 'SVG to EPS converter (command line and lib)'
6
6
  s.description = 'SVG to EPS converter. Requires inkscape! lib and command line tool are included.'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: svg-to-eps
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.1
4
+ version: 0.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rei Kagetsuki
@@ -20,6 +20,7 @@ extra_rdoc_files: []
20
20
  files:
21
21
  - ".gitignore"
22
22
  - Gemfile
23
+ - README.md
23
24
  - bin/svg-to-eps
24
25
  - fixtures/test.svg
25
26
  - lib/svg-to-eps.rb