File tree Expand file tree Collapse file tree 2 files changed +5
-2
lines changed
lib/concurrent/synchronization Expand file tree Collapse file tree 2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -3,7 +3,7 @@ language: ruby
3
3
rvm :
4
4
# start with the latest
5
5
- 2.5.1
6
- - jruby-9.1.17 .0
6
+ - jruby-9.2.0 .0
7
7
8
8
# older versions
9
9
- 2.4.4
13
13
- 2.0.0
14
14
- 1.9.3
15
15
16
+ - jruby-9.1.17.0
16
17
- jruby-9.0.5.0
17
18
- jruby-1.7.27
18
19
19
20
- ruby-head
21
+ - ruby-2.6.0-preview2
20
22
- jruby-head
21
23
22
24
- rbx-3
@@ -41,6 +43,7 @@ matrix:
41
43
- rvm : jruby-head
42
44
- rvm : 1.9.3
43
45
- rvm : rbx-3
46
+ - rvm : ruby-2.6.0-preview2
44
47
45
48
env :
46
49
global :
Original file line number Diff line number Diff line change @@ -117,7 +117,7 @@ def ns_merge(other, &block)
117
117
118
118
# @!visibility private
119
119
def pr_underscore ( clazz )
120
- word = clazz . to_s
120
+ word = clazz . to_s . dup # dup string to workaround JRuby 9.2.0.0 bug https://github.com/jruby/jruby/issues/5229
121
121
word . gsub! ( /::/ , '/' )
122
122
word . gsub! ( /([A-Z]+)([A-Z][a-z])/ , '\1_\2' )
123
123
word . gsub! ( /([a-z\d ])([A-Z])/ , '\1_\2' )
You can’t perform that action at this time.
0 commit comments