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.
Files changed (99) hide show
  1. checksums.yaml +4 -4
  2. data/.dockerignore +8 -0
  3. data/.mdlrc +6 -0
  4. data/.rubocop.yml +20 -12
  5. data/Dockerfile +24 -0
  6. data/README.md +0 -4
  7. data/Rakefile +19 -16
  8. data/exe/tsumanne +2 -1
  9. data/lib/tsumanne/api.rb +22 -21
  10. data/lib/tsumanne/cli.rb +153 -2
  11. data/lib/tsumanne/models/get_threads.rb +8 -3
  12. data/lib/tsumanne/models/register_thread.rb +5 -1
  13. data/lib/tsumanne/models/search_indexes.rb +7 -2
  14. data/lib/tsumanne/models/search_thread_from_uri.rb +14 -2
  15. data/lib/tsumanne/version.rb +1 -1
  16. data/mise.toml +42 -0
  17. data/sorbet/rbi/gems/.gitattributes +1 -0
  18. data/sorbet/rbi/gems/{ast@2.4.2.rbi → ast@2.4.3.rbi} +45 -79
  19. data/sorbet/rbi/gems/benchmark@0.5.0.rbi +621 -0
  20. data/sorbet/rbi/gems/{chef-utils@18.2.7.rbi → chef-utils@18.8.54.rbi} +1 -0
  21. data/sorbet/rbi/gems/{concurrent-ruby@1.2.2.rbi → concurrent-ruby@1.3.5.rbi} +1 -0
  22. data/sorbet/rbi/gems/{diff-lcs@1.5.0.rbi → diff-lcs@1.6.2.rbi} +183 -199
  23. data/sorbet/rbi/gems/docile@1.4.0.rbi +147 -147
  24. data/sorbet/rbi/gems/{erubi@1.12.0.rbi → erubi@1.13.1.rbi} +36 -26
  25. data/sorbet/rbi/gems/{json@2.6.3.rbi → json@2.19.4.rbi} +920 -251
  26. data/sorbet/rbi/gems/kramdown-parser-gfm@1.1.0.rbi +32 -63
  27. data/sorbet/rbi/gems/{kramdown@2.4.0.rbi → kramdown@2.5.1.rbi} +896 -711
  28. data/sorbet/rbi/gems/language_server-protocol@3.17.0.5.rbi +9 -0
  29. data/sorbet/rbi/gems/lint_roller@1.1.0.rbi +189 -0
  30. data/sorbet/rbi/gems/logger@1.7.0.rbi +896 -0
  31. data/sorbet/rbi/gems/{mdl@0.12.0.rbi → mdl@0.15.0.rbi} +109 -113
  32. data/sorbet/rbi/gems/mixlib-cli@2.1.8.rbi +35 -41
  33. data/sorbet/rbi/gems/mixlib-config@3.0.27.rbi +147 -142
  34. data/sorbet/rbi/gems/{mixlib-shellout@3.2.7.rbi → mixlib-shellout@3.3.9.rbi} +127 -150
  35. data/sorbet/rbi/gems/netrc@0.11.0.rbi +45 -56
  36. data/sorbet/rbi/gems/optimist@3.2.1.rbi +895 -0
  37. data/sorbet/rbi/gems/parallel@1.28.0.rbi +270 -0
  38. data/sorbet/rbi/gems/parser@3.3.11.1.rbi +5229 -0
  39. data/sorbet/rbi/gems/prism@1.9.0.rbi +42224 -0
  40. data/sorbet/rbi/gems/{racc@1.7.1.rbi → racc@1.8.1.rbi} +48 -44
  41. data/sorbet/rbi/gems/rainbow@3.1.1.rbi +101 -141
  42. data/sorbet/rbi/gems/{rake@13.0.6.rbi → rake@13.4.2.rbi} +867 -761
  43. data/sorbet/rbi/gems/rbi@0.3.10.rbi +5520 -0
  44. data/sorbet/rbi/gems/rbs@4.0.2.rbi +6908 -0
  45. data/sorbet/rbi/gems/regexp_parser@2.12.0.rbi +3398 -0
  46. data/sorbet/rbi/gems/require-hooks@0.4.0.rbi +152 -0
  47. data/sorbet/rbi/gems/{rexml@3.2.6.rbi → rexml@3.4.4.rbi} +1032 -908
  48. data/sorbet/rbi/gems/{rspec-core@3.12.2.rbi → rspec-core@3.13.6.rbi} +2860 -4206
  49. data/sorbet/rbi/gems/rspec-expectations@3.13.5.rbi +6108 -0
  50. data/sorbet/rbi/gems/{rspec-mocks@3.12.6.rbi → rspec-mocks@3.13.7.rbi} +1264 -1787
  51. data/sorbet/rbi/gems/rspec-support@3.13.6.rbi +1274 -0
  52. data/sorbet/rbi/gems/rspec@3.13.2.rbi +15 -0
  53. data/sorbet/rbi/gems/rubocop-ast@1.49.1.rbi +7212 -0
  54. data/sorbet/rbi/gems/rubocop-performance@1.26.1.rbi +3403 -0
  55. data/sorbet/rbi/gems/{rubocop-rake@0.6.0.rbi → rubocop-rake@0.7.1.rbi} +89 -103
  56. data/sorbet/rbi/gems/rubocop-rspec@3.9.0.rbi +7606 -0
  57. data/sorbet/rbi/gems/rubocop-sorbet@0.12.0.rbi +2448 -0
  58. data/sorbet/rbi/gems/rubocop@1.86.1.rbi +62232 -0
  59. data/sorbet/rbi/gems/ruby-progressbar@1.13.0.rbi +326 -655
  60. data/sorbet/rbi/gems/rubydex@0.1.0.beta14.rbi +655 -0
  61. data/sorbet/rbi/gems/simplecov-html@0.12.3.rbi +24 -158
  62. data/sorbet/rbi/gems/simplecov@0.22.0.rbi +450 -606
  63. data/sorbet/rbi/gems/simplecov_json_formatter@0.1.4.rbi +32 -166
  64. data/sorbet/rbi/gems/spoom@1.7.13.rbi +6151 -0
  65. data/sorbet/rbi/gems/{tapioca@0.11.8.rbi → tapioca@0.19.1.rbi} +1609 -1379
  66. data/sorbet/rbi/gems/{thor@1.2.2.rbi → thor@1.5.0.rbi} +1075 -1170
  67. data/sorbet/rbi/gems/tomlrb@2.0.3.rbi +1 -0
  68. data/sorbet/rbi/gems/tsort@0.2.0.rbi +389 -0
  69. data/sorbet/rbi/gems/unicode-display_width@3.2.0.rbi +130 -0
  70. data/sorbet/rbi/gems/unicode-emoji@4.2.0.rbi +332 -0
  71. metadata +69 -66
  72. data/.ruby-version +0 -1
  73. data/sorbet/rbi/gems/base64@0.1.1.rbi +0 -172
  74. data/sorbet/rbi/gems/ffi-compiler@1.0.1.rbi +0 -206
  75. data/sorbet/rbi/gems/ffi@1.15.5.rbi +0 -1994
  76. data/sorbet/rbi/gems/http-parser@1.2.3.rbi +0 -422
  77. data/sorbet/rbi/gems/language_server-protocol@3.17.0.3.rbi +0 -14237
  78. data/sorbet/rbi/gems/mhtml@0.1.6.rbi +0 -353
  79. data/sorbet/rbi/gems/parallel@1.23.0.rbi +0 -273
  80. data/sorbet/rbi/gems/parser@3.2.2.3.rbi +0 -7253
  81. data/sorbet/rbi/gems/prettier_print@1.2.1.rbi +0 -951
  82. data/sorbet/rbi/gems/rbi@0.0.17.rbi +0 -2967
  83. data/sorbet/rbi/gems/regexp_parser@2.8.1.rbi +0 -3749
  84. data/sorbet/rbi/gems/rspec-expectations@3.12.3.rbi +0 -8100
  85. data/sorbet/rbi/gems/rspec-support@3.12.1.rbi +0 -1609
  86. data/sorbet/rbi/gems/rspec@3.12.0.rbi +0 -82
  87. data/sorbet/rbi/gems/rubocop-ast@1.29.0.rbi +0 -7144
  88. data/sorbet/rbi/gems/rubocop-capybara@2.18.0.rbi +0 -827
  89. data/sorbet/rbi/gems/rubocop-factory_bot@2.23.1.rbi +0 -812
  90. data/sorbet/rbi/gems/rubocop-performance@1.19.0.rbi +0 -3157
  91. data/sorbet/rbi/gems/rubocop-rspec@2.23.2.rbi +0 -7691
  92. data/sorbet/rbi/gems/rubocop-sorbet@0.7.3.rbi +0 -1226
  93. data/sorbet/rbi/gems/rubocop@1.56.2.rbi +0 -56541
  94. data/sorbet/rbi/gems/spoom@1.2.3.rbi +0 -3199
  95. data/sorbet/rbi/gems/syntax_tree@6.1.1.rbi +0 -22855
  96. data/sorbet/rbi/gems/unicode-display_width@2.4.2.rbi +0 -65
  97. data/sorbet/rbi/gems/unparser@0.6.8.rbi +0 -4525
  98. data/sorbet/rbi/gems/yard-sorbet@0.8.1.rbi +0 -425
  99. 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
