Commit 86e21aa
committed
Fix webmock errors in specs for ruby 2.1 and 2.2
New versions of webmock released within the last month have adopted the
ruby 2.4 method invocation syntax of &. but the tested ruby versions do
not support it.
This commit resolves the problem by conditionally bundling either the
older version of webmock or newer versions based on the current ruby
version.1 parent 9ebb375 commit 86e21aa
1 file changed
+2
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
| 17 | + | |
17 | 18 | | |
18 | 19 | | |
19 | 20 | | |
0 commit comments