rice 1.3.1 → 1.3.2

Sign up to get free protection for your applications and to get access to all the features.
data/test/ext/Makefile.in CHANGED
@@ -1,9 +1,8 @@
1
- # Makefile.in generated by automake 1.11 from Makefile.am.
1
+ # Makefile.in generated by automake 1.10 from Makefile.am.
2
2
  # @configure_input@
3
3
 
4
4
  # Copyright (C) 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002,
5
- # 2003, 2004, 2005, 2006, 2007, 2008, 2009 Free Software Foundation,
6
- # Inc.
5
+ # 2003, 2004, 2005, 2006 Free Software Foundation, Inc.
7
6
  # This Makefile.in is free software; the Free Software Foundation
8
7
  # gives unlimited permission to copy and/or distribute it,
9
8
  # with or without modifications, as long as this notice is preserved.
@@ -16,9 +15,8 @@
16
15
  @SET_MAKE@
17
16
  VPATH = @srcdir@
18
17
  pkgdatadir = $(datadir)/@PACKAGE@
19
- pkgincludedir = $(includedir)/@PACKAGE@
20
18
  pkglibdir = $(libdir)/@PACKAGE@
21
- pkglibexecdir = $(libexecdir)/@PACKAGE@
19
+ pkgincludedir = $(includedir)/@PACKAGE@
22
20
  am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd
23
21
  install_sh_DATA = $(install_sh) -c -m 644
24
22
  install_sh_PROGRAM = $(install_sh) -c
@@ -43,7 +41,6 @@ am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
43
41
  mkinstalldirs = $(install_sh) -d
44
42
  CONFIG_HEADER = $(top_builddir)/rice/config.hpp
45
43
  CONFIG_CLEAN_FILES =
46
- CONFIG_CLEAN_VPATH_FILES =
47
44
  SOURCES =
48
45
  DIST_SOURCES =
49
46
  DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
@@ -105,7 +102,6 @@ PACKAGE_BUGREPORT = @PACKAGE_BUGREPORT@
105
102
  PACKAGE_NAME = @PACKAGE_NAME@
106
103
  PACKAGE_STRING = @PACKAGE_STRING@
107
104
  PACKAGE_TARNAME = @PACKAGE_TARNAME@
108
- PACKAGE_URL = @PACKAGE_URL@
109
105
  PACKAGE_VERSION = @PACKAGE_VERSION@
110
106
  PATH_SEPARATOR = @PATH_SEPARATOR@
111
107
  RANLIB = @RANLIB@
@@ -175,7 +171,6 @@ sharedstatedir = @sharedstatedir@
175
171
  srcdir = @srcdir@
176
172
  sysconfdir = @sysconfdir@
177
173
  target_alias = @target_alias@
178
- top_build_prefix = @top_build_prefix@
179
174
  top_builddir = @top_builddir@
180
175
  top_srcdir = @top_srcdir@
181
176
  RUBY_EXTCONF_OPTIONS = -I@RICE_ROOT@/ruby/lib
@@ -193,14 +188,14 @@ $(srcdir)/Makefile.in: $(srcdir)/Makefile.am $(am__configure_deps)
193
188
  @for dep in $?; do \
194
189
  case '$(am__configure_deps)' in \
195
190
  *$$dep*) \
196
- ( cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh ) \
197
- && { if test -f $@; then exit 0; else break; fi; }; \
191
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh \
192
+ && exit 0; \
198
193
  exit 1;; \
199
194
  esac; \
200
195
  done; \
201
- echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu test/ext/Makefile'; \
202
- $(am__cd) $(top_srcdir) && \
203
- $(AUTOMAKE) --gnu test/ext/Makefile
196
+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu test/ext/Makefile'; \
197
+ cd $(top_srcdir) && \
198
+ $(AUTOMAKE) --gnu test/ext/Makefile
204
199
  .PRECIOUS: Makefile
205
200
  Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
206
201
  @case '$?' in \
@@ -218,7 +213,6 @@ $(top_srcdir)/configure: $(am__configure_deps)
218
213
  cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
219
214
  $(ACLOCAL_M4): $(am__aclocal_m4_deps)
220
215
  cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
