Skip to content

Commit d909eb3

Browse files
committed
Merge pull request #141 from rspec/upgrade-bundler
Upgrade bundler
2 parents bbd9fa5 + 4f9c65f commit d909eb3

File tree

2 files changed

+3
-4
lines changed

2 files changed

+3
-4
lines changed

travis/.rubocop_rspec_base.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -98,9 +98,9 @@ Proc:
9898
RedundantReturn:
9999
AllowMultipleReturnValues: true
100100

101-
# We have to rescue Exception in the `raise_error` matcher for it to work properly.
101+
# Exceptions should be rescued with `Support::AllExceptionsExceptOnesWeMustNotRescue`
102102
RescueException:
103-
Enabled: false
103+
Enabled: true
104104

105105
# We haven't adopted the `fail` to signal exceptions vs `raise` for re-raises convention.
106106
SignalException:

travis/.travis.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,9 +5,8 @@ cache:
55
- ../bundle
66
before_install:
77
- "script/clone_all_rspec_repos"
8-
# Downgrade bundler to work around https://github.com/bundler/bundler/issues/3004
98
# Note this doesn't work on JRUBY 2.0.0 mode so we don't do it
10-
- if [ -z "$JRUBY_OPTS" ]; then gem install bundler -v=1.5.3 && alias bundle="bundle _1.5.3_"; fi
9+
- if [ "jruby" != "$TRAVIS_RUBY_VERSION" ]; then gem install bundler; fi
1110
bundler_args: "--binstubs --standalone --without documentation --path ../bundle"
1211
script: "script/run_build"
1312
rvm:

0 commit comments

Comments
 (0)