hornetseye-narray 0.1.0 → 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/Rakefile +3 -3
  2. data/lib/hornetseye-narray/node.rb +2 -2
  3. metadata +5 -5
data/Rakefile CHANGED
@@ -6,7 +6,7 @@ require 'rake/packagetask'
6
6
  require 'rbconfig'
7
7
 
8
8
  PKG_NAME = 'hornetseye-narray'
9
- PKG_VERSION = '0.1.0'
9
+ PKG_VERSION = '0.2.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<narray>, [ '~> 0.5' ]
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<narray>, [ '~> 0.5' ]
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}"
@@ -39,8 +39,8 @@ module Hornetseye
39
39
  if target == NArray::OBJECT
40
40
  NArray.to_na to_a
41
41
  else
42
- str = memory.read memory.size
43
- NArray.to_na str, target, *shape
42
+ data = memorise.memory
43
+ NArray.to_na data.read( data.size ), target, *shape
44
44
  end
45
45
  end
46
46
 
metadata CHANGED
@@ -4,9 +4,9 @@ version: !ruby/object:Gem::Version
4
4
  prerelease: false
5
5
  segments:
6
6
  - 0
7
- - 1
7
+ - 2
8
8
  - 0
9
- version: 0.1.0
9
+ version: 0.2.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-12 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