docscape 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
@@ -6,6 +6,8 @@ Mime::Type.register "application/pdf", :docscape
6
6
  ActionController::Renderers.add :docscape do |filename, options|
7
7
  #logger.debug "*************#{filename} #{options}*************"
8
8
  #*************contents {:prefixes=>["subscriptions", "inherited_resources/base", "application"], :template=>"show", :stream=>nil}*************
9
+ system "find #{Rails.root}/tmp/*svg* -mtime +1 -exec rm {} \;"
10
+
9
11
  text = render_to_string(options)
10
12
  f = Tempfile.new(["#{filename}",".svg"], "#{Rails.root}/tmp")
11
13
  f.write text
@@ -1,3 +1,3 @@
1
1
  module Docscape
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
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.2
4
+ version: 0.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: