axon 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (5) hide show
  1. data/.gemtest +0 -0
  2. data/CHANGELOG.rdoc +7 -1
  3. data/ext/axon/png.c +1 -1
  4. data/lib/axon.rb +2 -1
  5. metadata +25 -24
File without changes
@@ -1,4 +1,9 @@
1
- === 0.1.0 / 2012-1-5
1
+ === 0.1.1 / 2012-01-06
2
+
3
+ * Add a .gemtest file. Trying rubygems-test.
4
+ * Fix missing require stringio
5
+
6
+ === 0.1.0 / 2012-01-05
2
7
 
3
8
  * Make images and operations behave more like Ruby IO instead of enumerables.
4
9
  * Full rdoc documentation.
@@ -11,3 +16,4 @@
11
16
  === 0.0.1 / 2011-08-01
12
17
 
13
18
  * Initial Release
19
+
@@ -147,7 +147,7 @@ write_png2(VALUE *args)
147
147
  write_configure(image_in, png_ptr, info_ptr);
148
148
  png_write_info(png_ptr, info_ptr);
149
149
 
150
- for (i = 0; i < info_ptr->height; i++) {
150
+ for (i = 0; i < png_get_image_height(png_ptr, info_ptr); i++) {
151
151
  scanline = rb_funcall(image_in, id_gets, 0);
152
152
  write_scanline(scanline, png_ptr, info_ptr);
153
153
  }
@@ -5,9 +5,10 @@ require 'axon/cropper'
5
5
  require 'axon/fit'
6
6
  require 'axon/scalers'
7
7
  require 'axon/generators'
8
+ require 'stringio'
8
9
 
9
10
  module Axon
10
- VERSION = '0.1.0'
11
+ VERSION = '0.1.1'
11
12
 
12
13
  # :call-seq:
13
14
  # Axon.jpeg(thing [, markers]) -> image
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: axon
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ version: 0.1.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2012-01-06 00:00:00.000000000 Z
12
+ date: 2012-01-06 00:00:00.000000000Z
13
13
  dependencies: []
14
14
  description: ! 'axon reads, manipulates, and writes images.
15
15
 
@@ -33,36 +33,37 @@ extra_rdoc_files:
33
33
  files:
34
34
  - Rakefile
35
35
  - README.rdoc
36
- - CHANGELOG.rdoc
37
36
  - TODO.rdoc
37
+ - CHANGELOG.rdoc
38
38
  - lib/axon.rb
39
39
  - lib/axon/fit.rb
40
- - lib/axon/cropper.rb
41
40
  - lib/axon/scalers.rb
41
+ - lib/axon/cropper.rb
42
42
  - lib/axon/generators.rb
43
+ - ext/axon/axon.c
44
+ - ext/axon/iccjpeg.c
43
45
  - ext/axon/interpolation.c
44
46
  - ext/axon/png.c
45
47
  - ext/axon/jpeg.c
46
- - ext/axon/axon.c
47
- - ext/axon/iccjpeg.c
48
48
  - ext/axon/iccjpeg.h
49
49
  - ext/axon/extconf.rb
50
+ - test/test_nearest_neighbor_scaler.rb
51
+ - test/scaler_tests.rb
50
52
  - test/stress_helper.rb
51
- - test/test_image.rb
53
+ - test/test_cropper.rb
54
+ - test/test_bilinear_scaler.rb
52
55
  - test/test_png_writer.rb
53
- - test/test_fit.rb
54
56
  - test/test_generators.rb
55
- - test/test_bilinear_scaler.rb
56
- - test/test_nearest_neighbor_scaler.rb
57
- - test/test_jpeg_writer.rb
58
57
  - test/stress_tests.rb
59
- - test/test_cropper.rb
60
- - test/test_jpeg_reader.rb
61
- - test/test_png_reader.rb
62
58
  - test/helper.rb
59
+ - test/test_png_reader.rb
60
+ - test/test_jpeg_reader.rb
61
+ - test/test_jpeg_writer.rb
62
+ - test/test_fit.rb
63
63
  - test/writer_tests.rb
64
64
  - test/reader_tests.rb
65
- - test/scaler_tests.rb
65
+ - test/test_image.rb
66
+ - .gemtest
66
67
  homepage: http://github.com/ender672/axon
67
68
  licenses: []
68
69
  post_install_message:
@@ -89,19 +90,19 @@ signing_key:
89
90
  specification_version: 3
90
91
  summary: Axon reads, manipulates, and writes images.
91
92
  test_files:
93
+ - test/test_nearest_neighbor_scaler.rb
94
+ - test/scaler_tests.rb
92
95
  - test/stress_helper.rb
93
- - test/test_image.rb
96
+ - test/test_cropper.rb
97
+ - test/test_bilinear_scaler.rb
94
98
  - test/test_png_writer.rb
95
- - test/test_fit.rb
96
99
  - test/test_generators.rb
97
- - test/test_bilinear_scaler.rb
98
- - test/test_nearest_neighbor_scaler.rb
99
- - test/test_jpeg_writer.rb
100
100
  - test/stress_tests.rb
101
- - test/test_cropper.rb
102
- - test/test_jpeg_reader.rb
103
- - test/test_png_reader.rb
104
101
  - test/helper.rb
102
+ - test/test_png_reader.rb
103
+ - test/test_jpeg_reader.rb
104
+ - test/test_jpeg_writer.rb
105
+ - test/test_fit.rb
105
106
  - test/writer_tests.rb
106
107
  - test/reader_tests.rb
107
- - test/scaler_tests.rb
108
+ - test/test_image.rb