Skip to content

Commit 3a080f2

Browse files
authored
Merge pull request #6 from Hexlet/release-please--branches--main--changes--next
release: 0.3.0
2 parents e9d9b05 + 4d82669 commit 3a080f2

File tree

302 files changed

+3419
-14957
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

302 files changed

+3419
-14957
lines changed

.release-please-manifest.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
{
2-
".": "0.2.2"
2+
".": "0.3.0"
33
}

.stats.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 102
2-
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/hexlet%2Fdocker-831637d06c77b321653e17824ad6b59ce6563420966569b6d0b160eadf26847d.yml
3-
openapi_spec_hash: def40420cdc7605c5e680fea13454867
4-
config_hash: 52e7d5299ec5f5e7b8901622df018f30
2+
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/hexlet%2Fdocker-31f80d10d31a27ca7945346411d6914e4b67a36769e006cb922d2cd7214c6ecc.yml
3+
openapi_spec_hash: f79f7bd46f2d82f5f60481696d782b7c
4+
config_hash: acd8bac5aae1f4716660b937d06b9da5

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,13 @@
11
# Changelog
22

3+
## 0.3.0 (2026-02-14)
4+
5+
Full Changelog: [v0.2.2...v0.3.0](https://github.com/Hexlet/docker-ruby/compare/v0.2.2...v0.3.0)
6+
7+
### Features
8+
9+
* **api:** api update ([5ba59e5](https://github.com/Hexlet/docker-ruby/commit/5ba59e567320016141d2932149c2c4cdc2aa262e))
10+
311
## 0.2.2 (2026-02-14)
412

513
Full Changelog: [v0.2.1...v0.2.2](https://github.com/Hexlet/docker-ruby/compare/v0.2.1...v0.2.2)

Gemfile.lock

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ GIT
1111
PATH
1212
remote: .
1313
specs:
14-
docker-engine-ruby (0.2.2)
14+
docker-engine-ruby (0.3.0)
1515
cgi
1616
connection_pool
1717

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ To use this gem, install via Bundler by adding the following to your application
1717
<!-- x-release-please-start-version -->
1818

1919
```ruby
20-
gem "docker-engine-ruby", "~> 0.2.2"
20+
gem "docker-engine-ruby", "~> 0.3.0"
2121
```
2222

2323
<!-- x-release-please-end -->

lib/docker_engine_ruby/models/config.rb

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,9 @@ class Config < DockerEngineRuby::Internal::Type::BaseModel
6262
#
6363
# `{"<port>/<tcp|udp|sctp>": {}}`
6464
#
65-
# @return [Hash{Symbol=>Object}, nil]
65+
# @return [Hash{Symbol=>Hash{Symbol=>Object}}, nil]
6666
optional :exposed_ports,
67-
DockerEngineRuby::Internal::Type::HashOf[DockerEngineRuby::Internal::Type::Unknown],
67+
DockerEngineRuby::Internal::Type::HashOf[DockerEngineRuby::Internal::Type::HashOf[DockerEngineRuby::Internal::Type::Unknown]],
6868
api_name: :ExposedPorts,
6969
nil?: true
7070

@@ -158,9 +158,9 @@ class Config < DockerEngineRuby::Internal::Type::BaseModel
158158
# @!attribute volumes
159159
# An object mapping mount point paths inside the container to empty objects.
160160
#
161-
# @return [Hash{Symbol=>Object}, nil]
161+
# @return [Hash{Symbol=>Hash{Symbol=>Object}}, nil]
162162
optional :volumes,
163-
DockerEngineRuby::Internal::Type::HashOf[DockerEngineRuby::Internal::Type::Unknown],
163+
DockerEngineRuby::Internal::Type::HashOf[DockerEngineRuby::Internal::Type::HashOf[DockerEngineRuby::Internal::Type::Unknown]],
164164
api_name: :Volumes
165165

166166
# @!attribute working_dir
@@ -191,7 +191,7 @@ class Config < DockerEngineRuby::Internal::Type::BaseModel
191191
#
192192
# @param env [Array<String>] A list of environment variables to set inside the container in the
193193
#
194-
# @param exposed_ports [Hash{Symbol=>Object}, nil] An object mapping ports to an empty object in the form:
194+
# @param exposed_ports [Hash{Symbol=>Hash{Symbol=>Object}}, nil] An object mapping ports to an empty object in the form:
195195
#
196196
# @param healthcheck [DockerEngineRuby::Models::Config::Healthcheck] A test to perform to check that the container is healthy.
197197
#
@@ -219,7 +219,7 @@ class Config < DockerEngineRuby::Internal::Type::BaseModel
219219
#
220220
# @param user [String] Commands run as this user inside the container. If omitted, commands
221221
#
222-
# @param volumes [Hash{Symbol=>Object}] An object mapping mount point paths inside the container to empty
222+
# @param volumes [Hash{Symbol=>Hash{Symbol=>Object}}] An object mapping mount point paths inside the container to empty
223223
#
224224
# @param working_dir [String] The working directory for commands to run in.
225225

lib/docker_engine_ruby/models/config_create_params.rb

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -7,18 +7,8 @@ class ConfigCreateParams < DockerEngineRuby::Internal::Type::BaseModel
77
extend DockerEngineRuby::Internal::Type::RequestParameters::Converter
88
include DockerEngineRuby::Internal::Type::RequestParameters
99

10-
# @!attribute spec
11-
#
12-
# @return [DockerEngineRuby::Models::ConfigCreateParams::Spec, nil]
13-
optional :spec, -> { DockerEngineRuby::ConfigCreateParams::Spec }
14-
15-
# @!method initialize(spec: nil, request_options: {})
16-
# @param spec [DockerEngineRuby::Models::ConfigCreateParams::Spec]
10+
# @!method initialize(request_options: {})
1711
# @param request_options [DockerEngineRuby::RequestOptions, Hash{Symbol=>Object}]
18-
19-
class Spec < DockerEngineRuby::Models::Spec
20-
# @!method initialize
21-
end
2212
end
2313
end
2414
end

lib/docker_engine_ruby/models/config_list_params.rb

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -8,25 +8,12 @@ class ConfigListParams < DockerEngineRuby::Internal::Type::BaseModel
88
include DockerEngineRuby::Internal::Type::RequestParameters
99

1010
# @!attribute filters
11-
# A JSON encoded value of the filters (a `map[string][]string`) to process on the
12-
# configs list.
13-
#
14-
# Available filters:
15-
#
16-
# - `id=<config id>`
17-
# - `label=<key> or label=<key>=value`
18-
# - `name=<config name>`
19-
# - `names=<config name>`
2011
#
2112
# @return [String, nil]
2213
optional :filters, String
2314

2415
# @!method initialize(filters: nil, request_options: {})
25-
# Some parameter documentations has been truncated, see
26-
# {DockerEngineRuby::Models::ConfigListParams} for more details.
27-
#
28-
# @param filters [String] A JSON encoded value of the filters (a `map[string][]string`) to
29-
#
16+
# @param filters [String]
3017
# @param request_options [DockerEngineRuby::RequestOptions, Hash{Symbol=>Object}]
3118
end
3219
end

lib/docker_engine_ruby/models/config_update_params.rb

Lines changed: 1 addition & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -8,18 +8,12 @@ class ConfigUpdateParams < DockerEngineRuby::Internal::Type::BaseModel
88
include DockerEngineRuby::Internal::Type::RequestParameters
99

1010
# @!attribute version
11-
# The version number of the config object being updated. This is required to avoid
12-
# conflicting writes.
1311
#
1412
# @return [Integer]
1513
required :version, Integer
1614

1715
# @!method initialize(version:, request_options: {})
18-
# Some parameter documentations has been truncated, see
19-
# {DockerEngineRuby::Models::ConfigUpdateParams} for more details.
20-
#
21-
# @param version [Integer] The version number of the config object being updated. This is
22-
#
16+
# @param version [Integer]
2317
# @param request_options [DockerEngineRuby::RequestOptions, Hash{Symbol=>Object}]
2418
end
2519
end

lib/docker_engine_ruby/models/connect_request.rb

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -15,15 +15,16 @@ class ConnectRequest < DockerEngineRuby::Internal::Type::BaseModel
1515
# @return [DockerEngineRuby::Models::ConnectRequest::EndpointConfig, nil]
1616
optional :endpoint_config,
1717
-> { DockerEngineRuby::ConnectRequest::EndpointConfig },
18-
api_name: :EndpointConfig
18+
api_name: :EndpointConfig,
19+
nil?: true
1920

2021
# @!method initialize(container:, endpoint_config: nil)
2122
# NetworkConnectRequest represents the data to be used to connect a container to a
2223
# network.
2324
#
2425
# @param container [String] The ID or name of the container to connect to the network.
2526
#
26-
# @param endpoint_config [DockerEngineRuby::Models::ConnectRequest::EndpointConfig] Configuration for a network endpoint.
27+
# @param endpoint_config [DockerEngineRuby::Models::ConnectRequest::EndpointConfig, nil] Configuration for a network endpoint.
2728

2829
# @see DockerEngineRuby::Models::ConnectRequest#endpoint_config
2930
class EndpointConfig < DockerEngineRuby::Internal::Type::BaseModel
@@ -99,8 +100,7 @@ class EndpointConfig < DockerEngineRuby::Internal::Type::BaseModel
99100
# @return [DockerEngineRuby::Models::ConnectRequest::EndpointConfig::IpamConfig, nil]
100101
optional :ipam_config,
101102
-> { DockerEngineRuby::ConnectRequest::EndpointConfig::IpamConfig },
102-
api_name: :IPAMConfig,
103-
nil?: true
103+
api_name: :IPAMConfig
104104

105105
# @!attribute ip_prefix_len
106106
# Mask length of the IPv4 address.
@@ -156,7 +156,7 @@ class EndpointConfig < DockerEngineRuby::Internal::Type::BaseModel
156156
#
157157
# @param ip_address [String] IPv4 address.
158158
#
159-
# @param ipam_config [DockerEngineRuby::Models::ConnectRequest::EndpointConfig::IpamConfig, nil] EndpointIPAMConfig represents an endpoint's IPAM configuration.
159+
# @param ipam_config [DockerEngineRuby::Models::ConnectRequest::EndpointConfig::IpamConfig] EndpointIPAMConfig represents an endpoint's IPAM configuration.
160160
#
161161
# @param ip_prefix_len [Integer] Mask length of the IPv4 address.
162162
#

0 commit comments

Comments
 (0)