-
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.
Merge pull request #3382 from dependabot/brrygrdn/gemspec-finder-proj…
…-fixtures Use project fixtures for GemspecFinder spec
- Loading branch information
Showing
4 changed files
with
58 additions
and
13 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
7 changes: 7 additions & 0 deletions
7
bundler/spec/fixtures/projects/bundler1/imports_gemspec_from_nested_path/nested/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,7 @@ | ||
# frozen_string_literal: true | ||
source "https://rubygems.org" | ||
|
||
gemspec path: 'subdir' | ||
|
||
gem "business", "~> 1.4.0" | ||
gem "statesman", "~> 1.2.0" |
22 changes: 22 additions & 0 deletions
22
bundler/spec/fixtures/projects/bundler1/imports_gemspec_from_nested_path/nested/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,22 @@ | ||
PATH | ||
remote: subdir | ||
specs: | ||
example (0.9.3) | ||
business (~> 1.0) | ||
|
||
GEM | ||
remote: https://rubygems.org/ | ||
specs: | ||
business (1.4.0) | ||
statesman (1.2.5) | ||
|
||
PLATFORMS | ||
ruby | ||
|
||
DEPENDENCIES | ||
business (~> 1.4.0) | ||
example! | ||
statesman (~> 1.2.0) | ||
|
||
BUNDLED WITH | ||
1.15.3 |
21 changes: 21 additions & 0 deletions
21
...fixtures/projects/bundler1/imports_gemspec_from_nested_path/nested/subdir/example.gemspec
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,21 @@ | ||
# frozen_string_literal: true | ||
Gem::Specification.new do |spec| | ||
spec.name = "example" | ||
spec.version = "0.9.3" | ||
spec.summary = "Automated dependency management" | ||
spec.description = "Core logic for updating a GitHub repos dependencies" | ||
|
||
spec.author = "Dependabot" | ||
spec.email = "support@dependabot.com" | ||
spec.homepage = "https://github.com/hmarr/example" | ||
spec.license = "MIT" | ||
|
||
spec.require_path = "lib" | ||
spec.files = Dir["CHANGELOG.md", "LICENSE.txt", "README.md", | ||
"lib/**/*", "helpers/**/*"] | ||
|
||
spec.required_ruby_version = ">= 2.4.0" | ||
spec.required_rubygems_version = ">= 2.6.11" | ||
|
||
spec.add_dependency 'business', '~> 1.0' | ||
end |