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.
- data/MIT-LICENSE +1 -1
- data/lib/static_helper.rb +1 -1
- metadata +4 -4
data/MIT-LICENSE
CHANGED
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:
|
4
|
+
hash: 21
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 5
|
10
|
+
version: 0.0.5
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
|
-
-
|
13
|
+
- "Lle\xC3\xAFr Borr\xC3\xA0s Metje"
|
14
14
|
autorequire:
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|