Repository navigation
Expand file tree
/
Copy pathcode_ownership.gemspec
More file actions
54 lines (46 loc) · 2.21 KB
/
Copy pathcode_ownership.gemspec
File metadata and controls
54 lines (46 loc) · 2.21 KB
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
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
# frozen_string_literal: true
require_relative "lib/code_ownership/version"
Gem::Specification.new do |spec|
spec.name = "code_ownership"
spec.version = CodeOwnership::VERSION
spec.authors = ["Gusto Engineers"]
spec.email = ["[email protected]"]
spec.summary = "A gem to help engineering teams declare ownership of code"
spec.description = "A gem to help engineering teams declare ownership of code"
spec.homepage = "https://github.com/rubyatscale/code_ownership"
spec.license = "MIT"
if spec.respond_to?(:metadata)
spec.metadata["homepage_uri"] = spec.homepage
spec.metadata["source_code_uri"] = "https://github.com/rubyatscale/code_ownership"
spec.metadata["changelog_uri"] = "https://github.com/rubyatscale/code_ownership/releases"
spec.metadata["allowed_push_host"] = "https://rubygems.org"
spec.metadata["cargo_crate_name"] = "code_ownership"
else
raise "RubyGems 2.0 or newer is required to protect against " \
"public gem pushes."
end
spec.required_ruby_version = Gem::Requirement.new(">= 3.3", "< 4.1.dev")
# https://guides.rubygems.org/make-your-own-gem/#adding-an-executable
# and
# https://bundler.io/blog/2015/03/20/moving-bins-to-exe.html
spec.executables = ["codeownership"]
# Specify which files should be added to the gem when it is released.
spec.files = Dir["{lib,ext}/**/*", "LICENSE", "README.md", "Cargo.*"]
spec.files.reject! { |f| File.directory?(f) }
spec.files.reject! { |f| f =~ /\.(dll|so|dylib|lib|bundle)\Z/ }
spec.require_paths = ["lib"]
spec.extensions = ["ext/code_ownership/Cargo.toml"]
spec.add_dependency "code_teams", "~> 1.0"
spec.add_dependency "packs-specification"
spec.add_dependency "sorbet-runtime", ">= 0.6.12763"
spec.add_development_dependency "debug"
spec.add_development_dependency "packwerk"
spec.add_development_dependency "railties"
spec.add_development_dependency "rake"
spec.add_development_dependency "rb_sys", "~> 0.9.63"
spec.add_development_dependency "rspec", "~> 3.0"
spec.add_development_dependency "rubocop"
spec.add_development_dependency "rubocop-gusto"
spec.add_development_dependency "sorbet"
spec.add_development_dependency "tapioca"
end