-
Notifications
You must be signed in to change notification settings - Fork 1k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Bundler 2: Add test for bundler dependency
On v1, gems with a new version with a dependency on bundler 2 would fail to update, this has since been fixed as demonstrated by this test.
- Loading branch information
Showing
3 changed files
with
78 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 5 additions & 0 deletions
5
bundler/spec/fixtures/projects/bundler1/guard_bundler/Gemfile
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
# frozen_string_literal: true | ||
|
||
source "https://rubygems.org" | ||
|
||
gem "guard-bundler", "~> 2.2.1" |
46 changes: 46 additions & 0 deletions
46
bundler/spec/fixtures/projects/bundler1/guard_bundler/Gemfile.lock
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,46 @@ | ||
GEM | ||
remote: https://rubygems.org/ | ||
specs: | ||
coderay (1.1.3) | ||
ffi (1.14.2) | ||
formatador (0.2.5) | ||
guard (2.16.2) | ||
formatador (>= 0.2.4) | ||
listen (>= 2.7, < 4.0) | ||
lumberjack (>= 1.0.12, < 2.0) | ||
nenv (~> 0.1) | ||
notiffany (~> 0.0) | ||
pry (>= 0.9.12) | ||
shellany (~> 0.0) | ||
thor (>= 0.18.1) | ||
guard-bundler (2.2.1) | ||
bundler (>= 1.3.0, < 3) | ||
guard (~> 2.2) | ||
guard-compat (~> 1.1) | ||
guard-compat (1.2.1) | ||
listen (3.4.1) | ||
rb-fsevent (~> 0.10, >= 0.10.3) | ||
rb-inotify (~> 0.9, >= 0.9.10) | ||
lumberjack (1.2.8) | ||
method_source (1.0.0) | ||
nenv (0.3.0) | ||
notiffany (0.1.3) | ||
nenv (~> 0.1) | ||
shellany (~> 0.0) | ||
pry (0.14.0) | ||
coderay (~> 1.1) | ||
method_source (~> 1.0) | ||
rb-fsevent (0.10.4) | ||
rb-inotify (0.10.1) | ||
ffi (~> 1.0) | ||
shellany (0.0.1) | ||
thor (1.1.0) | ||
|
||
PLATFORMS | ||
ruby | ||
|
||
DEPENDENCIES | ||
guard-bundler (= 2.2.1) | ||
|
||
BUNDLED WITH | ||
2.1.4 |