File tree Expand file tree Collapse file tree 4 files changed +15
-8
lines changed Expand file tree Collapse file tree 4 files changed +15
-8
lines changed Original file line number Diff line number Diff line change
1
+ Tue Oct 27 23:32:51 2015 Masatoshi SEKI <m_seki@mva.biglobe.ne.jp>
2
+
3
+ * test/drb/test_drb.rb: Run Rinda/DRb tests on localhost. [Fix GH-1027]
4
+ patch by voxik.
5
+
6
+ * test/rinda/test_rinda.rb: ditto
7
+
1
8
Tue Oct 6 01:29:02 2015 Nobuyoshi Nakada <nobu@ruby-lang.org>
2
9
3
10
* parse.y (IS_BEG): include labeled argument state, which was
Original file line number Diff line number Diff line change @@ -211,7 +211,7 @@ def setup
211
211
setup_service 'ut_drb.rb'
212
212
super
213
213
@server = ( 1 ..3 ) . collect do |n |
214
- DRb ::DRbServer . new ( nil , Onecky . new ( n . to_s ) )
214
+ DRb ::DRbServer . new ( "druby://localhost:0" , Onecky . new ( n . to_s ) )
215
215
end
216
216
end
217
217
Original file line number Diff line number Diff line change @@ -488,15 +488,15 @@ def test_remote_array_and_hash
488
488
end
489
489
490
490
def test_take_bug_8215
491
- service = DRb . start_service ( nil , @ts_base )
491
+ service = DRb . start_service ( "druby://localhost:0" , @ts_base )
492
492
493
493
uri = service . uri
494
494
495
495
args = [ EnvUtil . rubybin , *%W[ -rdrb/drb -rdrb/eq -rrinda/ring -rrinda/tuplespace -e ] ]
496
496
497
497
take = spawn ( *args , <<-'end;' , uri )
498
498
uri = ARGV[0]
499
- DRb.start_service
499
+ DRb.start_service("druby://localhost:0")
500
500
ro = DRbObject.new_with_uri(uri)
501
501
ts = Rinda::TupleSpaceProxy.new(ro)
502
502
th = Thread.new do
@@ -512,7 +512,7 @@ def test_take_bug_8215
512
512
513
513
write = spawn ( *args , <<-'end;' , uri )
514
514
uri = ARGV[0]
515
- DRb.start_service
515
+ DRb.start_service("druby://localhost:0")
516
516
ro = DRbObject.new_with_uri(uri)
517
517
ts = Rinda::TupleSpaceProxy.new(ro)
518
518
ts.write([:test_take, 42])
@@ -531,7 +531,7 @@ def test_take_bug_8215
531
531
Process . wait ( take ) if take
532
532
end
533
533
534
- @server = DRb . primary_server || DRb . start_service
534
+ @server = DRb . primary_server || DRb . start_service ( "druby://localhost:0" )
535
535
end
536
536
537
537
module RingIPv6
Original file line number Diff line number Diff line change 1
1
#define RUBY_VERSION "2.2.4"
2
- #define RUBY_RELEASE_DATE "2015-10-06 "
3
- #define RUBY_PATCHLEVEL 180
2
+ #define RUBY_RELEASE_DATE "2015-10-27 "
3
+ #define RUBY_PATCHLEVEL 181
4
4
5
5
#define RUBY_RELEASE_YEAR 2015
6
6
#define RUBY_RELEASE_MONTH 10
7
- #define RUBY_RELEASE_DAY 6
7
+ #define RUBY_RELEASE_DAY 27
8
8
9
9
#include "ruby/version.h"
10
10
You can’t perform that action at this time.
0 commit comments