multiarray 1.0.0 → 1.0.1

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 +1 -1
  2. data/lib/multiarray/gccfunction.rb +1 -1
  3. metadata +50 -48
data/Rakefile CHANGED
@@ -6,7 +6,7 @@ require 'rake/packagetask'
6
6
  require 'rbconfig'
7
7
 
8
8
  PKG_NAME = 'multiarray'
9
- PKG_VERSION = '1.0.0'
9
+ PKG_VERSION = '1.0.1'
10
10
  RB_FILES = FileList[ 'lib/**/*.rb' ]
11
11
  TC_FILES = FileList[ 'test/tc_*.rb' ]
12
12
  TS_FILES = FileList[ 'test/ts_*.rb' ]
@@ -174,7 +174,7 @@ module Hornetseye
174
174
  #
175
175
  # @private
176
176
  def insn_return( value = nil )
177
- self << "#{indent}return#{ value ? ' ' + value.get.to_s : '' };\n"
177
+ self << "#{indent}return #{ value ? value.get.to_s : 'Qnil' };\n"
178
178
  end
179
179
 
180
180
  # Add instructions to C function
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: multiarray
3
3
  version: !ruby/object:Gem::Version
4
- hash: 23
4
+ hash: 21
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 0
9
- - 0
10
- version: 1.0.0
9
+ - 1
10
+ version: 1.0.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Jan Wedekind
@@ -15,12 +15,11 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2012-06-18 00:00:00 Z
18
+ date: 2012-07-04 00:00:00 +01:00
19
+ default_executable:
19
20
  dependencies:
20
21
  - !ruby/object:Gem::Dependency
21
- name: malloc
22
- prerelease: false
23
- requirement: &id001 !ruby/object:Gem::Requirement
22
+ version_requirements: &id001 !ruby/object:Gem::Requirement
24
23
  none: false
25
24
  requirements:
26
25
  - - ~>
@@ -30,12 +29,12 @@ dependencies:
30
29
  - 1
31
30
  - 1
32
31
  version: "1.1"
32
+ requirement: *id001
33
33
  type: :runtime
34
- version_requirements: *id001
35
- - !ruby/object:Gem::Dependency
36
- name: rake
37
34
  prerelease: false
38
- requirement: &id002 !ruby/object:Gem::Requirement
35
+ name: malloc
36
+ - !ruby/object:Gem::Dependency
37
+ version_requirements: &id002 !ruby/object:Gem::Requirement
39
38
  none: false
40
39
  requirements:
41
40
  - - ">="
@@ -44,8 +43,10 @@ dependencies:
44
43
  segments:
45
44
  - 0
46
45
  version: "0"
46
+ requirement: *id002
47
47
  type: :development
48
- version_requirements: *id002
48
+ prerelease: false
49
+ name: rake
49
50
  description: This Ruby-extension defines Hornetseye::MultiArray and other native datatypes. Hornetseye::MultiArray provides multi-dimensional Ruby arrays with elements of same type. The extension is designed to be mostly compatible with Masahiro Tanaka's NArray. However it allows the definition of custom element types and operations on them. This work was also inspired by Ronald Garcia's boost::multi_array and by Todd Veldhuizen's Blitz++.
50
51
  email: jan@wedesoft.de
51
52
  executables: []
@@ -59,56 +60,57 @@ files:
59
60
  - README.md
60
61
  - COPYING
61
62
  - .document
63
+ - lib/multiarray/argument.rb
62
64
  - lib/multiarray/bool.rb
63
- - lib/multiarray/multiarray.rb
64
- - lib/multiarray/node.rb
65
- - lib/multiarray/gccvalue.rb
66
- - lib/multiarray/rgb.rb
67
- - lib/multiarray/object.rb
68
- - lib/multiarray/gcccontext.rb
69
- - lib/multiarray/unmask.rb
70
- - lib/multiarray/elementwise.rb
65
+ - lib/multiarray/complex.rb
71
66
  - lib/multiarray/components.rb
67
+ - lib/multiarray/composite.rb
72
68
  - lib/multiarray/diagonal.rb
