go_static 0.0.4 → 0.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. data/MIT-LICENSE +1 -1
  2. data/lib/static_helper.rb +1 -1
  3. metadata +4 -4
data/MIT-LICENSE CHANGED
@@ -1,4 +1,4 @@
1
- Copyright (c) 2012 Lleir Borras Metje
1
+ Copyright (c) 2012 Lleïr Borràs Metje
2
2
 
3
3
  Permission is hereby granted, free of charge, to any person obtaining
4
4
  a copy of this software and associated documentation files (the
data/lib/static_helper.rb CHANGED
@@ -53,7 +53,7 @@ module StaticHelper
53
53
  def make_png(options = {})
54
54
  html_string = render_to_string(:template => options[:template], :layout => options[:layout], :formats => options[:formats], :handlers => options[:handlers])
55
55
  w = GoStatic.new(options[:wkhtmltoimage])
56
- w.png_from_string(html_string)
56
+ w.png_from_string(html_string, options)
57
57
  end
58
58
 
59
59
  def make_and_send_png(png_name, options={})
metadata CHANGED
@@ -1,16 +1,16 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: go_static
3
3
  version: !ruby/object:Gem::Version
4
- hash: 23
4
+ hash: 21
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 4
10
- version: 0.0.4
9
+ - 5
10
+ version: 0.0.5
11
11
  platform: ruby
12
12
  authors:
13
- - Lleir Borras Metje
13
+ - "Lle\xC3\xAFr Borr\xC3\xA0s Metje"
14
14
  autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []