tsumanne 0.0.2 → 0.0.4
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/.dockerignore +8 -0
- data/.mdlrc +6 -0
- data/.rubocop.yml +20 -12
- data/Dockerfile +24 -0
- data/README.md +0 -4
- data/Rakefile +19 -16
- data/exe/tsumanne +2 -1
- data/lib/tsumanne/api.rb +22 -21
- data/lib/tsumanne/cli.rb +153 -2
- data/lib/tsumanne/models/get_threads.rb +8 -3
- data/lib/tsumanne/models/register_thread.rb +5 -1
- data/lib/tsumanne/models/search_indexes.rb +7 -2
- data/lib/tsumanne/models/search_thread_from_uri.rb +14 -2
- data/lib/tsumanne/version.rb +1 -1
- data/mise.toml +42 -0
- data/sorbet/rbi/gems/.gitattributes +1 -0
- data/sorbet/rbi/gems/{ast@2.4.2.rbi → ast@2.4.3.rbi} +45 -79
- data/sorbet/rbi/gems/benchmark@0.5.0.rbi +621 -0
- data/sorbet/rbi/gems/{chef-utils@18.2.7.rbi → chef-utils@18.8.54.rbi} +1 -0
- data/sorbet/rbi/gems/{concurrent-ruby@1.2.2.rbi → concurrent-ruby@1.3.5.rbi} +1 -0
- data/sorbet/rbi/gems/{diff-lcs@1.5.0.rbi → diff-lcs@1.6.2.rbi} +183 -199
- data/sorbet/rbi/gems/docile@1.4.0.rbi +147 -147
- data/sorbet/rbi/gems/{erubi@1.12.0.rbi → erubi@1.13.1.rbi} +36 -26
- data/sorbet/rbi/gems/{json@2.6.3.rbi → json@2.19.4.rbi} +920 -251
- data/sorbet/rbi/gems/kramdown-parser-gfm@1.1.0.rbi +32 -63
- data/sorbet/rbi/gems/{kramdown@2.4.0.rbi → kramdown@2.5.1.rbi} +896 -711
- data/sorbet/rbi/gems/language_server-protocol@3.17.0.5.rbi +9 -0
- data/sorbet/rbi/gems/lint_roller@1.1.0.rbi +189 -0
- data/sorbet/rbi/gems/logger@1.7.0.rbi +896 -0
- data/sorbet/rbi/gems/{mdl@0.12.0.rbi → mdl@0.15.0.rbi} +109 -113
- data/sorbet/rbi/gems/mixlib-cli@2.1.8.rbi +35 -41
- data/sorbet/rbi/gems/mixlib-config@3.0.27.rbi +147 -142
- data/sorbet/rbi/gems/{mixlib-shellout@3.2.7.rbi → mixlib-shellout@3.3.9.rbi} +127 -150
- data/sorbet/rbi/gems/netrc@0.11.0.rbi +45 -56
- data/sorbet/rbi/gems/optimist@3.2.1.rbi +895 -0
- data/sorbet/rbi/gems/parallel@1.28.0.rbi +270 -0
- data/sorbet/rbi/gems/parser@3.3.11.1.rbi +5229 -0
- data/sorbet/rbi/gems/prism@1.9.0.rbi +42224 -0
- data/sorbet/rbi/gems/{racc@1.7.1.rbi → racc@1.8.1.rbi} +48 -44
- data/sorbet/rbi/gems/rainbow@3.1.1.rbi +101 -141
- data/sorbet/rbi/gems/{rake@13.0.6.rbi → rake@13.4.2.rbi} +867 -761
- data/sorbet/rbi/gems/rbi@0.3.10.rbi +5520 -0
- data/sorbet/rbi/gems/rbs@4.0.2.rbi +6908 -0
- data/sorbet/rbi/gems/regexp_parser@2.12.0.rbi +3398 -0
- data/sorbet/rbi/gems/require-hooks@0.4.0.rbi +152 -0
- data/sorbet/rbi/gems/{rexml@3.2.6.rbi → rexml@3.4.4.rbi} +1032 -908
- data/sorbet/rbi/gems/{rspec-core@3.12.2.rbi → rspec-core@3.13.6.rbi} +2860 -4206
- data/sorbet/rbi/gems/rspec-expectations@3.13.5.rbi +6108 -0
- data/sorbet/rbi/gems/{rspec-mocks@3.12.6.rbi → rspec-mocks@3.13.7.rbi} +1264 -1787
- data/sorbet/rbi/gems/rspec-support@3.13.6.rbi +1274 -0
- data/sorbet/rbi/gems/rspec@3.13.2.rbi +15 -0
- data/sorbet/rbi/gems/rubocop-ast@1.49.1.rbi +7212 -0
- data/sorbet/rbi/gems/rubocop-performance@1.26.1.rbi +3403 -0
- data/sorbet/rbi/gems/{rubocop-rake@0.6.0.rbi → rubocop-rake@0.7.1.rbi} +89 -103
- data/sorbet/rbi/gems/rubocop-rspec@3.9.0.rbi +7606 -0
- data/sorbet/rbi/gems/rubocop-sorbet@0.12.0.rbi +2448 -0
- data/sorbet/rbi/gems/rubocop@1.86.1.rbi +62232 -0
- data/sorbet/rbi/gems/ruby-progressbar@1.13.0.rbi +326 -655
- data/sorbet/rbi/gems/rubydex@0.1.0.beta14.rbi +655 -0
- data/sorbet/rbi/gems/simplecov-html@0.12.3.rbi +24 -158
- data/sorbet/rbi/gems/simplecov@0.22.0.rbi +450 -606
- data/sorbet/rbi/gems/simplecov_json_formatter@0.1.4.rbi +32 -166
- data/sorbet/rbi/gems/spoom@1.7.13.rbi +6151 -0
- data/sorbet/rbi/gems/{tapioca@0.11.8.rbi → tapioca@0.19.1.rbi} +1609 -1379
- data/sorbet/rbi/gems/{thor@1.2.2.rbi → thor@1.5.0.rbi} +1075 -1170
- data/sorbet/rbi/gems/tomlrb@2.0.3.rbi +1 -0
- data/sorbet/rbi/gems/tsort@0.2.0.rbi +389 -0
- data/sorbet/rbi/gems/unicode-display_width@3.2.0.rbi +130 -0
- data/sorbet/rbi/gems/unicode-emoji@4.2.0.rbi +332 -0
- metadata +69 -66
- data/.ruby-version +0 -1
- data/sorbet/rbi/gems/base64@0.1.1.rbi +0 -172
- data/sorbet/rbi/gems/ffi-compiler@1.0.1.rbi +0 -206
- data/sorbet/rbi/gems/ffi@1.15.5.rbi +0 -1994
- data/sorbet/rbi/gems/http-parser@1.2.3.rbi +0 -422
- data/sorbet/rbi/gems/language_server-protocol@3.17.0.3.rbi +0 -14237
- data/sorbet/rbi/gems/mhtml@0.1.6.rbi +0 -353
- data/sorbet/rbi/gems/parallel@1.23.0.rbi +0 -273
- data/sorbet/rbi/gems/parser@3.2.2.3.rbi +0 -7253
- data/sorbet/rbi/gems/prettier_print@1.2.1.rbi +0 -951
- data/sorbet/rbi/gems/rbi@0.0.17.rbi +0 -2967
- data/sorbet/rbi/gems/regexp_parser@2.8.1.rbi +0 -3749
- data/sorbet/rbi/gems/rspec-expectations@3.12.3.rbi +0 -8100
- data/sorbet/rbi/gems/rspec-support@3.12.1.rbi +0 -1609
- data/sorbet/rbi/gems/rspec@3.12.0.rbi +0 -82
- data/sorbet/rbi/gems/rubocop-ast@1.29.0.rbi +0 -7144
- data/sorbet/rbi/gems/rubocop-capybara@2.18.0.rbi +0 -827
- data/sorbet/rbi/gems/rubocop-factory_bot@2.23.1.rbi +0 -812
- data/sorbet/rbi/gems/rubocop-performance@1.19.0.rbi +0 -3157
- data/sorbet/rbi/gems/rubocop-rspec@2.23.2.rbi +0 -7691
- data/sorbet/rbi/gems/rubocop-sorbet@0.7.3.rbi +0 -1226
- data/sorbet/rbi/gems/rubocop@1.56.2.rbi +0 -56541
- data/sorbet/rbi/gems/spoom@1.2.3.rbi +0 -3199
- data/sorbet/rbi/gems/syntax_tree@6.1.1.rbi +0 -22855
- data/sorbet/rbi/gems/unicode-display_width@2.4.2.rbi +0 -65
- data/sorbet/rbi/gems/unparser@0.6.8.rbi +0 -4525
- data/sorbet/rbi/gems/yard-sorbet@0.8.1.rbi +0 -425
- data/sorbet/rbi/gems/yard@0.9.34.rbi +0 -18219
|
@@ -4,10 +4,11 @@
|
|
|
4
4
|
# This is an autogenerated file for types exported from the `mixlib-shellout` gem.
|
|
5
5
|
# Please instead update this file by running `bin/tapioca gem mixlib-shellout`.
|
|
6
6
|
|
|
7
|
-
|
|
7
|
+
|
|
8
|
+
# pkg:gem/mixlib-shellout#lib/mixlib/shellout/exceptions.rb:1
|
|
8
9
|
module Mixlib; end
|
|
9
10
|
|
|
10
|
-
#
|
|
11
|
+
# pkg:gem/mixlib-shellout#lib/mixlib/shellout/exceptions.rb:2
|
|
11
12
|
class Mixlib::ShellOut
|
|
12
13
|
include ::Mixlib::ShellOut::Unix
|
|
13
14
|
|
|
@@ -64,58 +65,60 @@ class Mixlib::ShellOut
|
|
|
64
65
|
# cmd = Mixlib::ShellOut.new("apachectl", "start", :user => 'www', :env => nil, :cwd => '/tmp')
|
|
65
66
|
# cmd.run_command # etc.
|
|
66
67
|
#
|
|
67
|
-
#
|
|
68
|
-
#
|
|
69
|
-
# source://mixlib-shellout//lib/mixlib/shellout.rb#169
|
|
68
|
+
# pkg:gem/mixlib-shellout#lib/mixlib/shellout.rb:172
|
|
70
69
|
def initialize(*command_args); end
|
|
71
70
|
|
|
71
|
+
# Path to cgroupv2 that the process should run on
|
|
72
|
+
#
|
|
73
|
+
# pkg:gem/mixlib-shellout#lib/mixlib/shellout.rb:118
|
|
74
|
+
def cgroup; end
|
|
75
|
+
|
|
76
|
+
# Path to cgroupv2 that the process should run on
|
|
77
|
+
#
|
|
78
|
+
# pkg:gem/mixlib-shellout#lib/mixlib/shellout.rb:118
|
|
79
|
+
def cgroup=(_arg0); end
|
|
80
|
+
|
|
72
81
|
# The command to be executed.
|
|
73
82
|
#
|
|
74
|
-
#
|
|
83
|
+
# pkg:gem/mixlib-shellout#lib/mixlib/shellout.rb:84
|
|
75
84
|
def command; end
|
|
76
85
|
|
|
77
86
|
# Working directory for the subprocess. Normally set via options to new
|
|
78
87
|
#
|
|
79
|
-
#
|
|
88
|
+
# pkg:gem/mixlib-shellout#lib/mixlib/shellout.rb:54
|
|
80
89
|
def cwd; end
|
|
81
90
|
|
|
82
91
|
# Working directory for the subprocess. Normally set via options to new
|
|
83
92
|
#
|
|
84
|
-
#
|
|
93
|
+
# pkg:gem/mixlib-shellout#lib/mixlib/shellout.rb:54
|
|
85
94
|
def cwd=(_arg0); end
|
|
86
95
|
|
|
87
|
-
#
|
|
88
|
-
#
|
|
89
|
-
# source://mixlib-shellout//lib/mixlib/shellout.rb#41
|
|
96
|
+
# pkg:gem/mixlib-shellout#lib/mixlib/shellout.rb:41
|
|
90
97
|
def domain; end
|
|
91
98
|
|
|
92
|
-
#
|
|
93
|
-
#
|
|
94
|
-
# @param value the value to set the attribute domain to.
|
|
95
|
-
#
|
|
96
|
-
# source://mixlib-shellout//lib/mixlib/shellout.rb#41
|
|
99
|
+
# pkg:gem/mixlib-shellout#lib/mixlib/shellout.rb:41
|
|
97
100
|
def domain=(_arg0); end
|
|
98
101
|
|
|
99
102
|
# Runs windows process with elevated privileges. Required for Powershell commands which need elevated privileges
|
|
100
103
|
#
|
|
101
|
-
#
|
|
104
|
+
# pkg:gem/mixlib-shellout#lib/mixlib/shellout.rb:113
|
|
102
105
|
def elevated; end
|
|
103
106
|
|
|
104
107
|
# Runs windows process with elevated privileges. Required for Powershell commands which need elevated privileges
|
|
105
108
|
#
|
|
106
|
-
#
|
|
109
|
+
# pkg:gem/mixlib-shellout#lib/mixlib/shellout.rb:113
|
|
107
110
|
def elevated=(_arg0); end
|
|
108
111
|
|
|
109
112
|
# Environment variables that will be set for the subcommand. Refer to the
|
|
110
113
|
# documentation of new to understand how ShellOut interprets this.
|
|
111
114
|
#
|
|
112
|
-
#
|
|
115
|
+
# pkg:gem/mixlib-shellout#lib/mixlib/shellout.rb:91
|
|
113
116
|
def environment; end
|
|
114
117
|
|
|
115
118
|
# Environment variables that will be set for the subcommand. Refer to the
|
|
116
119
|
# documentation of new to understand how ShellOut interprets this.
|
|
117
120
|
#
|
|
118
|
-
#
|
|
121
|
+
# pkg:gem/mixlib-shellout#lib/mixlib/shellout.rb:91
|
|
119
122
|
def environment=(_arg0); end
|
|
120
123
|
|
|
121
124
|
# If #error? is true, calls +invalid!+, which raises an Exception.
|
|
@@ -124,7 +127,7 @@ class Mixlib::ShellOut
|
|
|
124
127
|
# === Raises
|
|
125
128
|
# ::ShellCommandFailed::: via +invalid!+
|
|
126
129
|
#
|
|
127
|
-
#
|
|
130
|
+
# pkg:gem/mixlib-shellout#lib/mixlib/shellout.rb:290
|
|
128
131
|
def error!; end
|
|
129
132
|
|
|
130
133
|
# Checks the +exitstatus+ against the set of +valid_exit_codes+.
|
|
@@ -132,62 +135,60 @@ class Mixlib::ShellOut
|
|
|
132
135
|
# +true+ if +exitstatus+ is not in the list of +valid_exit_codes+, false
|
|
133
136
|
# otherwise.
|
|
134
137
|
#
|
|
135
|
-
#
|
|
136
|
-
#
|
|
137
|
-
# source://mixlib-shellout//lib/mixlib/shellout.rb#277
|
|
138
|
+
# pkg:gem/mixlib-shellout#lib/mixlib/shellout.rb:281
|
|
138
139
|
def error?; end
|
|
139
140
|
|
|
140
141
|
# The amount of time the subcommand took to execute
|
|
141
142
|
#
|
|
142
|
-
#
|
|
143
|
+
# pkg:gem/mixlib-shellout#lib/mixlib/shellout.rb:98
|
|
143
144
|
def execution_time; end
|
|
144
145
|
|
|
145
146
|
# The exit status of the subprocess. Will be nil if the command is still
|
|
146
147
|
# running or died without setting an exit status (e.g., terminated by
|
|
147
148
|
# `kill -9`).
|
|
148
149
|
#
|
|
149
|
-
#
|
|
150
|
+
# pkg:gem/mixlib-shellout#lib/mixlib/shellout.rb:254
|
|
150
151
|
def exitstatus; end
|
|
151
152
|
|
|
152
153
|
# Creates a String showing the output of the command, including a banner
|
|
153
154
|
# showing the exact command executed. Used by +invalid!+ to show command
|
|
154
155
|
# results when the command exited with an unexpected status.
|
|
155
156
|
#
|
|
156
|
-
#
|
|
157
|
+
# pkg:gem/mixlib-shellout#lib/mixlib/shellout.rb:238
|
|
157
158
|
def format_for_exception; end
|
|
158
159
|
|
|
159
160
|
# The gid that the subprocess will switch to. If the group attribute is
|
|
160
161
|
# given as a group name, it is converted to a gid by Etc.getgrnam
|
|
161
162
|
# TODO migrate to shellout/unix.rb
|
|
162
163
|
#
|
|
163
|
-
#
|
|
164
|
+
# pkg:gem/mixlib-shellout#lib/mixlib/shellout.rb:224
|
|
164
165
|
def gid; end
|
|
165
166
|
|
|
166
167
|
# Group the command will run as. Normally set via options passed to new
|
|
167
168
|
#
|
|
168
|
-
#
|
|
169
|
+
# pkg:gem/mixlib-shellout#lib/mixlib/shellout.rb:51
|
|
169
170
|
def group; end
|
|
170
171
|
|
|
171
172
|
# Group the command will run as. Normally set via options passed to new
|
|
172
173
|
#
|
|
173
|
-
#
|
|
174
|
+
# pkg:gem/mixlib-shellout#lib/mixlib/shellout.rb:51
|
|
174
175
|
def group=(_arg0); end
|
|
175
176
|
|
|
176
177
|
# ShellOut will push data from :input down the stdin of the subprocess.
|
|
177
178
|
# Normally set via options passed to new.
|
|
178
179
|
# Default: nil
|
|
179
180
|
#
|
|
180
|
-
#
|
|
181
|
+
# pkg:gem/mixlib-shellout#lib/mixlib/shellout.rb:71
|
|
181
182
|
def input; end
|
|
182
183
|
|
|
183
184
|
# ShellOut will push data from :input down the stdin of the subprocess.
|
|
184
185
|
# Normally set via options passed to new.
|
|
185
186
|
# Default: nil
|
|
186
187
|
#
|
|
187
|
-
#
|
|
188
|
+
# pkg:gem/mixlib-shellout#lib/mixlib/shellout.rb:71
|
|
188
189
|
def input=(_arg0); end
|
|
189
190
|
|
|
190
|
-
#
|
|
191
|
+
# pkg:gem/mixlib-shellout#lib/mixlib/shellout.rb:307
|
|
191
192
|
def inspect; end
|
|
192
193
|
|
|
193
194
|
# Raises a ShellCommandFailed exception, appending the
|
|
@@ -199,106 +200,96 @@ class Mixlib::ShellOut
|
|
|
199
200
|
# === Raises
|
|
200
201
|
# ShellCommandFailed always
|
|
201
202
|
#
|
|
202
|
-
#
|
|
203
|
-
#
|
|
204
|
-
# source://mixlib-shellout//lib/mixlib/shellout.rb#298
|
|
203
|
+
# pkg:gem/mixlib-shellout#lib/mixlib/shellout.rb:302
|
|
205
204
|
def invalid!(msg = T.unsafe(nil)); end
|
|
206
205
|
|
|
207
206
|
# When live_stderr is set, the stderr of the subprocess will be copied to it
|
|
208
207
|
# as the subprocess is running.
|
|
209
208
|
#
|
|
210
|
-
#
|
|
209
|
+
# pkg:gem/mixlib-shellout#lib/mixlib/shellout.rb:66
|
|
211
210
|
def live_stderr; end
|
|
212
211
|
|
|
213
212
|
# When live_stderr is set, the stderr of the subprocess will be copied to it
|
|
214
213
|
# as the subprocess is running.
|
|
215
214
|
#
|
|
216
|
-
#
|
|
215
|
+
# pkg:gem/mixlib-shellout#lib/mixlib/shellout.rb:66
|
|
217
216
|
def live_stderr=(_arg0); end
|
|
218
217
|
|
|
219
218
|
# When live_stdout is set, the stdout of the subprocess will be copied to it
|
|
220
219
|
# as the subprocess is running.
|
|
221
220
|
#
|
|
222
|
-
#
|
|
221
|
+
# pkg:gem/mixlib-shellout#lib/mixlib/shellout.rb:62
|
|
223
222
|
def live_stdout; end
|
|
224
223
|
|
|
225
224
|
# When live_stdout is set, the stdout of the subprocess will be copied to it
|
|
226
225
|
# as the subprocess is running.
|
|
227
226
|
#
|
|
228
|
-
#
|
|
227
|
+
# pkg:gem/mixlib-shellout#lib/mixlib/shellout.rb:62
|
|
229
228
|
def live_stdout=(_arg0); end
|
|
230
229
|
|
|
231
230
|
# Returns the stream that both is being used by both live_stdout and live_stderr, or nil
|
|
232
231
|
#
|
|
233
|
-
#
|
|
232
|
+
# pkg:gem/mixlib-shellout#lib/mixlib/shellout.rb:195
|
|
234
233
|
def live_stream; end
|
|
235
234
|
|
|
236
235
|
# A shortcut for setting both live_stdout and live_stderr, so that both the
|
|
237
236
|
# stdout and stderr from the subprocess will be copied to the same stream as
|
|
238
237
|
# the subprocess is running.
|
|
239
238
|
#
|
|
240
|
-
#
|
|
239
|
+
# pkg:gem/mixlib-shellout#lib/mixlib/shellout.rb:202
|
|
241
240
|
def live_stream=(stream); end
|
|
242
241
|
|
|
243
242
|
# The log level at which ShellOut should log.
|
|
244
243
|
#
|
|
245
|
-
#
|
|
244
|
+
# pkg:gem/mixlib-shellout#lib/mixlib/shellout.rb:78
|
|
246
245
|
def log_level; end
|
|
247
246
|
|
|
248
247
|
# The log level at which ShellOut should log.
|
|
249
248
|
#
|
|
250
|
-
#
|
|
249
|
+
# pkg:gem/mixlib-shellout#lib/mixlib/shellout.rb:78
|
|
251
250
|
def log_level=(_arg0); end
|
|
252
251
|
|
|
253
252
|
# A string which will be prepended to the log message.
|
|
254
253
|
#
|
|
255
|
-
#
|
|
254
|
+
# pkg:gem/mixlib-shellout#lib/mixlib/shellout.rb:81
|
|
256
255
|
def log_tag; end
|
|
257
256
|
|
|
258
257
|
# A string which will be prepended to the log message.
|
|
259
258
|
#
|
|
260
|
-
#
|
|
259
|
+
# pkg:gem/mixlib-shellout#lib/mixlib/shellout.rb:81
|
|
261
260
|
def log_tag=(_arg0); end
|
|
262
261
|
|
|
263
262
|
# If a logger is set, ShellOut will log a message before it executes the
|
|
264
263
|
# command.
|
|
265
264
|
#
|
|
266
|
-
#
|
|
265
|
+
# pkg:gem/mixlib-shellout#lib/mixlib/shellout.rb:75
|
|
267
266
|
def logger; end
|
|
268
267
|
|
|
269
268
|
# If a logger is set, ShellOut will log a message before it executes the
|
|
270
269
|
# command.
|
|
271
270
|
#
|
|
272
|
-
#
|
|
271
|
+
# pkg:gem/mixlib-shellout#lib/mixlib/shellout.rb:75
|
|
273
272
|
def logger=(_arg0); end
|
|
274
273
|
|
|
275
274
|
# Whether to simulate logon as the user. Normally set via options passed to new
|
|
276
275
|
# Always enabled on windows
|
|
277
276
|
#
|
|
278
|
-
#
|
|
277
|
+
# pkg:gem/mixlib-shellout#lib/mixlib/shellout.rb:48
|
|
279
278
|
def login; end
|
|
280
279
|
|
|
281
280
|
# Whether to simulate logon as the user. Normally set via options passed to new
|
|
282
281
|
# Always enabled on windows
|
|
283
282
|
#
|
|
284
|
-
#
|
|
283
|
+
# pkg:gem/mixlib-shellout#lib/mixlib/shellout.rb:48
|
|
285
284
|
def login=(_arg0); end
|
|
286
285
|
|
|
287
|
-
#
|
|
288
|
-
#
|
|
289
|
-
# source://mixlib-shellout//lib/mixlib/shellout.rb#42
|
|
286
|
+
# pkg:gem/mixlib-shellout#lib/mixlib/shellout.rb:42
|
|
290
287
|
def password; end
|
|
291
288
|
|
|
292
|
-
#
|
|
293
|
-
#
|
|
294
|
-
# @param value the value to set the attribute password to.
|
|
295
|
-
#
|
|
296
|
-
# source://mixlib-shellout//lib/mixlib/shellout.rb#42
|
|
289
|
+
# pkg:gem/mixlib-shellout#lib/mixlib/shellout.rb:42
|
|
297
290
|
def password=(_arg0); end
|
|
298
291
|
|
|
299
|
-
#
|
|
300
|
-
#
|
|
301
|
-
# source://mixlib-shellout//lib/mixlib/shellout.rb#110
|
|
292
|
+
# pkg:gem/mixlib-shellout#lib/mixlib/shellout.rb:110
|
|
302
293
|
def process_status_pipe; end
|
|
303
294
|
|
|
304
295
|
# Run the command, writing the command's standard out and standard error
|
|
@@ -313,160 +304,151 @@ class Mixlib::ShellOut
|
|
|
313
304
|
# * CommandTimeout when the command does not complete
|
|
314
305
|
# within +timeout+ seconds (default: 600s)
|
|
315
306
|
#
|
|
316
|
-
#
|
|
307
|
+
# pkg:gem/mixlib-shellout#lib/mixlib/shellout.rb:269
|
|
317
308
|
def run_command; end
|
|
318
309
|
|
|
319
|
-
#
|
|
320
|
-
#
|
|
321
|
-
# source://mixlib-shellout//lib/mixlib/shellout.rb#115
|
|
310
|
+
# pkg:gem/mixlib-shellout#lib/mixlib/shellout.rb:115
|
|
322
311
|
def sensitive; end
|
|
323
312
|
|
|
324
|
-
#
|
|
325
|
-
#
|
|
326
|
-
# @param value the value to set the attribute sensitive to.
|
|
327
|
-
#
|
|
328
|
-
# source://mixlib-shellout//lib/mixlib/shellout.rb#115
|
|
313
|
+
# pkg:gem/mixlib-shellout#lib/mixlib/shellout.rb:115
|
|
329
314
|
def sensitive=(_arg0); end
|
|
330
315
|
|
|
331
316
|
# A Process::Status (or ducktype) object collected when the subprocess is
|
|
332
317
|
# reaped.
|
|
333
318
|
#
|
|
334
|
-
#
|
|
319
|
+
# pkg:gem/mixlib-shellout#lib/mixlib/shellout.rb:108
|
|
335
320
|
def status; end
|
|
336
321
|
|
|
337
322
|
# Data written to stderr by the subprocess
|
|
338
323
|
#
|
|
339
|
-
#
|
|
324
|
+
# pkg:gem/mixlib-shellout#lib/mixlib/shellout.rb:104
|
|
340
325
|
def stderr; end
|
|
341
326
|
|
|
342
|
-
#
|
|
343
|
-
#
|
|
344
|
-
# source://mixlib-shellout//lib/mixlib/shellout.rb#110
|
|
327
|
+
# pkg:gem/mixlib-shellout#lib/mixlib/shellout.rb:110
|
|
345
328
|
def stderr_pipe; end
|
|
346
329
|
|
|
347
|
-
#
|
|
348
|
-
#
|
|
349
|
-
# source://mixlib-shellout//lib/mixlib/shellout.rb#110
|
|
330
|
+
# pkg:gem/mixlib-shellout#lib/mixlib/shellout.rb:110
|
|
350
331
|
def stdin_pipe; end
|
|
351
332
|
|
|
352
333
|
# Data written to stdout by the subprocess
|
|
353
334
|
#
|
|
354
|
-
#
|
|
335
|
+
# pkg:gem/mixlib-shellout#lib/mixlib/shellout.rb:101
|
|
355
336
|
def stdout; end
|
|
356
337
|
|
|
357
|
-
#
|
|
358
|
-
#
|
|
359
|
-
# source://mixlib-shellout//lib/mixlib/shellout.rb#110
|
|
338
|
+
# pkg:gem/mixlib-shellout#lib/mixlib/shellout.rb:110
|
|
360
339
|
def stdout_pipe; end
|
|
361
340
|
|
|
362
|
-
#
|
|
341
|
+
# The maximum time this command is allowed to run. Usually set via options
|
|
342
|
+
# to new
|
|
343
|
+
#
|
|
344
|
+
# pkg:gem/mixlib-shellout#lib/mixlib/shellout.rb:231
|
|
363
345
|
def timeout; end
|
|
364
346
|
|
|
365
347
|
# The maximum time this command is allowed to run. Usually set via options
|
|
366
348
|
# to new
|
|
367
349
|
#
|
|
368
|
-
#
|
|
350
|
+
# pkg:gem/mixlib-shellout#lib/mixlib/shellout.rb:95
|
|
369
351
|
def timeout=(_arg0); end
|
|
370
352
|
|
|
371
353
|
# The uid that the subprocess will switch to. If the user attribute was
|
|
372
354
|
# given as a username, it is converted to a uid by Etc.getpwnam
|
|
373
355
|
# TODO migrate to shellout/unix.rb
|
|
374
356
|
#
|
|
375
|
-
#
|
|
357
|
+
# pkg:gem/mixlib-shellout#lib/mixlib/shellout.rb:215
|
|
376
358
|
def uid; end
|
|
377
359
|
|
|
378
360
|
# The umask that will be set for the subcommand.
|
|
379
361
|
#
|
|
380
|
-
#
|
|
362
|
+
# pkg:gem/mixlib-shellout#lib/mixlib/shellout.rb:87
|
|
381
363
|
def umask; end
|
|
382
364
|
|
|
383
365
|
# Set the umask that the subprocess will have. If given as a string, it
|
|
384
366
|
# will be converted to an integer by String#oct.
|
|
385
367
|
#
|
|
386
|
-
#
|
|
368
|
+
# pkg:gem/mixlib-shellout#lib/mixlib/shellout.rb:208
|
|
387
369
|
def umask=(new_umask); end
|
|
388
370
|
|
|
389
371
|
# User the command will run as. Normally set via options passed to new
|
|
390
372
|
#
|
|
391
|
-
#
|
|
373
|
+
# pkg:gem/mixlib-shellout#lib/mixlib/shellout.rb:40
|
|
392
374
|
def user; end
|
|
393
375
|
|
|
394
376
|
# User the command will run as. Normally set via options passed to new
|
|
395
377
|
#
|
|
396
|
-
#
|
|
378
|
+
# pkg:gem/mixlib-shellout#lib/mixlib/shellout.rb:40
|
|
397
379
|
def user=(_arg0); end
|
|
398
380
|
|
|
399
381
|
# An Array of acceptable exit codes. #error? (and #error!) use this list
|
|
400
382
|
# to determine if the command was successful. Normally set via options to new
|
|
401
383
|
#
|
|
402
|
-
#
|
|
384
|
+
# pkg:gem/mixlib-shellout#lib/mixlib/shellout.rb:58
|
|
403
385
|
def valid_exit_codes; end
|
|
404
386
|
|
|
405
387
|
# An Array of acceptable exit codes. #error? (and #error!) use this list
|
|
406
388
|
# to determine if the command was successful. Normally set via options to new
|
|
407
389
|
#
|
|
408
|
-
#
|
|
390
|
+
# pkg:gem/mixlib-shellout#lib/mixlib/shellout.rb:58
|
|
409
391
|
def valid_exit_codes=(_arg0); end
|
|
410
392
|
|
|
411
393
|
# TODO remove
|
|
412
394
|
#
|
|
413
|
-
#
|
|
395
|
+
# pkg:gem/mixlib-shellout#lib/mixlib/shellout.rb:44
|
|
414
396
|
def with_logon; end
|
|
415
397
|
|
|
416
398
|
# TODO remove
|
|
417
399
|
#
|
|
418
|
-
#
|
|
400
|
+
# pkg:gem/mixlib-shellout#lib/mixlib/shellout.rb:44
|
|
419
401
|
def with_logon=(_arg0); end
|
|
420
402
|
|
|
421
403
|
private
|
|
422
404
|
|
|
423
|
-
#
|
|
405
|
+
# pkg:gem/mixlib-shellout#lib/mixlib/shellout.rb:316
|
|
424
406
|
def parse_options(opts); end
|
|
425
407
|
|
|
426
|
-
#
|
|
408
|
+
# pkg:gem/mixlib-shellout#lib/mixlib/shellout.rb:372
|
|
427
409
|
def validate_options(opts); end
|
|
428
410
|
end
|
|
429
411
|
|
|
430
|
-
#
|
|
412
|
+
# pkg:gem/mixlib-shellout#lib/mixlib/shellout/exceptions.rb:5
|
|
431
413
|
class Mixlib::ShellOut::CommandTimeout < ::Mixlib::ShellOut::Error; end
|
|
432
414
|
|
|
433
|
-
#
|
|
415
|
+
# pkg:gem/mixlib-shellout#lib/mixlib/shellout.rb:29
|
|
434
416
|
Mixlib::ShellOut::DEFAULT_READ_TIMEOUT = T.let(T.unsafe(nil), Integer)
|
|
435
417
|
|
|
436
|
-
#
|
|
418
|
+
# pkg:gem/mixlib-shellout#lib/mixlib/shellout/exceptions.rb:7
|
|
437
419
|
class Mixlib::ShellOut::EmptyWindowsCommand < ::Mixlib::ShellOut::ShellCommandFailed; end
|
|
438
420
|
|
|
439
|
-
#
|
|
421
|
+
# pkg:gem/mixlib-shellout#lib/mixlib/shellout/exceptions.rb:3
|
|
440
422
|
class Mixlib::ShellOut::Error < ::RuntimeError; end
|
|
441
423
|
|
|
442
|
-
#
|
|
424
|
+
# pkg:gem/mixlib-shellout#lib/mixlib/shellout/exceptions.rb:6
|
|
443
425
|
class Mixlib::ShellOut::InvalidCommandOption < ::Mixlib::ShellOut::Error; end
|
|
444
426
|
|
|
445
|
-
#
|
|
427
|
+
# pkg:gem/mixlib-shellout#lib/mixlib/shellout.rb:28
|
|
446
428
|
Mixlib::ShellOut::READ_SIZE = T.let(T.unsafe(nil), Integer)
|
|
447
429
|
|
|
448
|
-
#
|
|
430
|
+
# pkg:gem/mixlib-shellout#lib/mixlib/shellout.rb:27
|
|
449
431
|
Mixlib::ShellOut::READ_WAIT_TIME = T.let(T.unsafe(nil), Float)
|
|
450
432
|
|
|
451
|
-
#
|
|
433
|
+
# pkg:gem/mixlib-shellout#lib/mixlib/shellout/exceptions.rb:4
|
|
452
434
|
class Mixlib::ShellOut::ShellCommandFailed < ::Mixlib::ShellOut::Error; end
|
|
453
435
|
|
|
454
|
-
#
|
|
436
|
+
# pkg:gem/mixlib-shellout#lib/mixlib/shellout/unix.rb:23
|
|
455
437
|
module Mixlib::ShellOut::Unix
|
|
456
438
|
# Helper method for sgids
|
|
457
439
|
#
|
|
458
|
-
#
|
|
440
|
+
# pkg:gem/mixlib-shellout#lib/mixlib/shellout/unix.rb:38
|
|
459
441
|
def all_seconderies; end
|
|
460
442
|
|
|
461
443
|
# The environment variables that are deduced from simulating logon
|
|
462
444
|
# Only valid if login is used
|
|
463
445
|
#
|
|
464
|
-
#
|
|
446
|
+
# pkg:gem/mixlib-shellout#lib/mixlib/shellout/unix.rb:60
|
|
465
447
|
def logon_environment; end
|
|
466
448
|
|
|
467
449
|
# Merges the two environments for the process
|
|
468
450
|
#
|
|
469
|
-
#
|
|
451
|
+
# pkg:gem/mixlib-shellout#lib/mixlib/shellout/unix.rb:71
|
|
470
452
|
def process_environment; end
|
|
471
453
|
|
|
472
454
|
# Run the command, writing the command's standard out and standard error
|
|
@@ -488,60 +470,61 @@ module Mixlib::ShellOut::Unix
|
|
|
488
470
|
# contain the correct exit code of the process (of course there is no
|
|
489
471
|
# exit code if the command is killed by SIGKILL, also).
|
|
490
472
|
#
|
|
491
|
-
#
|
|
473
|
+
# pkg:gem/mixlib-shellout#lib/mixlib/shellout/unix.rb:93
|
|
492
474
|
def run_command; end
|
|
493
475
|
|
|
494
476
|
# The secondary groups that the subprocess will switch to.
|
|
495
477
|
# Currently valid only if login is used, and is set
|
|
496
478
|
# to the user's secondary groups
|
|
497
479
|
#
|
|
498
|
-
#
|
|
480
|
+
# pkg:gem/mixlib-shellout#lib/mixlib/shellout/unix.rb:51
|
|
499
481
|
def sgids; end
|
|
500
482
|
|
|
501
483
|
# Whether we're simulating a login shell
|
|
502
484
|
#
|
|
503
|
-
#
|
|
504
|
-
#
|
|
505
|
-
# source://mixlib-shellout//lib/mixlib/shellout/unix.rb#36
|
|
485
|
+
# pkg:gem/mixlib-shellout#lib/mixlib/shellout/unix.rb:33
|
|
506
486
|
def using_login?; end
|
|
507
487
|
|
|
508
488
|
# Option validation that is unix specific
|
|
509
489
|
#
|
|
510
|
-
#
|
|
490
|
+
# pkg:gem/mixlib-shellout#lib/mixlib/shellout/unix.rb:26
|
|
511
491
|
def validate_options(opts); end
|
|
512
492
|
|
|
513
493
|
private
|
|
514
494
|
|
|
515
|
-
#
|
|
516
|
-
def attempt_buffer_read; end
|
|
495
|
+
# pkg:gem/mixlib-shellout#lib/mixlib/shellout/unix.rb:280
|
|
496
|
+
def attempt_buffer_read(timeout = T.unsafe(nil)); end
|
|
517
497
|
|
|
518
498
|
# Try to reap the child process but don't block if it isn't dead yet.
|
|
519
499
|
#
|
|
520
|
-
#
|
|
500
|
+
# pkg:gem/mixlib-shellout#lib/mixlib/shellout/unix.rb:417
|
|
521
501
|
def attempt_reap; end
|
|
522
502
|
|
|
503
|
+
# pkg:gem/mixlib-shellout#lib/mixlib/shellout/unix.rb:319
|
|
504
|
+
def cgroupv2_available?; end
|
|
505
|
+
|
|
523
506
|
# Since we call setsid the child_pgid will be the child_pid, set to negative here
|
|
524
507
|
# so it can be directly used in arguments to kill, wait, etc.
|
|
525
508
|
#
|
|
526
|
-
#
|
|
509
|
+
# pkg:gem/mixlib-shellout#lib/mixlib/shellout/unix.rb:193
|
|
527
510
|
def child_pgid; end
|
|
528
511
|
|
|
529
|
-
#
|
|
512
|
+
# pkg:gem/mixlib-shellout#lib/mixlib/shellout/unix.rb:214
|
|
530
513
|
def child_process_status; end
|
|
531
514
|
|
|
532
|
-
#
|
|
515
|
+
# pkg:gem/mixlib-shellout#lib/mixlib/shellout/unix.rb:210
|
|
533
516
|
def child_stderr; end
|
|
534
517
|
|
|
535
|
-
#
|
|
518
|
+
# pkg:gem/mixlib-shellout#lib/mixlib/shellout/unix.rb:202
|
|
536
519
|
def child_stdin; end
|
|
537
520
|
|
|
538
|
-
#
|
|
521
|
+
# pkg:gem/mixlib-shellout#lib/mixlib/shellout/unix.rb:206
|
|
539
522
|
def child_stdout; end
|
|
540
523
|
|
|
541
|
-
#
|
|
524
|
+
# pkg:gem/mixlib-shellout#lib/mixlib/shellout/unix.rb:218
|
|
542
525
|
def close_all_pipes; end
|
|
543
526
|
|
|
544
|
-
#
|
|
527
|
+
# pkg:gem/mixlib-shellout#lib/mixlib/shellout/unix.rb:251
|
|
545
528
|
def configure_parent_process_file_descriptors; end
|
|
546
529
|
|
|
547
530
|
# Replace stdout, and stderr with pipes to the parent, and close the
|
|
@@ -550,79 +533,73 @@ module Mixlib::ShellOut::Unix
|
|
|
550
533
|
# If there is no input, close STDIN so when we exec,
|
|
551
534
|
# the new program will know it's never getting input ever.
|
|
552
535
|
#
|
|
553
|
-
#
|
|
536
|
+
# pkg:gem/mixlib-shellout#lib/mixlib/shellout/unix.rb:230
|
|
554
537
|
def configure_subprocess_file_descriptors; end
|
|
555
538
|
|
|
556
|
-
#
|
|
539
|
+
# pkg:gem/mixlib-shellout#lib/mixlib/shellout/unix.rb:323
|
|
557
540
|
def fork_subprocess; end
|
|
558
541
|
|
|
559
|
-
#
|
|
542
|
+
# pkg:gem/mixlib-shellout#lib/mixlib/shellout/unix.rb:197
|
|
560
543
|
def initialize_ipc; end
|
|
561
544
|
|
|
562
545
|
# Some patch levels of ruby in wide use (in particular the ruby 1.8.6 on OSX)
|
|
563
546
|
# segfault when you IO.select a pipe that's reached eof. Weak sauce.
|
|
564
547
|
#
|
|
565
|
-
#
|
|
548
|
+
# pkg:gem/mixlib-shellout#lib/mixlib/shellout/unix.rb:268
|
|
566
549
|
def open_pipes; end
|
|
567
550
|
|
|
568
551
|
# Attempt to get a Marshaled error from the side-channel.
|
|
569
552
|
# If it's there, un-marshal it and raise. If it's not there,
|
|
570
553
|
# assume everything went well.
|
|
571
554
|
#
|
|
572
|
-
#
|
|
555
|
+
# pkg:gem/mixlib-shellout#lib/mixlib/shellout/unix.rb:367
|
|
573
556
|
def propagate_pre_exec_failure; end
|
|
574
557
|
|
|
575
|
-
#
|
|
558
|
+
# pkg:gem/mixlib-shellout#lib/mixlib/shellout/unix.rb:310
|
|
576
559
|
def read_process_status_to_buffer; end
|
|
577
560
|
|
|
578
|
-
#
|
|
561
|
+
# pkg:gem/mixlib-shellout#lib/mixlib/shellout/unix.rb:300
|
|
579
562
|
def read_stderr_to_buffer; end
|
|
580
563
|
|
|
581
|
-
#
|
|
564
|
+
# pkg:gem/mixlib-shellout#lib/mixlib/shellout/unix.rb:290
|
|
582
565
|
def read_stdout_to_buffer; end
|
|
583
566
|
|
|
584
567
|
# Unconditionally reap the child process. This is used in scenarios where
|
|
585
568
|
# we can be confident the child will exit quickly, and has not spawned
|
|
586
569
|
# and grandchild processes.
|
|
587
570
|
#
|
|
588
|
-
#
|
|
571
|
+
# pkg:gem/mixlib-shellout#lib/mixlib/shellout/unix.rb:404
|
|
589
572
|
def reap; end
|
|
590
573
|
|
|
591
|
-
#
|
|
574
|
+
# pkg:gem/mixlib-shellout#lib/mixlib/shellout/unix.rb:378
|
|
592
575
|
def reap_errant_child; end
|
|
593
576
|
|
|
594
|
-
#
|
|
577
|
+
# pkg:gem/mixlib-shellout#lib/mixlib/shellout/unix.rb:181
|
|
578
|
+
def set_cgroup; end
|
|
579
|
+
|
|
580
|
+
# pkg:gem/mixlib-shellout#lib/mixlib/shellout/unix.rb:177
|
|
595
581
|
def set_cwd; end
|
|
596
582
|
|
|
597
|
-
#
|
|
583
|
+
# pkg:gem/mixlib-shellout#lib/mixlib/shellout/unix.rb:166
|
|
598
584
|
def set_environment; end
|
|
599
585
|
|
|
600
|
-
#
|
|
586
|
+
# pkg:gem/mixlib-shellout#lib/mixlib/shellout/unix.rb:153
|
|
601
587
|
def set_group; end
|
|
602
588
|
|
|
603
|
-
#
|
|
589
|
+
# pkg:gem/mixlib-shellout#lib/mixlib/shellout/unix.rb:160
|
|
604
590
|
def set_secondarygroups; end
|
|
605
591
|
|
|
606
|
-
#
|
|
592
|
+
# pkg:gem/mixlib-shellout#lib/mixlib/shellout/unix.rb:173
|
|
607
593
|
def set_umask; end
|
|
608
594
|
|
|
609
|
-
#
|
|
595
|
+
# pkg:gem/mixlib-shellout#lib/mixlib/shellout/unix.rb:146
|
|
610
596
|
def set_user; end
|
|
611
597
|
|
|
612
|
-
#
|
|
613
|
-
#
|
|
614
|
-
# source://mixlib-shellout//lib/mixlib/shellout/unix.rb#387
|
|
598
|
+
# pkg:gem/mixlib-shellout#lib/mixlib/shellout/unix.rb:396
|
|
615
599
|
def should_reap?; end
|
|
616
600
|
|
|
617
601
|
# Keep this unbuffered for now
|
|
618
602
|
#
|
|
619
|
-
#
|
|
603
|
+
# pkg:gem/mixlib-shellout#lib/mixlib/shellout/unix.rb:273
|
|
620
604
|
def write_to_child_stdin; end
|
|
621
605
|
end
|
|
622
|
-
|
|
623
|
-
# "1.8.7" as a frozen string. We use this with a hack that disables GC to
|
|
624
|
-
# avoid segfaults on Ruby 1.8.7, so we need to allocate the fewest
|
|
625
|
-
# objects we possibly can.
|
|
626
|
-
#
|
|
627
|
-
# source://mixlib-shellout//lib/mixlib/shellout/unix.rb#26
|
|
628
|
-
Mixlib::ShellOut::Unix::ONE_DOT_EIGHT_DOT_SEVEN = T.let(T.unsafe(nil), String)
|