chunky_png 0.10.1 → 0.10.2
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile.lock +1 -1
- data/chunky_png.gemspec +2 -2
- data/lib/chunky_png.rb +1 -1
- data/lib/chunky_png/canvas/png_encoding.rb +1 -1
- metadata +21 -17
data/Gemfile.lock
CHANGED
data/chunky_png.gemspec
CHANGED
@@ -3,8 +3,8 @@ Gem::Specification.new do |s|
|
|
3
3
|
|
4
4
|
# Do not change the version and date fields by hand. This will be done
|
5
5
|
# automatically by the gem release script.
|
6
|
-
s.version = "0.10.
|
7
|
-
s.date = "2010-10-
|
6
|
+
s.version = "0.10.2"
|
7
|
+
s.date = "2010-10-05"
|
8
8
|
|
9
9
|
s.summary = "Pure ruby library for read/write, chunk-level access to PNG files"
|
10
10
|
s.description = <<-EOT
|
data/lib/chunky_png.rb
CHANGED
@@ -27,7 +27,7 @@ module ChunkyPNG
|
|
27
27
|
|
28
28
|
# The current version of ChunkyPNG. This value will be updated automatically
|
29
29
|
# by them gem:release rake task.
|
30
|
-
VERSION = "0.10.
|
30
|
+
VERSION = "0.10.2"
|
31
31
|
|
32
32
|
###################################################
|
33
33
|
# PNG international standard defined constants
|
@@ -188,7 +188,7 @@ module ChunkyPNG
|
|
188
188
|
# @param [String] stream The stream to write to.
|
189
189
|
# @param [Integer] color_mode The color mode to use for encoding.
|
190
190
|
# @param [Integer] filtering The filtering method to use.
|
191
|
-
def encode_png_image_pass_to_stream(stream, color_mode, filtering
|
191
|
+
def encode_png_image_pass_to_stream(stream, color_mode, filtering)
|
192
192
|
|
193
193
|
start_pos = stream.bytesize
|
194
194
|
pixel_size = Color.bytesize(color_mode)
|
metadata
CHANGED
@@ -1,12 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: chunky_png
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
+
hash: 51
|
4
5
|
prerelease: false
|
5
6
|
segments:
|
6
7
|
- 0
|
7
8
|
- 10
|
8
|
-
-
|
9
|
-
version: 0.10.
|
9
|
+
- 2
|
10
|
+
version: 0.10.2
|
10
11
|
platform: ruby
|
11
12
|
authors:
|
12
13
|
- Willem van Bergen
|
@@ -14,49 +15,52 @@ autorequire:
|
|
14
15
|
bindir: bin
|
15
16
|
cert_chain: []
|
16
17
|
|
17
|
-
date: 2010-10-
|
18
|
+
date: 2010-10-05 00:00:00 +02:00
|
18
19
|
default_executable:
|
19
20
|
dependencies:
|
20
21
|
- !ruby/object:Gem::Dependency
|
21
|
-
|
22
|
-
requirement: &id001 !ruby/object:Gem::Requirement
|
22
|
+
version_requirements: &id001 !ruby/object:Gem::Requirement
|
23
23
|
none: false
|
24
24
|
requirements:
|
25
25
|
- - ">="
|
26
26
|
- !ruby/object:Gem::Version
|
27
|
+
hash: 3
|
27
28
|
segments:
|
28
29
|
- 0
|
29
30
|
version: "0"
|
30
|
-
|
31
|
+
requirement: *id001
|
32
|
+
name: rake
|
31
33
|
prerelease: false
|
32
|
-
|
34
|
+
type: :development
|
33
35
|
- !ruby/object:Gem::Dependency
|
34
|
-
|
35
|
-
requirement: &id002 !ruby/object:Gem::Requirement
|
36
|
+
version_requirements: &id002 !ruby/object:Gem::Requirement
|
36
37
|
none: false
|
37
38
|
requirements:
|
38
39
|
- - ">="
|
39
40
|
- !ruby/object:Gem::Version
|
41
|
+
hash: 9
|
40
42
|
segments:
|
41
43
|
- 1
|
42
44
|
- 3
|
43
45
|
version: "1.3"
|
44
|
-
|
46
|
+
requirement: *id002
|
47
|
+
name: rspec
|
45
48
|
prerelease: false
|
46
|
-
|
49
|
+
type: :development
|
47
50
|
- !ruby/object:Gem::Dependency
|
48
|
-
|
49
|
-
requirement: &id003 !ruby/object:Gem::Requirement
|
51
|
+
version_requirements: &id003 !ruby/object:Gem::Requirement
|
50
52
|
none: false
|
51
53
|
requirements:
|
52
54
|
- - ">="
|
53
55
|
- !ruby/object:Gem::Version
|
56
|
+
hash: 3
|
54
57
|
segments:
|
55
58
|
- 0
|
56
59
|
version: "0"
|
57
|
-
|
60
|
+
requirement: *id003
|
61
|
+
name: git
|
58
62
|
prerelease: false
|
59
|
-
|
63
|
+
type: :development
|
60
64
|
description: " This pure Ruby library can read and write PNG images without depending on an external \n image library, like RMagick. It tries to be memory efficient and reasonably fast.\n \n It supports reading and writing all PNG variants that are defined in the specification, \n with one limitation: only 8-bit color depth is supported. It supports all transparency, \n interlacing and filtering options the PNG specifications allows. It can also read and \n write textual metadata from PNG files. Low-level read/write access to PNG chunks is\n also possible.\n \n This library supports simple drawing on the image canvas and simple operations like alpha composition\n and cropping. Finally, it can import from and export to RMagick for interoperability. \n"
|
61
65
|
email:
|
62
66
|
- willem@railsdoctors.com
|
@@ -164,7 +168,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
164
168
|
requirements:
|
165
169
|
- - ">="
|
166
170
|
- !ruby/object:Gem::Version
|
167
|
-
hash:
|
171
|
+
hash: 3
|
168
172
|
segments:
|
169
173
|
- 0
|
170
174
|
version: "0"
|
@@ -173,7 +177,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
173
177
|
requirements:
|
174
178
|
- - ">="
|
175
179
|
- !ruby/object:Gem::Version
|
176
|
-
hash:
|
180
|
+
hash: 3
|
177
181
|
segments:
|
178
182
|
- 0
|
179
183
|
version: "0"
|