amberbit-prawn-fast-png 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/prawn/images/png_patch.rb +4 -1
- metadata +4 -3
@@ -12,7 +12,6 @@ module Prawn
|
|
12
12
|
def initialize(data) #:nodoc:
|
13
13
|
@prawn_fast_png_data = data
|
14
14
|
prawn_fast_png_old_initialize(data)
|
15
|
-
@prawn_fast_png_data = nil
|
16
15
|
end
|
17
16
|
|
18
17
|
private
|
@@ -28,7 +27,11 @@ module Prawn
|
|
28
27
|
|
29
28
|
@img_data = Zlib::Deflate.deflate(img_data)
|
30
29
|
@alpha_channel = Zlib::Deflate.deflate(alpha_channel)
|
30
|
+
|
31
|
+
# image blob not needed anymore, let GC take care of it
|
32
|
+
@prawn_fast_png_data = nil
|
31
33
|
end
|
32
34
|
end
|
33
35
|
end
|
34
36
|
end
|
37
|
+
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: amberbit-prawn-fast-png
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Wojciech Piekutowski
|
@@ -9,7 +9,7 @@ autorequire:
|
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
11
|
|
12
|
-
date: 2009-
|
12
|
+
date: 2009-05-16 00:00:00 -07:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|
@@ -50,6 +50,7 @@ files:
|
|
50
50
|
- COPYING
|
51
51
|
has_rdoc: true
|
52
52
|
homepage: http://github.com/amberbit/prawn-fast-png
|
53
|
+
licenses:
|
53
54
|
post_install_message:
|
54
55
|
rdoc_options:
|
55
56
|
- --title
|
@@ -74,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
74
75
|
requirements: []
|
75
76
|
|
76
77
|
rubyforge_project: prawn-fast-png
|
77
|
-
rubygems_version: 1.
|
78
|
+
rubygems_version: 1.3.5
|
78
79
|
signing_key:
|
79
80
|
specification_version: 2
|
80
81
|
summary: An extension of Prawn that improves the performance when embedding PNG images containing an alpha channel
|