r2corba 1.6.2-universal-java → 1.7.1-universal-java
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.rdoc +5 -5
- data/lib/corba/cbase/ORB.rb +9 -8
- data/lib/corba/cbase/Request.rb +10 -12
- data/lib/corba/cbase/Streams.rb +20 -20
- data/lib/corba/cbase/Typecode.rb +12 -41
- data/lib/corba/cbase/Values.rb +1 -4
- data/lib/corba/cbase/exception.rb +0 -2
- data/lib/corba/cbase/poa.rb +2 -2
- data/lib/corba/cbase/policies.rb +9 -8
- data/lib/corba/cbase/require.rb +1 -1
- data/lib/corba/cmds/base.rb +1 -2
- data/lib/corba/common/Any.rb +2 -3
- data/lib/corba/common/IDL.rb +3 -7
- data/lib/corba/common/ORB.rb +19 -19
- data/lib/corba/common/Object.rb +32 -22
- data/lib/corba/common/Request.rb +0 -2
- data/lib/corba/common/Servant.rb +4 -9
- data/lib/corba/common/Stub.rb +9 -7
- data/lib/corba/common/Typecode.rb +44 -27
- data/lib/corba/common/Values.rb +4 -5
- data/lib/corba/common/require.rb +1 -3
- data/lib/corba/common/version.rb +2 -4
- data/lib/corba/idl/IDL.rb +0 -2
- data/lib/corba/idl/require.rb +2 -2
- data/lib/corba/jbase/Any.rb +34 -35
- data/lib/corba/jbase/ORB.rb +5 -6
- data/lib/corba/jbase/Object.rb +10 -10
- data/lib/corba/jbase/Request.rb +8 -9
- data/lib/corba/jbase/Servant.rb +32 -36
- data/lib/corba/jbase/ServerRequest.rb +10 -8
- data/lib/corba/jbase/Streams.rb +80 -78
- data/lib/corba/jbase/Stub.rb +1 -1
- data/lib/corba/jbase/Typecode.rb +18 -46
- data/lib/corba/jbase/Values.rb +0 -1
- data/lib/corba/jbase/exception.rb +2 -1
- data/lib/corba/jbase/poa.rb +18 -17
- data/lib/corba/jbase/policies.rb +42 -45
- data/lib/corba/jbase/require.rb +3 -3
- data/lib/corba/naming_service.rb +1 -1
- data/lib/corba/poa.rb +1 -1
- data/lib/corba/policies.rb +2 -2
- data/lib/corba/svcs/ins/cos_naming.rb +29 -18
- data/lib/corba/svcs/ins/ins.rb +38 -38
- data/lib/corba/svcs/ins/naming_service.rb +6 -6
- data/lib/corba.rb +1 -1
- data/lib/ridlbe/ruby/config.rb +2 -8
- data/lib/ridlbe/ruby/orb.pidlc +0 -0
- data/lib/ridlbe/ruby/walker.rb +94 -108
- data/rakelib/config.rb +9 -6
- data/rakelib/gem.rake +0 -30
- data/test/BiDirectional/client.rb +7 -7
- data/test/BiDirectional/run_test.rb +2 -2
- data/test/BiDirectional/server.rb +13 -13
- data/test/CORBA_Services/Naming/BindingIterator/client.rb +9 -9
- data/test/CORBA_Services/Naming/BindingIterator/run_test.rb +2 -2
- data/test/CORBA_Services/Naming/BindingIterator/server.rb +6 -6
- data/test/CORBA_Services/Naming/Corbaname/client.rb +6 -6
- data/test/CORBA_Services/Naming/Corbaname/run_test.rb +2 -2
- data/test/CORBA_Services/Naming/Corbaname/server.rb +8 -8
- data/test/CORBA_Services/Naming/Simple/client.rb +6 -6
- data/test/CORBA_Services/Naming/Simple/run_test.rb +2 -2
- data/test/CORBA_Services/Naming/Simple/server.rb +6 -6
- data/test/Collocation/run_test.rb +2 -2
- data/test/Collocation/test.rb +1 -1
- data/test/Connect_Timeout/client.rb +7 -7
- data/test/Connect_Timeout/run_test.rb +2 -2
- data/test/DII/client.rb +10 -10
- data/test/DII/run_test.rb +2 -2
- data/test/DII/server.rb +7 -7
- data/test/DSI/client.rb +6 -6
- data/test/DSI/run_test.rb +2 -2
- data/test/DSI/server.rb +9 -9
- data/test/Exceptions/client.rb +6 -6
- data/test/Exceptions/run_test.rb +2 -2
- data/test/Exceptions/server.rb +7 -7
- data/test/Hello/client.rb +7 -7
- data/test/Hello/run_test.rb +2 -2
- data/test/Hello/server.rb +7 -7
- data/test/IDL_Test/client.rb +9 -9
- data/test/IDL_Test/run_test.rb +2 -2
- data/test/IDL_Test/server.rb +7 -7
- data/test/IORMap/client.rb +7 -7
- data/test/IORMap/run_test.rb +2 -2
- data/test/IORMap/server.rb +9 -9
- data/test/IORTable/client.rb +7 -7
- data/test/IORTable/run_test.rb +2 -2
- data/test/IORTable/server.rb +10 -10
- data/test/Implicit_Conversion/client.rb +5 -5
- data/test/Implicit_Conversion/run_test.rb +2 -2
- data/test/Implicit_Conversion/server.rb +7 -7
- data/test/Multi_Threading/Multiple_ORB/client.rb +6 -6
- data/test/Multi_Threading/Multiple_ORB/run_test.rb +2 -2
- data/test/Multi_Threading/Multiple_ORB/server.rb +5 -5
- data/test/Multi_Threading/Simple/client.rb +6 -6
- data/test/Multi_Threading/Simple/run_test.rb +2 -2
- data/test/Multi_Threading/Simple/server.rb +8 -8
- data/test/Multi_Threading/Threads/client.rb +6 -6
- data/test/Multi_Threading/Threads/run_test.rb +2 -2
- data/test/Multi_Threading/Threads/server.rb +9 -9
- data/test/Multi_Threading/Threads/watchdog.rb +7 -7
- data/test/Multiple_Servant_Interfaces/client.rb +7 -7
- data/test/Multiple_Servant_Interfaces/run_test.rb +2 -2
- data/test/Multiple_Servant_Interfaces/server.rb +7 -7
- data/test/Nil/run_test.rb +2 -2
- data/test/Nil/test.rb +4 -4
- data/test/OBV/AbstractInterface/client.rb +9 -9
- data/test/OBV/AbstractInterface/run_test.rb +2 -2
- data/test/OBV/AbstractInterface/server.rb +7 -7
- data/test/OBV/Custom/client.rb +5 -5
- data/test/OBV/Custom/run_test.rb +2 -2
- data/test/OBV/Custom/server.rb +7 -7
- data/test/OBV/Simple/client.rb +5 -5
- data/test/OBV/Simple/run_test.rb +2 -2
- data/test/OBV/Simple/server.rb +7 -7
- data/test/OBV/Simple_Event/client.rb +5 -5
- data/test/OBV/Simple_Event/run_test.rb +2 -2
- data/test/OBV/Simple_Event/server.rb +7 -7
- data/test/OBV/Supports/client.rb +17 -17
- data/test/OBV/Supports/run_test.rb +2 -2
- data/test/OBV/Supports/server.rb +7 -7
- data/test/OBV/Tree/client.rb +6 -6
- data/test/OBV/Tree/run_test.rb +2 -2
- data/test/OBV/Tree/server.rb +7 -7
- data/test/OBV/Truncatable/client.rb +5 -5
- data/test/OBV/Truncatable/run_test.rb +2 -2
- data/test/OBV/Truncatable/server.rb +6 -6
- data/test/OBV/ValueBox/client.rb +20 -20
- data/test/OBV/ValueBox/run_test.rb +2 -2
- data/test/OBV/ValueBox/server.rb +8 -8
- data/test/Object/client.rb +6 -6
- data/test/Object/run_test.rb +2 -2
- data/test/Object/server.rb +9 -9
- data/test/POA/run_test.rb +2 -2
- data/test/POA/test.rb +4 -4
- data/test/Param_Test/client.rb +6 -6
- data/test/Param_Test/run_test.rb +2 -2
- data/test/Param_Test/server.rb +6 -6
- data/test/Performance/Simple/client.rb +6 -6
- data/test/Performance/Simple/run_test.rb +2 -2
- data/test/Performance/Simple/server.rb +7 -7
- data/test/Policies/run_test.rb +2 -2
- data/test/Policies/test.rb +4 -4
- data/test/Timeout/client.rb +11 -11
- data/test/Timeout/run_test.rb +2 -2
- data/test/Timeout/server.rb +9 -9
- data/test/lib/test.rb +5 -5
- data/test/test_runner.rb +8 -7
- metadata +3 -3
data/test/Param_Test/client.rb
CHANGED
@@ -14,9 +14,9 @@ require 'lib/assert.rb'
|
|
14
14
|
include TestUtil::Assertions
|
15
15
|
|
16
16
|
OPTIONS = {
|
17
|
-
:
|
18
|
-
:
|
19
|
-
:
|
17
|
+
use_implement: false,
|
18
|
+
orb_debuglevel: 0,
|
19
|
+
iorfile: 'file://server.ior'
|
20
20
|
}
|
21
21
|
|
22
22
|
ARGV.options do |opts|
|
@@ -80,7 +80,7 @@ begin
|
|
80
80
|
|
81
81
|
## string test
|
82
82
|
|
83
|
-
str = hello_obj.get_string
|
83
|
+
str = hello_obj.get_string
|
84
84
|
|
85
85
|
msg = hello_obj.message
|
86
86
|
|
@@ -267,10 +267,10 @@ begin
|
|
267
267
|
reslen != resoutstr.size || resinoutstr != instr || resoutstr != (instr + inoutstr)
|
268
268
|
end
|
269
269
|
|
270
|
-
hello_obj.shutdown
|
270
|
+
hello_obj.shutdown
|
271
271
|
|
272
272
|
ensure
|
273
273
|
|
274
|
-
orb.destroy
|
274
|
+
orb.destroy
|
275
275
|
|
276
276
|
end
|
data/test/Param_Test/run_test.rb
CHANGED
data/test/Param_Test/server.rb
CHANGED
@@ -12,9 +12,9 @@
|
|
12
12
|
require 'optparse'
|
13
13
|
|
14
14
|
OPTIONS = {
|
15
|
-
:
|
16
|
-
:
|
17
|
-
:
|
15
|
+
use_implement: false,
|
16
|
+
orb_debuglevel: 0,
|
17
|
+
iorfile: 'server.ior'
|
18
18
|
}
|
19
19
|
|
20
20
|
ARGV.options do |opts|
|
@@ -256,7 +256,7 @@ class MyHello < POA::Test::Hello
|
|
256
256
|
end
|
257
257
|
|
258
258
|
def shutdown()
|
259
|
-
@orb.shutdown
|
259
|
+
@orb.shutdown
|
260
260
|
end
|
261
261
|
end # of servant Hello
|
262
262
|
|
@@ -279,13 +279,13 @@ hello_obj = root_poa.id_to_reference(hello_oid)
|
|
279
279
|
|
280
280
|
hello_ior = orb.object_to_string(hello_obj)
|
281
281
|
|
282
|
-
open(OPTIONS[:iorfile], 'w') { |io|
|
282
|
+
File.open(OPTIONS[:iorfile], 'w') { |io|
|
283
283
|
io.write hello_ior
|
284
284
|
}
|
285
285
|
|
286
286
|
Signal.trap('INT') do
|
287
287
|
puts 'SIGINT - shutting down ORB...'
|
288
|
-
orb.shutdown
|
288
|
+
orb.shutdown
|
289
289
|
end
|
290
290
|
|
291
291
|
if Signal.list.has_key?('USR2')
|
@@ -14,9 +14,9 @@ require 'lib/assert.rb'
|
|
14
14
|
include TestUtil::Assertions
|
15
15
|
|
16
16
|
OPTIONS = {
|
17
|
-
:
|
18
|
-
:
|
19
|
-
:
|
17
|
+
use_implement: false,
|
18
|
+
orb_debuglevel: 0,
|
19
|
+
iorfile: 'file://server.ior'
|
20
20
|
}
|
21
21
|
|
22
22
|
ARGV.options do |opts|
|
@@ -74,16 +74,16 @@ begin
|
|
74
74
|
|
75
75
|
STDERR.puts "*** Avg turnaround time per invocation = #{'%.2f' % (t_diff / 10)} msec"
|
76
76
|
|
77
|
-
hello_obj.shutdown
|
77
|
+
hello_obj.shutdown
|
78
78
|
|
79
79
|
assert_not 'ERROR: Object is reported nil!', CORBA::is_nil(hello_obj)
|
80
80
|
|
81
|
-
hello_obj._free_ref
|
81
|
+
hello_obj._free_ref
|
82
82
|
|
83
83
|
assert 'ERROR: Object is reported non-nil!', CORBA::is_nil(hello_obj)
|
84
84
|
|
85
85
|
ensure
|
86
86
|
|
87
|
-
orb.destroy
|
87
|
+
orb.destroy
|
88
88
|
|
89
89
|
end
|
@@ -12,9 +12,9 @@
|
|
12
12
|
require 'optparse'
|
13
13
|
|
14
14
|
OPTIONS = {
|
15
|
-
:
|
16
|
-
:
|
17
|
-
:
|
15
|
+
use_implement: false,
|
16
|
+
orb_debuglevel: 0,
|
17
|
+
iorfile: 'server.ior'
|
18
18
|
}
|
19
19
|
|
20
20
|
ARGV.options do |opts|
|
@@ -58,7 +58,7 @@ class MyHello < POA::Test::Hello
|
|
58
58
|
end
|
59
59
|
|
60
60
|
def shutdown()
|
61
|
-
@orb.shutdown
|
61
|
+
@orb.shutdown
|
62
62
|
end
|
63
63
|
end # of servant MyHello
|
64
64
|
|
@@ -74,17 +74,17 @@ poa_man.activate
|
|
74
74
|
|
75
75
|
hello_srv = MyHello.new(orb)
|
76
76
|
|
77
|
-
hello_obj = hello_srv._this
|
77
|
+
hello_obj = hello_srv._this
|
78
78
|
|
79
79
|
hello_ior = orb.object_to_string(hello_obj)
|
80
80
|
|
81
|
-
open(OPTIONS[:iorfile], 'w') { |io|
|
81
|
+
File.open(OPTIONS[:iorfile], 'w') { |io|
|
82
82
|
io.write hello_ior
|
83
83
|
}
|
84
84
|
|
85
85
|
Signal.trap('INT') do
|
86
86
|
puts 'SIGINT - shutting down ORB...'
|
87
|
-
orb.shutdown
|
87
|
+
orb.shutdown
|
88
88
|
end
|
89
89
|
|
90
90
|
if Signal.list.has_key?('USR2')
|
data/test/Policies/run_test.rb
CHANGED
data/test/Policies/test.rb
CHANGED
@@ -14,8 +14,8 @@ require 'lib/assert.rb'
|
|
14
14
|
include TestUtil::Assertions
|
15
15
|
|
16
16
|
OPTIONS = {
|
17
|
-
:
|
18
|
-
:
|
17
|
+
use_implement: false,
|
18
|
+
orb_debuglevel: 0
|
19
19
|
}
|
20
20
|
|
21
21
|
ARGV.options do |opts|
|
@@ -57,7 +57,7 @@ class MyHello < POA::Test::Hello
|
|
57
57
|
end
|
58
58
|
|
59
59
|
def shutdown()
|
60
|
-
@orb.shutdown
|
60
|
+
@orb.shutdown
|
61
61
|
end
|
62
62
|
end # of servant MyHello
|
63
63
|
|
@@ -138,5 +138,5 @@ begin
|
|
138
138
|
obj._get_policy_overrides([BiDirPolicy::BIDIRECTIONAL_POLICY_TYPE, Messaging::RELATIVE_RT_TIMEOUT_POLICY_TYPE]).size == 1
|
139
139
|
|
140
140
|
ensure
|
141
|
-
orb.destroy
|
141
|
+
orb.destroy
|
142
142
|
end
|
data/test/Timeout/client.rb
CHANGED
@@ -14,9 +14,9 @@ require 'lib/assert.rb'
|
|
14
14
|
include TestUtil::Assertions
|
15
15
|
|
16
16
|
OPTIONS = {
|
17
|
-
:
|
18
|
-
:
|
19
|
-
:
|
17
|
+
use_implement: false,
|
18
|
+
orb_debuglevel: 0,
|
19
|
+
iorfile: 'file://server.ior'
|
20
20
|
}
|
21
21
|
|
22
22
|
ARGV.options do |opts|
|
@@ -123,7 +123,7 @@ begin
|
|
123
123
|
|
124
124
|
simple_timeout_srv = Simple_Server._narrow(obj)
|
125
125
|
|
126
|
-
policies[0].destroy
|
126
|
+
policies[0].destroy
|
127
127
|
policies[0] = nil
|
128
128
|
|
129
129
|
puts "client (#{Process.pid}) testing from #{Min_timeout} to #{Max_timeout} milliseconds"
|
@@ -135,7 +135,7 @@ begin
|
|
135
135
|
|
136
136
|
puts "client (#{Process.pid}) Cleanup ORB/Thread/Object policies"
|
137
137
|
|
138
|
-
policies.clear
|
138
|
+
policies.clear
|
139
139
|
pol_man.set_policy_overrides(policies, CORBA::SET_OVERRIDE)
|
140
140
|
pol_cur.set_policy_overrides(policies, CORBA::SET_OVERRIDE) if pol_cur
|
141
141
|
|
@@ -150,12 +150,12 @@ begin
|
|
150
150
|
|
151
151
|
send_echo(Orb1, orb, simple_srv, t)
|
152
152
|
|
153
|
-
policies[0].destroy
|
153
|
+
policies[0].destroy
|
154
154
|
|
155
155
|
if pol_cur
|
156
156
|
puts "client (#{Process.pid}) Set the thread policies"
|
157
157
|
|
158
|
-
policies.clear
|
158
|
+
policies.clear
|
159
159
|
policies << orb.create_policy(Messaging::RELATIVE_RT_TIMEOUT_POLICY_TYPE,
|
160
160
|
any_thread)
|
161
161
|
|
@@ -163,7 +163,7 @@ begin
|
|
163
163
|
|
164
164
|
send_echo(Thread1, orb, simple_srv, t)
|
165
165
|
|
166
|
-
policies[0].destroy
|
166
|
+
policies[0].destroy
|
167
167
|
end
|
168
168
|
|
169
169
|
puts "client (#{Process.pid}) Use the object policies"
|
@@ -174,13 +174,13 @@ begin
|
|
174
174
|
puts "\n\n"
|
175
175
|
puts "client (#{Process.pid}) Test completed, resynch with server"
|
176
176
|
|
177
|
-
policies.clear
|
177
|
+
policies.clear
|
178
178
|
pol_man.set_policy_overrides(policies, CORBA::SET_OVERRIDE)
|
179
179
|
pol_cur.set_policy_overrides(policies, CORBA::SET_OVERRIDE) if pol_cur
|
180
180
|
|
181
181
|
send_echo(None, orb, simple_srv, 0)
|
182
182
|
|
183
|
-
simple_srv.shutdown
|
183
|
+
simple_srv.shutdown
|
184
184
|
|
185
185
|
timeout_count_total = 0
|
186
186
|
in_time_count_total = 0
|
@@ -201,6 +201,6 @@ begin
|
|
201
201
|
|
202
202
|
ensure
|
203
203
|
|
204
|
-
orb.destroy
|
204
|
+
orb.destroy
|
205
205
|
|
206
206
|
end
|
data/test/Timeout/run_test.rb
CHANGED
data/test/Timeout/server.rb
CHANGED
@@ -12,10 +12,10 @@
|
|
12
12
|
require 'optparse'
|
13
13
|
|
14
14
|
OPTIONS = {
|
15
|
-
:
|
16
|
-
:
|
17
|
-
:
|
18
|
-
:
|
15
|
+
use_implement: false,
|
16
|
+
orb_debuglevel: 0,
|
17
|
+
iorfile: 'server.ior',
|
18
|
+
iter_num: 10
|
19
19
|
}
|
20
20
|
|
21
21
|
ARGV.options do |opts|
|
@@ -72,7 +72,7 @@ class Simple_Server_i < POA::Simple_Server
|
|
72
72
|
|
73
73
|
def shutdown()
|
74
74
|
puts "server (#{Process.pid}) received shutdown request from client"
|
75
|
-
@orb.shutdown
|
75
|
+
@orb.shutdown
|
76
76
|
end
|
77
77
|
end # of servant Simple_Server_i
|
78
78
|
|
@@ -88,21 +88,21 @@ poa_man.activate
|
|
88
88
|
|
89
89
|
simple_srv = Simple_Server_i.new(orb)
|
90
90
|
|
91
|
-
simple_ref = simple_srv._this
|
91
|
+
simple_ref = simple_srv._this
|
92
92
|
|
93
93
|
ior = orb.object_to_string(simple_ref)
|
94
94
|
|
95
|
-
open(OPTIONS[:iorfile], 'w') { |io|
|
95
|
+
File.open(OPTIONS[:iorfile], 'w') { |io|
|
96
96
|
io.write ior
|
97
97
|
}
|
98
98
|
|
99
99
|
Signal.trap('INT') do
|
100
100
|
puts 'SIGINT - shutting down ORB...'
|
101
|
-
orb.shutdown
|
101
|
+
orb.shutdown
|
102
102
|
end
|
103
103
|
|
104
104
|
if Signal.list.has_key?('USR2')
|
105
105
|
Signal.trap('USR2', 'EXIT')
|
106
106
|
end
|
107
107
|
|
108
|
-
orb.run
|
108
|
+
orb.run
|
data/test/lib/test.rb
CHANGED
@@ -106,7 +106,7 @@ if defined?(JRUBY_VERSION)
|
|
106
106
|
stat_ptr = FFI::MemoryPointer.new(:int, 1)
|
107
107
|
tmp_pid = _wait(stat_ptr, pid, 0)
|
108
108
|
if tmp_pid == pid
|
109
|
-
return [pid, stat_ptr.get_int
|
109
|
+
return [pid, stat_ptr.get_int]
|
110
110
|
else
|
111
111
|
return [pid, 0]
|
112
112
|
end
|
@@ -160,7 +160,7 @@ if defined?(JRUBY_VERSION)
|
|
160
160
|
begin
|
161
161
|
tmp, status = ::Process.waitpid2(pid, ::Process::WNOHANG)
|
162
162
|
if tmp == pid and status.success? != nil
|
163
|
-
return [pid, status.success?
|
163
|
+
return [pid, status.success? ? 0 : status.exitstatus]
|
164
164
|
end
|
165
165
|
return [nil, 0]
|
166
166
|
rescue Errno::ECHILD
|
@@ -189,7 +189,7 @@ if defined?(JRUBY_VERSION)
|
|
189
189
|
def initialize(cmd_, arg_)
|
190
190
|
@pid = nil
|
191
191
|
@exitstatus = nil
|
192
|
-
@trd = Thread.start
|
192
|
+
@trd = Thread.start do
|
193
193
|
exit_status = 0
|
194
194
|
@pid = Exec.run(cmd_, arg_)
|
195
195
|
if @pid
|
@@ -500,7 +500,7 @@ end
|
|
500
500
|
t = Time.now
|
501
501
|
begin
|
502
502
|
if @proc.check_status
|
503
|
-
if (Time.now
|
503
|
+
if (Time.now - t) >= timeout.to_f
|
504
504
|
STDERR.puts "ERROR: KILLING #{@cmd}"
|
505
505
|
@proc.kill
|
506
506
|
return 255
|
@@ -531,7 +531,7 @@ end
|
|
531
531
|
t = Time.now
|
532
532
|
while !File.readable?(filename)
|
533
533
|
sleep(0.1)
|
534
|
-
if (Time.now
|
534
|
+
if (Time.now - t) >= timeout.to_f
|
535
535
|
STDERR.puts "ERROR: could not find file '#{filename}'"
|
536
536
|
return false
|
537
537
|
end
|
data/test/test_runner.rb
CHANGED
@@ -23,12 +23,13 @@ is_win32 = (RB_CONFIG['target_os'] =~ /win32/ || RB_CONFIG['target_os'] =~ /ming
|
|
23
23
|
|
24
24
|
root_path = File.expand_path(File.join(File.dirname(__FILE__), '..'))
|
25
25
|
|
26
|
-
|
26
|
+
ENV['RIDL_ROOT'] ||= File.expand_path(File.join(root_path, 'ridl'))
|
27
|
+
has_local_ridl = File.directory?(ENV['RIDL_ROOT'])
|
27
28
|
|
28
29
|
if defined?(JRUBY_VERSION)
|
29
30
|
ENV['JACORB_HOME'] ||= File.expand_path(File.join(root_path, 'jacorb'))
|
30
31
|
incdirs = [
|
31
|
-
has_local_ridl ? File.expand_path(File.join(
|
32
|
+
has_local_ridl ? File.expand_path(File.join(ENV['RIDL_ROOT'], 'lib')) : nil,
|
32
33
|
File.expand_path(File.join(root_path, 'lib')),
|
33
34
|
File.expand_path(File.join(root_path, 'ext')),
|
34
35
|
File.expand_path(File.join(ENV['JACORB_HOME'], 'lib')),
|
@@ -40,7 +41,7 @@ else
|
|
40
41
|
ace_root = ENV['ACE_ROOT'] || File.expand_path(File.join(root_path, 'ACE', 'ACE_wrappers'))
|
41
42
|
## setup the right environment for running tests
|
42
43
|
incdirs = [
|
43
|
-
has_local_ridl ? File.expand_path(File.join(
|
44
|
+
has_local_ridl ? File.expand_path(File.join(ENV['RIDL_ROOT'], 'lib')) : nil,
|
44
45
|
File.expand_path(File.join(root_path, 'lib')),
|
45
46
|
File.expand_path(File.join(root_path, 'ext')),
|
46
47
|
ENV['RUBYLIB'],
|
@@ -73,10 +74,10 @@ end
|
|
73
74
|
|
74
75
|
module TestFinder
|
75
76
|
OPTIONS = {
|
76
|
-
:
|
77
|
-
:
|
78
|
-
:
|
79
|
-
:
|
77
|
+
exclude: nil,
|
78
|
+
runonly: nil,
|
79
|
+
listonly: false,
|
80
|
+
debug: !ENV['R2CORBA_DEBUG'].nil?
|
80
81
|
}
|
81
82
|
|
82
83
|
ROOT = File.expand_path(File.dirname(__FILE__))
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: r2corba
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.7.1
|
5
5
|
platform: universal-java
|
6
6
|
authors:
|
7
7
|
- Martin Corino
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date:
|
12
|
+
date: 2023-11-01 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
@@ -305,7 +305,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
305
305
|
- !ruby/object:Gem::Version
|
306
306
|
version: '0'
|
307
307
|
requirements: []
|
308
|
-
rubygems_version: 3.3.
|
308
|
+
rubygems_version: 3.3.26
|
309
309
|
signing_key:
|
310
310
|
specification_version: 4
|
311
311
|
summary: CORBA language mapping implementation for Ruby
|