expect-pty 0.2.0
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 +7 -0
- data/.rubocop.yml +29 -0
- data/CHANGELOG.md +25 -0
- data/Gemfile +10 -0
- data/LICENSE +21 -0
- data/README.md +264 -0
- data/Rakefile +38 -0
- data/docs/COMPATIBILITY.md +65 -0
- data/docs/RELEASING.md +55 -0
- data/docs/VERIFICATION.md +146 -0
- data/examples/dialogue.rb +30 -0
- data/examples/kibitz/README.md +73 -0
- data/examples/kibitz/kibitz.rb +139 -0
- data/examples/kibitz/test_kibitz.rb +37 -0
- data/examples/ssh_auto.rb +94 -0
- data/examples/ssh_interact.rb +159 -0
- data/examples/ssh_login.rb +64 -0
- data/expect-pty.gemspec +25 -0
- data/lib/expect/configuration.rb +113 -0
- data/lib/expect/engine.rb +141 -0
- data/lib/expect/interconnect.rb +170 -0
- data/lib/expect/pattern.rb +62 -0
- data/lib/expect/pattern_list.rb +90 -0
- data/lib/expect/pty.rb +4 -0
- data/lib/expect/resources.rb +63 -0
- data/lib/expect/result.rb +14 -0
- data/lib/expect/version.rb +6 -0
- data/lib/expect.rb +591 -0
- data/script/ci +44 -0
- data/script/release.rb +267 -0
- data/test/compare_upstream.rb +157 -0
- data/test/configuration_test.rb +90 -0
- data/test/edge_case_test.rb +183 -0
- data/test/fixtures/ssh_scripts/01_identity.sh +4 -0
- data/test/fixtures/ssh_scripts/02_output.sh +5 -0
- data/test/fixtures/ssh_scripts/03_delayed.sh +6 -0
- data/test/fixtures/ssh_scripts/04_failure.sh +2 -0
- data/test/fixtures/ssh_scripts/05_recovery.sh +3 -0
- data/test/integration/README.md +90 -0
- data/test/integration/ssh_scripts.rb +94 -0
- data/test/interact_test.rb +151 -0
- data/test/interconnect_test.rb +226 -0
- data/test/io_test.rb +184 -0
- data/test/kibitz_test.rb +45 -0
- data/test/matching_test.rb +178 -0
- data/test/multi_session_test.rb +66 -0
- data/test/process_test.rb +244 -0
- data/test/release_test.rb +153 -0
- data/test/ruby_api_test.rb +515 -0
- data/test/script_logging_test.rb +124 -0
- data/test/support/interact_probe.rb +125 -0
- data/test/support/kibitz_probe.rb +177 -0
- data/test/support/script_probe.rb +157 -0
- data/test/test_helper.rb +58 -0
- data/test/timeout_test.rb +170 -0
- metadata +97 -0
metadata
ADDED
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
|
2
|
+
name: expect-pty
|
|
3
|
+
version: !ruby/object:Gem::Version
|
|
4
|
+
version: 0.2.0
|
|
5
|
+
platform: ruby
|
|
6
|
+
authors:
|
|
7
|
+
- expect-pty contributors
|
|
8
|
+
bindir: bin
|
|
9
|
+
cert_chain: []
|
|
10
|
+
date: 2026-09-13 00:00:00.000000000 Z
|
|
11
|
+
dependencies: []
|
|
12
|
+
description: Automate interactive programs with exact and regexp matching, Ruby blocks,
|
|
13
|
+
multi-session waits, logging and terminal interaction.
|
|
14
|
+
executables: []
|
|
15
|
+
extensions: []
|
|
16
|
+
extra_rdoc_files: []
|
|
17
|
+
files:
|
|
18
|
+
- ".rubocop.yml"
|
|
19
|
+
- CHANGELOG.md
|
|
20
|
+
- Gemfile
|
|
21
|
+
- LICENSE
|
|
22
|
+
- README.md
|
|
23
|
+
- Rakefile
|
|
24
|
+
- docs/COMPATIBILITY.md
|
|
25
|
+
- docs/RELEASING.md
|
|
26
|
+
- docs/VERIFICATION.md
|
|
27
|
+
- examples/dialogue.rb
|
|
28
|
+
- examples/kibitz/README.md
|
|
29
|
+
- examples/kibitz/kibitz.rb
|
|
30
|
+
- examples/kibitz/test_kibitz.rb
|
|
31
|
+
- examples/ssh_auto.rb
|
|
32
|
+
- examples/ssh_interact.rb
|
|
33
|
+
- examples/ssh_login.rb
|
|
34
|
+
- expect-pty.gemspec
|
|
35
|
+
- lib/expect.rb
|
|
36
|
+
- lib/expect/configuration.rb
|
|
37
|
+
- lib/expect/engine.rb
|
|
38
|
+
- lib/expect/interconnect.rb
|
|
39
|
+
- lib/expect/pattern.rb
|
|
40
|
+
- lib/expect/pattern_list.rb
|
|
41
|
+
- lib/expect/pty.rb
|
|
42
|
+
- lib/expect/resources.rb
|
|
43
|
+
- lib/expect/result.rb
|
|
44
|
+
- lib/expect/version.rb
|
|
45
|
+
- script/ci
|
|
46
|
+
- script/release.rb
|
|
47
|
+
- test/compare_upstream.rb
|
|
48
|
+
- test/configuration_test.rb
|
|
49
|
+
- test/edge_case_test.rb
|
|
50
|
+
- test/fixtures/ssh_scripts/01_identity.sh
|
|
51
|
+
- test/fixtures/ssh_scripts/02_output.sh
|
|
52
|
+
- test/fixtures/ssh_scripts/03_delayed.sh
|
|
53
|
+
- test/fixtures/ssh_scripts/04_failure.sh
|
|
54
|
+
- test/fixtures/ssh_scripts/05_recovery.sh
|
|
55
|
+
- test/integration/README.md
|
|
56
|
+
- test/integration/ssh_scripts.rb
|
|
57
|
+
- test/interact_test.rb
|
|
58
|
+
- test/interconnect_test.rb
|
|
59
|
+
- test/io_test.rb
|
|
60
|
+
- test/kibitz_test.rb
|
|
61
|
+
- test/matching_test.rb
|
|
62
|
+
- test/multi_session_test.rb
|
|
63
|
+
- test/process_test.rb
|
|
64
|
+
- test/release_test.rb
|
|
65
|
+
- test/ruby_api_test.rb
|
|
66
|
+
- test/script_logging_test.rb
|
|
67
|
+
- test/support/interact_probe.rb
|
|
68
|
+
- test/support/kibitz_probe.rb
|
|
69
|
+
- test/support/script_probe.rb
|
|
70
|
+
- test/test_helper.rb
|
|
71
|
+
- test/timeout_test.rb
|
|
72
|
+
homepage: https://github.com/gatework/expect-ruby
|
|
73
|
+
licenses:
|
|
74
|
+
- MIT
|
|
75
|
+
metadata:
|
|
76
|
+
rubygems_mfa_required: 'true'
|
|
77
|
+
source_code_uri: https://github.com/gatework/expect-ruby
|
|
78
|
+
changelog_uri: https://github.com/gatework/expect-ruby/blob/main/CHANGELOG.md
|
|
79
|
+
bug_tracker_uri: https://github.com/gatework/expect-ruby/issues
|
|
80
|
+
rdoc_options: []
|
|
81
|
+
require_paths:
|
|
82
|
+
- lib
|
|
83
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
|
84
|
+
requirements:
|
|
85
|
+
- - ">="
|
|
86
|
+
- !ruby/object:Gem::Version
|
|
87
|
+
version: '3.2'
|
|
88
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
89
|
+
requirements:
|
|
90
|
+
- - ">="
|
|
91
|
+
- !ruby/object:Gem::Version
|
|
92
|
+
version: '0'
|
|
93
|
+
requirements: []
|
|
94
|
+
rubygems_version: 4.0.16
|
|
95
|
+
specification_version: 4
|
|
96
|
+
summary: Ruby PTY automation with the Expect.pm interaction model
|
|
97
|
+
test_files: []
|