221
- $(am__aclocal_m4_deps):
222
216
  tags: TAGS
223
217
  TAGS:
224
218
 
@@ -242,17 +236,13 @@ distdir: $(DISTFILES)
242
236
  if test -f $$file || test -d $$file; then d=.; else d=$(srcdir); fi; \
243
237
  if test -d $$d/$$file; then \
244
238
  dir=`echo "/$$file" | sed -e 's,/[^/]*$$,,'`; \
245
- if test -d "$(distdir)/$$file"; then \
246
- find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
247
- fi; \
248
239
  if test -d $(srcdir)/$$file && test $$d != $(srcdir); then \
249
- cp -fpR $(srcdir)/$$file "$(distdir)$$dir" || exit 1; \
250
- find "$(distdir)/$$file" -type d ! -perm -700 -exec chmod u+rwx {} \;; \
240
+ cp -pR $(srcdir)/$$file "$(distdir)"$$dir || exit 1; \
251
241
  fi; \
252
- cp -fpR $$d/$$file "$(distdir)$$dir" || exit 1; \
242
+ cp -pR $$d/$$file "$(distdir)"$$dir || exit 1; \
253
243
  else \
254
- test -f "$(distdir)/$$file" \
255
- || cp -p $$d/$$file "$(distdir)/$$file" \
244
+ test -f "$(distdir)"/$$file \
245
+ || cp -p $$d/$$file "$(distdir)"/$$file \
256
246
  || exit 1; \
257
247
  fi; \
258
248
  done
@@ -280,7 +270,6 @@ clean-generic:
280
270
 
281
271
  distclean-generic:
282
272
  -test -z "$(CONFIG_CLEAN_FILES)" || rm -f $(CONFIG_CLEAN_FILES)
283
- -test . = "$(srcdir)" || test -z "$(CONFIG_CLEAN_VPATH_FILES)" || rm -f $(CONFIG_CLEAN_VPATH_FILES)
284
273
 
285
274
  maintainer-clean-generic:
286
275
  @echo "This command is intended for maintainers to use"
@@ -295,8 +284,6 @@ dvi-am:
295
284
 
296
285
  html: html-am
297
286
 
298
- html-am:
299
-
300
287
  info: info-am
301
288
 
302
289
  info-am:
@@ -305,28 +292,18 @@ install-data-am:
305
292
 
306
293
  install-dvi: install-dvi-am
307
294
 
308
- install-dvi-am:
309
-
310
295
  install-exec-am:
311
296
 
312
297
  install-html: install-html-am
313
298
 
314
- install-html-am:
315
-
316
299
  install-info: install-info-am
317
300
 
318
- install-info-am:
319
-
320
301
  install-man:
321
302
 
322
303
  install-pdf: install-pdf-am
323
304
 
324
- install-pdf-am:
325
-
326
305
  install-ps: install-ps-am
327
306
 
328
- install-ps-am:
329
-
330
307
  installcheck-am:
331
308
 
332
309
  maintainer-clean: maintainer-clean-am
@@ -393,7 +370,6 @@ t1_distclean:
393
370
 
394
371
  t2_distclean:
395
372
  make -C t2 distclean
396
-
397
373
  # Tell versions [3.59,3.63) of GNU make to not export all variables.
398
374
  # Otherwise a system limit (for SysV at least) may be exceeded.
399
375
  .NOEXPORT:
@@ -64,175 +64,64 @@ TESTCASE(non_default_constructor)
64
64
  ASSERT_EQUAL(rb_cNon_Default_Constructible, o.class_of());
65
65
  ASSERT_EQUAL(42, o->i());
66
66
  }
