-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathdocker-api-ng.gemspec
More file actions
42 lines (36 loc) · 1.77 KB
/
Copy pathdocker-api-ng.gemspec
File metadata and controls
42 lines (36 loc) · 1.77 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
# frozen_string_literal: true
require_relative "lib/docker/api/version"
Gem::Specification.new do |spec|
spec.name = "docker-api-ng"
spec.version = Docker::API::VERSION
spec.authors = ["Tim Smith"]
spec.email = ["tsmith84@proton.me"]
spec.summary = "A Ruby client for the modern Docker Engine API"
spec.description = <<~DESC
A dependency-free Ruby client for the Docker Engine API. The complete API
surface is generated from Docker's own OpenAPI specification, so keeping up
with the daemon is a reviewable diff rather than manual archaeology, and an
ergonomic hand-written layer sits on top of it.
DESC
spec.homepage = "https://github.com/test-kitchen/docker-api-ng"
spec.license = "Apache-2.0"
spec.metadata = {
"bug_tracker_uri" => "#{spec.homepage}/issues",
"changelog_uri" => "#{spec.homepage}/blob/main/CHANGELOG.md",
"documentation_uri" => "#{spec.homepage}/blob/main/README.md",
"source_code_uri" => spec.homepage,
}
spec.required_ruby_version = ">= 3.1"
# data/swagger/*.yaml is deliberately not packaged. It is a build-time input:
# `rake api:generate` reads it to emit lib/docker/api/operations.rb, which is
# committed. Nothing loads the specification at runtime, and the generator
# that consumes it lives in tools/, which is not shipped either -- so packaging
# it added 471 KB, about four fifths of the gem, that no installed copy can
# use. It stays in the repository, where the generator and reviewers want it.
spec.files = %w{LICENSE NOTICE README.md docker-api-ng.gemspec} +
Dir.glob("lib/**/*.rb") +
Dir.glob("sig/**/*.rbs") +
Dir.glob("docs/*.md")
spec.require_paths = ["lib"]
# No runtime dependencies. Everything this gem needs ships with Ruby.
end