expect-pty 0.7.1 → 0.7.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +5 -0
- data/README.md +4 -4
- data/lib/expect/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 18507dadf6e9120856677f8958b1d01f8de6ead6702a0aabe3afdc21bd8600f2
|
|
4
|
+
data.tar.gz: 43be430fc418a34753c60eeb886984a30896d01bb714d40f9b3f9f12c671b126
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: bdd8a301e1473998ca4fef72d4801ea26df9285791459574e1016f279bad2648661d85680bda7a42486849d99432efa291da27a28fe3af17f8d0f6c36d4ab167
|
|
7
|
+
data.tar.gz: d05ac12ae3fb4cf94fb1c15f89d0df95904e278cc812bb8f9fdcc8160ab729eeb2a16c8abc3831262b7b3187f68b63385693076e206f47928b5cbb5bf273663e
|
data/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
## Unreleased
|
|
4
4
|
|
|
5
|
+
## 0.7.2 - 2026-10-05
|
|
6
|
+
|
|
7
|
+
- **可信发布**:版本标签触发 GitHub Actions,通过 RubyGems OIDC 短期凭据发布,移除静态发布 Secret 依赖。
|
|
8
|
+
- **产物验证**:保留四环境 CI、原包发布与提交内容、GitHub/RubyGems SHA256 回读校验;同步配置和恢复说明。
|
|
9
|
+
|
|
5
10
|
## 0.7.1 - 2026-10-01
|
|
6
11
|
|
|
7
12
|
- **会话接口(不兼容 0.6.x)**:本次发布包含 0.7.0 的显式 `Expect::Session`、操作关键字及标准 Logger 接口;
|
data/README.md
CHANGED
|
@@ -17,7 +17,7 @@ RubyGems/Bundler 解析。推荐入口 **`require "expect/pty"`**;本项目提
|
|
|
17
17
|
项目和仓库名为 `expect-ruby`,Gem 名为 `expect-pty`。在应用的 Gemfile 中添加以下内容,然后运行 `bundle install`:
|
|
18
18
|
|
|
19
19
|
```ruby
|
|
20
|
-
gem "expect-pty", "~> 0.7.
|
|
20
|
+
gem "expect-pty", "~> 0.7.2", require: "expect/pty"
|
|
21
21
|
```
|
|
22
22
|
|
|
23
23
|
也可直接执行 `gem install expect-pty`。需要跟随开发分支时,可从 GitHub 安装:
|
|
@@ -30,8 +30,8 @@ gem "expect-pty", git: "https://github.com/gatework/expect-ruby.git", branch: "m
|
|
|
30
30
|
|
|
31
31
|
```sh
|
|
32
32
|
mkdir -p tmp
|
|
33
|
-
gem build expect-pty.gemspec --output tmp/expect-pty-0.7.
|
|
34
|
-
gem install ./tmp/expect-pty-0.7.
|
|
33
|
+
gem build expect-pty.gemspec --output tmp/expect-pty-0.7.2.gem
|
|
34
|
+
gem install ./tmp/expect-pty-0.7.2.gem
|
|
35
35
|
```
|
|
36
36
|
|
|
37
37
|
```ruby
|
|
@@ -409,7 +409,7 @@ Minitest、Rake、RuboCop 及发布工具的依赖。
|
|
|
409
409
|
|
|
410
410
|
仅发布 RubyGems 使用 `ruby script/release.rb --rubygems-only`,直接复用本机已有的 Gem 登录状态;添加 `--dry-run`
|
|
411
411
|
可先完成本地检查、测试、构建和安装验证。需要同时创建 GitHub Release 时使用 `ruby script/release.rb`,也可以在 GitHub Actions
|
|
412
|
-
|
|
412
|
+
推送版本标签触发 OIDC 可信发布,或手动恢复同一标签。版本准备、可信发布配置和失败重试见 [发布说明](docs/RELEASING.md)。
|
|
413
413
|
|
|
414
414
|
SSH 示例用 `SSH_USER`、`SSH_HOST`、`SSH_KNOWN_HOSTS` 配置,密码隐藏输入或从 `EXPECT_PASSWORD` 读取;非本地主机要求受信任的
|
|
415
415
|
known_hosts 文件。`ssh_auto.rb` 顶部 `COMMANDS` 可直接修改,日志写入 `tmp/ssh-auto/`,权限 0600。
|
data/lib/expect/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: expect-pty
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.7.
|
|
4
|
+
version: 0.7.2
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- expect-pty contributors
|
|
8
8
|
bindir: bin
|
|
9
9
|
cert_chain: []
|
|
10
|
-
date: 2026-10-
|
|
10
|
+
date: 2026-10-05 00:00:00.000000000 Z
|
|
11
11
|
dependencies:
|
|
12
12
|
- !ruby/object:Gem::Dependency
|
|
13
13
|
name: io-console
|