-
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 #3386 from dependabot/feelepxyz/convert-path-gemsp…
…ec-finder-fixtures Use project fixtures for PathGemspecFinder
- Loading branch information
Showing
6 changed files
with
95 additions
and
11 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
6 changes: 6 additions & 0 deletions
6
bundler/spec/fixtures/projects/bundler1/nested_path_source/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,6 @@ | ||
source "https://rubygems.org" | ||
|
||
gem "business", "~> 1.4.0" | ||
gem "statesman", "~> 1.2.0" | ||
gem "example", ">= 0.9.0", path: "plugins/example" | ||
gem "prius", git: "https://github.com/gocardless/prius" |
30 changes: 30 additions & 0 deletions
30
bundler/spec/fixtures/projects/bundler1/nested_path_source/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,30 @@ | ||
GIT | ||
remote: https://github.com/gocardless/prius | ||
revision: cff701b3bfb182afc99a85657d7c9f3d6c1ccce2 | ||
specs: | ||
prius (1.0.0) | ||
|
||
PATH | ||
remote: plugins/example | ||
specs: | ||
example (0.9.3) | ||
i18n (>= 0.3.3) | ||
|
||
GEM | ||
remote: https://rubygems.org/ | ||
specs: | ||
business (1.4.0) | ||
i18n (0.8.4) | ||
statesman (1.2.5) | ||
|
||
PLATFORMS | ||
ruby | ||
|
||
DEPENDENCIES | ||
business (~> 1.4.0) | ||
example (>= 0.9.0)! | ||
prius! | ||
statesman (~> 1.2.0) | ||
|
||
BUNDLED WITH | ||
1.15.1 |
34 changes: 34 additions & 0 deletions
34
bundler/spec/fixtures/projects/bundler1/nested_path_source/nested/example/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,34 @@ | ||
# 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.date = "2019-08-01" | ||
|
||
spec.author = "Dependabot" | ||
spec.email = "support@dependabot.com" | ||
spec.homepage = "https://github.com/hmarr/example" | ||
spec.license = "MIT" | ||
|
||
spec.require_path = Dir["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_runtime_dependency "bundler", ">= 1.12.0" | ||
spec.add_dependency "excon", ["~> 0.55"] | ||
spec.add_dependency("gemnasium-parser", "~> 0.1") | ||
spec.add_dependency "gems", "~> 1.0" | ||
spec.add_dependency "gitlab", "~> 4.1" | ||
spec.add_dependency "octokit", "~> 4.6" | ||
|
||
spec.add_development_dependency "rake" | ||
spec.add_development_dependency "rspec", "~> 3.5.0" | ||
spec.add_development_dependency "rspec-its", "~> 1.2.0" | ||
spec.add_development_dependency "rubocop", "~> 0.48.0" | ||
spec.add_development_dependency "webmock", "~> 2.3.1" | ||
end |
6 changes: 6 additions & 0 deletions
6
bundler/spec/fixtures/projects/bundler1/path_source_eval/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,6 @@ | ||
source "https://rubygems.org" | ||
|
||
gem "business", "~> 1.4.0" | ||
gem "statesman", "~> 1.2.0" | ||
gem "example", path: File.join(File.dirname(__FILE__), 'plugins/example') | ||
gem "prius", git: "https://github.com/gocardless/prius" |
11 changes: 11 additions & 0 deletions
11
bundler/spec/fixtures/projects/bundler1/path_source_if/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,11 @@ | ||
source "https://rubygems.org" | ||
|
||
if ENV['something'] | ||
gem "example", path: "plugins/example" | ||
else | ||
gem "example" | ||
end | ||
|
||
gem "statesman", "~> 1.2.0" | ||
gem "business", "~> 1.4.0" | ||
gem "prius", git: "https://github.com/gocardless/prius" |