Skip to content

Commit

Permalink
Add bundler2 fixtures for FileUpdater spec
Browse files Browse the repository at this point in the history
  • Loading branch information
brrygrdn committed Mar 29, 2021
1 parent cd10231 commit a5c57ce
Show file tree
Hide file tree
Showing 48 changed files with 544 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
source "https://rubygems.org"

gem "ibandit", "~> 0.6.0"
gem "i18n", git: "https://github.com/svenfuchs/i18n"
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
GIT
remote: https://github.com/svenfuchs/i18n
revision: d049c7115f59689efb123d61430c078c6feb7537
specs:
i18n (0.7.0)

GEM
remote: https://rubygems.org/
specs:
ibandit (0.6.6)
i18n (~> 0.7.0)

PLATFORMS
ruby

DEPENDENCIES
i18n!
ibandit (~> 0.6.0)

BUNDLED WITH
2.2.0
11 changes: 11 additions & 0 deletions bundler/spec/fixtures/projects/bundler2/conditional/Gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
# frozen_string_literal: true

source "https://rubygems.org"

gem "business", "~> 1.4.0"

if ENV["STATESMAN_NEXT"] == "1"
gem "statesman", "~> 7.2.0"
else
gem "statesman", "~> 1.2.0" # rubocop:disable Bundler/DuplicatedGem
end
15 changes: 15 additions & 0 deletions bundler/spec/fixtures/projects/bundler2/conditional/Gemfile.lock
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
GEM
remote: https://rubygems.org/
specs:
business (1.4.0)
statesman (1.2.1)

PLATFORMS
ruby

DEPENDENCIES
business (~> 1.4.0)
statesman (~> 1.2.0)

BUNDLED WITH
2.2.0
Binary file not shown.
Binary file not shown.
Binary file not shown.
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
ruby "2.2.0"
source "https://rubygems.org"

gem "business", "~> 1.4.0"
gem "statesman", "~> 1.2.0"
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
GEM
remote: https://rubygems.org/
specs:
business (1.4.0)
statesman (1.2.1)

PLATFORMS
ruby

DEPENDENCIES
business (~> 1.4.0)
statesman (~> 1.2.0)

RUBY VERSION
ruby 2.2.0p0

BUNDLED WITH
2.2.0
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
GEM
remote: https://rubygems.org/
specs:
business (1.4.0)
statesman (1.2.1)

PLATFORMS
ruby

DEPENDENCIES
business (~> 1.4.0)
statesman (~> 1.2.0)

BUNDLED WITH
2.2.0
Original file line number Diff line number Diff line change
@@ -0,0 +1,33 @@
# 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 "octokit", "~> 4.6"
spec.add_dependency "gitlab", "~> 4.1"

spec.add_development_dependency "webmock", "~> 2.3.1"
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 "rake"
end
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
# frozen_string_literal: true

source "https://rubygems.org"

gem "business", "~> 1.4.0"
gem "statesman", "~> 1.2.0"
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
GEM
remote: https://rubygems.org/
specs:
business (1.4.0)
statesman (1.2.1)

PLATFORMS
ruby

DEPENDENCIES
business (~> 1.4.0)
statesman (~> 1.2.0)

BUNDLED WITH
2.2.0
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
# frozen_string_literal: true

lib = File.expand_path('../lib', __FILE__)
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
require 'example/version'

Gem::Specification.new do |spec|
spec.name = "example"
spec.version = Example::VERSION
spec.summary = "Automated dependency management #{Example::VERSION}"
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/**/*"]
Find.find("lib", "helpers") do |path|
if ignores.any? { |i| File.fnmatch(i, "/" + path, File::FNM_DOTMATCH) }
Find.prune
else
spec.files << path unless File.directory?(path)
end
end

spec.required_ruby_version = ">= 2.4.0"
spec.required_rubygems_version = ">= 2.6.11"

spec.add_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 "octokit", "~> 4.6"
spec.add_dependency "gitlab", "~> 4.1"

spec.add_development_dependency "webmock", "~> 2.3.1"
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 "rake"
end
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
# frozen_string_literal: true
source "https://rubygems.org"