- # source://mixlib-shellout//lib/mixlib/shellout/exceptions.rb#1
7
+
8
+ # pkg:gem/mixlib-shellout#lib/mixlib/shellout/exceptions.rb:1
8
9
  module Mixlib; end
9
10
 
10
- # source://mixlib-shellout//lib/mixlib/shellout/exceptions.rb#2
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
- # @return [ShellOut] a new instance of ShellOut
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
- # source://mixlib-shellout//lib/mixlib/shellout.rb#84
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
- # source://mixlib-shellout//lib/mixlib/shellout.rb#54
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
- # source://mixlib-shellout//lib/mixlib/shellout.rb#54
93
+ # pkg:gem/mixlib-shellout#lib/mixlib/shellout.rb:54
85
94
  def cwd=(_arg0); end
86
95
 
87
- # Returns the value of attribute domain.
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
- # Sets the attribute domain
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
- # source://mixlib-shellout//lib/mixlib/shellout.rb#113
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
- # source://mixlib-shellout//lib/mixlib/shellout.rb#113
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
- # source://mixlib-shellout//lib/mixlib/shellout.rb#91
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
- # source://mixlib-shellout//lib/mixlib/shellout.rb#91
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
- # source://mixlib-shellout//lib/mixlib/shellout.rb#286
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
- # @return [Boolean]
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
- # source://mixlib-shellout//lib/mixlib/shellout.rb#98
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
- # source://mixlib-shellout//lib/mixlib/shellout.rb#250
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
- # source://mixlib-shellout//lib/mixlib/shellout.rb#234
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
- # source://mixlib-shellout//lib/mixlib/shellout.rb#220
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
- # source://mixlib-shellout//lib/mixlib/shellout.rb#51
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
- # source://mixlib-shellout//lib/mixlib/shellout.rb#51
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
- # source://mixlib-shellout//lib/mixlib/shellout.rb#71
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
- # source://mixlib-shellout//lib/mixlib/shellout.rb#71
188
+ # pkg:gem/mixlib-shellout#lib/mixlib/shellout.rb:71
188
189
  def input=(_arg0); end
