docscape 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -12,7 +12,7 @@ ActionController::Renderers.add :docscape do |filename, options|
12
12
  f = Tempfile.new(["#{filename}",".svg"], "#{Rails.root}/tmp")
13
13
  f.write text
14
14
  f.close
15
- command = "inkscape -d 150 -T -z -f #{f.path} -A #{f.path}.pdf"
15
+ command = "inkscape -z -d 300 -f #{f.path} -A #{f.path}.pdf"
16
16
  logger.debug command
17
17
  system command
18
18
  send_file("#{f.path}.pdf", :filename => "#{filename}.pdf", :type => "application/pdf", :disposition => 'inline')
@@ -1,3 +1,3 @@
1
1
  module Docscape
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: docscape
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
- date: 2011-12-23 00:00:00.000000000Z
13
+ date: 2011-12-29 00:00:00.000000000Z
14
14
  dependencies: []
15
15
  description: convert inkscape (SVG) files to pdf documents
16
16
  email: