This repository was archived by the owner on Nov 30, 2024. It is now read-only.
File tree 9 files changed +32
-11
lines changed
9 files changed +32
-11
lines changed Original file line number Diff line number Diff line change 1
- # This file was generated on 2018-12-30T16:45:57 +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.
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-30T16:45:57 +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.
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
8
8
directories :
9
9
- ../bundle
10
10
before_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"
14
12
- unset _JAVA_OPTIONS
15
13
- " script/clone_all_rspec_repos"
16
14
bundler_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:57 +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.
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-30T16:45:57 +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.
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-30T16:45:57 +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.
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-30T16:45:57 +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.
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 {
@@ -57,6 +57,14 @@ function is_mri_2plus {
57
57
fi
58
58
}
59
59
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
+
60
68
function rspec_support_compatible {
61
69
if [ " $MAINTENANCE_BRANCH " != " 2-99-maintenance" ] && [ " $MAINTENANCE_BRANCH " != " 2-14-maintenance" ]; then
62
70
return 0
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
- # This file was generated on 2018-12-30T16:45:57 +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.
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-30T16:45:57 +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.
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
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