r2corba 1.6.2-x64-mingw-ucrt → 1.7.0-x64-mingw-ucrt
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/Request.rb +6 -6
- data/lib/corba/cmds/base.rb +1 -1
- data/lib/corba/common/Any.rb +1 -1
- data/lib/corba/common/Values.rb +4 -4
- data/lib/corba/common/version.rb +2 -2
- data/lib/corba/jbase/Servant.rb +4 -4
- data/lib/corba/svcs/ins/cos_naming.rb +6 -6
- data/lib/corba/svcs/ins/ins.rb +33 -33
- data/lib/corba/svcs/ins/naming_service.rb +5 -5
- data/rakelib/config.rb +9 -6
- 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/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.0
|
5
5
|
platform: x64-mingw-ucrt
|
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-03-06 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: ridl
|
@@ -311,7 +311,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
311
311
|
- !ruby/object:Gem::Version
|
312
312
|
version: '0'
|
313
313
|
requirements: []
|
314
|
-
rubygems_version: 3.3.
|
314
|
+
rubygems_version: 3.3.26
|
315
315
|
signing_key:
|
316
316
|
specification_version: 4
|
317
317
|
summary: CORBA language mapping implementation for Ruby
|