ipt 1.0.1 → 2.1.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 +5 -5
- data/.github/workflows/test.yml +41 -0
- data/.gitignore +0 -1
- data/Gemfile.lock +318 -0
- data/README.md +1 -1
- data/bin/tapioca +29 -0
- data/ipt.gemspec +15 -8
- data/lib/pt.rb +8 -9
- data/lib/pt/action.rb +42 -24
- data/lib/pt/cli.rb +1 -1
- data/lib/pt/client.rb +2 -3
- data/lib/pt/configuration.rb +1 -1
- data/lib/pt/data_row.rb +1 -0
- data/lib/pt/data_table.rb +1 -2
- data/lib/pt/io.rb +16 -7
- data/lib/pt/version.rb +2 -1
- data/sorbet/config +3 -0
- data/sorbet/rbi/gems/activesupport.rbi +671 -0
- data/sorbet/rbi/gems/activesupport@6.1.3.2.rbi +63 -0
- data/sorbet/rbi/gems/addressable.rbi +147 -0
- data/sorbet/rbi/gems/addressable@2.7.0.rbi +8 -0
- data/sorbet/rbi/gems/anyway_config.rbi +197 -0
- data/sorbet/rbi/gems/anyway_config@2.1.0.rbi +8 -0
- data/sorbet/rbi/gems/aruba.rbi +917 -0
- data/sorbet/rbi/gems/aruba@0.14.14.rbi +1342 -0
- data/sorbet/rbi/gems/ast.rbi +49 -0
- data/sorbet/rbi/gems/ast@2.4.2.rbi +54 -0
- data/sorbet/rbi/gems/axiom-types@0.1.1.rbi +8 -0
- data/sorbet/rbi/gems/builder@3.2.4.rbi +15 -0
- data/sorbet/rbi/gems/childprocess.rbi +107 -0
- data/sorbet/rbi/gems/childprocess@3.0.0.rbi +135 -0
- data/sorbet/rbi/gems/coderay.rbi +285 -0
- data/sorbet/rbi/gems/coderay@1.1.3.rbi +1005 -0
- data/sorbet/rbi/gems/coercible@1.0.0.rbi +8 -0
- data/sorbet/rbi/gems/colorize.rbi +82 -0
- data/sorbet/rbi/gems/colorize@0.8.1.rbi +39 -0
- data/sorbet/rbi/gems/commander@4.6.0.rbi +8 -0
- data/sorbet/rbi/gems/concurrent-ruby.rbi +1590 -0
- data/sorbet/rbi/gems/concurrent-ruby@1.1.8.rbi +8 -0
- data/sorbet/rbi/gems/config.rbi +124 -0
- data/sorbet/rbi/gems/config@3.1.0.rbi +8 -0
- data/sorbet/rbi/gems/contracts.rbi +391 -0
- data/sorbet/rbi/gems/contracts@0.16.1.rbi +592 -0
- data/sorbet/rbi/gems/cucumber-core.rbi +628 -0
- data/sorbet/rbi/gems/cucumber-core@9.0.0.rbi +8 -0
- data/sorbet/rbi/gems/cucumber-create-meta.rbi +27 -0
- data/sorbet/rbi/gems/cucumber-create-meta@4.0.0.rbi +8 -0
- data/sorbet/rbi/gems/cucumber-cucumber-expressions.rbi +216 -0
- data/sorbet/rbi/gems/cucumber-cucumber-expressions@12.1.1.rbi +8 -0
- data/sorbet/rbi/gems/cucumber-gherkin.rbi +289 -0
- data/sorbet/rbi/gems/cucumber-gherkin@18.1.1.rbi +8 -0
- data/sorbet/rbi/gems/cucumber-html-formatter@13.0.0.rbi +8 -0
- data/sorbet/rbi/gems/cucumber-messages.rbi +872 -0
- data/sorbet/rbi/gems/cucumber-messages@15.0.0.rbi +8 -0
- data/sorbet/rbi/gems/cucumber-tag-expressions.rbi +53 -0
- data/sorbet/rbi/gems/cucumber-tag-expressions@3.0.1.rbi +8 -0
- data/sorbet/rbi/gems/cucumber-wire.rbi +161 -0
- data/sorbet/rbi/gems/cucumber-wire@5.0.0.rbi +8 -0
- data/sorbet/rbi/gems/cucumber.rbi +1876 -0
- data/sorbet/rbi/gems/cucumber@6.0.0.rbi +8 -0
- data/sorbet/rbi/gems/declarative.rbi +75 -0
- data/sorbet/rbi/gems/declarative@0.0.20.rbi +8 -0
- data/sorbet/rbi/gems/deep_merge.rbi +26 -0
- data/sorbet/rbi/gems/deep_merge@1.2.1.rbi +8 -0
- data/sorbet/rbi/gems/descendants_tracker@0.0.4.rbi +8 -0
- data/sorbet/rbi/gems/diff-lcs@1.4.4.rbi +8 -0
- data/sorbet/rbi/gems/dry-configurable@0.12.1.rbi +8 -0
- data/sorbet/rbi/gems/dry-container@0.7.2.rbi +8 -0
- data/sorbet/rbi/gems/dry-core@0.5.0.rbi +8 -0
- data/sorbet/rbi/gems/dry-equalizer@0.3.0.rbi +8 -0
- data/sorbet/rbi/gems/dry-inflector@0.2.0.rbi +8 -0
- data/sorbet/rbi/gems/dry-initializer@3.0.4.rbi +8 -0
- data/sorbet/rbi/gems/dry-logic@1.2.0.rbi +8 -0
- data/sorbet/rbi/gems/dry-schema@1.6.2.rbi +8 -0
- data/sorbet/rbi/gems/dry-types@1.5.1.rbi +8 -0
- data/sorbet/rbi/gems/dry-validation@1.6.0.rbi +8 -0
- data/sorbet/rbi/gems/equalizer.rbi +23 -0
- data/sorbet/rbi/gems/equalizer@0.0.11.rbi +8 -0
- data/sorbet/rbi/gems/equatable.rbi +26 -0
- data/sorbet/rbi/gems/equatable@0.5.0.rbi +8 -0
- data/sorbet/rbi/gems/excon.rbi +378 -0
- data/sorbet/rbi/gems/excon@0.81.0.rbi +8 -0
- data/sorbet/rbi/gems/faraday-excon.rbi +28 -0
- data/sorbet/rbi/gems/faraday-excon@1.1.0.rbi +8 -0
- data/sorbet/rbi/gems/faraday-net_http.rbi +32 -0
- data/sorbet/rbi/gems/faraday-net_http@1.0.1.rbi +8 -0
- data/sorbet/rbi/gems/faraday-net_http_persistent.rbi +24 -0
- data/sorbet/rbi/gems/faraday-net_http_persistent@1.1.0.rbi +8 -0
- data/sorbet/rbi/gems/faraday.rbi +606 -0
- data/sorbet/rbi/gems/faraday@1.4.1.rbi +8 -0
- data/sorbet/rbi/gems/faraday_middleware.rbi +19 -0
- data/sorbet/rbi/gems/faraday_middleware@1.0.0.rbi +8 -0
- data/sorbet/rbi/gems/ffi.rbi +560 -0
- data/sorbet/rbi/gems/ffi@1.15.0.rbi +849 -0
- data/sorbet/rbi/gems/formatador.rbi +52 -0
- data/sorbet/rbi/gems/formatador@0.2.5.rbi +8 -0
- data/sorbet/rbi/gems/guard-compat@1.2.1.rbi +49 -0
- data/sorbet/rbi/gems/guard-rspec@4.7.3.rbi +233 -0
- data/sorbet/rbi/gems/guard.rbi +397 -0
- data/sorbet/rbi/gems/guard@2.16.2.rbi +615 -0
- data/sorbet/rbi/gems/highline.rbi +567 -0
- data/sorbet/rbi/gems/highline@2.0.3.rbi +8 -0
- data/sorbet/rbi/gems/i18n.rbi +133 -0
- data/sorbet/rbi/gems/i18n@1.8.10.rbi +8 -0
- data/sorbet/rbi/gems/ice_nine@0.11.2.rbi +8 -0
- data/sorbet/rbi/gems/listen.rbi +301 -0
- data/sorbet/rbi/gems/listen@3.5.1.rbi +476 -0
- data/sorbet/rbi/gems/lumberjack.rbi +299 -0
- data/sorbet/rbi/gems/lumberjack@1.2.8.rbi +431 -0
- data/sorbet/rbi/gems/method_source.rbi +64 -0
- data/sorbet/rbi/gems/method_source@1.0.0.rbi +72 -0
- data/sorbet/rbi/gems/middleware.rbi +32 -0
- data/sorbet/rbi/gems/middleware@0.1.0.rbi +8 -0
- data/sorbet/rbi/gems/mime-types-data.rbi +17 -0
- data/sorbet/rbi/gems/mime-types-data@3.2021.0225.rbi +8 -0
- data/sorbet/rbi/gems/mime-types.rbi +218 -0
- data/sorbet/rbi/gems/mime-types@3.3.1.rbi +8 -0
- data/sorbet/rbi/gems/mini_mime.rbi +52 -0
- data/sorbet/rbi/gems/mini_mime@1.1.0.rbi +8 -0
- data/sorbet/rbi/gems/minitest@5.14.4.rbi +8 -0
- data/sorbet/rbi/gems/multi_json.rbi +62 -0
- data/sorbet/rbi/gems/multi_json@1.15.0.rbi +8 -0
- data/sorbet/rbi/gems/multi_test.rbi +28 -0
- data/sorbet/rbi/gems/multi_test@0.1.2.rbi +8 -0
- data/sorbet/rbi/gems/multipart-post.rbi +53 -0
- data/sorbet/rbi/gems/multipart-post@2.1.1.rbi +8 -0
- data/sorbet/rbi/gems/necromancer.rbi +135 -0
- data/sorbet/rbi/gems/necromancer@0.3.0.rbi +8 -0
- data/sorbet/rbi/gems/nenv.rbi +60 -0
- data/sorbet/rbi/gems/nenv@0.3.0.rbi +88 -0
- data/sorbet/rbi/gems/notiffany.rbi +215 -0
- data/sorbet/rbi/gems/notiffany@0.1.3.rbi +323 -0
- data/sorbet/rbi/gems/paint.rbi +31 -0
- data/sorbet/rbi/gems/paint@2.2.1.rbi +8 -0
- data/sorbet/rbi/gems/parlour.rbi +840 -0
- data/sorbet/rbi/gems/parlour@6.0.0.rbi +1610 -0
- data/sorbet/rbi/gems/parser.rbi +1517 -0
- data/sorbet/rbi/gems/parser@3.0.1.1.rbi +1726 -0
- data/sorbet/rbi/gems/pastel.rbi +128 -0
- data/sorbet/rbi/gems/pastel@0.6.1.rbi +8 -0
- data/sorbet/rbi/gems/protobuf-cucumber.rbi +1520 -0
- data/sorbet/rbi/gems/protobuf-cucumber@3.10.8.rbi +8 -0
- data/sorbet/rbi/gems/pry.rbi +1898 -0
- data/sorbet/rbi/gems/pry@0.14.1.rbi +2486 -0
- data/sorbet/rbi/gems/public_suffix.rbi +104 -0
- data/sorbet/rbi/gems/public_suffix@4.0.6.rbi +8 -0
- data/sorbet/rbi/gems/rainbow.rbi +118 -0
- data/sorbet/rbi/gems/rainbow@3.0.0.rbi +153 -0
- data/sorbet/rbi/gems/rake.rbi +647 -0
- data/sorbet/rbi/gems/rake@10.5.0.rbi +805 -0
- data/sorbet/rbi/gems/rb-fsevent@0.11.0.rbi +8 -0
- data/sorbet/rbi/gems/rb-inotify@0.10.1.rbi +8 -0
- data/sorbet/rbi/gems/representable.rbi +227 -0
- data/sorbet/rbi/gems/representable@3.1.1.rbi +8 -0
- data/sorbet/rbi/gems/rspec-core.rbi +1932 -0
- data/sorbet/rbi/gems/rspec-core@3.10.1.rbi +2455 -0
- data/sorbet/rbi/gems/rspec-expectations.rbi +1151 -0
- data/sorbet/rbi/gems/rspec-expectations@3.10.1.rbi +1652 -0
- data/sorbet/rbi/gems/rspec-mocks.rbi +1100 -0
- data/sorbet/rbi/gems/rspec-mocks@3.10.2.rbi +1462 -0
- data/sorbet/rbi/gems/rspec-support.rbi +280 -0
- data/sorbet/rbi/gems/rspec-support@3.10.2.rbi +509 -0
- data/sorbet/rbi/gems/rspec.rbi +15 -0
- data/sorbet/rbi/gems/rspec@3.10.0.rbi +38 -0
- data/sorbet/rbi/gems/ruby-next-core.rbi +76 -0
- data/sorbet/rbi/gems/ruby-next-core@0.12.0.rbi +7 -0
- data/sorbet/rbi/gems/ruby2_keywords@0.0.4.rbi +8 -0
- data/sorbet/rbi/gems/shellany.rbi +29 -0
- data/sorbet/rbi/gems/shellany@0.0.1.rbi +28 -0
- data/sorbet/rbi/gems/spoom.rbi +872 -0
- data/sorbet/rbi/gems/spoom@1.1.1.rbi +1193 -0
- data/sorbet/rbi/gems/sys-uname.rbi +66 -0
- data/sorbet/rbi/gems/sys-uname@1.2.2.rbi +8 -0
- data/sorbet/rbi/gems/tapioca.rbi +39 -0
- data/sorbet/rbi/gems/tapioca@0.4.23.rbi +1230 -0
- data/sorbet/rbi/gems/terminal-table.rbi +166 -0
- data/sorbet/rbi/gems/terminal-table@3.0.0.rbi +8 -0
- data/sorbet/rbi/gems/thor.rbi +537 -0
- data/sorbet/rbi/gems/thor@1.1.0.rbi +838 -0
- data/sorbet/rbi/gems/thread_safe@0.3.6.rbi +8 -0
- data/sorbet/rbi/gems/tracker_api.rbi +33 -0
- data/sorbet/rbi/gems/tracker_api@1.13.0.rbi +21 -0
- data/sorbet/rbi/gems/trailblazer-option.rbi +22 -0
- data/sorbet/rbi/gems/trailblazer-option@0.1.1.rbi +8 -0
- data/sorbet/rbi/gems/tty-color.rbi +41 -0
- data/sorbet/rbi/gems/tty-color@0.3.0.rbi +8 -0
- data/sorbet/rbi/gems/tty-command@0.1.0.rbi +8 -0
- data/sorbet/rbi/gems/tty-cursor@0.3.0.rbi +8 -0
- data/sorbet/rbi/gems/tty-pager.rbi +41 -0
- data/sorbet/rbi/gems/tty-pager@0.4.0.rbi +8 -0
- data/sorbet/rbi/gems/tty-platform.rbi +36 -0
- data/sorbet/rbi/gems/tty-platform@0.1.0.rbi +8 -0
- data/sorbet/rbi/gems/tty-progressbar.rbi +164 -0
- data/sorbet/rbi/gems/tty-progressbar@0.9.0.rbi +8 -0
- data/sorbet/rbi/gems/tty-prompt@0.6.0.rbi +8 -0
- data/sorbet/rbi/gems/tty-screen.rbi +40 -0
- data/sorbet/rbi/gems/tty-screen@0.5.1.rbi +8 -0
- data/sorbet/rbi/gems/tty-spinner.rbi +40 -0
- data/sorbet/rbi/gems/tty-spinner@0.2.0.rbi +8 -0
- data/sorbet/rbi/gems/tty-table.rbi +417 -0
- data/sorbet/rbi/gems/tty-table@0.5.0.rbi +8 -0
- data/sorbet/rbi/gems/tty-which.rbi +22 -0
- data/sorbet/rbi/gems/tty-which@0.1.0.rbi +8 -0
- data/sorbet/rbi/gems/tty.rbi +126 -0
- data/sorbet/rbi/gems/tty@0.5.0.rbi +8 -0
- data/sorbet/rbi/gems/tzinfo.rbi +588 -0
- data/sorbet/rbi/gems/tzinfo@2.0.4.rbi +8 -0
- data/sorbet/rbi/gems/uber.rbi +18 -0
- data/sorbet/rbi/gems/uber@0.1.0.rbi +8 -0
- data/sorbet/rbi/gems/unicode-display_width.rbi +17 -0
- data/sorbet/rbi/gems/unicode-display_width@1.7.0.rbi +8 -0
- data/sorbet/rbi/gems/unicode_utils.rbi +171 -0
- data/sorbet/rbi/gems/unicode_utils@1.4.0.rbi +8 -0
- data/sorbet/rbi/gems/vcr.rbi +582 -0
- data/sorbet/rbi/gems/vcr@6.0.0.rbi +782 -0
- data/sorbet/rbi/gems/verse.rbi +87 -0
- data/sorbet/rbi/gems/verse@0.4.0.rbi +8 -0
- data/sorbet/rbi/gems/virtus@1.0.5.rbi +8 -0
- data/sorbet/rbi/gems/wisper@1.6.1.rbi +8 -0
- data/sorbet/rbi/gems/zeitwerk.rbi +139 -0
- data/sorbet/rbi/gems/zeitwerk@2.4.2.rbi +8 -0
- data/sorbet/rbi/hidden-definitions/errors.txt +8695 -0
- data/sorbet/rbi/hidden-definitions/hidden.rbi +18529 -0
- data/sorbet/rbi/sorbet-typed/lib/activesupport/>=6/activesupport.rbi +37 -0
- data/sorbet/rbi/sorbet-typed/lib/activesupport/all/activesupport.rbi +1850 -0
- data/sorbet/rbi/sorbet-typed/lib/faraday/all/faraday.rbi +756 -0
- data/sorbet/rbi/sorbet-typed/lib/minitest/all/minitest.rbi +108 -0
- data/sorbet/rbi/sorbet-typed/lib/parlour/6.0.0/parlour.rbi +1903 -0
- data/sorbet/rbi/sorbet-typed/lib/rainbow/all/rainbow.rbi +276 -0
- data/sorbet/rbi/sorbet-typed/lib/rake/all/rake.rbi +645 -0
- data/sorbet/rbi/sorbet-typed/lib/rspec-core/all/rspec-core.rbi +1891 -0
- data/sorbet/rbi/sorbet-typed/lib/thor/all/thor.rbi +905 -0
- data/sorbet/rbi/todo.rbi +23 -0
- data/sorbet/tapioca/require.rb +4 -0
- metadata +341 -23
@@ -0,0 +1,1342 @@
|
|
1
|
+
# DO NOT EDIT MANUALLY
|
2
|
+
# This is an autogenerated file for types exported from the `aruba` gem.
|
3
|
+
# Please instead update this file by running `bin/tapioca sync`.
|
4
|
+
|
5
|
+
# typed: true
|
6
|
+
|
7
|
+
module Aruba
|
8
|
+
class << self
|
9
|
+
def config; end
|
10
|
+
def configure(&block); end
|
11
|
+
def platform; end
|
12
|
+
def process; end
|
13
|
+
def process=(_arg0); end
|
14
|
+
end
|
15
|
+
end
|
16
|
+
|
17
|
+
module Aruba::Api
|
18
|
+
include ::Aruba::Api::Text
|
19
|
+
include ::Aruba::Api::Core
|
20
|
+
include ::Aruba::Api::Commands
|
21
|
+
include ::Aruba::Api::Environment
|
22
|
+
include ::Aruba::Api::Filesystem
|
23
|
+
include ::Aruba::Api::Bundler
|
24
|
+
include ::Aruba::Api::Deprecated
|
25
|
+
include ::RSpec::Matchers
|
26
|
+
end
|
27
|
+
|
28
|
+
module Aruba::Api::Bundler
|
29
|
+
include ::Aruba::Api::Environment
|
30
|
+
|
31
|
+
def unset_bundler_env_vars; end
|
32
|
+
end
|
33
|
+
|
34
|
+
module Aruba::Api::Commands
|
35
|
+
def all_commands; end
|
36
|
+
def all_output; end
|
37
|
+
def all_stderr; end
|
38
|
+
def all_stdout; end
|
39
|
+
def close_input; end
|
40
|
+
def find_command(commandline); end
|
41
|
+
def last_command_started; end
|
42
|
+
def last_command_stopped; end
|
43
|
+
def pipe_in_file(file_name); end
|
44
|
+
def run_command(*args); end
|
45
|
+
def run_command_and_stop(*args); end
|
46
|
+
def stop_all_commands(&block); end
|
47
|
+
def terminate_all_commands(&block); end
|
48
|
+
def type(input); end
|
49
|
+
def which(program, path = T.unsafe(nil)); end
|
50
|
+
end
|
51
|
+
|
52
|
+
module Aruba::Api::Core
|
53
|
+
include ::RSpec::Matchers
|
54
|
+
|
55
|
+
def aruba; end
|
56
|
+
def cd(dir, &block); end
|
57
|
+
def expand_path(file_name, dir_string = T.unsafe(nil)); end
|
58
|
+
def in_current_directory(&block); end
|
59
|
+
def setup_aruba(clobber = T.unsafe(nil)); end
|
60
|
+
def with_environment(env = T.unsafe(nil), &block); end
|
61
|
+
end
|
62
|
+
|
63
|
+
module Aruba::Api::Deprecated
|
64
|
+
def _create_file(name, content, check_presence); end
|
65
|
+
def _create_fixed_size_file(file_name, file_size, check_presence); end
|
66
|
+
def _ensure_newline(str); end
|
67
|
+
def _mkdir(dir_name); end
|
68
|
+
def _read_interactive; end
|
69
|
+
def _rm(dir_name); end
|
70
|
+
def _write_interactive(input); end
|
71
|
+
def absolute_path(*args); end
|
72
|
+
def announce_or_puts(msg); end
|
73
|
+
def announcer; end
|
74
|
+
def append_output_to(message); end
|
75
|
+
def assert_exact_output(expected, actual); end
|
76
|
+
def assert_exit_status(status); end
|
77
|
+
def assert_exit_status_and_output(expect_to_pass, expected_output, expect_exact_output); end
|
78
|
+
def assert_exit_status_and_partial_output(expect_to_pass, expected); end
|
79
|
+
def assert_failing_with(expected); end
|
80
|
+
def assert_matching_output(expected, actual); end
|
81
|
+
def assert_no_partial_output(unexpected, actual); end
|
82
|
+
def assert_not_exit_status(status); end
|
83
|
+
def assert_not_matching_output(expected, actual); end
|
84
|
+
def assert_partial_output(expected, actual); end
|
85
|
+
def assert_partial_output_interactive(expected); end
|
86
|
+
def assert_passing_with(expected); end
|
87
|
+
def assert_success(success); end
|
88
|
+
def check_binary_file_content(file, reference_file, expect_match = T.unsafe(nil)); end
|
89
|
+
def check_directory_presence(paths, expect_presence); end
|
90
|
+
def check_exact_file_content(file, exact_content, expect_match = T.unsafe(nil)); end
|
91
|
+
def check_file_content(file, content, expect_match = T.unsafe(nil)); end
|
92
|
+
def check_file_presence(paths, expect_presence = T.unsafe(nil)); end
|
93
|
+
def check_file_size(paths_and_sizes); end
|
94
|
+
def check_filesystem_permissions(*args); end
|
95
|
+
def check_for_deprecated_variables; end
|
96
|
+
def clean_current_dir(*args, &block); end
|
97
|
+
def clean_current_directory; end
|
98
|
+
def create_dir(*args); end
|
99
|
+
def current_dir(*args, &block); end
|
100
|
+
def current_directory; end
|
101
|
+
def current_ruby; end
|
102
|
+
def detect_ruby(cmd); end
|
103
|
+
def dirs; end
|
104
|
+
def eot; end
|
105
|
+
def exit_timeout; end
|
106
|
+
def filesystem_permissions(*args); end
|
107
|
+
def fixtures_directory; end
|
108
|
+
def get_process(wanted); end
|
109
|
+
def in_current_dir(&block); end
|
110
|
+
def io_wait; end
|
111
|
+
def last_command; end
|
112
|
+
def last_exit_status; end
|
113
|
+
def mod?(file, perms, &block); end
|
114
|
+
def only_processes; end
|
115
|
+
def original_env; end
|
116
|
+
def output_from(cmd); end
|
117
|
+
def prep_for_fs_check(&block); end
|
118
|
+
def process_monitor; end
|
119
|
+
def processes; end
|
120
|
+
def register_process(*args); end
|
121
|
+
def remove_dir(*args); end
|
122
|
+
def remove_directory(*args); end
|
123
|
+
def remove_file(*args); end
|
124
|
+
def restore_env; end
|
125
|
+
def root_directory; end
|
126
|
+
def run(*args); end
|
127
|
+
def run_interactive(cmd); end
|
128
|
+
def run_simple(*args); end
|
129
|
+
def set_env(key, value); end
|
130
|
+
def stderr_from(cmd); end
|
131
|
+
def stdout_from(cmd); end
|
132
|
+
def stop_process(process); end
|
133
|
+
def stop_processes!; end
|
134
|
+
def terminate_process(process); end
|
135
|
+
def terminate_processes!; end
|
136
|
+
def touch_file(*args); end
|
137
|
+
def unescape(string, keep_ansi = T.unsafe(nil)); end
|
138
|
+
def use_clean_gemset(gemset); end
|
139
|
+
def with_env(env = T.unsafe(nil), &block); end
|
140
|
+
end
|
141
|
+
|
142
|
+
module Aruba::Api::Environment
|
143
|
+
def append_environment_variable(name, value); end
|
144
|
+
def delete_environment_variable(name); end
|
145
|
+
def prepend_environment_variable(name, value); end
|
146
|
+
def set_environment_variable(name, value); end
|
147
|
+
end
|
148
|
+
|
149
|
+
module Aruba::Api::Filesystem
|
150
|
+
def absolute?(path); end
|
151
|
+
def all_directories; end
|
152
|
+
def all_files; end
|
153
|
+
def all_paths; end
|
154
|
+
def append_to_file(file_name, file_content); end
|
155
|
+
def chmod(*args); end
|
156
|
+
def copy(*args); end
|
157
|
+
def create_directory(directory_name); end
|
158
|
+
def directory(path); end
|
159
|
+
def directory?(file); end
|
160
|
+
def disk_usage(*paths); end
|
161
|
+
def executable?(path); end
|
162
|
+
def exist?(file_or_directory); end
|
163
|
+
def file?(file); end
|
164
|
+
def file_size(name); end
|
165
|
+
def list(name); end
|
166
|
+
def move(*args); end
|
167
|
+
def overwrite_file(name, content); end
|
168
|
+
def read(name); end
|
169
|
+
def relative?(path); end
|
170
|
+
def remove(*args); end
|
171
|
+
def touch(*args); end
|
172
|
+
def with_file_content(file, &block); end
|
173
|
+
def write_file(name, content); end
|
174
|
+
def write_fixed_size_file(name, size); end
|
175
|
+
end
|
176
|
+
|
177
|
+
module Aruba::Api::Text
|
178
|
+
def extract_text(text); end
|
179
|
+
def replace_variables(text); end
|
180
|
+
def sanitize_text(text); end
|
181
|
+
def unescape_text(text); end
|
182
|
+
end
|
183
|
+
|
184
|
+
class Aruba::ArubaLogger
|
185
|
+
def initialize(opts = T.unsafe(nil)); end
|
186
|
+
|
187
|
+
def debug(msg); end
|
188
|
+
def error(msg); end
|
189
|
+
def fatal(msg); end
|
190
|
+
def info(msg); end
|
191
|
+
def logger; end
|
192
|
+
def mode; end
|
193
|
+
def mode=(m); end
|
194
|
+
def mode?(m); end
|
195
|
+
def unknown(msg); end
|
196
|
+
def warn(msg); end
|
197
|
+
|
198
|
+
private
|
199
|
+
|
200
|
+
def format_debug(l); end
|
201
|
+
def format_standard(l); end
|
202
|
+
end
|
203
|
+
|
204
|
+
class Aruba::ArubaPath
|
205
|
+
def initialize(path); end
|
206
|
+
|
207
|
+
def <<(p); end
|
208
|
+
def [](index); end
|
209
|
+
def __getobj__; end
|
210
|
+
def __setobj__(obj); end
|
211
|
+
def blocks; end
|
212
|
+
def depth; end
|
213
|
+
def end_with?(string); end
|
214
|
+
def pop; end
|
215
|
+
def push(p); end
|
216
|
+
def start_with?(string); end
|
217
|
+
end
|
218
|
+
|
219
|
+
class Aruba::BasicConfiguration
|
220
|
+
extend ::Contracts::Core
|
221
|
+
include ::Contracts::Builtin
|
222
|
+
include ::Contracts
|
223
|
+
include ::Contracts::Core
|
224
|
+
extend ::Contracts::MethodDecorators
|
225
|
+
extend ::Contracts::Attrs
|
226
|
+
extend ::Contracts::Builtin
|
227
|
+
extend ::Contracts
|
228
|
+
include ::Contracts::Attrs
|
229
|
+
|
230
|
+
def initialize; end
|
231
|
+
|
232
|
+
def ==(other); end
|
233
|
+
def Contract(*args); end
|
234
|
+
def after(name, context = T.unsafe(nil), *args, &block); end
|
235
|
+
def after?(name); end
|
236
|
+
def before(name, context = T.unsafe(nil), *args, &block); end
|
237
|
+
def before?(name); end
|
238
|
+
def before_cmd(&block); end
|
239
|
+
def configure; end
|
240
|
+
def functype(funcname); end
|
241
|
+
def hooks; end
|
242
|
+
def make_copy; end
|
243
|
+
def option?(name); end
|
244
|
+
def reset; end
|
245
|
+
def set_if_option(name, *args); end
|
246
|
+
|
247
|
+
protected
|
248
|
+
|
249
|
+
def hooks=(_arg0); end
|
250
|
+
def local_options; end
|
251
|
+
def local_options=(_arg0); end
|
252
|
+
|
253
|
+
private
|
254
|
+
|
255
|
+
def find_option(name); end
|
256
|
+
def initialize_configuration; end
|
257
|
+
|
258
|
+
class << self
|
259
|
+
def Contract(*args); end
|
260
|
+
def __contracts_engine; end
|
261
|
+
def functype(funcname); end
|
262
|
+
def known_options; end
|
263
|
+
def option_accessor(name, opts = T.unsafe(nil)); end
|
264
|
+
def option_reader(name, opts = T.unsafe(nil)); end
|
265
|
+
|
266
|
+
private
|
267
|
+
|
268
|
+
def add_option(name, value = T.unsafe(nil)); end
|
269
|
+
end
|
270
|
+
end
|
271
|
+
|
272
|
+
class Aruba::BasicConfiguration::Option
|
273
|
+
def initialize(opts = T.unsafe(nil)); end
|
274
|
+
|
275
|
+
def ==(other); end
|
276
|
+
def default_value; end
|
277
|
+
def name; end
|
278
|
+
def name=(_arg0); end
|
279
|
+
def value; end
|
280
|
+
def value=(_arg0); end
|
281
|
+
end
|
282
|
+
|
283
|
+
class Aruba::Colorizer
|
284
|
+
def cyan(string); end
|
285
|
+
|
286
|
+
class << self
|
287
|
+
def coloring; end
|
288
|
+
def coloring=(_arg0); end
|
289
|
+
def coloring?; end
|
290
|
+
end
|
291
|
+
end
|
292
|
+
|
293
|
+
class Aruba::Command < ::SimpleDelegator
|
294
|
+
def initialize(command, opts = T.unsafe(nil)); end
|
295
|
+
|
296
|
+
def run!; end
|
297
|
+
def start; end
|
298
|
+
def stop(*_arg0); end
|
299
|
+
def terminate(*_arg0); end
|
300
|
+
|
301
|
+
private
|
302
|
+
|
303
|
+
def event_bus; end
|
304
|
+
end
|
305
|
+
|
306
|
+
class Aruba::CommandAlreadyStartedError < ::Aruba::Error; end
|
307
|
+
class Aruba::CommandAlreadyStoppedError < ::Aruba::Error; end
|
308
|
+
|
309
|
+
class Aruba::CommandMonitor
|
310
|
+
def initialize(opts = T.unsafe(nil)); end
|
311
|
+
|
312
|
+
def all_output; end
|
313
|
+
def all_stderr; end
|
314
|
+
def all_stdout; end
|
315
|
+
def clear; end
|
316
|
+
def find(cmd); end
|
317
|
+
def get_process(wanted); end
|
318
|
+
def last_command_started; end
|
319
|
+
def last_command_started=(cmd); end
|
320
|
+
def last_command_stopped; end
|
321
|
+
def last_command_stopped=(cmd); end
|
322
|
+
def last_exit_status; end
|
323
|
+
def only_processes; end
|
324
|
+
def output_from(cmd); end
|
325
|
+
def register_command(cmd); end
|
326
|
+
def registered_commands; end
|
327
|
+
def stderr_from(cmd); end
|
328
|
+
def stdout_from(cmd); end
|
329
|
+
def stop_process(process); end
|
330
|
+
def stop_processes!; end
|
331
|
+
def terminate_process!(process); end
|
332
|
+
def terminate_processes; end
|
333
|
+
|
334
|
+
private
|
335
|
+
|
336
|
+
def announcer; end
|
337
|
+
end
|
338
|
+
|
339
|
+
class Aruba::CommandMonitor::DefaultLastCommandStarted
|
340
|
+
def method_missing(*_arg0); end
|
341
|
+
def nil?; end
|
342
|
+
end
|
343
|
+
|
344
|
+
class Aruba::CommandMonitor::DefaultLastCommandStopped
|
345
|
+
def method_missing(*_arg0); end
|
346
|
+
def nil?; end
|
347
|
+
end
|
348
|
+
|
349
|
+
class Aruba::CommandNotFoundError < ::ArgumentError; end
|
350
|
+
|
351
|
+
class Aruba::Config < ::Aruba::Configuration
|
352
|
+
def initialize(*args); end
|
353
|
+
end
|
354
|
+
|
355
|
+
class Aruba::ConfigWrapper
|
356
|
+
def initialize(config, event_bus); end
|
357
|
+
|
358
|
+
def ==(other); end
|
359
|
+
def method_missing(name, *args, &block); end
|
360
|
+
def respond_to?(m); end
|
361
|
+
|
362
|
+
private
|
363
|
+
|
364
|
+
def config; end
|
365
|
+
def event_bus; end
|
366
|
+
def respond_to_missing?(name, _include_private); end
|
367
|
+
end
|
368
|
+
|
369
|
+
class Aruba::Configuration < ::Aruba::BasicConfiguration
|
370
|
+
def __contracts_ruby_original_activate_announcer_on_command_failure_kp9gmfura62p; end
|
371
|
+
def __contracts_ruby_original_command_launcher_kp9gmfuq9w27; end
|
372
|
+
def __contracts_ruby_original_command_runtime_environment_kp9gmfupbwll; end
|
373
|
+
def __contracts_ruby_original_command_search_paths_kp9gmfupbwv3; end
|
374
|
+
def __contracts_ruby_original_console_history_file_kp9gmfur5wgm; end
|
375
|
+
def __contracts_ruby_original_exit_timeout_kp9gmfuojcbp; end
|
376
|
+
def __contracts_ruby_original_fixtures_directories_kp9gmfup7vx9; end
|
377
|
+
def __contracts_ruby_original_fixtures_path_prefix_kp9gmfuo9tm6; end
|
378
|
+
def __contracts_ruby_original_home_directory_kp9gmfuq9d7j; end
|
379
|
+
def __contracts_ruby_original_io_wait_timeout_kp9gmfupgjbi; end
|
380
|
+
def __contracts_ruby_original_keep_ansi_kp9gmfupa2m5; end
|
381
|
+
def __contracts_ruby_original_log_level_kp9gmfuq2tjt; end
|
382
|
+
def __contracts_ruby_original_main_class_kp9gmfuq1law; end
|
383
|
+
def __contracts_ruby_original_physical_block_size_kp9gmfuqcwwp; end
|
384
|
+
def __contracts_ruby_original_remove_ansi_escape_sequences_kp9gmfuqbyie; end
|
385
|
+
def __contracts_ruby_original_root_directory_kp9gmfuok32b; end
|
386
|
+
def __contracts_ruby_original_startup_wait_time_kp9gmfupd84z; end
|
387
|
+
def __contracts_ruby_original_stop_signal_kp9gmfuo1ufw; end
|
388
|
+
def __contracts_ruby_original_working_directory_kp9gmfuodvqe; end
|
389
|
+
def activate_announcer_on_command_failure(*args, &blk); end
|
390
|
+
def activate_announcer_on_command_failure=(*args, &blk); end
|
391
|
+
def command_launcher(*args, &blk); end
|
392
|
+
def command_launcher=(*args, &blk); end
|
393
|
+
def command_runtime_environment(*args, &blk); end
|
394
|
+
def command_runtime_environment=(*args, &blk); end
|
395
|
+
def command_search_paths(*args, &blk); end
|
396
|
+
def command_search_paths=(*args, &blk); end
|
397
|
+
def console_history_file(*args, &blk); end
|
398
|
+
def console_history_file=(*args, &blk); end
|
399
|
+
def exit_timeout(*args, &blk); end
|
400
|
+
def exit_timeout=(*args, &blk); end
|
401
|
+
def fixtures_directories(*args, &blk); end
|
402
|
+
def fixtures_directories=(*args, &blk); end
|
403
|
+
def fixtures_path_prefix(*args, &blk); end
|
404
|
+
def home_directory(*args, &blk); end
|
405
|
+
def home_directory=(*args, &blk); end
|
406
|
+
def io_wait_timeout(*args, &blk); end
|
407
|
+
def io_wait_timeout=(*args, &blk); end
|
408
|
+
def keep_ansi(*args, &blk); end
|
409
|
+
def keep_ansi=(*args, &blk); end
|
410
|
+
def log_level(*args, &blk); end
|
411
|
+
def log_level=(*args, &blk); end
|
412
|
+
def main_class(*args, &blk); end
|
413
|
+
def main_class=(*args, &blk); end
|
414
|
+
def physical_block_size(*args, &blk); end
|
415
|
+
def physical_block_size=(*args, &blk); end
|
416
|
+
def remove_ansi_escape_sequences(*args, &blk); end
|
417
|
+
def remove_ansi_escape_sequences=(*args, &blk); end
|
418
|
+
def root_directory(*args, &blk); end
|
419
|
+
def root_directory=(*args, &blk); end
|
420
|
+
def startup_wait_time(*args, &blk); end
|
421
|
+
def startup_wait_time=(*args, &blk); end
|
422
|
+
def stop_signal(*args, &blk); end
|
423
|
+
def stop_signal=(*args, &blk); end
|
424
|
+
def working_directory(*args, &blk); end
|
425
|
+
def working_directory=(*args, &blk); end
|
426
|
+
end
|
427
|
+
|
428
|
+
module Aruba::Contracts; end
|
429
|
+
|
430
|
+
class Aruba::Contracts::AbsolutePath
|
431
|
+
class << self
|
432
|
+
def valid?(value); end
|
433
|
+
end
|
434
|
+
end
|
435
|
+
|
436
|
+
class Aruba::Contracts::Enum < ::Contracts::Builtin::CallableClass
|
437
|
+
def initialize(*vals); end
|
438
|
+
|
439
|
+
def valid?(val); end
|
440
|
+
|
441
|
+
private
|
442
|
+
|
443
|
+
def vals; end
|
444
|
+
end
|
445
|
+
|
446
|
+
class Aruba::Contracts::IsPowerOfTwo
|
447
|
+
class << self
|
448
|
+
def valid?(value); end
|
449
|
+
end
|
450
|
+
end
|
451
|
+
|
452
|
+
class Aruba::Contracts::RelativePath
|
453
|
+
class << self
|
454
|
+
def valid?(value); end
|
455
|
+
end
|
456
|
+
end
|
457
|
+
|
458
|
+
class Aruba::Error < ::StandardError; end
|
459
|
+
|
460
|
+
class Aruba::EventBus
|
461
|
+
def initialize(resolver); end
|
462
|
+
|
463
|
+
def notify(event); end
|
464
|
+
def register(event_ids, handler_object = T.unsafe(nil), &handler_proc); end
|
465
|
+
end
|
466
|
+
|
467
|
+
class Aruba::EventBus::NameResolver
|
468
|
+
def initialize(default_namespace); end
|
469
|
+
|
470
|
+
def transform(event_id); end
|
471
|
+
|
472
|
+
protected
|
473
|
+
|
474
|
+
def default_namespace; end
|
475
|
+
def resolvers; end
|
476
|
+
end
|
477
|
+
|
478
|
+
class Aruba::EventBus::NameResolver::ClassResolver
|
479
|
+
def transform(_, event_id); end
|
480
|
+
|
481
|
+
class << self
|
482
|
+
def match?(event_id); end
|
483
|
+
def supports; end
|
484
|
+
end
|
485
|
+
end
|
486
|
+
|
487
|
+
class Aruba::EventBus::NameResolver::FailingResolver
|
488
|
+
class << self
|
489
|
+
def match?(event_id); end
|
490
|
+
def supports; end
|
491
|
+
end
|
492
|
+
end
|
493
|
+
|
494
|
+
module Aruba::EventBus::NameResolver::ResolveHelpers
|
495
|
+
def camel_case(underscored_name); end
|
496
|
+
def constantize(camel_cased_word); end
|
497
|
+
end
|
498
|
+
|
499
|
+
class Aruba::EventBus::NameResolver::StringResolver
|
500
|
+
include ::Aruba::EventBus::NameResolver::ResolveHelpers
|
501
|
+
|
502
|
+
def transform(_, event_id); end
|
503
|
+
|
504
|
+
class << self
|
505
|
+
def match?(event_id); end
|
506
|
+
def supports; end
|
507
|
+
end
|
508
|
+
end
|
509
|
+
|
510
|
+
class Aruba::EventBus::NameResolver::SymbolResolver
|
511
|
+
include ::Aruba::EventBus::NameResolver::ResolveHelpers
|
512
|
+
|
513
|
+
def transform(default_namespace, event_id); end
|
514
|
+
|
515
|
+
class << self
|
516
|
+
def match?(event_id); end
|
517
|
+
def supports; end
|
518
|
+
end
|
519
|
+
end
|
520
|
+
|
521
|
+
class Aruba::EventNameResolveError < ::StandardError; end
|
522
|
+
module Aruba::Events; end
|
523
|
+
class Aruba::Events::AddedEnvironmentVariable < ::Aruba::Events::BasicEvent; end
|
524
|
+
|
525
|
+
class Aruba::Events::BasicEvent
|
526
|
+
def initialize(entity); end
|
527
|
+
|
528
|
+
def entity; end
|
529
|
+
end
|
530
|
+
|
531
|
+
class Aruba::Events::ChangedConfiguration < ::Aruba::Events::BasicEvent; end
|
532
|
+
class Aruba::Events::ChangedEnvironmentVariable < ::Aruba::Events::BasicEvent; end
|
533
|
+
class Aruba::Events::ChangedWorkingDirectory < ::Aruba::Events::BasicEvent; end
|
534
|
+
class Aruba::Events::CommandStarted < ::Aruba::Events::BasicEvent; end
|
535
|
+
class Aruba::Events::CommandStopped < ::Aruba::Events::BasicEvent; end
|
536
|
+
class Aruba::Events::DeletedEnvironmentVariable < ::Aruba::Events::BasicEvent; end
|
537
|
+
|
538
|
+
class Aruba::FileSize
|
539
|
+
include ::Comparable
|
540
|
+
|
541
|
+
def initialize(bytes); end
|
542
|
+
|
543
|
+
def <=>(other); end
|
544
|
+
def coerce(other); end
|
545
|
+
def inspect; end
|
546
|
+
def to_byte; end
|
547
|
+
def to_f; end
|
548
|
+
def to_gibi_byte; end
|
549
|
+
def to_i; end
|
550
|
+
def to_kibi_byte; end
|
551
|
+
def to_mebi_byte; end
|
552
|
+
def to_s; end
|
553
|
+
|
554
|
+
private
|
555
|
+
|
556
|
+
def bytes; end
|
557
|
+
def divisor; end
|
558
|
+
end
|
559
|
+
|
560
|
+
class Aruba::Hooks
|
561
|
+
def initialize; end
|
562
|
+
|
563
|
+
def append(label, block); end
|
564
|
+
def execute(label, context, *args); end
|
565
|
+
def exist?(label); end
|
566
|
+
|
567
|
+
private
|
568
|
+
|
569
|
+
def store; end
|
570
|
+
end
|
571
|
+
|
572
|
+
class Aruba::InConfigWrapper
|
573
|
+
def initialize(config); end
|
574
|
+
|
575
|
+
def method_missing(name, *args); end
|
576
|
+
|
577
|
+
private
|
578
|
+
|
579
|
+
def config; end
|
580
|
+
end
|
581
|
+
|
582
|
+
class Aruba::LaunchError < ::Aruba::Error; end
|
583
|
+
|
584
|
+
module Aruba::Matchers
|
585
|
+
include ::RSpec::Matchers
|
586
|
+
|
587
|
+
class << self
|
588
|
+
def all(expected); end
|
589
|
+
end
|
590
|
+
end
|
591
|
+
|
592
|
+
class Aruba::Matchers::BaseMatcher
|
593
|
+
include ::Aruba::Matchers::BaseMatcher::HashFormatting
|
594
|
+
include ::Aruba::Matchers::BaseMatcher::DefaultFailureMessages
|
595
|
+
|
596
|
+
def initialize(expected = T.unsafe(nil)); end
|
597
|
+
|
598
|
+
def actual; end
|
599
|
+
def description_of(object); end
|
600
|
+
def expected; end
|
601
|
+
def iterable?; end
|
602
|
+
def matches?(actual); end
|
603
|
+
def rescued_exception; end
|
604
|
+
end
|
605
|
+
|
606
|
+
module Aruba::Matchers::BaseMatcher::DefaultFailureMessages
|
607
|
+
def failure_message; end
|
608
|
+
def failure_message_when_negated; end
|
609
|
+
|
610
|
+
class << self
|
611
|
+
def has_default_failure_messages?(matcher); end
|
612
|
+
end
|
613
|
+
end
|
614
|
+
|
615
|
+
module Aruba::Matchers::BaseMatcher::HashFormatting
|
616
|
+
private
|
617
|
+
|
618
|
+
def improve_hash_formatting(inspect_string); end
|
619
|
+
|
620
|
+
class << self
|
621
|
+
def improve_hash_formatting(inspect_string); end
|
622
|
+
end
|
623
|
+
end
|
624
|
+
|
625
|
+
Aruba::Matchers::BaseMatcher::UNDEFINED = T.let(T.unsafe(nil), Object)
|
626
|
+
|
627
|
+
class Aruba::Matchers::IncludeAnObject < ::Aruba::Matchers::BaseMatcher
|
628
|
+
def initialize(matcher); end
|
629
|
+
|
630
|
+
def description; end
|
631
|
+
def does_not_match?(actual); end
|
632
|
+
def failure_message; end
|
633
|
+
|
634
|
+
protected
|
635
|
+
|
636
|
+
def any_succeeded_object; end
|
637
|
+
def any_succeeded_object=(_arg0); end
|
638
|
+
def failed_objects; end
|
639
|
+
def matcher; end
|
640
|
+
|
641
|
+
private
|
642
|
+
|
643
|
+
def add_new_line_if_needed(message); end
|
644
|
+
def failure_message_for_item(index, failure_message); end
|
645
|
+
def indent_multiline_message(message); end
|
646
|
+
def index_objects; end
|
647
|
+
def match(expected, actual); end
|
648
|
+
end
|
649
|
+
|
650
|
+
module Aruba::Matchers::ObjectFormatter
|
651
|
+
class << self
|
652
|
+
def format(object); end
|
653
|
+
def format_date_time(date_time); end
|
654
|
+
def format_time(time); end
|
655
|
+
def prepare_for_inspection(object); end
|
656
|
+
def prepare_hash(input); end
|
657
|
+
end
|
658
|
+
end
|
659
|
+
|
660
|
+
Aruba::Matchers::ObjectFormatter::DATE_TIME_FORMAT = T.let(T.unsafe(nil), String)
|
661
|
+
|
662
|
+
class Aruba::Matchers::ObjectFormatter::DelegatingInspector < ::Struct
|
663
|
+
def inspect; end
|
664
|
+
def object; end
|
665
|
+
def object=(_); end
|
666
|
+
def pretty_print(pp); end
|
667
|
+
|
668
|
+
class << self
|
669
|
+
def [](*_arg0); end
|
670
|
+
def inspect; end
|
671
|
+
def members; end
|
672
|
+
def new(*_arg0); end
|
673
|
+
end
|
674
|
+
end
|
675
|
+
|
676
|
+
class Aruba::Matchers::ObjectFormatter::InspectableItem < ::Struct
|
677
|
+
def inspect; end
|
678
|
+
def inspection; end
|
679
|
+
def inspection=(_); end
|
680
|
+
def pretty_print(pp); end
|
681
|
+
|
682
|
+
class << self
|
683
|
+
def [](*_arg0); end
|
684
|
+
def inspect; end
|
685
|
+
def members; end
|
686
|
+
def new(*_arg0); end
|
687
|
+
end
|
688
|
+
end
|
689
|
+
|
690
|
+
Aruba::Matchers::ObjectFormatter::TIME_FORMAT = T.let(T.unsafe(nil), String)
|
691
|
+
class Aruba::NoCommandHasBeenStartedError < ::Aruba::Error; end
|
692
|
+
class Aruba::NoCommandHasBeenStoppedError < ::Aruba::Error; end
|
693
|
+
class Aruba::NoEventError < ::StandardError; end
|
694
|
+
Aruba::PLATFORM_MUTEX = T.let(T.unsafe(nil), Thread::Mutex)
|
695
|
+
Aruba::Platform = Aruba::Platforms::UnixPlatform
|
696
|
+
module Aruba::Platforms; end
|
697
|
+
|
698
|
+
class Aruba::Platforms::Announcer
|
699
|
+
def initialize(*args); end
|
700
|
+
|
701
|
+
def activate(*chns); end
|
702
|
+
def activated?(channel); end
|
703
|
+
def announce(channel, *args, &block); end
|
704
|
+
def cmd(cmd); end
|
705
|
+
def dir(dir); end
|
706
|
+
def env(name, value); end
|
707
|
+
def mode=(m); end
|
708
|
+
def reset; end
|
709
|
+
def stderr(content); end
|
710
|
+
def stdout(content); end
|
711
|
+
|
712
|
+
private
|
713
|
+
|
714
|
+
def after_init; end
|
715
|
+
def announcer; end
|
716
|
+
def announcers; end
|
717
|
+
def channels; end
|
718
|
+
def colorizer; end
|
719
|
+
def output_format(channel, string = T.unsafe(nil), &block); end
|
720
|
+
def output_formats; end
|
721
|
+
end
|
722
|
+
|
723
|
+
class Aruba::Platforms::Announcer::KernelPutsAnnouncer
|
724
|
+
def announce(message); end
|
725
|
+
def mode?(m); end
|
726
|
+
end
|
727
|
+
|
728
|
+
class Aruba::Platforms::Announcer::PutsAnnouncer
|
729
|
+
def announce(message); end
|
730
|
+
def mode?(m); end
|
731
|
+
end
|
732
|
+
|
733
|
+
class Aruba::Platforms::ArubaFileCreator
|
734
|
+
def call(path, content, check_presence = T.unsafe(nil)); end
|
735
|
+
end
|
736
|
+
|
737
|
+
class Aruba::Platforms::ArubaFixedSizeFileCreator
|
738
|
+
def call(path, size, check_presence); end
|
739
|
+
end
|
740
|
+
|
741
|
+
class Aruba::Platforms::DetermineDiskUsage
|
742
|
+
def call(*args); end
|
743
|
+
end
|
744
|
+
|
745
|
+
class Aruba::Platforms::DetermineFileSize
|
746
|
+
def call(path); end
|
747
|
+
end
|
748
|
+
|
749
|
+
class Aruba::Platforms::DiskUsageCalculator
|
750
|
+
def call(blocks, block_size); end
|
751
|
+
end
|
752
|
+
|
753
|
+
class Aruba::Platforms::FilesystemStatus
|
754
|
+
extend ::Forwardable
|
755
|
+
|
756
|
+
def initialize(path); end
|
757
|
+
|
758
|
+
def atime(*args, &block); end
|
759
|
+
def ctime(*args, &block); end
|
760
|
+
def executable?(*args, &block); end
|
761
|
+
def group; end
|
762
|
+
def mode; end
|
763
|
+
def mtime(*args, &block); end
|
764
|
+
def owner; end
|
765
|
+
def size(*args, &block); end
|
766
|
+
def to_h; end
|
767
|
+
|
768
|
+
private
|
769
|
+
|
770
|
+
def status; end
|
771
|
+
end
|
772
|
+
|
773
|
+
Aruba::Platforms::FilesystemStatus::METHODS = T.let(T.unsafe(nil), Array)
|
774
|
+
|
775
|
+
class Aruba::Platforms::LocalEnvironment
|
776
|
+
def call(env, &block); end
|
777
|
+
end
|
778
|
+
|
779
|
+
class Aruba::Platforms::SimpleTable
|
780
|
+
def initialize(hash, opts); end
|
781
|
+
|
782
|
+
def to_s; end
|
783
|
+
|
784
|
+
private
|
785
|
+
|
786
|
+
def hash; end
|
787
|
+
def opts; end
|
788
|
+
end
|
789
|
+
|
790
|
+
class Aruba::Platforms::UnixCommandString < ::SimpleDelegator
|
791
|
+
def initialize(cmd); end
|
792
|
+
|
793
|
+
def to_a; end
|
794
|
+
end
|
795
|
+
|
796
|
+
class Aruba::Platforms::UnixEnvironmentVariables
|
797
|
+
def initialize(env = T.unsafe(nil)); end
|
798
|
+
|
799
|
+
def [](name); end
|
800
|
+
def []=(name, value); end
|
801
|
+
def append(name, value); end
|
802
|
+
def clear; end
|
803
|
+
def delete(name); end
|
804
|
+
def fetch(name, default = T.unsafe(nil)); end
|
805
|
+
def key?(name); end
|
806
|
+
def method_missing(name, *args, &block); end
|
807
|
+
def prepend(name, value); end
|
808
|
+
def to_h; end
|
809
|
+
def update(other_env); end
|
810
|
+
|
811
|
+
private
|
812
|
+
|
813
|
+
def actions; end
|
814
|
+
def env; end
|
815
|
+
def prepared_environment; end
|
816
|
+
def respond_to_missing?(name, _private); end
|
817
|
+
end
|
818
|
+
|
819
|
+
class Aruba::Platforms::UnixEnvironmentVariables::RemoveAction
|
820
|
+
def initialize(variables); end
|
821
|
+
|
822
|
+
def call(env); end
|
823
|
+
def variables; end
|
824
|
+
end
|
825
|
+
|
826
|
+
Aruba::Platforms::UnixEnvironmentVariables::UNDEFINED = T.let(T.unsafe(nil), Object)
|
827
|
+
|
828
|
+
class Aruba::Platforms::UnixEnvironmentVariables::UpdateAction
|
829
|
+
def initialize(other_env, &block); end
|
830
|
+
|
831
|
+
def block; end
|
832
|
+
def call(env); end
|
833
|
+
def other_env; end
|
834
|
+
end
|
835
|
+
|
836
|
+
class Aruba::Platforms::UnixPlatform
|
837
|
+
def absolute_path?(path); end
|
838
|
+
def announcer; end
|
839
|
+
def chdir(dir_name, &block); end
|
840
|
+
def chmod(mode, args, options); end
|
841
|
+
def command?(path); end
|
842
|
+
def command_monitor; end
|
843
|
+
def command_string; end
|
844
|
+
def cp(src, dest); end
|
845
|
+
def create_file(*args); end
|
846
|
+
def create_fixed_size_file(*args); end
|
847
|
+
def current_ruby; end
|
848
|
+
def default_shell; end
|
849
|
+
def deprecated(msg); end
|
850
|
+
def detect_ruby(cmd); end
|
851
|
+
def determine_disk_usage(*args); end
|
852
|
+
def determine_file_size(*args); end
|
853
|
+
def directory?(f); end
|
854
|
+
def ensure_newline(str); end
|
855
|
+
def environment_variables; end
|
856
|
+
def executable?(f); end
|
857
|
+
def exist?(f); end
|
858
|
+
def expand_path(path, base); end
|
859
|
+
def file?(f); end
|
860
|
+
def filesystem_status; end
|
861
|
+
def getwd; end
|
862
|
+
def logger; end
|
863
|
+
def mkdir(dir_name); end
|
864
|
+
def mv(src, dest); end
|
865
|
+
def relative_command?(path); end
|
866
|
+
def relative_path?(path); end
|
867
|
+
def require_matching_files(pattern, base); end
|
868
|
+
def rm(paths, options = T.unsafe(nil)); end
|
869
|
+
def simple_table(hash, opts = T.unsafe(nil)); end
|
870
|
+
def touch(args, options); end
|
871
|
+
def unescape(string, keep_ansi = T.unsafe(nil)); end
|
872
|
+
def which(program, path = T.unsafe(nil)); end
|
873
|
+
def with_environment(env = T.unsafe(nil), &block); end
|
874
|
+
def write_file(path, content); end
|
875
|
+
|
876
|
+
class << self
|
877
|
+
def match?; end
|
878
|
+
end
|
879
|
+
end
|
880
|
+
|
881
|
+
class Aruba::Platforms::UnixWhich
|
882
|
+
def initialize; end
|
883
|
+
|
884
|
+
def call(program, path = T.unsafe(nil)); end
|
885
|
+
|
886
|
+
private
|
887
|
+
|
888
|
+
def whiches; end
|
889
|
+
end
|
890
|
+
|
891
|
+
class Aruba::Platforms::UnixWhich::AbsoluteOrRelativePathWhich
|
892
|
+
def call(program, path); end
|
893
|
+
|
894
|
+
class << self
|
895
|
+
def match?(program); end
|
896
|
+
end
|
897
|
+
end
|
898
|
+
|
899
|
+
class Aruba::Platforms::UnixWhich::DefaultWhich
|
900
|
+
def call(program, path); end
|
901
|
+
|
902
|
+
class << self
|
903
|
+
def match?(*_arg0); end
|
904
|
+
end
|
905
|
+
end
|
906
|
+
|
907
|
+
class Aruba::Platforms::UnixWhich::ProgramWhich
|
908
|
+
def call(program, path); end
|
909
|
+
|
910
|
+
class << self
|
911
|
+
def match?(program); end
|
912
|
+
end
|
913
|
+
end
|
914
|
+
|
915
|
+
class Aruba::Platforms::WindowsCommandString < ::SimpleDelegator
|
916
|
+
def to_a; end
|
917
|
+
|
918
|
+
private
|
919
|
+
|
920
|
+
def cmd_path; end
|
921
|
+
end
|
922
|
+
|
923
|
+
class Aruba::Platforms::WindowsEnvironmentVariables < ::Aruba::Platforms::UnixEnvironmentVariables
|
924
|
+
def initialize(env = T.unsafe(nil)); end
|
925
|
+
|
926
|
+
def [](name); end
|
927
|
+
def []=(name, value); end
|
928
|
+
def append(name, value); end
|
929
|
+
def delete(name, value); end
|
930
|
+
def fetch(name, default = T.unsafe(nil)); end
|
931
|
+
def key?(name); end
|
932
|
+
def prepend(name, value); end
|
933
|
+
def update(other_env, &block); end
|
934
|
+
end
|
935
|
+
|
936
|
+
class Aruba::Platforms::WindowsPlatform < ::Aruba::Platforms::UnixPlatform
|
937
|
+
def command_string; end
|
938
|
+
def environment_variables; end
|
939
|
+
def which(program, path = T.unsafe(nil)); end
|
940
|
+
|
941
|
+
class << self
|
942
|
+
def match?; end
|
943
|
+
end
|
944
|
+
end
|
945
|
+
|
946
|
+
class Aruba::Platforms::WindowsWhich
|
947
|
+
def initialize; end
|
948
|
+
|
949
|
+
def call(program, path = T.unsafe(nil)); end
|
950
|
+
|
951
|
+
private
|
952
|
+
|
953
|
+
def whiches; end
|
954
|
+
def windows_executable_extentions; end
|
955
|
+
end
|
956
|
+
|
957
|
+
class Aruba::Platforms::WindowsWhich::AbsoluteOrRelativePathWhich
|
958
|
+
def call(program, path); end
|
959
|
+
|
960
|
+
class << self
|
961
|
+
def match?(program); end
|
962
|
+
end
|
963
|
+
end
|
964
|
+
|
965
|
+
class Aruba::Platforms::WindowsWhich::DefaultWhich
|
966
|
+
def call(program, path); end
|
967
|
+
|
968
|
+
class << self
|
969
|
+
def match?(*_arg0); end
|
970
|
+
end
|
971
|
+
end
|
972
|
+
|
973
|
+
class Aruba::Platforms::WindowsWhich::ProgramWhich
|
974
|
+
def call(program, path); end
|
975
|
+
|
976
|
+
class << self
|
977
|
+
def match?(program); end
|
978
|
+
end
|
979
|
+
end
|
980
|
+
|
981
|
+
module Aruba::Processes; end
|
982
|
+
|
983
|
+
class Aruba::Processes::BasicProcess
|
984
|
+
def initialize(cmd, exit_timeout, io_wait_timeout, working_directory, environment = T.unsafe(nil), main_class = T.unsafe(nil), stop_signal = T.unsafe(nil), startup_wait_time = T.unsafe(nil)); end
|
985
|
+
|
986
|
+
def after_run; end
|
987
|
+
def before_run; end
|
988
|
+
def close_io(*_arg0); end
|
989
|
+
def commandline; end
|
990
|
+
def content; end
|
991
|
+
def environment; end
|
992
|
+
def exit_status; end
|
993
|
+
def exit_timeout; end
|
994
|
+
def filesystem_status; end
|
995
|
+
def inspect; end
|
996
|
+
def io_wait_timeout; end
|
997
|
+
def main_class; end
|
998
|
+
def output(opts = T.unsafe(nil)); end
|
999
|
+
def pid; end
|
1000
|
+
def restart; end
|
1001
|
+
def run!; end
|
1002
|
+
def send_signal(*_arg0); end
|
1003
|
+
def started?; end
|
1004
|
+
def startup_wait_time; end
|
1005
|
+
def stderr(*_arg0); end
|
1006
|
+
def stdin(*_arg0); end
|
1007
|
+
def stdout(*_arg0); end
|
1008
|
+
def stopped?; end
|
1009
|
+
def timed_out?; end
|
1010
|
+
def to_s; end
|
1011
|
+
def wait; end
|
1012
|
+
def working_directory; end
|
1013
|
+
def write(*_arg0); end
|
1014
|
+
|
1015
|
+
private
|
1016
|
+
|
1017
|
+
def arguments; end
|
1018
|
+
def command; end
|
1019
|
+
end
|
1020
|
+
|
1021
|
+
class Aruba::Processes::DebugProcess < ::Aruba::Processes::BasicProcess
|
1022
|
+
def close_io(*_arg0); end
|
1023
|
+
def start; end
|
1024
|
+
def stderr(*_arg0); end
|
1025
|
+
def stdin(*_arg0); end
|
1026
|
+
def stdout(*_arg0); end
|
1027
|
+
def stop(*_arg0); end
|
1028
|
+
def terminate(*_arg0); end
|
1029
|
+
def write(*_arg0); end
|
1030
|
+
|
1031
|
+
class << self
|
1032
|
+
def match?(mode); end
|
1033
|
+
end
|
1034
|
+
end
|
1035
|
+
|
1036
|
+
class Aruba::Processes::InProcess < ::Aruba::Processes::BasicProcess
|
1037
|
+
def initialize(cmd, exit_timeout, io_wait_timeout, working_directory, environment = T.unsafe(nil), main_class = T.unsafe(nil), stop_signal = T.unsafe(nil), startup_wait_time = T.unsafe(nil)); end
|
1038
|
+
|
1039
|
+
def close_io(name); end
|
1040
|
+
def exit_status; end
|
1041
|
+
def main_class; end
|
1042
|
+
def pid; end
|
1043
|
+
def start; end
|
1044
|
+
def stderr(*_arg0); end
|
1045
|
+
def stdin; end
|
1046
|
+
def stdout(*_arg0); end
|
1047
|
+
def stop(*_arg0); end
|
1048
|
+
def terminate; end
|
1049
|
+
def write(input); end
|
1050
|
+
|
1051
|
+
class << self
|
1052
|
+
def main_class; end
|
1053
|
+
def main_class=(_arg0); end
|
1054
|
+
def match?(mode); end
|
1055
|
+
end
|
1056
|
+
end
|
1057
|
+
|
1058
|
+
class Aruba::Processes::InProcess::FakeKernel
|
1059
|
+
def initialize; end
|
1060
|
+
|
1061
|
+
def exit(exitstatus); end
|
1062
|
+
def exitstatus; end
|
1063
|
+
end
|
1064
|
+
|
1065
|
+
class Aruba::Processes::SpawnProcess < ::Aruba::Processes::BasicProcess
|
1066
|
+
def initialize(cmd, exit_timeout, io_wait_timeout, working_directory, environment = T.unsafe(nil), main_class = T.unsafe(nil), stop_signal = T.unsafe(nil), startup_wait_time = T.unsafe(nil)); end
|
1067
|
+
|
1068
|
+
def close_io(name); end
|
1069
|
+
def content; end
|
1070
|
+
def filesystem_status; end
|
1071
|
+
def pid; end
|
1072
|
+
def read_stdout; end
|
1073
|
+
def send_signal(signal); end
|
1074
|
+
def start; end
|
1075
|
+
def stderr(opts = T.unsafe(nil)); end
|
1076
|
+
def stdin; end
|
1077
|
+
def stdout(opts = T.unsafe(nil)); end
|
1078
|
+
def stop(*_arg0); end
|
1079
|
+
def terminate; end
|
1080
|
+
def wait; end
|
1081
|
+
def write(input); end
|
1082
|
+
|
1083
|
+
private
|
1084
|
+
|
1085
|
+
def command_string; end
|
1086
|
+
def read_temporary_output_file(file); end
|
1087
|
+
def wait_for_io(time_to_wait, &block); end
|
1088
|
+
|
1089
|
+
class << self
|
1090
|
+
def match?(mode); end
|
1091
|
+
end
|
1092
|
+
end
|
1093
|
+
|
1094
|
+
class Aruba::Runtime
|
1095
|
+
def initialize(opts = T.unsafe(nil)); end
|
1096
|
+
|
1097
|
+
def announcer; end
|
1098
|
+
def announcer=(_arg0); end
|
1099
|
+
def command_monitor; end
|
1100
|
+
def command_monitor=(_arg0); end
|
1101
|
+
def config; end
|
1102
|
+
def config=(_arg0); end
|
1103
|
+
def current_directory; end
|
1104
|
+
def environment; end
|
1105
|
+
def environment=(_arg0); end
|
1106
|
+
def event_bus; end
|
1107
|
+
def event_bus=(_arg0); end
|
1108
|
+
def fixtures_directory; end
|
1109
|
+
def logger; end
|
1110
|
+
def logger=(_arg0); end
|
1111
|
+
def root_directory; end
|
1112
|
+
def setup_already_done?; end
|
1113
|
+
def setup_done; end
|
1114
|
+
end
|
1115
|
+
|
1116
|
+
class Aruba::Setup
|
1117
|
+
def initialize(runtime); end
|
1118
|
+
|
1119
|
+
def call(clobber = T.unsafe(nil)); end
|
1120
|
+
|
1121
|
+
private
|
1122
|
+
|
1123
|
+
def events; end
|
1124
|
+
def runtime; end
|
1125
|
+
def working_directory(clobber = T.unsafe(nil)); end
|
1126
|
+
end
|
1127
|
+
|
1128
|
+
class Aruba::UnknownOptionError < ::ArgumentError; end
|
1129
|
+
class Aruba::UserError < ::StandardError; end
|
1130
|
+
Aruba::VERSION = T.let(T.unsafe(nil), String)
|
1131
|
+
|
1132
|
+
module RSpec
|
1133
|
+
extend ::RSpec::Support::Warnings
|
1134
|
+
extend ::RSpec::Core::Warnings
|
1135
|
+
|
1136
|
+
class << self
|
1137
|
+
def clear_examples; end
|
1138
|
+
def configuration; end
|
1139
|
+
def configuration=(_arg0); end
|
1140
|
+
def configure; end
|
1141
|
+
def const_missing(name); end
|
1142
|
+
def context(*args, &example_group_block); end
|
1143
|
+
def current_example; end
|
1144
|
+
def current_example=(example); end
|
1145
|
+
def describe(*args, &example_group_block); end
|
1146
|
+
def example_group(*args, &example_group_block); end
|
1147
|
+
def fcontext(*args, &example_group_block); end
|
1148
|
+
def fdescribe(*args, &example_group_block); end
|
1149
|
+
def reset; end
|
1150
|
+
def shared_context(name, *args, &block); end
|
1151
|
+
def shared_examples(name, *args, &block); end
|
1152
|
+
def shared_examples_for(name, *args, &block); end
|
1153
|
+
def world; end
|
1154
|
+
def world=(_arg0); end
|
1155
|
+
def xcontext(*args, &example_group_block); end
|
1156
|
+
def xdescribe(*args, &example_group_block); end
|
1157
|
+
end
|
1158
|
+
end
|
1159
|
+
|
1160
|
+
RSpec::MODULES_TO_AUTOLOAD = T.let(T.unsafe(nil), Hash)
|
1161
|
+
|
1162
|
+
module RSpec::Matchers
|
1163
|
+
extend ::RSpec::Matchers::DSL
|
1164
|
+
|
1165
|
+
def a_block_changing(*args, &block); end
|
1166
|
+
def a_block_outputting(*args, &block); end
|
1167
|
+
def a_block_raising(*args, &block); end
|
1168
|
+
def a_block_throwing(*args, &block); end
|
1169
|
+
def a_block_yielding_control(*args, &block); end
|
1170
|
+
def a_block_yielding_successive_args(*args, &block); end
|
1171
|
+
def a_block_yielding_with_args(*args, &block); end
|
1172
|
+
def a_block_yielding_with_no_args(*args, &block); end
|
1173
|
+
def a_collection_containing_exactly(*args, &block); end
|
1174
|
+
def a_collection_ending_with(*args, &block); end
|
1175
|
+
def a_collection_including(*args, &block); end
|
1176
|
+
def a_collection_starting_with(*args, &block); end
|
1177
|
+
def a_command_found_in_path(*args, &block); end
|
1178
|
+
def a_command_having_output(*args, &block); end
|
1179
|
+
def a_directory_having_sub_directory(*args, &block); end
|
1180
|
+
def a_falsey_value(*args, &block); end
|
1181
|
+
def a_falsy_value(*args, &block); end
|
1182
|
+
def a_file_having_content(*args, &block); end
|
1183
|
+
def a_file_name_matching(*args, &block); end
|
1184
|
+
def a_file_of_size(*args, &block); end
|
1185
|
+
def a_file_with_same_content_as(*args, &block); end
|
1186
|
+
def a_file_with_same_content_like(expected); end
|
1187
|
+
def a_hash_including(*args, &block); end
|
1188
|
+
def a_kind_of(*args, &block); end
|
1189
|
+
def a_nil_value(*args, &block); end
|
1190
|
+
def a_path_having_permissions(*args, &block); end
|
1191
|
+
def a_path_matching_pattern(*args, &block); end
|
1192
|
+
def a_range_covering(*args, &block); end
|
1193
|
+
def a_string_ending_with(*args, &block); end
|
1194
|
+
def a_string_including(*args, &block); end
|
1195
|
+
def a_string_matching(*args, &block); end
|
1196
|
+
def a_string_starting_with(*args, &block); end
|
1197
|
+
def a_truthy_value(*args, &block); end
|
1198
|
+
def a_value(*args, &block); end
|
1199
|
+
def a_value_between(*args, &block); end
|
1200
|
+
def a_value_within(*args, &block); end
|
1201
|
+
def aggregate_failures(label = T.unsafe(nil), metadata = T.unsafe(nil), &block); end
|
1202
|
+
def all(expected); end
|
1203
|
+
def an_absolute_path(*args, &block); end
|
1204
|
+
def an_existing_directory(*args, &block); end
|
1205
|
+
def an_existing_executable(*args, &block); end
|
1206
|
+
def an_existing_file(*args, &block); end
|
1207
|
+
def an_existing_path(*args, &block); end
|
1208
|
+
def an_instance_of(*args, &block); end
|
1209
|
+
def an_object_eq_to(*args, &block); end
|
1210
|
+
def an_object_eql_to(*args, &block); end
|
1211
|
+
def an_object_equal_to(*args, &block); end
|
1212
|
+
def an_object_existing(*args, &block); end
|
1213
|
+
def an_object_having_attributes(*args, &block); end
|
1214
|
+
def an_object_matching(*args, &block); end
|
1215
|
+
def an_object_responding_to(*args, &block); end
|
1216
|
+
def an_object_satisfying(*args, &block); end
|
1217
|
+
def an_output_string_being_eq(*args, &block); end
|
1218
|
+
def an_output_string_including(*args, &block); end
|
1219
|
+
def an_output_string_matching(*args, &block); end
|
1220
|
+
def be(*args); end
|
1221
|
+
def be_a(klass); end
|
1222
|
+
def be_a_command_found_in_path(*expected, &block_arg); end
|
1223
|
+
def be_a_kind_of(expected); end
|
1224
|
+
def be_an(klass); end
|
1225
|
+
def be_an_absolute_path(*expected, &block_arg); end
|
1226
|
+
def be_an_existing_directory(*expected, &block_arg); end
|
1227
|
+
def be_an_existing_executable(*expected, &block_arg); end
|
1228
|
+
def be_an_existing_file(*expected, &block_arg); end
|
1229
|
+
def be_an_existing_path(*expected, &block_arg); end
|
1230
|
+
def be_an_instance_of(expected); end
|
1231
|
+
def be_between(min, max); end
|
1232
|
+
def be_falsey; end
|
1233
|
+
def be_falsy(*args, &block); end
|
1234
|
+
def be_instance_of(expected); end
|
1235
|
+
def be_kind_of(expected); end
|
1236
|
+
def be_nil; end
|
1237
|
+
def be_successfully_executed(*expected, &block_arg); end
|
1238
|
+
def be_truthy; end
|
1239
|
+
def be_within(delta); end
|
1240
|
+
def change(receiver = T.unsafe(nil), message = T.unsafe(nil), &block); end
|
1241
|
+
def changing(*args, &block); end
|
1242
|
+
def contain_exactly(*items); end
|
1243
|
+
def containing_exactly(*args, &block); end
|
1244
|
+
def cover(*values); end
|
1245
|
+
def covering(*args, &block); end
|
1246
|
+
def end_with(*expected); end
|
1247
|
+
def ending_with(*args, &block); end
|
1248
|
+
def eq(expected); end
|
1249
|
+
def eq_to(*args, &block); end
|
1250
|
+
def eql(expected); end
|
1251
|
+
def eql_to(*args, &block); end
|
1252
|
+
def equal(expected); end
|
1253
|
+
def equal_to(*args, &block); end
|
1254
|
+
def exist(*args); end
|
1255
|
+
def existing(*args, &block); end
|
1256
|
+
def expect(value = T.unsafe(nil), &block); end
|
1257
|
+
def file_content_including(*args, &block); end
|
1258
|
+
def file_content_matching(*args, &block); end
|
1259
|
+
def have_attributes(expected); end
|
1260
|
+
def have_exit_status(*expected, &block_arg); end
|
1261
|
+
def have_failed_running(*args, &block); end
|
1262
|
+
def have_file_content(*expected, &block_arg); end
|
1263
|
+
def have_file_size(*expected, &block_arg); end
|
1264
|
+
def have_finished_in_time(*expected, &block_arg); end
|
1265
|
+
def have_output(*expected, &block_arg); end
|
1266
|
+
def have_output_on_stderr(*expected, &block_arg); end
|
1267
|
+
def have_output_on_stdout(*expected, &block_arg); end
|
1268
|
+
def have_output_size(*expected, &block_arg); end
|
1269
|
+
def have_permissions(*expected, &block_arg); end
|
1270
|
+
def have_same_file_content_as(*expected, &block_arg); end
|
1271
|
+
def have_same_file_content_like(expected); end
|
1272
|
+
def have_sub_directory(*expected, &block_arg); end
|
1273
|
+
def having_attributes(*args, &block); end
|
1274
|
+
def include(*expected); end
|
1275
|
+
def include_an_object(expected); end
|
1276
|
+
def include_output_string(*expected, &block_arg); end
|
1277
|
+
def include_regexp(*expected, &block_arg); end
|
1278
|
+
def including(*args, &block); end
|
1279
|
+
def match(expected); end
|
1280
|
+
def match_array(items); end
|
1281
|
+
def match_output_string(*expected, &block_arg); end
|
1282
|
+
def match_path_pattern(*expected, &block_arg); end
|
1283
|
+
def match_regex(*args, &block); end
|
1284
|
+
def matching(*args, &block); end
|
1285
|
+
def output(expected = T.unsafe(nil)); end
|
1286
|
+
def output_string_eq(*expected, &block_arg); end
|
1287
|
+
def raise_error(error = T.unsafe(nil), message = T.unsafe(nil), &block); end
|
1288
|
+
def raise_exception(error = T.unsafe(nil), message = T.unsafe(nil), &block); end
|
1289
|
+
def raising(*args, &block); end
|
1290
|
+
def respond_to(*names); end
|
1291
|
+
def responding_to(*args, &block); end
|
1292
|
+
def run_too_long(*args, &block); end
|
1293
|
+
def satisfy(description = T.unsafe(nil), &block); end
|
1294
|
+
def satisfying(*args, &block); end
|
1295
|
+
def start_with(*expected); end
|
1296
|
+
def starting_with(*args, &block); end
|
1297
|
+
def throw_symbol(expected_symbol = T.unsafe(nil), expected_arg = T.unsafe(nil)); end
|
1298
|
+
def throwing(*args, &block); end
|
1299
|
+
def within(*args, &block); end
|
1300
|
+
def yield_control; end
|
1301
|
+
def yield_successive_args(*args); end
|
1302
|
+
def yield_with_args(*args); end
|
1303
|
+
def yield_with_no_args; end
|
1304
|
+
def yielding_control(*args, &block); end
|
1305
|
+
def yielding_successive_args(*args, &block); end
|
1306
|
+
def yielding_with_args(*args, &block); end
|
1307
|
+
def yielding_with_no_args(*args, &block); end
|
1308
|
+
|
1309
|
+
private
|
1310
|
+
|
1311
|
+
def method_missing(method, *args, &block); end
|
1312
|
+
def respond_to_missing?(method, *_arg1); end
|
1313
|
+
|
1314
|
+
class << self
|
1315
|
+
def alias_matcher(*args, &block); end
|
1316
|
+
def clear_generated_description; end
|
1317
|
+
def configuration; end
|
1318
|
+
def generated_description; end
|
1319
|
+
def is_a_describable_matcher?(obj); end
|
1320
|
+
def is_a_matcher?(obj); end
|
1321
|
+
def last_description; end
|
1322
|
+
def last_expectation_handler; end
|
1323
|
+
def last_expectation_handler=(_arg0); end
|
1324
|
+
def last_matcher; end
|
1325
|
+
def last_matcher=(_arg0); end
|
1326
|
+
end
|
1327
|
+
end
|
1328
|
+
|
1329
|
+
RSpec::Matchers::BE_PREDICATE_REGEX = T.let(T.unsafe(nil), Regexp)
|
1330
|
+
RSpec::Matchers::DYNAMIC_MATCHER_REGEX = T.let(T.unsafe(nil), Regexp)
|
1331
|
+
RSpec::Matchers::HAS_REGEX = T.let(T.unsafe(nil), Regexp)
|
1332
|
+
RSpec::SharedContext = RSpec::Core::SharedContext
|
1333
|
+
|
1334
|
+
class String
|
1335
|
+
include ::Comparable
|
1336
|
+
include ::JSON::Ext::Generator::GeneratorMethods::String
|
1337
|
+
include ::Colorize::InstanceMethods
|
1338
|
+
extend ::JSON::Ext::Generator::GeneratorMethods::String::Extend
|
1339
|
+
extend ::Colorize::ClassMethods
|
1340
|
+
|
1341
|
+
def strip_heredoc; end
|
1342
|
+
end
|