chunky_png 0.5.7 → 0.5.8

Sign up to get free protection for your applications and to get access to all the features.
@@ -3,7 +3,7 @@ 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.5.7"
6
+ s.version = "0.5.8"
7
7
  s.date = "2010-02-24"
8
8
 
9
9
  s.summary = "Pure ruby library for read/write, chunk-level access to PNG files"
@@ -32,6 +32,6 @@ Gem::Specification.new do |s|
32
32
 
33
33
  # Do not change the files and test_files fields by hand. This will be done
34
34
  # automatically by the gem release script.
35
- s.files = %w(spec/spec_helper.rb spec/resources/ztxt_chunk.png spec/resources/text_chunk.png spec/resources/replaced.png spec/resources/pixelstream.rgb spec/resources/indexed_4bit.png spec/resources/gray_10x10_grayscale.png spec/resources/damaged_signature.png spec/resources/damaged_chunk.png spec/chunky_png/canvas/png_encoding_spec.rb lib/chunky_png/canvas/stream_exporting.rb spec/resources/gray_10x10.png lib/chunky_png/color.rb lib/chunky_png/canvas/operations.rb .gitignore spec/resources/gray_10x10_truecolor_alpha.png spec/chunky_png/canvas_spec.rb LICENSE spec/resources/gray_10x10_truecolor.png spec/resources/composited.png spec/chunky_png/color_spec.rb spec/chunky_png/canvas/adam7_interlacing_spec.rb lib/chunky_png/chunk.rb lib/chunky_png/canvas/stream_importing.rb lib/chunky_png/canvas/png_encoding.rb lib/chunky_png/canvas/adam7_interlacing.rb spec/resources/operations.png spec/chunky_png/canvas/png_decoding_spec.rb lib/chunky_png/canvas.rb Rakefile spec/resources/transparent_gray_10x10.png spec/resources/pixelstream.rgba spec/resources/cropped.png README.rdoc spec/resources/gray_10x10_indexed.png spec/resources/16x16_non_interlaced.png spec/chunky_png_spec.rb spec/chunky_png/canvas/drawing_spec.rb lib/chunky_png/palette.rb lib/chunky_png/datastream.rb chunky_png.gemspec tasks/github-gem.rake spec/resources/pixelstream_reference.png spec/resources/lines.png spec/resources/gray_10x10_grayscale_alpha.png spec/resources/16x16_interlaced.png spec/chunky_png/image_spec.rb lib/chunky_png/canvas/drawing.rb spec/resources/adam7.png lib/chunky_png/rmagick.rb lib/chunky_png/image.rb spec/chunky_png/rmagick_spec.rb spec/chunky_png/datastream_spec.rb lib/chunky_png/canvas/png_decoding.rb lib/chunky_png.rb)
36
- s.test_files = %w(spec/chunky_png/canvas/png_encoding_spec.rb spec/chunky_png/canvas_spec.rb spec/chunky_png/color_spec.rb spec/chunky_png/canvas/adam7_interlacing_spec.rb spec/chunky_png/canvas/png_decoding_spec.rb spec/chunky_png_spec.rb spec/chunky_png/canvas/drawing_spec.rb spec/chunky_png/image_spec.rb spec/chunky_png/rmagick_spec.rb spec/chunky_png/datastream_spec.rb)
35
+ s.files = %w(spec/spec_helper.rb spec/resources/ztxt_chunk.png spec/resources/pixelstream.rgb spec/resources/indexed_4bit.png spec/resources/gray_10x10_grayscale.png spec/resources/damaged_signature.png spec/resources/damaged_chunk.png lib/chunky_png/rmagick.rb lib/chunky_png/canvas/stream_exporting.rb .gitignore spec/chunky_png/canvas_spec.rb LICENSE spec/resources/gray_10x10_truecolor_alpha.png lib/chunky_png/color.rb lib/chunky_png/canvas/operations.rb spec/resources/gray_10x10_truecolor.png spec/resources/composited.png spec/chunky_png/canvas/adam7_interlacing_spec.rb lib/chunky_png/chunk.rb spec/resources/operations.png spec/chunky_png/canvas/png_decoding_spec.rb spec/chunky_png/canvas/drawing_spec.rb lib/chunky_png/canvas.rb Rakefile tasks/github-gem.rake spec/resources/transparent_gray_10x10.png spec/resources/lines.png spec/resources/cropped.png spec/chunky_png/color_spec.rb lib/chunky_png/canvas/stream_importing.rb lib/chunky_png/canvas/png_encoding.rb lib/chunky_png/canvas/adam7_interlacing.rb README.rdoc spec/resources/gray_10x10_indexed.png spec/resources/16x16_non_interlaced.png spec/chunky_png_spec.rb lib/chunky_png/palette.rb lib/chunky_png/image.rb chunky_png.gemspec spec/resources/pixelstream_reference.png spec/resources/pixelstream.rgba spec/chunky_png/rmagick_spec.rb spec/chunky_png/image_spec.rb spec/chunky_png/datastream_spec.rb lib/chunky_png/canvas/drawing.rb lib/chunky_png.rb spec/resources/text_chunk.png spec/resources/replaced.png spec/resources/adam7.png spec/chunky_png/canvas/png_encoding_spec.rb lib/chunky_png/datastream.rb spec/resources/gray_10x10_grayscale_alpha.png spec/resources/gray_10x10.png spec/resources/16x16_interlaced.png lib/chunky_png/canvas/png_decoding.rb)
36
+ s.test_files = %w(spec/chunky_png/canvas_spec.rb spec/chunky_png/canvas/adam7_interlacing_spec.rb spec/chunky_png/canvas/png_decoding_spec.rb spec/chunky_png/canvas/drawing_spec.rb spec/chunky_png/color_spec.rb spec/chunky_png_spec.rb spec/chunky_png/rmagick_spec.rb spec/chunky_png/image_spec.rb spec/chunky_png/datastream_spec.rb spec/chunky_png/canvas/png_encoding_spec.rb)
37
37
  end
@@ -1,6 +1,7 @@
1
1
  require 'set'
2
2
  require 'zlib'
3
3
  require 'stringio'
4
+ require 'enumerator'
4
5
 
5
6
  require 'chunky_png/datastream'
6
7
  require 'chunky_png/chunk'
@@ -26,7 +27,7 @@ module ChunkyPNG
26
27
 
27
28
  # The current version of ChunkyPNG. This value will be updated automatically
28
29
  # by them gem:release rake task.
29
- VERSION = "0.5.7"
30
+ VERSION = "0.5.8"
30
31
 
31
32
  ###################################################
32
33
  # PNG international standard defined constants
@@ -21,7 +21,7 @@ describe ChunkyPNG::Canvas do
21
21
  end
22
22
 
23
23
  describe '#to_rgba_stream' do
24
- before (:each) do
24
+ before(:each) do
25
25
  File.open(resource_file('pixelstream.rgba'), 'rb') { |f| @reference_data = f.read }
26
26
  end
27
27
 
@@ -32,7 +32,7 @@ describe ChunkyPNG::Canvas do
32
32
  end
33
33
 
34
34
  describe '#to_rgb_stream' do
35
- before (:each) do
35
+ before(:each) do
36
36
  File.open(resource_file('pixelstream.rgb'), 'rb') { |f| @reference_data = f.read }
37
37
  end
38
38
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: chunky_png
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.7
4
+ version: 0.5.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Willem van Bergen
@@ -34,59 +34,59 @@ extra_rdoc_files:
34
34
  files:
35
35
  - spec/spec_helper.rb
36
36
  - spec/resources/ztxt_chunk.png
37
- - spec/resources/text_chunk.png
38
- - spec/resources/replaced.png
39
37
  - spec/resources/pixelstream.rgb
40
38
  - spec/resources/indexed_4bit.png
41
39
  - spec/resources/gray_10x10_grayscale.png
42
40
  - spec/resources/damaged_signature.png
43
41
  - spec/resources/damaged_chunk.png
44
- - spec/chunky_png/canvas/png_encoding_spec.rb
42
+ - lib/chunky_png/rmagick.rb
45
43
  - lib/chunky_png/canvas/stream_exporting.rb
46
- - spec/resources/gray_10x10.png
47
- - lib/chunky_png/color.rb
48
- - lib/chunky_png/canvas/operations.rb
49
44
  - .gitignore
50
- - spec/resources/gray_10x10_truecolor_alpha.png
51
45
  - spec/chunky_png/canvas_spec.rb
52
46
  - LICENSE
47
+ - spec/resources/gray_10x10_truecolor_alpha.png
48
+ - lib/chunky_png/color.rb
49
+ - lib/chunky_png/canvas/operations.rb
53
50
  - spec/resources/gray_10x10_truecolor.png
54
51
  - spec/resources/composited.png
55
- - spec/chunky_png/color_spec.rb
56
52
  - spec/chunky_png/canvas/adam7_interlacing_spec.rb
57
53
  - lib/chunky_png/chunk.rb
58
- - lib/chunky_png/canvas/stream_importing.rb
59
- - lib/chunky_png/canvas/png_encoding.rb
60
- - lib/chunky_png/canvas/adam7_interlacing.rb
61
54
  - spec/resources/operations.png
62
55
  - spec/chunky_png/canvas/png_decoding_spec.rb
56
+ - spec/chunky_png/canvas/drawing_spec.rb
63
57
  - lib/chunky_png/canvas.rb
64
58
  - Rakefile
59
+ - tasks/github-gem.rake
65
60
  - spec/resources/transparent_gray_10x10.png
66
- - spec/resources/pixelstream.rgba
61
+ - spec/resources/lines.png
67
62
  - spec/resources/cropped.png
63
+ - spec/chunky_png/color_spec.rb
64
+ - lib/chunky_png/canvas/stream_importing.rb
65
+ - lib/chunky_png/canvas/png_encoding.rb
66
+ - lib/chunky_png/canvas/adam7_interlacing.rb
68
67
  - README.rdoc
69
68
  - spec/resources/gray_10x10_indexed.png
70
69
  - spec/resources/16x16_non_interlaced.png
71
70
  - spec/chunky_png_spec.rb
72
- - spec/chunky_png/canvas/drawing_spec.rb
73
71
  - lib/chunky_png/palette.rb
74
- - lib/chunky_png/datastream.rb
72
+ - lib/chunky_png/image.rb
75
73
  - chunky_png.gemspec
76
- - tasks/github-gem.rake
77
74
  - spec/resources/pixelstream_reference.png
78
- - spec/resources/lines.png
79
- - spec/resources/gray_10x10_grayscale_alpha.png
80
- - spec/resources/16x16_interlaced.png
75
+ - spec/resources/pixelstream.rgba
76
+ - spec/chunky_png/rmagick_spec.rb
81
77
  - spec/chunky_png/image_spec.rb
78
+ - spec/chunky_png/datastream_spec.rb
82
79
  - lib/chunky_png/canvas/drawing.rb
80
+ - lib/chunky_png.rb
81
+ - spec/resources/text_chunk.png
82
+ - spec/resources/replaced.png
83
83
  - spec/resources/adam7.png
84
- - lib/chunky_png/rmagick.rb
85
- - lib/chunky_png/image.rb
86
- - spec/chunky_png/rmagick_spec.rb
87
- - spec/chunky_png/datastream_spec.rb
84
+ - spec/chunky_png/canvas/png_encoding_spec.rb
85
+ - lib/chunky_png/datastream.rb
86
+ - spec/resources/gray_10x10_grayscale_alpha.png
87
+ - spec/resources/gray_10x10.png
88
+ - spec/resources/16x16_interlaced.png
88
89
  - lib/chunky_png/canvas/png_decoding.rb
89
- - lib/chunky_png.rb
90
90
  has_rdoc: true
91
91
  homepage: http://wiki.github.com/wvanbergen/chunky_png
92
92
  licenses: []
@@ -121,13 +121,13 @@ signing_key:
121
121
  specification_version: 3
122
122
  summary: Pure ruby library for read/write, chunk-level access to PNG files
123
123
  test_files:
124
- - spec/chunky_png/canvas/png_encoding_spec.rb
125
124
  - spec/chunky_png/canvas_spec.rb
126
- - spec/chunky_png/color_spec.rb
127
125
  - spec/chunky_png/canvas/adam7_interlacing_spec.rb
128
126
  - spec/chunky_png/canvas/png_decoding_spec.rb
129
- - spec/chunky_png_spec.rb
130
127
  - spec/chunky_png/canvas/drawing_spec.rb
131
- - spec/chunky_png/image_spec.rb
128
+ - spec/chunky_png/color_spec.rb
129
+ - spec/chunky_png_spec.rb
132
130
  - spec/chunky_png/rmagick_spec.rb
131
+ - spec/chunky_png/image_spec.rb
133
132
  - spec/chunky_png/datastream_spec.rb
133
+ - spec/chunky_png/canvas/png_encoding_spec.rb