gem "parallel", git: "git@github.com:grosser/parallel", ref: "v1.12.0"
gem "statesman", "~> 1.2.0"
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
GIT
remote: git@github.com:grosser/parallel
revision: 5fa4406bcf0b3109f645550ca799fc7570501870
ref: v1.12.0
specs:
parallel (1.12.0)

GEM
remote: https://rubygems.org/
specs:
statesman (1.2.5)

PLATFORMS
ruby

DEPENDENCIES
parallel!
statesman (~> 1.2.0)

BUNDLED WITH
2.2.0
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# frozen_string_literal: true
source "https://rubygems.org"

gem "business", "~> 1.6.0",
git: "git@github.com:gocardless/business",
ref: "a1b78a9"
gem "statesman", "~> 1.2.0"
gem "prius", git: "https://github.com/gocardless/prius"
gem "que", git: "git@github.com:chanks/que", tag: "v0.11.6"
gem "uk_phone_numbers", git: "http://github.com/gocardless/uk_phone_numbers"
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
GIT
remote: http://github.com/gocardless/uk_phone_numbers
revision: 1530024bd6a68d36ac18e04836ce110e0d433c36
specs:
uk_phone_numbers (0.1.1)

GIT
remote: git@github.com:gocardless/business
revision: a1b78a929dac93a52f08db4f2847d76d6cfe39bd
ref: a1b78a9
specs:
business (1.6.0)

GIT
remote: https://github.com/gocardless/prius
revision: cff701b3bfb182afc99a85657d7c9f3d6c1ccce2
specs:
prius (1.0.0)

GIT
remote: git@github.com:chanks/que
revision: 997d1a6ee76a1f254fd72ce16acbc8d347fcaee3
tag: v0.11.6
specs:
que (0.11.6)

GEM
remote: https://rubygems.org/
specs:
statesman (1.2.5)

PLATFORMS
ruby

DEPENDENCIES
business (~> 1.6.0)!
prius!
que!
statesman (~> 1.2.0)
uk_phone_numbers!

BUNDLED WITH
2.2.0
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
# frozen_string_literal: true
source "https://rubygems.org"

gem "business", "~> 1.6.0",
git: "git@github.com:gocardless/business",
ref: "a1b78a9"
gem "statesman", "~> 1.2.0"
gem "prius", git: "https://github.com/gocardless/prius"
gem "que", git: "git@github.com:chanks/que", tag: "v0.11.6"
gem "uk_phone_numbers", git: "http://github.com/gocardless/uk_phone_numbers"
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
GIT
remote: http://github.com/gocardless/uk_phone_numbers
revision: 1530024bd6a68d36ac18e04836ce110e0d433c36
specs:
uk_phone_numbers (0.1.1)

GIT
remote: git@github.com:gocardless/business
revision: a1b78a929dac93a52f08db4f2847d76d6cfe39bd
ref: a1b78a9
specs:
business (1.6.0)

GIT
remote: https://github.com/gocardless/prius
revision: cff701b3bfb182afc99a85657d7c9f3d6c1ccce2
specs:
prius (1.0.0)

GIT
remote: git@github.com:chanks/que
revision: 997d1a6ee76a1f254fd72ce16acbc8d347fcaee3
tag: v0.11.6
specs:
que (0.11.6)

GEM
remote: https://rubygems.org/
specs:
statesman (1.2.5)

PLATFORMS
ruby

DEPENDENCIES
business (~> 1.6.0)!
prius!
que!
statesman (~> 1.2.0)
uk_phone_numbers!

BUNDLED WITH
2.2.0
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
GIT
remote: git://github.com/gocardless/business.git
remote: https://github.com/gocardless/business.git
revision: d31e445215b5af70c1604715d97dd953e868380e
specs:
business (1.10.0)
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
# frozen_string_literal: true
source "https://rubygems.org"

gemspec

gem "business", "~> 1.4.0"
gem "statesman", "~> 1.2.0"
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
PATH
remote: .
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
2.2.0
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 'json', '~> 1.0'
end
Loading

0 comments on commit a5c57ce

Please sign in to comment.