189
190
 
190
- # source://mixlib-shellout//lib/mixlib/shellout.rb#303
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
- # @raise [ShellCommandFailed]
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
- # source://mixlib-shellout//lib/mixlib/shellout.rb#66
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
- # source://mixlib-shellout//lib/mixlib/shellout.rb#66
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
- # source://mixlib-shellout//lib/mixlib/shellout.rb#62
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
- # source://mixlib-shellout//lib/mixlib/shellout.rb#62
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
- # source://mixlib-shellout//lib/mixlib/shellout.rb#191
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
- # source://mixlib-shellout//lib/mixlib/shellout.rb#198
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
- # source://mixlib-shellout//lib/mixlib/shellout.rb#78
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
- # source://mixlib-shellout//lib/mixlib/shellout.rb#78
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
- # source://mixlib-shellout//lib/mixlib/shellout.rb#81
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
- # source://mixlib-shellout//lib/mixlib/shellout.rb#81
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
- # source://mixlib-shellout//lib/mixlib/shellout.rb#75
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
- # source://mixlib-shellout//lib/mixlib/shellout.rb#75
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
- # source://mixlib-shellout//lib/mixlib/shellout.rb#48
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
- # source://mixlib-shellout//lib/mixlib/shellout.rb#48
283
+ # pkg:gem/mixlib-shellout#lib/mixlib/shellout.rb:48
285
284
  def login=(_arg0); end
