This repository was archived by the owner on Nov 30, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 10 files changed +26
-14
lines changed Expand file tree Collapse file tree 10 files changed +26
-14
lines changed Original file line number Diff line number Diff line change 1
- # This file was generated on 2017-07-15T20:27:05+07 :00 from the rspec-dev repo.
1
+ # This file was generated on 2017-08-10T01:31:46+09 :00 from the rspec-dev repo.
2
2
# DO NOT modify it by hand as your changes will get lost the next time it is generated.
3
3
4
4
# This file contains defaults for RSpec projects. Individual projects
Original file line number Diff line number Diff line change 1
- # This file was generated on 2017-07-15T20:27:05+07 :00 from the rspec-dev repo.
1
+ # This file was generated on 2017-08-10T01:31:46+09 :00 from the rspec-dev repo.
2
2
# DO NOT modify it by hand as your changes will get lost the next time it is generated.
3
3
4
4
language : ruby
28
28
- rbx
29
29
- jruby
30
30
- jruby-head
31
- - jruby-18mode
32
- - jruby-9.1.2.0
31
+ - jruby-1.7
32
+ env :
33
+ - JRUBY_OPTS='--dev'
33
34
matrix :
35
+ include :
36
+ - rvm : jruby-1.7
37
+ env : JRUBY_OPTS='--dev --1.8'
34
38
allow_failures :
35
39
- rvm : jruby-head
36
40
- rvm : ruby-head
37
41
- rvm : rbx
38
42
fast_finish : true
39
- env :
40
- - JRUBY_OPTS='--dev'
41
43
branches :
42
44
only :
43
45
- master
Original file line number Diff line number Diff line change 1
- # This file was generated on 2017-07-15T20:27:05+07 :00 from the rspec-dev repo.
1
+ # This file was generated on 2017-08-10T01:31:46+09 :00 from the rspec-dev repo.
2
2
# DO NOT modify it by hand as your changes will get lost the next time it is generated.
3
3
4
4
version : " {build}"
Original file line number Diff line number Diff line change @@ -80,9 +80,9 @@ def supports_exception_cause?
80
80
81
81
if Ruby . jruby?
82
82
ripper_requirements . push ( Ruby . jruby_version >= '1.7.5' )
83
- # Ripper on JRuby 9.0.0.0.rc1 or later reports wrong line number
83
+ # Ripper on JRuby 9.0.0.0.rc1 - 9.1.8.0 reports wrong line number
84
84
# or cannot parse source including `:if`.
85
- ripper_requirements . push ( Ruby . jruby_version < '9.0.0.0.rc1' )
85
+ ripper_requirements . push ( ! Ruby . jruby_version . between? ( '9.0.0.0.rc1' , '9.1.8.0' ) )
86
86
end
87
87
88
88
if ripper_requirements . all?
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
- # This file was generated on 2017-07-15T20:27:05+07 :00 from the rspec-dev repo.
2
+ # This file was generated on 2017-08-10T01:31:46+09 :00 from the rspec-dev repo.
3
3
# DO NOT modify it by hand as your changes will get lost the next time it is generated.
4
4
5
5
set -e
Original file line number Diff line number Diff line change 1
- # This file was generated on 2017-07-15T20:27:05+07 :00 from the rspec-dev repo.
1
+ # This file was generated on 2017-08-10T01:31:46+09 :00 from the rspec-dev repo.
2
2
# DO NOT modify it by hand as your changes will get lost the next time it is generated.
3
3
4
4
SCRIPT_DIR=" $( cd " $( dirname " ${BASH_SOURCE[0]} " ) " && pwd ) "
Original file line number Diff line number Diff line change 1
- # This file was generated on 2017-07-15T20:27:05+07 :00 from the rspec-dev repo.
1
+ # This file was generated on 2017-08-10T01:31:46+09 :00 from the rspec-dev repo.
2
2
# DO NOT modify it by hand as your changes will get lost the next time it is generated.
3
3
4
4
function is_mri {
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
- # This file was generated on 2017-07-15T20:27:05+07 :00 from the rspec-dev repo.
2
+ # This file was generated on 2017-08-10T01:31:46+09 :00 from the rspec-dev repo.
3
3
# DO NOT modify it by hand as your changes will get lost the next time it is generated.
4
4
5
5
set -e
Original file line number Diff line number Diff line change 1
- # This file was generated on 2017-07-15T20:27:05+07 :00 from the rspec-dev repo.
1
+ # This file was generated on 2017-08-10T01:31:46+09 :00 from the rspec-dev repo.
2
2
# DO NOT modify it by hand as your changes will get lost the next time it is generated.
3
3
4
4
# Taken from:
Original file line number Diff line number Diff line change @@ -93,6 +93,11 @@ def with_date_loaded
93
93
it 'includes a conventional representation of the decimal' do
94
94
in_sub_process_if_possible do
95
95
require 'bigdecimal'
96
+ # Suppress warning on JRuby 1.7:
97
+ # file:/Users/me/.rbenv/versions/jruby-1.7.26/lib/jruby.jar!/jruby/bigdecimal.rb:1
98
+ # warning: loading in progress, circular require considered harmful - bigdecimal.jar
99
+ $stderr. reset!
100
+
96
101
expect ( formatted_decimal ) . to include ( '3.3 (#<BigDecimal' )
97
102
end
98
103
end
@@ -136,6 +141,11 @@ def with_delegate_loaded
136
141
it 'formats the underlying object normally' do
137
142
with_delegate_loaded do
138
143
require 'bigdecimal'
144
+ # Suppress warning on JRuby 1.7:
145
+ # file:/Users/me/.rbenv/versions/jruby-1.7.26/lib/jruby.jar!/jruby/bigdecimal.rb:1
146
+ # warning: loading in progress, circular require considered harmful - bigdecimal.jar
147
+ $stderr. reset!
148
+
139
149
expect ( ObjectFormatter . format ( delegator ) ) . to eq "#<SimpleDelegator(#{ formatted_decimal } )>"
140
150
end
141
151
end
You can’t perform that action at this time.
0 commit comments