67
- /*
68
- namespace {
69
-
70
- class AbstractClass
71
- {
72
- public:
73
-
74
- int doSomething()
75
- {
76
- return doSomethingImpl();
77
- }
78
-
79
- int doSomethingParam(int a, int b)
80
- {
81
- return doSomethingParamImpl(a, b);
82
- }
83
-
84
- virtual int doSomethingImpl() = 0;
85
-
86
- virtual int doSomethingParamImpl(int a, int b) = 0;
87
- };
88
67
 
89
- class Director : public AbstractClass
68
+ /*
69
+ namespace
70
+ {
71
+ class WithDefaultArgs
90
72
  {
91
- Rice::Object m_rbSelf;
92
-
93
73
  public:
94
- Director(Rice::Object self) : m_rbSelf(self) { }
95
-
96
- virtual int doSomethingImpl()
74
+ WithDefaultArgs(int x, float y = 2.0, bool yes = false)
97
75
  {
98
- cout << endl << "In Impl, frame's last_func is " << rb_id2name(ruby_frame->last_func) << endl;
99
- cout << endl << "In Impl, frame's orig_func is " << rb_id2name(ruby_frame->orig_func) << endl;
100
- cout << endl << "In Impl, frame's last_class is " << Class(ruby_frame->last_class).name().str() << endl;
101
-
102
- cout << endl << "In Impl, frame's prev's last_func is " << rb_id2name(ruby_frame->prev->last_func) << endl;
103
- cout << endl << "In Impl, frame's prev's orig_func is " << rb_id2name(ruby_frame->prev->orig_func) << endl;
104
-
105
- cout << endl << "We've got classname (frame) " << rb_obj_classname(ruby_frame->self) << " vs (self) " << rb_obj_classname(m_rbSelf.value()) << endl;
106
- cout << endl << "We've got classname (frame prev) " << rb_obj_classname(ruby_frame->prev->self) << " vs (self) " << rb_obj_classname(m_rbSelf.value()) << endl;
107
-
108
- // Need to get the Ruby callee, compare that to m_rbSelf, and
109
- // if they're equal, go UP the chain, otherwise go DOWN
110
- if(ruby_frame->self == m_rbSelf.value()) {
111
- // As doSomethingImpl is pure virtual, we need to implement a default here so
112
- // that super calls don't blow things up
113
- return 100;
114
- } else {
115
- return from_ruby<int>( m_rbSelf.call("do_something_impl") );
116
- }
117
-
76
+ x_ = x;
77
+ y_ = y;
78
+ yes_ = yes;
118
79
  }
119
80
 
120
- virtual int doSomethingParamImpl(int a, int b)
121
- {
122
- return from_ruby<int>( m_rbSelf.call("do_something_param_impl", a, b) );
81
+ WithDefaultArgs(int x = 14) {
82
+ x_ = x;
83
+ y_ = 1.0;
84
+ yes_ = false;
123
85
  }
124
- };
125
- }
126
-
127
- TESTCASE(director_system_polymorphic_calls)
128
- {
129
- Data_Type<AbstractClass> a = define_class<AbstractClass>("__AbstractClass__");
130
86
 
131
- Data_Type<Director> d = define_class<Director, AbstractClass>("AbstractClass");
132
- d.define_constructor(Constructor<Director, Rice::Object>());
133
- d.define_method("do_something", &AbstractClass::doSomething);
134
- d.define_method("do_something_impl", &Director::doSomethingImpl);
87
+ int getX() { return x_; }
88
+ float getY() { return y_; }
89
+ bool getYes() { return yes_; }
135
90
 
136
- Module m = define_module("Testing");
137
- m.instance_eval(
138
- "class MyWorker < AbstractClass;"
139
- "def do_something_impl; 8; end;"
140
- "end"
141
- );
91
+ private:
142
92
 
143
- Object result = m.instance_eval("worker = MyWorker.new; worker.do_something");
144
-
145
- ASSERT_EQUAL(
146
- 8, from_ruby<int>(result.value())
147
- );
93
+ int x_;
94
+ float y_;
95
+ bool yes_;
96
+ };
148
97
  }
149
98
 
150
- TESTCASE(director_system_polymorphic_calls_with_parameters)
99
+ TESTCASE(constructor_supports_default_arguments)
151
100
  {
152
- Data_Type<AbstractClass> a = define_class<AbstractClass>("__AbstractClass__");
153
-
154
- Data_Type<Director> d = define_class<Director, AbstractClass>("AbstractClass");
155
- d.define_constructor(Constructor<Director, Rice::Object>());
156
- d.define_method("do_something_param", &AbstractClass::doSomethingParam);
157
- d.define_method("do_something_param_impl", &Director::doSomethingParamImpl);
158
-
159
- Module m = define_module("Testing");
160
- m.instance_eval(
161
- "class MyWorker < AbstractClass;"
162
- "def do_something_param_impl(a, b); a * b; end;"
163
- "end"
164
- );
165
-
166
- Object result = m.instance_eval("worker = MyWorker.new; worker.do_something_param(2, 10)");
167
-
168
- ASSERT_EQUAL(
169
- 20, from_ruby<int>(result.value())
170
- );
101
+ Class klass = define_class<WithDefaultArgs>("WithDefaultArgs").
102
+ define_constructor(Constructor<WithDefaultArgs, int, float, bool>(
103
+ ( Arg("x"), Arg("y") = (float)2.0, Arg("yes") = (bool)false )));
104
+
105
+ Data_Object<WithDefaultArgs> obj;
106
+
107
+ obj= klass.call("new", 4);
108
+ ASSERT_EQUAL(4, obj->getX());
109
+ ASSERT_EQUAL(2.0, obj->getY());
110
+ ASSERT_EQUAL(false, obj->getYes());
111
+
112
+ obj= klass.call("new", 5, 3.0);
113
+ ASSERT_EQUAL(5, obj->getX());
114
+ ASSERT_EQUAL(3.0, obj->getY());
115
+ ASSERT_EQUAL(false, obj->getYes());
116
+
117
+ obj= klass.call("new", 7, 12.0, true);
118
+ ASSERT_EQUAL(7, obj->getX());
119
+ ASSERT_EQUAL(12.0, obj->getY());
120
+ ASSERT_EQUAL(true, obj->getYes());
171
121
  }
172
122
 
173
- TESTCASE(director_system_polymorphic_calls_very_deep)
123
+ TESTCASE(constructor_supports_single_default_argument)
174
124
  {
175
- Data_Type<AbstractClass> a = define_class<AbstractClass>("__AbstractClass__");
176
-
177
- Data_Type<Director> d = define_class<Director, AbstractClass>("AbstractClass");
178
- d.define_constructor(Constructor<Director, Rice::Object>());
179
- d.define_method("do_something", &AbstractClass::doSomething);
180
- d.define_method("do_something_impl", &Director::doSomethingImpl);
181
-
182
- Module m = define_module("Testing");
183
- m.instance_eval(
184
- "class MyWorker < AbstractClass;"
185
- "def do_something_impl; 4; end;"
186
- "end;"
187
- "class MyWorker2 < MyWorker;"
188
- "def do_something_impl; 6; end;"
189
- "end;"
190
- "class MyWorker3 < MyWorker2;"
191
- "def do_something_impl; 8; end;"
192
- "end;"
193
- "class MyWorker4 < MyWorker3;"
194
- "def do_something_impl; 10; end;"
195
- "end;"
196
- );
197
-
198
- Object result = m.instance_eval("worker = MyWorker4.new; worker.do_something");
199
-
200
- ASSERT_EQUAL(
201
- 10, from_ruby<int>(result.value())
202
- );
203
- }
204
125
 
205
- TESTCASE(director_system_super_calls_dont_infinite_loop)
206
- {
207
- Data_Type<AbstractClass> a = define_class<AbstractClass>("__AbstractClass__");
208
-
209
- Data_Type<Director> d = define_class<Director, AbstractClass>("AbstractClass");
210
- d.define_constructor(Constructor<Director, Rice::Object>());
211
- d.define_method("do_something", &AbstractClass::doSomething);
212
- d.define_method("do_something_impl", &Director::doSomethingImpl);
213
-
214
- Module m = define_module("Testing");
215
- m.instance_eval(
216
- "class MyWorker < AbstractClass;"
217
- "@@call_count = 0;"
218
- "def do_something_impl;"
219
- "@@call_count += 1;"
220
- "if @@call_count == 1; super; else; -1; end;"
221
- "end; end;"
222
- );
223
-
224
- Object result = m.instance_eval("worker = MyWorker.new; worker.do_something");
225
-
226
- // -1 means that the do_something_impl got called twice, aka we were in an infinite loop
227
- // had the class var check not been there
228
- ASSERT_NOT_EQUAL(
229
- -1,
230
- from_ruby<int>(result.value())
231
- );
232
-
233
- ASSERT_EQUAL(
234
- 100,
235
- from_ruby<int>(result.value())
236
- );
237
126
  }
238
127
  */
