File tree Expand file tree Collapse file tree 2 files changed +8
-9
lines changed Expand file tree Collapse file tree 2 files changed +8
-9
lines changed Original file line number Diff line number Diff line change @@ -427,11 +427,12 @@ def confirm_branch_name(name)
427
427
return name unless system ( "git show-branch #{ name } > /dev/null 2>&1" )
428
428
429
429
puts "Branch #{ name } already exists, delete? [Y/n] or rename new branch? [r[ename] <name>]"
430
- case STDIN . gets . downcase
431
- when /^y/
430
+ case input = STDIN . gets . downcase
431
+ when /^y/i
432
432
`git branch -D #{ name } `
433
433
when /^r(?:ename)? (.*)$/
434
434
name = $1
435
+ when /^n/i
435
436
else
436
437
abort "Unknown option: #{ input } "
437
438
end
Original file line number Diff line number Diff line change 6
6
- ../bundle
7
7
before_install :
8
8
- gem update --system # https://github.com/travis-ci/travis-ci/issues/8978#issuecomment-354036443
9
+ - gem install bundler
9
10
- unset _JAVA_OPTIONS
10
11
- " script/clone_all_rspec_repos"
11
- # Note this doesn't work on JRUBY 2.0.0 mode so we don't do it, the excluded versions are broken on Ruby 2.3
12
- - if [ "jruby" != "$TRAVIS_RUBY_VERSION" ]; then gem install bundler --version "1.11.2"; fi
13
- - alias bundle="bundle _1.11.2_"
14
12
bundler_args : " --binstubs --standalone --without documentation --path ../bundle"
15
13
script : " script/run_build"
16
14
rvm :
19
17
- 1.9.3
20
18
- 2.0.0
21
19
- 2.1
22
- - 2.2.9
23
- - 2.3.6
24
- - 2.4.3
25
- - 2.5.0
20
+ - 2.2.10
21
+ - 2.3.7
22
+ - 2.4.4
23
+ - 2.5.1
26
24
- ruby-head
27
25
- ree
28
26
- rbx-3
You can’t perform that action at this time.
0 commit comments