File tree Expand file tree Collapse file tree 7 files changed +26
-8
lines changed Expand file tree Collapse file tree 7 files changed +26
-8
lines changed Original file line number Diff line number Diff line change 1
- # This file was generated on 2015-08-01T02:04:28-04 :00 from the rspec-dev repo.
1
+ # This file was generated on 2015-08-11T23:21:08+01 :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 2015-08-01T02:04:28-04 :00 from the rspec-dev repo.
1
+ # This file was generated on 2015-08-11T23:21:08+01 :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 2015-08-01T02:04:28-04 :00 from the rspec-dev repo.
2
+ # This file was generated on 2015-08-11T23:21:08+01 :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 2015-08-01T02:04:28-04 :00 from the rspec-dev repo.
1
+ # This file was generated on 2015-08-11T23:21:08+01 :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 ) "
@@ -11,6 +11,12 @@ export JRUBY_OPTS=${JRUBY_OPTS:-"--server -Xcompile.invokedynamic=false"}
11
11
SPECS_HAVE_RUN_FILE=specs.out
12
12
MAINTENANCE_BRANCH=` cat maintenance-branch`
13
13
14
+ # Don't allow rubygems to pollute what's loaded. Also, things boot faster
15
+ # without the extra load time of rubygems. Only works on MRI Ruby 1.9+
16
+ if is_mri_192_plus; then
17
+ export RUBYOPT=" --disable=gem"
18
+ fi
19
+
14
20
function clone_repo {
15
21
if [ ! -d $1 ]; then # don't clone if the dir is already there
16
22
travis_retry eval " git clone git://github.com/rspec/$1 --depth 1 --branch $MAINTENANCE_BRANCH "
@@ -49,7 +55,7 @@ function run_cukes {
49
55
else
50
56
# Prepare RUBYOPT for scenarios that are shelling out to ruby,
51
57
# and PATH for those that are using `rspec` or `rake`.
52
- RUBYOPT=" -I${PWD} /../bundle -rbundler/setup" \
58
+ RUBYOPT=" ${RUBYOPT} -I${PWD} /../bundle -rbundler/setup" \
53
59
PATH=" ${PWD} /bin:$PATH " \
54
60
bin/cucumber --strict
55
61
fi
Original file line number Diff line number Diff line change 1
- # This file was generated on 2015-08-01T02:04:28-04 :00 from the rspec-dev repo.
1
+ # This file was generated on 2015-08-11T23:21:08+01 :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 {
@@ -23,6 +23,18 @@ function is_mri_192 {
23
23
fi
24
24
}
25
25
26
+ function is_mri_192_plus {
27
+ if is_mri; then
28
+ if ruby -e " exit(RUBY_VERSION.to_f > 1.9)" ; then
29
+ return 0
30
+ else
31
+ return 1
32
+ fi
33
+ else
34
+ return 1
35
+ fi
36
+ }
37
+
26
38
function is_mri_2plus {
27
39
if is_mri; then
28
40
if ruby -e " exit(RUBY_VERSION.to_f > 2.0)" ; then
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
- # This file was generated on 2015-08-01T02:04:28-04 :00 from the rspec-dev repo.
2
+ # This file was generated on 2015-08-11T23:21:08+01 :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 2015-08-01T02:04:28-04 :00 from the rspec-dev repo.
1
+ # This file was generated on 2015-08-11T23:21:08+01 :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:
You can’t perform that action at this time.
0 commit comments