286
285
 
287
- # Returns the value of attribute password.
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
- # Sets the attribute password
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
- # Returns the value of attribute process_status_pipe.
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
- # source://mixlib-shellout//lib/mixlib/shellout.rb#265
307
+ # pkg:gem/mixlib-shellout#lib/mixlib/shellout.rb:269
317
308
  def run_command; end
318
309
 
319
- # Returns the value of attribute sensitive.
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
- # Sets the attribute sensitive
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
- # source://mixlib-shellout//lib/mixlib/shellout.rb#108
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
- # source://mixlib-shellout//lib/mixlib/shellout.rb#104
324
+ # pkg:gem/mixlib-shellout#lib/mixlib/shellout.rb:104
340
325
  def stderr; end
341
326
 
342
- # Returns the value of attribute stderr_pipe.
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
- # Returns the value of attribute stdin_pipe.
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
- # source://mixlib-shellout//lib/mixlib/shellout.rb#101
335
+ # pkg:gem/mixlib-shellout#lib/mixlib/shellout.rb:101
355
336
  def stdout; end
356
337
 
357
- # Returns the value of attribute stdout_pipe.
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
- # source://mixlib-shellout//lib/mixlib/shellout.rb#227
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
- # source://mixlib-shellout//lib/mixlib/shellout.rb#95
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
- # source://mixlib-shellout//lib/mixlib/shellout.rb#211
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
- # source://mixlib-shellout//lib/mixlib/shellout.rb#87
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
- # source://mixlib-shellout//lib/mixlib/shellout.rb#204
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
- # source://mixlib-shellout//lib/mixlib/shellout.rb#40
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
- # source://mixlib-shellout//lib/mixlib/shellout.rb#40
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
- # source://mixlib-shellout//lib/mixlib/shellout.rb#58
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
- # source://mixlib-shellout//lib/mixlib/shellout.rb#58
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
- # source://mixlib-shellout//lib/mixlib/shellout.rb#44
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
- # source://mixlib-shellout//lib/mixlib/shellout.rb#44
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
- # source://mixlib-shellout//lib/mixlib/shellout.rb#311
405
+ # pkg:gem/mixlib-shellout#lib/mixlib/shellout.rb:316
424
406
  def parse_options(opts); end
425
407
 
426
- # source://mixlib-shellout//lib/mixlib/shellout.rb#365
408
+ # pkg:gem/mixlib-shellout#lib/mixlib/shellout.rb:372
427
409
  def validate_options(opts); end
