This repository was archived by the owner on Nov 30, 2024. It is now read-only.
File tree Expand file tree Collapse file tree 9 files changed +22
-12
lines changed Expand file tree Collapse file tree 9 files changed +22
-12
lines changed Original file line number Diff line number Diff line change 1
- # This file was generated on 2018-12-21T13:15:34 +00:00 from the rspec-dev repo.
1
+ # This file was generated on 2018-12-25T18:01:30 +00: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 2018-12-21T13:15:34 +00:00 from the rspec-dev repo.
1
+ # This file was generated on 2018-12-25T18:01:30 +00: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
25
25
- 2.3.8
26
26
- 2.4.5
27
27
- 2.5.3
28
+ - 2.6.0
28
29
- ruby-head
29
30
- ree
30
31
- rbx-3
Original file line number Diff line number Diff line change 1
- # This file was generated on 2018-12-21T13:15:34 +00:00 from the rspec-dev repo.
1
+ # This file was generated on 2018-12-25T18:01:30 +00: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 1
1
#! /bin/bash
2
- # This file was generated on 2018-12-21T13:15:34 +00:00 from the rspec-dev repo.
2
+ # This file was generated on 2018-12-25T18:01:30 +00: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 2018-12-21T13:15:34 +00:00 from the rspec-dev repo.
1
+ # This file was generated on 2018-12-25T18:01:30 +00: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 2018-12-21T13:15:34 +00:00 from the rspec-dev repo.
1
+ # This file was generated on 2018-12-25T18:01:30 +00: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 2018-12-21T13:15:34 +00:00 from the rspec-dev repo.
2
+ # This file was generated on 2018-12-25T18:01:30 +00: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 2018-12-21T13:15:34 +00:00 from the rspec-dev repo.
1
+ # This file was generated on 2018-12-25T18:01:30 +00: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 @@ -79,10 +79,19 @@ module RSpec::Support
79
79
describe '#nodes_by_line_number' do
80
80
it 'returns a hash containing nodes for each line number' do
81
81
expect ( source . nodes_by_line_number ) . to match (
82
- 1 => [
83
- an_object_having_attributes ( :type => :@int ) ,
84
- an_object_having_attributes ( :type => :@ident )
85
- ] ,
82
+ 1 =>
83
+ if RUBY_VERSION >= '2.6.0'
84
+ [
85
+ an_object_having_attributes ( :type => :@int ) ,
86
+ an_object_having_attributes ( :type => :@period ) ,
87
+ an_object_having_attributes ( :type => :@ident )
88
+ ]
89
+ else
90
+ [
91
+ an_object_having_attributes ( :type => :@int ) ,
92
+ an_object_having_attributes ( :type => :@ident )
93
+ ]
94
+ end ,
86
95
2 => [
87
96
an_object_having_attributes ( :type => :@ident ) ,
88
97
an_object_having_attributes ( :type => :@ident )
You can’t perform that action at this time.
0 commit comments