Skip to content

Commit 00637fb

Browse files
release: 0.7.0 (#10)
* feat(api): api update * codegen metadata * codegen metadata * codegen metadata * codegen metadata * codegen metadata * feat(api): api update * chore(internal): remove mock server code * chore: update mock server docs * chore(test): update skip reason message * release: 0.7.0 --------- Co-authored-by: stainless-app[bot] <142633134+stainless-app[bot]@users.noreply.github.com>
1 parent 761dffa commit 00637fb

24 files changed

+123
-200
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.6.0"
2+
".": "0.7.0"
33
}

.stats.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
configured_endpoints: 102
22
openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/hexlet%2Fdocker-7dbd508c79cf09803a2a05ee36b55ae9219a6218f0637891b33e1ac25db10b5d.yml
33
openapi_spec_hash: 16948cc9b83def4e333889ca4e0497f3
4-
config_hash: a0d02ef4b296f2f9edd1fffc571fe475
4+
config_hash: a6764d7382ab85291261b00542e66610

CHANGELOG.md

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

3+
## 0.7.0 (2026-02-20)
4+
5+
Full Changelog: [v0.6.0...v0.7.0](https://github.com/Hexlet/docker-ruby/compare/v0.6.0...v0.7.0)
6+
7+
### Features
8+
9+
* **api:** api update ([abe0981](https://github.com/Hexlet/docker-ruby/commit/abe0981f7d13cb97149f366697e20e5162c956dc))
10+
* **api:** api update ([1261584](https://github.com/Hexlet/docker-ruby/commit/12615849c07a424963bb7e4860f2af35ca8797b8))
11+
12+
13+
### Chores
14+
15+
* **internal:** remove mock server code ([b018989](https://github.com/Hexlet/docker-ruby/commit/b018989e8595f7aa84d3865f7e1799f44b9a95c2))
16+
* **test:** update skip reason message ([efa80f2](https://github.com/Hexlet/docker-ruby/commit/efa80f24d65e2a046fd07742a7b2e05173989ae4))
17+
* update mock server docs ([3583e8a](https://github.com/Hexlet/docker-ruby/commit/3583e8a73605961acce7931c8871b57c11b85a35))
18+
319
## 0.6.0 (2026-02-19)
420

521
Full Changelog: [v0.5.0...v0.6.0](https://github.com/Hexlet/docker-ruby/compare/v0.5.0...v0.6.0)

CONTRIBUTING.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -66,12 +66,6 @@ $ bundle exec rake
6666

6767
## Running tests
6868

69-
Most tests require you to [set up a mock server](https://github.com/stoplightio/prism) against the OpenAPI spec to run the tests.
70-
71-
```bash
72-
$ npx prism mock path/to/your/openapi.yml
73-
```
74-
7569
```bash
7670
$ bundle exec rake test
7771
```

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.6.0)
14+
docker-engine-ruby (0.7.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.6.0"
20+
gem "docker-engine-ruby", "~> 0.7.0"
2121
```
2222

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

lib/docker_engine_ruby/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# frozen_string_literal: true
22

33
module DockerEngineRuby
4-
VERSION = "0.6.0"
4+
VERSION = "0.7.0"
55
end

scripts/mock

Lines changed: 0 additions & 41 deletions
This file was deleted.

scripts/test

Lines changed: 0 additions & 46 deletions
Original file line numberDiff line numberDiff line change
@@ -4,53 +4,7 @@ set -e
44

55
cd -- "$(dirname -- "$0")/.."
66

7-
RED='\033[0;31m'
8-
GREEN='\033[0;32m'
9-
YELLOW='\033[0;33m'
10-
NC='\033[0m' # No Color
117

12-
function prism_is_running() {
13-
curl --silent "http://localhost:4010" >/dev/null 2>&1
14-
}
15-
16-
kill_server_on_port() {
17-
pids=$(lsof -t -i tcp:"$1" || echo "")
18-
if [ "$pids" != "" ]; then
19-
kill "$pids"
20-
echo "Stopped $pids."
21-
fi
22-
}
23-
24-
function is_overriding_api_base_url() {
25-
[ -n "$TEST_API_BASE_URL" ]
26-
}
27-
28-
if ! is_overriding_api_base_url && ! prism_is_running ; then
29-
# When we exit this script, make sure to kill the background mock server process
30-
trap 'kill_server_on_port 4010' EXIT
31-
32-
# Start the dev server
33-
./scripts/mock --daemon
34-
fi
35-
36-
if is_overriding_api_base_url ; then
37-
echo -e "${GREEN}✔ Running tests against ${TEST_API_BASE_URL}${NC}"
38-
echo
39-
elif ! prism_is_running ; then
40-
echo -e "${RED}ERROR:${NC} The test suite will not run without a mock Prism server"
41-
echo -e "running against your OpenAPI spec."
42-
echo
43-
echo -e "To run the server, pass in the path or url of your OpenAPI"
44-
echo -e "spec to the prism command:"
45-
echo
46-
echo -e " \$ ${YELLOW}npm exec --package=@stainless-api/prism-cli@5.15.0 -- prism mock path/to/your.openapi.yml${NC}"
47-
echo
48-
49-
exit 1
50-
else
51-
echo -e "${GREEN}✔ Mock prism server is running with your OpenAPI spec${NC}"
52-
echo
53-
fi
548

559
echo "==> Running tests"
5610
bundle exec rake test "$@"

test/docker_engine_ruby/resources/auth_test.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
class DockerEngineRuby::Test::Resources::AuthTest < DockerEngineRuby::Test::ResourceTest
66
def test_login
7-
skip("Prism tests are disabled")
7+
skip("Mock server tests are disabled")
88

99
response = @docker.auth.login
1010

0 commit comments

Comments
 (0)