hornetseye-rmagick 0.2.2 → 0.3.0

Sign up to get free protection for your applications and to get access to all the features.
data/Rakefile CHANGED
@@ -6,7 +6,7 @@ require 'rake/packagetask'
6
6
  require 'rbconfig'
7
7
 
8
8
  PKG_NAME = 'hornetseye-rmagick'
9
- PKG_VERSION = '0.2.2'
9
+ PKG_VERSION = '0.3.0'
10
10
  RB_FILES = FileList[ 'lib/**/*.rb' ]
11
11
  TC_FILES = FileList[ 'test/tc_*.rb' ]
12
12
  TS_FILES = FileList[ 'test/ts_*.rb' ]
@@ -90,7 +90,7 @@ begin
90
90
  s.rdoc_options = %w{--no-private}
91
91
  s.add_dependency %q<rmagick>, [ '~> 2.0' ]
92
92
  s.add_dependency %q<malloc>, [ '~> 1.1' ]
93
- s.add_dependency %q<multiarray>, [ '~> 0.7' ]
93
+ s.add_dependency %q<multiarray>, [ '~> 0.15' ]
94
94
  s.add_development_dependency %q{rake}
95
95
  end
96
96
  GEM_SOURCE = "#{PKG_NAME}-#{PKG_VERSION}.gem"
@@ -113,7 +113,7 @@ begin
113
113
  s.rdoc_options = %w{--no-private}
114
114
  s.add_dependency %q<rmagick>, [ '~> 2.0' ]
115
115
  s.add_dependency %q<malloc>, [ '~> 1.1' ]
116
- s.add_dependency %q<multiarray>, [ '~> 0.7' ]
116
+ s.add_dependency %q<multiarray>, [ '~> 0.15' ]
117
117
  end
118
118
  GEM_BINARY = "#{PKG_NAME}-#{PKG_VERSION}-#{$BINSPEC.platform}.gem"
119
119
  desc "Build the gem file #{GEM_SOURCE}"
@@ -66,8 +66,9 @@ module Hornetseye
66
66
  raise "Conversion from #{typecode} to Magick::Image not implemented"
67
67
  end
68
68
  retval = Magick::Image.new( *shape ) { self.depth = depth if depth }
69
- str = memory.read memory.size
70
- retval.import_pixels 0, 0, shape[0], shape[1], colourspace, str, pixel_type
69
+ data = memorise.memory
70
+ retval.import_pixels 0, 0, shape[0], shape[1], colourspace,
71
+ memory.read( memory.size ), pixel_type
71
72
  retval
72
73
  end
73
74
 
metadata CHANGED
@@ -4,9 +4,9 @@ version: !ruby/object:Gem::Version
4
4
  prerelease: false
5
5
  segments:
6
6
  - 0
7
- - 2
8
- - 2
9
- version: 0.2.2
7
+ - 3
8
+ - 0
9
+ version: 0.3.0
10
10
  platform: ruby
11
11
  authors:
12
12
  - Jan Wedekind
@@ -14,7 +14,7 @@ autorequire:
14
14
  bindir: bin
15
15
  cert_chain: []
16
16
 
17
- date: 2010-10-10 00:00:00 +01:00
17
+ date: 2010-12-20 00:00:00 +00:00
18
18
  default_executable:
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
@@ -55,8 +55,8 @@ dependencies:
55
55
  - !ruby/object:Gem::Version
56
56
  segments:
57
57
  - 0
58
- - 7
59
- version: "0.7"
58
+ - 15
59
+ version: "0.15"
60
60
  type: :runtime
61
61
  version_requirements: *id003
62
62
  - !ruby/object:Gem::Dependency