rice 1.4.2 → 1.4.3
Sign up to get free protection for your applications and to get access to all the features.
- data/Doxyfile +1 -1
- data/extconf.rb +6 -2
- data/rice/Data_Type.ipp +2 -2
- data/rice/Module_impl.ipp +1 -1
- data/ruby/lib/version.rb +1 -1
- data/test/test_Director.cpp +2 -0
- data/test/unittest.hpp +4 -2
- metadata +8 -7
data/Doxyfile
CHANGED
@@ -23,7 +23,7 @@ PROJECT_NAME = Rice
|
|
23
23
|
# This could be handy for archiving the generated documentation or
|
24
24
|
# if some version control system is used.
|
25
25
|
|
26
|
-
PROJECT_NUMBER = 1.4.
|
26
|
+
PROJECT_NUMBER = 1.4.3
|
27
27
|
|
28
28
|
# The OUTPUT_DIRECTORY tag is used to specify the (relative or absolute)
|
29
29
|
# base path where the generated documentation will be put.
|
data/extconf.rb
CHANGED
@@ -22,9 +22,13 @@ with_ruby = File.join(Config::CONFIG["bindir"], Config::CONFIG["RUBY_INSTALL_NAM
|
|
22
22
|
other_opts = ""
|
23
23
|
env = ""
|
24
24
|
|
25
|
-
arch = Config::CONFIG["arch"].split("-")[0]
|
26
|
-
|
27
25
|
if RUBY_PLATFORM =~ /darwin10/
|
26
|
+
arch = Config::CONFIG["arch"].split("-")[0]
|
27
|
+
|
28
|
+
if arch == "universal"
|
29
|
+
arch = `uname -m`.strip
|
30
|
+
end
|
31
|
+
|
28
32
|
other_opts = "--disable-dependency-tracking"
|
29
33
|
env = "ARCHFLAGS='-arch #{arch}' CPPFLAGS='-arch #{arch}'"
|
30
34
|
elsif RUBY_PLATFORM =~ /darwin9/
|
data/rice/Data_Type.ipp
CHANGED
@@ -130,8 +130,8 @@ define_constructor(
|
|
130
130
|
rb_define_alloc_func(
|
131
131
|
static_cast<VALUE>(*this),
|
132
132
|
detail::default_allocation_func<T>);
|
133
|
-
define_method(
|
134
|
-
"initialize",
|
133
|
+
this->define_method(
|
134
|
+
"initialize",
|
135
135
|
&Constructor_T::construct,
|
136
136
|
arguments
|
137
137
|
);
|
data/rice/Module_impl.ipp
CHANGED
@@ -298,7 +298,7 @@ void
|
|
298
298
|
Rice::Module_impl<Base_T, Derived_T>::
|
299
299
|
remove_const(Identifier name)
|
300
300
|
{
|
301
|
-
protect(rb_mod_remove_const, *this,
|
301
|
+
protect(rb_mod_remove_const, *this, name.to_sym());
|
302
302
|
}
|
303
303
|
|
304
304
|
template<typename Base_T, typename Derived_T>
|
data/ruby/lib/version.rb
CHANGED
data/test/test_Director.cpp
CHANGED
@@ -71,6 +71,7 @@ namespace {
|
|
71
71
|
|
72
72
|
int default_process(int num) {
|
73
73
|
raisePureVirtual();
|
74
|
+
return 0;
|
74
75
|
}
|
75
76
|
|
76
77
|
virtual int doSomething(int num) {
|
@@ -201,6 +202,7 @@ namespace {
|
|
201
202
|
|
202
203
|
int default_doItImpl(int in) {
|
203
204
|
raisePureVirtual();
|
205
|
+
return 0;
|
204
206
|
}
|
205
207
|
};
|
206
208
|
|
data/test/unittest.hpp
CHANGED
@@ -7,8 +7,6 @@
|
|
7
7
|
|
8
8
|
#if defined(_MSC_VER)
|
9
9
|
#define NOMINMAX
|
10
|
-
#else
|
11
|
-
using namespace std;
|
12
10
|
#endif
|
13
11
|
|
14
12
|
#include <vector>
|
@@ -17,6 +15,10 @@ using namespace std;
|
|
17
15
|
#include <sstream>
|
18
16
|
#include <iostream>
|
19
17
|
|
18
|
+
#if !defined(_MSC_VER)
|
19
|
+
using namespace std;
|
20
|
+
#endif
|
21
|
+
|
20
22
|
class Failure
|
21
23
|
{
|
22
24
|
public:
|
metadata
CHANGED
@@ -1,12 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rice
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
|
4
|
+
hash: 1
|
5
|
+
prerelease:
|
5
6
|
segments:
|
6
7
|
- 1
|
7
8
|
- 4
|
8
|
-
-
|
9
|
-
version: 1.4.
|
9
|
+
- 3
|
10
|
+
version: 1.4.3
|
10
11
|
platform: ruby
|
11
12
|
authors:
|
12
13
|
- Paul Brannan
|
@@ -15,8 +16,7 @@ autorequire:
|
|
15
16
|
bindir: bin
|
16
17
|
cert_chain: []
|
17
18
|
|
18
|
-
date:
|
19
|
-
default_executable:
|
19
|
+
date: 2011-10-09 00:00:00 Z
|
20
20
|
dependencies: []
|
21
21
|
|
22
22
|
description: |
|
@@ -238,7 +238,6 @@ files:
|
|
238
238
|
- test/ext/t2/extconf.rb
|
239
239
|
- test/ext/t2/t2.cpp
|
240
240
|
- test/test_rice.rb
|
241
|
-
has_rdoc: true
|
242
241
|
homepage: http://rice.rubyforge.org/
|
243
242
|
licenses: []
|
244
243
|
|
@@ -252,6 +251,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
252
251
|
requirements:
|
253
252
|
- - ">="
|
254
253
|
- !ruby/object:Gem::Version
|
254
|
+
hash: 3
|
255
255
|
segments:
|
256
256
|
- 0
|
257
257
|
version: "0"
|
@@ -260,13 +260,14 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
260
260
|
requirements:
|
261
261
|
- - ">="
|
262
262
|
- !ruby/object:Gem::Version
|
263
|
+
hash: 3
|
263
264
|
segments:
|
264
265
|
- 0
|
265
266
|
version: "0"
|
266
267
|
requirements: []
|
267
268
|
|
268
269
|
rubyforge_project: rice
|
269
|
-
rubygems_version: 1.
|
270
|
+
rubygems_version: 1.8.6
|
270
271
|
signing_key:
|
271
272
|
specification_version: 3
|
272
273
|
summary: Ruby Interface for C++ Extensions
|