Skip to content

Commit eb1bd1d

Browse files
committed
Use full truffleruby name
1 parent 90be641 commit eb1bd1d

File tree

13 files changed

+13
-13
lines changed

13 files changed

+13
-13
lines changed

benchmarks/futures-rubyconf2015/benchmarks/special-complete.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
when Concurrent.on_cruby?
66
require 'gvl_future'
77
GVLFuture
8-
when Concurrent.on_rbx? || Concurrent.on_truffle?
8+
when Concurrent.on_rbx? || Concurrent.on_truffleruby?
99
require 'rbx_future'
1010
RBXFuture
1111
when Concurrent.on_jruby?

benchmarks/futures-rubyconf2015/benchmarks/special-fulfill.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
when Concurrent.on_cruby?
66
require 'gvl_future'
77
GVLFuture
8-
when Concurrent.on_rbx? || Concurrent.on_truffle?
8+
when Concurrent.on_rbx? || Concurrent.on_truffleruby?
99
require 'rbx_future'
1010
RBXFuture
1111
when Concurrent.on_jruby?

benchmarks/futures-rubyconf2015/benchmarks/special-new.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
when Concurrent.on_cruby?
66
require 'gvl_future'
77
GVLFuture
8-
when Concurrent.on_rbx? || Concurrent.on_truffle?
8+
when Concurrent.on_rbx? || Concurrent.on_truffleruby?
99
require 'rbx_future'
1010
RBXFuture
1111
when Concurrent.on_jruby?

benchmarks/futures-rubyconf2015/benchmarks/special-value.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
when Concurrent.on_cruby?
66
require 'gvl_future'
77
GVLFuture
8-
when Concurrent.on_rbx? || Concurrent.on_truffle?
8+
when Concurrent.on_rbx? || Concurrent.on_truffleruby?
99
require 'rbx_future'
1010
RBXFuture
1111
when Concurrent.on_jruby?

lib/concurrent/array.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ class Array < ::Array
3232
include JRuby::Synchronized
3333
end
3434

35-
elsif Concurrent.on_rbx? || Concurrent.on_truffle?
35+
elsif Concurrent.on_rbx? || Concurrent.on_truffleruby?
3636
require 'monitor'
3737
require 'concurrent/thread_safe/util/array_hash_rbx'
3838

lib/concurrent/hash.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ class Hash < ::Hash
2323
include JRuby::Synchronized
2424
end
2525

26-
elsif Concurrent.on_rbx? || Concurrent.on_truffle?
26+
elsif Concurrent.on_rbx? || Concurrent.on_truffleruby?
2727
require 'monitor'
2828
require 'concurrent/thread_safe/util/array_hash_rbx'
2929

lib/concurrent/map.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ module Collection
1515
when Concurrent.on_cruby?
1616
require 'concurrent/collection/map/mri_map_backend'
1717
MriMapBackend
18-
when Concurrent.on_rbx? || Concurrent.on_truffle?
18+
when Concurrent.on_rbx? || Concurrent.on_truffleruby?
1919
require 'concurrent/collection/map/atomic_reference_map_backend'
2020
AtomicReferenceMapBackend
2121
else

lib/concurrent/set.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ class Set < ::Set
3333
include JRuby::Synchronized
3434
end
3535

36-
elsif Concurrent.on_rbx? || Concurrent.on_truffle?
36+
elsif Concurrent.on_rbx? || Concurrent.on_truffleruby?
3737
require 'monitor'
3838
require 'concurrent/thread_safe/util/array_hash_rbx'
3939

lib/concurrent/synchronization/lockable_object.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ module Synchronization
1212
JRubyLockableObject
1313
when Concurrent.on_rbx?
1414
RbxLockableObject
15-
when Concurrent.on_truffle?
15+
when Concurrent.on_truffleruby?
1616
MriMutexLockableObject
1717
else
1818
warn 'Possibly unsupported Ruby implementation'

lib/concurrent/synchronization/object.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ module Synchronization
1010
JRubyObject
1111
when Concurrent.on_rbx?
1212
RbxObject
13-
when Concurrent.on_truffle?
13+
when Concurrent.on_truffleruby?
1414
TruffleObject
1515
else
1616
MriObject

0 commit comments

Comments
 (0)