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.
22# DO NOT modify it by hand as your changes will get lost the next time it is generated.
33
44# 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.
22# DO NOT modify it by hand as your changes will get lost the next time it is generated.
33
44language : ruby
2525 - 2.3.8
2626 - 2.4.5
2727 - 2.5.3
28+ - 2.6.0
2829 - ruby-head
2930 - ree
3031 - 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.
22# DO NOT modify it by hand as your changes will get lost the next time it is generated.
33
44version : " {build}"
Original file line number Diff line number Diff line change 11#! /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.
33# DO NOT modify it by hand as your changes will get lost the next time it is generated.
44
55set -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.
22# DO NOT modify it by hand as your changes will get lost the next time it is generated.
33
44SCRIPT_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.
22# DO NOT modify it by hand as your changes will get lost the next time it is generated.
33
44function is_mri {
Original file line number Diff line number Diff line change 11#! /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.
33# DO NOT modify it by hand as your changes will get lost the next time it is generated.
44
55set -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.
22# DO NOT modify it by hand as your changes will get lost the next time it is generated.
33
44# Taken from:
Original file line number Diff line number Diff line change @@ -79,10 +79,19 @@ module RSpec::Support
7979 describe '#nodes_by_line_number' do
8080 it 'returns a hash containing nodes for each line number' do
8181 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 ,
8695 2 => [
8796 an_object_having_attributes ( :type => :@ident ) ,
8897 an_object_having_attributes ( :type => :@ident )
You can’t perform that action at this time.
0 commit comments