73
- - lib/multiarray/index.rb
74
- - lib/multiarray/variable.rb
75
- - lib/multiarray/lambda.rb
76
- - lib/multiarray/integral.rb
77
- - lib/multiarray/pointer.rb
78
69
  - lib/multiarray/element.rb
79
- - lib/multiarray/composite.rb
80
- - lib/multiarray/argument.rb
81
- - lib/multiarray/lookup.rb
82
- - lib/multiarray/sequence.rb
83
- - lib/multiarray/gcctype.rb
70
+ - lib/multiarray/elementwise.rb
84
71
  - lib/multiarray/field.rb
85
- - lib/multiarray/shortcuts.rb
86
- - lib/multiarray/complex.rb
87
- - lib/multiarray/mask.rb
88
- - lib/multiarray/malloc.rb
89
- - lib/multiarray/lut.rb
90
- - lib/multiarray/int.rb
72
+ - lib/multiarray/float.rb
91
73
  - lib/multiarray/gcccache.rb
92
- - lib/multiarray/inject.rb
93
- - lib/multiarray/list.rb
74
+ - lib/multiarray/gcccontext.rb
94
75
  - lib/multiarray/gccfunction.rb
76
+ - lib/multiarray/gcctype.rb
77
+ - lib/multiarray/gccvalue.rb
95
78
  - lib/multiarray/histogram.rb
96
- - lib/multiarray/float.rb
97
- - lib/multiarray/random.rb
79
+ - lib/multiarray/index.rb
80
+ - lib/multiarray/inject.rb
81
+ - lib/multiarray/int.rb
82
+ - lib/multiarray/integral.rb
83
+ - lib/multiarray/lambda.rb
84
+ - lib/multiarray/list.rb
85
+ - lib/multiarray/lookup.rb
86
+ - lib/multiarray/lut.rb
87
+ - lib/multiarray/malloc.rb
88
+ - lib/multiarray/mask.rb
89
+ - lib/multiarray/methods.rb
90
+ - lib/multiarray/multiarray.rb
91
+ - lib/multiarray/node.rb
92
+ - lib/multiarray/object.rb
98
93
  - lib/multiarray/operations.rb
94
+ - lib/multiarray/pointer.rb
95
+ - lib/multiarray/random.rb
96
+ - lib/multiarray/rgb.rb
97
+ - lib/multiarray/sequence.rb
98
+ - lib/multiarray/shortcuts.rb
99
99
  - lib/multiarray/store.rb
100
- - lib/multiarray/methods.rb
100
+ - lib/multiarray/unmask.rb
101
+ - lib/multiarray/variable.rb
101
102
  - lib/multiarray.rb
102
103
  - test/ts_multiarray.rb
103
- - test/tc_int.rb
104
+ - test/tc_bool.rb
104
105
  - test/tc_compile.rb
105
- - test/tc_object.rb
106
106
  - test/tc_float.rb
107
+ - test/tc_int.rb
107
108
  - test/tc_lazy.rb
108
109
  - test/tc_multiarray.rb
109
- - test/tc_bool.rb
110
+ - test/tc_object.rb
110
111
  - test/tc_rgb.rb
111
112
  - test/tc_sequence.rb
113
+ has_rdoc: true
112
114
  homepage: http://wedesoft.github.com/multiarray/
113
115
  licenses: []
114
116
 
@@ -138,17 +140,17 @@ required_rubygems_version: !ruby/object:Gem::Requirement
138
140
  requirements: []
139
141
 
140
142
  rubyforge_project: hornetseye
141
- rubygems_version: 1.8.15
143
+ rubygems_version: 1.6.2
142
144
  signing_key:
143
145
  specification_version: 3
144
146
  summary: Multi-dimensional and uniform Ruby arrays
145
147
  test_files:
146
- - test/tc_int.rb
148
+ - test/tc_bool.rb
147
149
  - test/tc_compile.rb
148
- - test/tc_object.rb
149
150
  - test/tc_float.rb
151
+ - test/tc_int.rb
150
152
  - test/tc_lazy.rb
151
153
  - test/tc_multiarray.rb
152
- - test/tc_bool.rb
154
+ - test/tc_object.rb
153
155
  - test/tc_rgb.rb
154
156
  - test/tc_sequence.rb