428
410
  end
429
411
 
430
- # source://mixlib-shellout//lib/mixlib/shellout/exceptions.rb#5
412
+ # pkg:gem/mixlib-shellout#lib/mixlib/shellout/exceptions.rb:5
431
413
  class Mixlib::ShellOut::CommandTimeout < ::Mixlib::ShellOut::Error; end
432
414
 
433
- # source://mixlib-shellout//lib/mixlib/shellout.rb#29
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
- # source://mixlib-shellout//lib/mixlib/shellout/exceptions.rb#7
418
+ # pkg:gem/mixlib-shellout#lib/mixlib/shellout/exceptions.rb:7
437
419
  class Mixlib::ShellOut::EmptyWindowsCommand < ::Mixlib::ShellOut::ShellCommandFailed; end
438
420
 
439
- # source://mixlib-shellout//lib/mixlib/shellout/exceptions.rb#3
421
+ # pkg:gem/mixlib-shellout#lib/mixlib/shellout/exceptions.rb:3
440
422
  class Mixlib::ShellOut::Error < ::RuntimeError; end
441
423
 
442
- # source://mixlib-shellout//lib/mixlib/shellout/exceptions.rb#6
424
+ # pkg:gem/mixlib-shellout#lib/mixlib/shellout/exceptions.rb:6
443
425
  class Mixlib::ShellOut::InvalidCommandOption < ::Mixlib::ShellOut::Error; end
444
426
 
445
- # source://mixlib-shellout//lib/mixlib/shellout.rb#28
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
- # source://mixlib-shellout//lib/mixlib/shellout.rb#27
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
- # source://mixlib-shellout//lib/mixlib/shellout/exceptions.rb#4
433
+ # pkg:gem/mixlib-shellout#lib/mixlib/shellout/exceptions.rb:4
452
434
  class Mixlib::ShellOut::ShellCommandFailed < ::Mixlib::ShellOut::Error; end
453
435
 
454
- # source://mixlib-shellout//lib/mixlib/shellout/unix.rb#21
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
- # source://mixlib-shellout//lib/mixlib/shellout/unix.rb#41
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
- # source://mixlib-shellout//lib/mixlib/shellout/unix.rb#63
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
- # source://mixlib-shellout//lib/mixlib/shellout/unix.rb#74
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
- # source://mixlib-shellout//lib/mixlib/shellout/unix.rb#96
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
- # source://mixlib-shellout//lib/mixlib/shellout/unix.rb#54
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
- # @return [Boolean]
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
- # source://mixlib-shellout//lib/mixlib/shellout/unix.rb#29
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
- # source://mixlib-shellout//lib/mixlib/shellout/unix.rb#279
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
- # source://mixlib-shellout//lib/mixlib/shellout/unix.rb#408
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
- # source://mixlib-shellout//lib/mixlib/shellout/unix.rb#192
509
+ # pkg:gem/mixlib-shellout#lib/mixlib/shellout/unix.rb:193
527
510
  def child_pgid; end
528
511
 
529
- # source://mixlib-shellout//lib/mixlib/shellout/unix.rb#213
512
+ # pkg:gem/mixlib-shellout#lib/mixlib/shellout/unix.rb:214
530
513
  def child_process_status; end
531
514
 
532
- # source://mixlib-shellout//lib/mixlib/shellout/unix.rb#209
515
+ # pkg:gem/mixlib-shellout#lib/mixlib/shellout/unix.rb:210
533
516
  def child_stderr; end
534
517
 
535
- # source://mixlib-shellout//lib/mixlib/shellout/unix.rb#201
518
+ # pkg:gem/mixlib-shellout#lib/mixlib/shellout/unix.rb:202
536
519
  def child_stdin; end
537
520
 
538
- # source://mixlib-shellout//lib/mixlib/shellout/unix.rb#205
521
+ # pkg:gem/mixlib-shellout#lib/mixlib/shellout/unix.rb:206
539
522
  def child_stdout; end
