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 +32
-12
lines changed Expand file tree Collapse file tree 10 files changed +32
-12
lines changed Original file line number Diff line number Diff line change 1- # This file was generated on 2018-12-30T16:45:58 +00:00 from the rspec-dev repo.
1+ # This file was generated on 2019-01-03T20:34:23 +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-30T16:45:58 +00:00 from the rspec-dev repo.
1+ # This file was generated on 2019-01-03T20:34:23 +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
88 directories :
99 - ../bundle
1010before_install :
11- # We need to ensure the latest version of Rubygems, unless we're on an old Ruby.
12- - gem update --system $(ruby -e "puts '2.7.8' if ENV['RUBY_VERSION'] >= '2.3.0'")
13- - gem install bundler
11+ - " script/update_rubygems_and_install_bundler"
1412 - unset _JAVA_OPTIONS
1513 - " script/clone_all_rspec_repos"
1614bundler_args : " --binstubs --standalone --without documentation --path ../bundle"
Original file line number Diff line number Diff line change 1- # This file was generated on 2018-12-30T16:45:58 +00:00 from the rspec-dev repo.
1+ # This file was generated on 2019-01-03T20:34:23 +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 @@ -35,7 +35,6 @@ Gem::Specification.new do |spec|
3535
3636 spec . required_ruby_version = '>= 1.8.7'
3737
38- spec . add_development_dependency "bundler" , "~> 1.3"
3938 spec . add_development_dependency "rake" , "~> 10.0.0"
4039 spec . add_development_dependency "thread_order" , "~> 1.1.0"
4140end
Original file line number Diff line number Diff line change 11#! /bin/bash
2- # This file was generated on 2018-12-30T16:45:58 +00:00 from the rspec-dev repo.
2+ # This file was generated on 2019-01-03T20:34:23 +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-30T16:45:58 +00:00 from the rspec-dev repo.
1+ # This file was generated on 2019-01-03T20:34:23 +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-30T16:45:58 +00:00 from the rspec-dev repo.
1+ # This file was generated on 2019-01-03T20:34:23 +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 {
@@ -57,6 +57,14 @@ function is_mri_2plus {
5757 fi
5858}
5959
60+ function is_ruby_23_plus {
61+ if ruby -e " exit(RUBY_VERSION.to_f >= 2.3)" ; then
62+ return 0
63+ else
64+ return 1
65+ fi
66+ }
67+
6068function rspec_support_compatible {
6169 if [ " $MAINTENANCE_BRANCH " != " 2-99-maintenance" ] && [ " $MAINTENANCE_BRANCH " != " 2-14-maintenance" ]; then
6270 return 0
Original file line number Diff line number Diff line change 11#! /bin/bash
2- # This file was generated on 2018-12-30T16:45:58 +00:00 from the rspec-dev repo.
2+ # This file was generated on 2019-01-03T20:34:23 +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-30T16:45:58 +00:00 from the rspec-dev repo.
1+ # This file was generated on 2019-01-03T20:34:23 +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 1+ #! /bin/bash
2+ # This file was generated on 2019-01-03T20:34:23+00:00 from the rspec-dev repo.
3+ # DO NOT modify it by hand as your changes will get lost the next time it is generated.
4+
5+ set -e
6+ source script/functions.sh
7+
8+ if is_ruby_23_plus; then
9+ gem update --system
10+ gem install bundler
11+ else
12+ echo " Warning installing older versions of Rubygems / Bundler"
13+ gem update --system ' 2.7.8'
14+ gem install bundler -v ' 1.17.3'
15+ fi
You can’t perform that action at this time.
0 commit comments