forked from dependabot/dependabot-core
-
Notifications
You must be signed in to change notification settings - Fork 0
/
dependabot-cargo.gemspec
35 lines (27 loc) · 1.29 KB
/
dependabot-cargo.gemspec
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
# frozen_string_literal: true
Gem::Specification.new do |spec|
common_gemspec =
Bundler.load_gemspec_uncached("../common/dependabot-common.gemspec")
spec.name = "dependabot-cargo"
spec.summary = "Provides Dependabot support for Rust (Cargo)"
spec.description = "Dependabot-Cargo provides support for bumping Rust (cargo) crates via Dependabot. " \
"If you want support for multiple package managers, you probably want the meta-gem " \
"dependabot-omnibus."
spec.author = common_gemspec.author
spec.email = common_gemspec.email
spec.homepage = common_gemspec.homepage
spec.license = common_gemspec.license
spec.metadata = {
"bug_tracker_uri" => common_gemspec.metadata["bug_tracker_uri"],
"changelog_uri" => common_gemspec.metadata["changelog_uri"]
}
spec.version = common_gemspec.version
spec.required_ruby_version = common_gemspec.required_ruby_version
spec.required_rubygems_version = common_gemspec.required_ruby_version
spec.require_path = "lib"
spec.files = Dir["lib/**/*"]
spec.add_dependency "dependabot-common", Dependabot::VERSION
common_gemspec.development_dependencies.each do |dep|
spec.add_development_dependency dep.name, *dep.requirement.as_list
end
end