540
523
 
541
- # source://mixlib-shellout//lib/mixlib/shellout/unix.rb#217
524
+ # pkg:gem/mixlib-shellout#lib/mixlib/shellout/unix.rb:218
542
525
  def close_all_pipes; end
543
526
 
544
- # source://mixlib-shellout//lib/mixlib/shellout/unix.rb#250
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
- # source://mixlib-shellout//lib/mixlib/shellout/unix.rb#229
536
+ # pkg:gem/mixlib-shellout#lib/mixlib/shellout/unix.rb:230
554
537
  def configure_subprocess_file_descriptors; end
555
538
 
556
- # source://mixlib-shellout//lib/mixlib/shellout/unix.rb#318
539
+ # pkg:gem/mixlib-shellout#lib/mixlib/shellout/unix.rb:323
557
540
  def fork_subprocess; end
558
541
 
559
- # source://mixlib-shellout//lib/mixlib/shellout/unix.rb#196
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
- # source://mixlib-shellout//lib/mixlib/shellout/unix.rb#267
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
- # source://mixlib-shellout//lib/mixlib/shellout/unix.rb#358
555
+ # pkg:gem/mixlib-shellout#lib/mixlib/shellout/unix.rb:367
573
556
  def propagate_pre_exec_failure; end
574
557
 
575
- # source://mixlib-shellout//lib/mixlib/shellout/unix.rb#309
558
+ # pkg:gem/mixlib-shellout#lib/mixlib/shellout/unix.rb:310
576
559
  def read_process_status_to_buffer; end
577
560
 
578
- # source://mixlib-shellout//lib/mixlib/shellout/unix.rb#299
561
+ # pkg:gem/mixlib-shellout#lib/mixlib/shellout/unix.rb:300
579
562
  def read_stderr_to_buffer; end
580
563
 
581
- # source://mixlib-shellout//lib/mixlib/shellout/unix.rb#289
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
- # source://mixlib-shellout//lib/mixlib/shellout/unix.rb#395
571
+ # pkg:gem/mixlib-shellout#lib/mixlib/shellout/unix.rb:404
589
572
  def reap; end
590
573
 
591
- # source://mixlib-shellout//lib/mixlib/shellout/unix.rb#369
574
+ # pkg:gem/mixlib-shellout#lib/mixlib/shellout/unix.rb:378
592
575
  def reap_errant_child; end
593
576
 
594
- # source://mixlib-shellout//lib/mixlib/shellout/unix.rb#186
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
- # source://mixlib-shellout//lib/mixlib/shellout/unix.rb#175
583
+ # pkg:gem/mixlib-shellout#lib/mixlib/shellout/unix.rb:166
598
584
  def set_environment; end
599
585
 
600
- # source://mixlib-shellout//lib/mixlib/shellout/unix.rb#162
586
+ # pkg:gem/mixlib-shellout#lib/mixlib/shellout/unix.rb:153
601
587
  def set_group; end
602
588
 
603
- # source://mixlib-shellout//lib/mixlib/shellout/unix.rb#169
589
+ # pkg:gem/mixlib-shellout#lib/mixlib/shellout/unix.rb:160
604
590
  def set_secondarygroups; end
605
591
 
606
- # source://mixlib-shellout//lib/mixlib/shellout/unix.rb#182
592
+ # pkg:gem/mixlib-shellout#lib/mixlib/shellout/unix.rb:173
607
593
  def set_umask; end
608
594
 
609
- # source://mixlib-shellout//lib/mixlib/shellout/unix.rb#155
595
+ # pkg:gem/mixlib-shellout#lib/mixlib/shellout/unix.rb:146
610
596
  def set_user; end
611
597
 
612
- # @return [Boolean]
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
- # source://mixlib-shellout//lib/mixlib/shellout/unix.rb#272
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)