data/test/test_Module.cpp CHANGED
@@ -24,19 +24,19 @@ TESTCASE(construct_from_value)
24
24
  namespace
25
25
  {
26
26
 
27
- class Silly_Exception
27
+ class Quite_Silly_Exception
28
28
  : public std::exception
29
29
  {
30
30
  };
31
31
 
32
- void handle_silly_exception(Silly_Exception const & ex)
32
+ void handle_silly_exception(Quite_Silly_Exception const & ex)
33
33
  {
34
34
  throw Exception(rb_eRuntimeError, "SILLY");
35
35
  }
36
36
 
37
37
  void throw_silly_exception(Object self)
38
38
  {
39
- throw Silly_Exception();
39
+ throw Quite_Silly_Exception();
40
40
  }
41
41
 
42
42
  } // namespace
@@ -44,7 +44,7 @@ void throw_silly_exception(Object self)
44
44
  TESTCASE(add_handler)
45
45
  {
46
46
  Module m(anonymous_module());
47
- m.add_handler<Silly_Exception>(handle_silly_exception);
47
+ m.add_handler<Quite_Silly_Exception>(handle_silly_exception);
48
48
  m.define_singleton_method("foo", throw_silly_exception);
49
49
  Object exc = m.instance_eval("begin; foo; rescue Exception; $!; end");
50
50
  ASSERT_EQUAL(rb_eRuntimeError, CLASS_OF(exc));
metadata CHANGED
@@ -1,7 +1,12 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rice
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.1
4
+ prerelease: false
5
+ segments:
6
+ - 1
7
+ - 3
8
+ - 2
9
+ version: 1.3.2
5
10
  platform: ruby
6
11
  authors:
7
12
  - Paul Brannan
@@ -10,19 +15,21 @@ autorequire:
10
15
  bindir: bin
11
16
  cert_chain: []
12
17
 
13
- date: 2010-01-10 00:00:00 -05:00
18
+ date: 2010-05-06 00:00:00 -04:00
14
19
  default_executable:
15
20
  dependencies:
16
21
  - !ruby/object:Gem::Dependency
17
22
  name: rubyforge
18
- type: :development
19
- version_requirement:
20
- version_requirements: !ruby/object:Gem::Requirement
23
+ prerelease: false
24
+ requirement: &id001 !ruby/object:Gem::Requirement
21
25
  requirements:
22
26
  - - ">="
23
27
  - !ruby/object:Gem::Version
28
+ segments:
29
+ - 0
24
30
  version: "0"
25
- version:
31
+ type: :development
32
+ version_requirements: *id001
26
33
  description: |
27
34
  Rice is a C++ interface to Ruby's C API. It provides a type-safe and
28
35
  exception-safe interface in order to make embedding Ruby and writing
@@ -72,130 +79,129 @@ files:
72
79
  - sample/Makefile.in
73
80
  - test/Makefile.am
74
81
  - test/Makefile.in
82
+ - rice/Address_Registration_Guard.hpp
83
+ - rice/Address_Registration_Guard.ipp
84
+ - rice/Address_Registration_Guard_defn.hpp
85
+ - rice/Allocation_Strategies.hpp
75
86
  - rice/Arg.hpp
76
- - rice/Exception_Base.hpp
77
- - rice/Constructor.hpp
78
- - rice/Object_defn.hpp
79
- - rice/VM.cpp
80
- - rice/VM.hpp
81
- - rice/Module.hpp
82
- - rice/Critical_Guard.ipp
83
- - rice/Identifier.ipp
84
- - rice/Exception_defn.hpp
85
- - rice/Data_Type_fwd.hpp
86
- - rice/config.hpp
87
+ - rice/Arg_impl.hpp
88
+ - rice/Arg_operators.cpp
89
+ - rice/Arg_operators.hpp
90
+ - rice/Array.hpp
91
+ - rice/Array.ipp
87
92
  - rice/Builtin_Object.hpp
88
- - rice/Exception_Base.ipp
89
- - rice/Symbol.cpp
93
+ - rice/Builtin_Object.ipp
94
+ - rice/Builtin_Object_defn.hpp
90
95
  - rice/Class.cpp
91
- - rice/Array.hpp
92
- - rice/Module_defn.hpp
93
- - rice/Hash.ipp
94
- - rice/Exception.hpp
95
- - rice/Struct.ipp
96
- - rice/protect.hpp
97
- - rice/Data_Object.hpp
96
+ - rice/Class.hpp
98
97
  - rice/Class.ipp
99
- - rice/Module.cpp
100
- - rice/Arg_impl.hpp
101
- - rice/Hash.hpp
102
- - rice/Symbol.ipp
103
98
  - rice/Class_defn.hpp
104
- - rice/Arg_operators.cpp
105
- - rice/Object.hpp
106
- - rice/Allocation_Strategies.hpp
107
- - rice/Enum.ipp
108
- - rice/Director.cpp
109
- - rice/Object.cpp
110
- - rice/Address_Registration_Guard_defn.hpp
111
- - rice/Builtin_Object.ipp
112
- - rice/String.hpp
113
- - rice/protect.ipp
114
- - rice/Exception_Base_defn.hpp
115
- - rice/Array.ipp
116
- - rice/Require_Guard.hpp
117
- - rice/Module_impl.ipp
118
- - rice/Identifier.cpp
99
+ - rice/config.hpp
100
+ - rice/Constructor.hpp
101
+ - rice/Critical_Guard.hpp
102
+ - rice/Critical_Guard.ipp
103
+ - rice/Data_Object.hpp
119
104
  - rice/Data_Object.ipp
120
- - rice/Exception.cpp
121
- - rice/Data_Type.ipp
122
- - rice/Symbol.hpp
123
- - rice/Builtin_Object_defn.hpp
124
- - rice/Struct.cpp
105
+ - rice/Data_Object_defn.hpp
125
106
  - rice/Data_Type.cpp
126
- - rice/ruby_try_catch.hpp
127
107
  - rice/Data_Type.hpp
128
- - rice/String.cpp
129
- - rice/Object.ipp
108
+ - rice/Data_Type.ipp
130
109
  - rice/Data_Type_defn.hpp
110
+ - rice/Data_Type_fwd.hpp
111
+ - rice/Director.cpp
131
112
  - rice/Director.hpp
132
- - rice/Critical_Guard.hpp
113
+ - rice/Enum.hpp
114
+ - rice/Enum.ipp
115
+ - rice/Exception.cpp
116
+ - rice/Exception.hpp
117
+ - rice/Exception_Base.hpp
118
+ - rice/Exception_Base.ipp
119
+ - rice/Exception_Base_defn.hpp
120
+ - rice/Exception_defn.hpp
121
+ - rice/global_function.hpp
122
+ - rice/global_function.ipp
123
+ - rice/Hash.hpp
124
+ - rice/Hash.ipp
125
+ - rice/Identifier.cpp
126
+ - rice/Identifier.hpp
127
+ - rice/Identifier.ipp
133
128
  - rice/Jump_Tag.hpp
134
- - rice/to_from_ruby.ipp
135
- - rice/to_from_ruby.hpp
129
+ - rice/Module.cpp
130
+ - rice/Module.hpp
131
+ - rice/Module.ipp
132
+ - rice/Module_defn.hpp
136
133
  - rice/Module_impl.hpp
137
- - rice/Arg_operators.hpp
138
- - rice/Struct.hpp
139
- - rice/Identifier.hpp
140
- - rice/global_function.hpp
134
+ - rice/Module_impl.ipp
135
+ - rice/Object.cpp
136
+ - rice/Object.hpp
137
+ - rice/Object.ipp
138
+ - rice/Object_defn.hpp
139
+ - rice/protect.hpp
140
+ - rice/protect.ipp
141
+ - rice/Require_Guard.hpp
141
142
  - rice/ruby_mark.hpp
142
- - rice/Data_Object_defn.hpp
143
- - rice/Address_Registration_Guard.hpp
144
- - rice/Class.hpp
145
- - rice/global_function.ipp
143
+ - rice/ruby_try_catch.hpp
144
+ - rice/String.cpp
145
+ - rice/String.hpp
146
+ - rice/Struct.cpp
147
+ - rice/Struct.hpp
148
+ - rice/Struct.ipp
149
+ - rice/Symbol.cpp
150
+ - rice/Symbol.hpp
151
+ - rice/Symbol.ipp
152
+ - rice/to_from_ruby.hpp
153
+ - rice/to_from_ruby.ipp
146
154
  - rice/to_from_ruby_defn.hpp
147
- - rice/Address_Registration_Guard.ipp
148
- - rice/Enum.hpp
149
- - rice/Module.ipp
150
- - rice/generate_code.rb
155
+ - rice/VM.cpp
156
+ - rice/VM.hpp
151
157
  - rice/rubypp.rb
152
158
  - rice/config.hpp.in
153
- - rice/detail/creation_funcs.hpp
154
159
  - rice/detail/Arguments.hpp
155
- - rice/detail/wrap_function.ipp
160
+ - rice/detail/Auto_Function_Wrapper.hpp
161
+ - rice/detail/Auto_Function_Wrapper.ipp
162
+ - rice/detail/Auto_Member_Function_Wrapper.hpp
163
+ - rice/detail/Auto_Member_Function_Wrapper.ipp
164
+ - rice/detail/Caster.hpp
165
+ - rice/detail/cfp.hpp
166
+ - rice/detail/cfp.ipp
156
167
  - rice/detail/check_ruby_type.cpp
157
- - rice/detail/demangle.cpp
158
168
  - rice/detail/check_ruby_type.hpp
159
- - rice/detail/Auto_Member_Function_Wrapper.ipp
169
+ - rice/detail/creation_funcs.hpp
170
+ - rice/detail/creation_funcs.ipp
171
+ - rice/detail/default_allocation_func.hpp
172
+ - rice/detail/default_allocation_func.ipp
173
+ - rice/detail/define_method_and_auto_wrap.hpp
174
+ - rice/detail/define_method_and_auto_wrap.ipp
175
+ - rice/detail/demangle.cpp
176
+ - rice/detail/demangle.hpp
177
+ - rice/detail/env.hpp
178
+ - rice/detail/Exception_Handler.hpp
179
+ - rice/detail/Exception_Handler.ipp
180
+ - rice/detail/Exception_Handler_defn.hpp
181
+ - rice/detail/from_ruby.hpp
182
+ - rice/detail/from_ruby.ipp
183
+ - rice/detail/Iterator.hpp
184
+ - rice/detail/method_data.cpp
185
+ - rice/detail/method_data.hpp
160
186
  - rice/detail/mininode.cpp
161
- - rice/detail/Auto_Member_Function_Wrapper.hpp
162
- - rice/detail/protect.cpp
187
+ - rice/detail/mininode.hpp
163
188
  - rice/detail/node.hpp
164
- - rice/detail/Wrapped_Function.hpp
165
- - rice/detail/protect.hpp
166
- - rice/detail/demangle.hpp
167
- - rice/detail/define_method_and_auto_wrap.hpp
168
- - rice/detail/traits.hpp
169
- - rice/detail/default_allocation_func.ipp
170
- - rice/detail/wrap_function.hpp
171
- - rice/detail/Caster.hpp
189
+ - rice/detail/Not_Copyable.hpp
172
190
  - rice/detail/object_call.hpp
173
- - rice/detail/from_ruby.ipp
191
+ - rice/detail/object_call.ipp
192
+ - rice/detail/protect.cpp
193
+ - rice/detail/protect.hpp
174
194
  - rice/detail/ruby.hpp
195
+ - rice/detail/ruby_version_code.hpp
196
+ - rice/detail/rubysig.hpp
175
197
  - rice/detail/st.hpp
176
- - rice/detail/from_ruby.hpp
177
- - rice/detail/win32.hpp
178
- - rice/detail/creation_funcs.ipp
179
198
  - rice/detail/to_ruby.hpp
180
- - rice/detail/Auto_Function_Wrapper.hpp
181
- - rice/detail/cfp.hpp
182
- - rice/detail/env.hpp
183
199
  - rice/detail/to_ruby.ipp
184
- - rice/detail/method_data.hpp
185
- - rice/detail/Exception_Handler.hpp
186
- - rice/detail/object_call.ipp
187
- - rice/detail/mininode.hpp
188
- - rice/detail/rubysig.hpp
189
- - rice/detail/ruby_version_code.hpp
190
- - rice/detail/method_data.cpp
191
- - rice/detail/Iterator.hpp
192
- - rice/detail/Not_Copyable.hpp
193
- - rice/detail/Exception_Handler_defn.hpp
194
- - rice/detail/cfp.ipp
195
- - rice/detail/define_method_and_auto_wrap.ipp
196
- - rice/detail/Auto_Function_Wrapper.ipp
197
- - rice/detail/Exception_Handler.ipp
198
- - rice/detail/default_allocation_func.hpp
200
+ - rice/detail/traits.hpp
201
+ - rice/detail/win32.hpp
202
+ - rice/detail/wrap_function.hpp
203
+ - rice/detail/wrap_function.ipp
204
+ - rice/detail/Wrapped_Function.hpp
199
205
  - rice/detail/ruby_version_code.hpp.in
200
206
  - ruby/lib/mkmf-rice.rb.in
201
207
  - ruby/lib/version.rb
@@ -208,31 +214,31 @@ files:
208
214
  - sample/inheritance/extconf.rb
209
215
  - sample/inheritance/animals.cpp
210
216
  - sample/inheritance/test.rb
217
+ - test/test_Address_Registration_Guard.cpp
218
+ - test/test_Allocation_Strategies.cpp
219
+ - test/test_Array.cpp
220
+ - test/test_Builtin_Object.cpp
221
+ - test/test_Class.cpp
222
+ - test/test_Constructor.cpp
223
+ - test/test_Critical_Guard.cpp
224
+ - test/test_Data_Object.cpp
211
225
  - test/test_Data_Type.cpp
226
+ - test/test_Director.cpp
227
+ - test/test_Enum.cpp
212
228
  - test/test_Exception.cpp
213
- - test/test_To_From_Ruby.cpp
214
- - test/test_String.cpp
215
- - test/test_Data_Object.cpp
216
- - test/test_Critical_Guard.cpp
217
- - test/test_VM.cpp
218
- - test/test_Array.cpp
219
229
  - test/test_global_functions.cpp
220
- - test/test_Struct.cpp
221
- - test/test_Builtin_Object.cpp
222
- - test/test_Module.cpp
223
- - test/test_Allocation_Strategies.cpp
230
+ - test/test_Hash.cpp
224
231
  - test/test_Identifier.cpp
225
- - test/unittest.hpp
226
- - test/test_Constructor.cpp
227
232
  - test/test_Jump_Tag.cpp
228
- - test/test_Class.cpp
233
+ - test/test_Module.cpp
229
234
  - test/test_Object.cpp
230
- - test/test_Hash.cpp
235
+ - test/test_String.cpp
236
+ - test/test_Struct.cpp
231
237
  - test/test_Symbol.cpp
238
+ - test/test_To_From_Ruby.cpp
239
+ - test/test_VM.cpp
232
240
  - test/unittest.cpp
233
- - test/test_Enum.cpp
234
- - test/test_Address_Registration_Guard.cpp
235
- - test/test_Director.cpp
241
+ - test/unittest.hpp
236
242
  - test/ext/Makefile.am
237
243
  - test/ext/Makefile.in
238
244
  - test/ext/t1/extconf.rb
@@ -253,18 +259,20 @@ required_ruby_version: !ruby/object:Gem::Requirement
253
259
  requirements:
254
260
  - - ">="
255
261
  - !ruby/object:Gem::Version
262
+ segments:
263
+ - 0
256
264
  version: "0"
257
- version:
258
265
  required_rubygems_version: !ruby/object:Gem::Requirement
259
266
  requirements:
260
267
  - - ">="
261
268
  - !ruby/object:Gem::Version
269
+ segments:
270
+ - 0
262
271
  version: "0"
263
- version:
264
272
  requirements: []
265
273
 
266
274
  rubyforge_project: rice
267
- rubygems_version: 1.3.5
275
+ rubygems_version: 1.3.6
268
276
  signing_key:
269
277
  specification_version: 3
270
278
  summary: Ruby Interface for C++ Extensions