octave-ruby 1.0.5 → 1.0.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,8 +1,13 @@
1
+ == 1.0.6 / 2008-09-07
2
+
3
+ * 1 minor enhancement
4
+ * Building extension should be easier
5
+
1
6
  == 1.0.5 / 2008-05-14
2
7
 
3
8
  * 1 minor bug fix
4
9
  * Empty matrices and arrays are converted to empty arrays
5
-
10
+
6
11
  == 1.0.4 / 2008-05-14
7
12
 
8
13
  * 1 minor enhancement
@@ -79,7 +79,7 @@ extout =
79
79
  extout_prefix =
80
80
  target_prefix =
81
81
  LOCAL_LIBS =
82
- LIBS = $(LIBRUBYARG_SHARED) -lcruft -loctave -loctinterp -lpthread -ldl -lm
82
+ LIBS = $(LIBRUBYARG_SHARED) -loctinterp -lcruft -loctave -lpthread -ldl -lm
83
83
  SRCS = octave_api.c octave-ruby.cpp or-array.cpp or-boolean_matrix.cpp or-cell_matrix.cpp or-hash.cpp or-matrix.cpp or-string.cpp or-struct_matrix.cpp or-variable.cpp
84
84
  OBJS = octave_api.o octave-ruby.o or-array.o or-boolean_matrix.o or-cell_matrix.o or-hash.o or-matrix.o or-string.o or-struct_matrix.o or-variable.o
85
85
  TARGET = octave_api
@@ -2,12 +2,12 @@
2
2
  require 'mkmf'
3
3
 
4
4
  octave_dirs = dir_config( "octave", "/usr/local/octave/include", "/usr/local/octave/lib" )
5
- dep_dirs = dir_config( "dep", "/usr/local/include", "/usr/local/lib" )
5
+ dep_dirs = dir_config( "dep", octave_dirs.first.split(File::SEPARATOR)[0..-3].join(File::SEPARATOR), octave_dirs.last.split(File::SEPARATOR)[0..-2].join(File::SEPARATOR) )
6
+
6
7
  if have_header("octave.h" ) &&
7
- have_library("octinterp", "octave_main" ) &&
8
8
  have_library("octave") &&
9
- have_library("cruft")
10
-
9
+ have_library("cruft") &&
10
+ have_library("octinterp", "octave_main" )
11
11
 
12
12
  if Config::CONFIG["arch"] =~ /-darwin\d/
13
13
  CONFIG['LDSHARED'] = "g++ -pipe -bundle"
@@ -21,4 +21,4 @@ if have_header("octave.h" ) &&
21
21
  end
22
22
 
23
23
  create_makefile( "octave_api" )
24
- end
24
+ end
@@ -4,7 +4,7 @@ module Octave
4
4
 
5
5
  MAJOR = 1
6
6
  MINOR = 0
7
- TINY = 5
7
+ TINY = 6
8
8
 
9
9
  STRING = [ MAJOR, MINOR, TINY ].join( "." )
10
10
  #:beta-tag:
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: octave-ruby
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.5
4
+ version: 1.0.6
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jonathan Younger
@@ -9,17 +9,18 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2008-05-19 00:00:00 -06:00
12
+ date: 2008-09-07 00:00:00 -06:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: hoe
17
+ type: :development
17
18
  version_requirement:
18
19
  version_requirements: !ruby/object:Gem::Requirement
19
20
  requirements:
20
21
  - - ">="
21
22
  - !ruby/object:Gem::Version
22
- version: 1.5.1
23
+ version: 1.7.0
23
24
  version:
24
25
  description: "== USAGE: require 'octave' engine = Octave::Engine.new engine.eval \"123.456 * 789.101112\" engine.rand(10) matrix = Octave::Matrix.new(20, 400) 20.times { |m| 400.times { |n| matrix[m, n] = rand } } engine.put_variable(\"m\", matrix) engine.save \"/tmp/20_x_400_matrix\" == REQUIREMENTS: * Octave * GCC or some other compiler to build the included extension * Mocha (For testing only)"
25
26
  email:
@@ -96,7 +97,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
96
97
  requirements: []
97
98
 
98
99
  rubyforge_project: octave-ruby
99
- rubygems_version: 1.1.1
100
+ rubygems_version: 1.2.0
100
101
  signing_key:
101
102
  specification_version: 2
102
103
  summary: A Ruby interface to the Octave interpreted language.