shotgrid_api_ruby 0.2.0.4 → 0.2.0.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/test_and_publish.yml +3 -3
- data/.github/workflows/test_only.yml +7 -5
- data/.ruby-version +1 -1
- data/CHANGELOG.md +54 -2
- data/Gemfile +12 -0
- data/Gemfile.lock +108 -93
- data/bin/prettirun +1 -1
- data/docs/ShotgridApiRuby/Auth/Validator.html +4 -4
- data/docs/ShotgridApiRuby/Auth.html +4 -4
- data/docs/ShotgridApiRuby/Client.html +4 -4
- data/docs/ShotgridApiRuby/Entities/Params/TooComplexFiltersError.html +4 -4
- data/docs/ShotgridApiRuby/Entities/Params.html +41 -41
- data/docs/ShotgridApiRuby/Entities/Schema.html +4 -4
- data/docs/ShotgridApiRuby/Entities/Summarize/Summary.html +8 -8
- data/docs/ShotgridApiRuby/Entities/Summarize.html +9 -9
- data/docs/ShotgridApiRuby/Entities.html +27 -27
- data/docs/ShotgridApiRuby/Entity.html +12 -12
- data/docs/ShotgridApiRuby/Preferences.html +4 -4
- data/docs/ShotgridApiRuby/ServerInfo.html +4 -4
- data/docs/ShotgridApiRuby/ShotgridCallError.html +4 -4
- data/docs/ShotgridApiRuby/Types.html +4 -4
- data/docs/ShotgridApiRuby.html +5 -5
- data/docs/_index.html +5 -5
- data/docs/file.README.html +4 -4
- data/docs/frames.html +1 -1
- data/docs/index.html +4 -4
- data/docs/top-level-namespace.html +4 -4
- data/lib/shotgrid_api_ruby/entities/params.rb +15 -18
- data/lib/shotgrid_api_ruby/entities/summarize.rb +4 -4
- data/lib/shotgrid_api_ruby/entities.rb +23 -23
- data/lib/shotgrid_api_ruby/version.rb +1 -1
- data/shotgrid_api_ruby.gemspec +3 -12
- data/sorbet/rbi/gems/activesupport@7.0.4.2.rbi +18676 -0
- data/sorbet/rbi/gems/ast@2.4.2.rbi +533 -3
- data/sorbet/rbi/gems/backport@1.2.0.rbi +518 -4
- data/sorbet/rbi/gems/benchmark@0.2.1.rbi +588 -0
- data/sorbet/rbi/gems/bundler-audit@0.9.1.rbi +308 -0
- data/sorbet/rbi/gems/byebug@11.1.3.rbi +2065 -28
- data/sorbet/rbi/gems/childprocess@4.1.0.rbi +397 -4
- data/sorbet/rbi/gems/coderay@1.1.3.rbi +2425 -4
- data/sorbet/rbi/gems/concurrent-ruby@1.2.0.rbi +11570 -0
- data/sorbet/rbi/gems/diff-lcs@1.5.0.rbi +1083 -0
- data/sorbet/rbi/gems/docile@1.4.0.rbi +335 -13
- data/sorbet/rbi/gems/dotenv@2.8.1.rbi +234 -0
- data/sorbet/rbi/gems/e2mmap@0.1.0.rbi +4 -4
- data/sorbet/rbi/gems/faker@3.1.0.rbi +13380 -0
- data/sorbet/rbi/gems/faraday-em_http@1.0.0.rbi +167 -11
- data/sorbet/rbi/gems/faraday-em_synchrony@1.0.0.rbi +94 -11
- data/sorbet/rbi/gems/faraday-excon@1.1.0.rbi +105 -11
- data/sorbet/rbi/gems/faraday-httpclient@1.0.1.rbi +118 -11
- data/sorbet/rbi/gems/faraday-multipart@1.0.4.rbi +273 -0
- data/sorbet/rbi/gems/faraday-net_http@1.0.1.rbi +106 -11
- data/sorbet/rbi/gems/faraday-net_http_persistent@1.2.0.rbi +92 -11
- data/sorbet/rbi/gems/faraday-patron@1.0.0.rbi +97 -11
- data/sorbet/rbi/gems/faraday-rack@1.0.0.rbi +106 -11
- data/sorbet/rbi/gems/faraday-retry@1.0.3.rbi +227 -0
- data/sorbet/rbi/gems/faraday@1.10.3.rbi +2743 -0
- data/sorbet/rbi/gems/ffi@1.15.5.rbi +8 -0
- data/sorbet/rbi/gems/formatador@1.1.0.rbi +8 -0
- data/sorbet/rbi/gems/guard-compat@1.2.1.rbi +62 -4
- data/sorbet/rbi/gems/guard-rspec@4.7.3.rbi +558 -4
- data/sorbet/rbi/gems/guard@2.18.0.rbi +4 -4
- data/sorbet/rbi/gems/haml@6.1.1.rbi +1588 -0
- data/sorbet/rbi/gems/i18n@1.12.0.rbi +2296 -0
- data/sorbet/rbi/gems/iniparse@1.5.0.rbi +893 -4
- data/sorbet/rbi/gems/jaro_winkler@1.5.4.rbi +15 -4
- data/sorbet/rbi/gems/json@2.6.3.rbi +1533 -0
- data/sorbet/rbi/gems/kramdown-parser-gfm@1.1.0.rbi +129 -4
- data/sorbet/rbi/gems/kramdown@2.4.0.rbi +3271 -0
- data/sorbet/rbi/gems/listen@3.8.0.rbi +1181 -0
- data/sorbet/rbi/gems/lumberjack@1.2.8.rbi +4 -4
- data/sorbet/rbi/gems/method_source@1.0.0.rbi +202 -2
- data/sorbet/rbi/gems/minitest@5.17.0.rbi +1457 -0
- data/sorbet/rbi/gems/multipart-post@2.3.0.rbi +233 -0
- data/sorbet/rbi/gems/nenv@0.3.0.rbi +4 -4
- data/sorbet/rbi/gems/netrc@0.11.0.rbi +158 -0
- data/sorbet/rbi/gems/nokogiri@1.14.0.rbi +7250 -0
- data/sorbet/rbi/gems/notiffany@0.1.3.rbi +4 -4
- data/sorbet/rbi/gems/overcommit@0.60.0.rbi +2399 -0
- data/sorbet/rbi/gems/parallel@1.22.1.rbi +277 -0
- data/sorbet/rbi/gems/parser@3.2.0.0.rbi +6964 -0
- data/sorbet/rbi/gems/prettier@3.2.2.rbi +22 -0
- data/sorbet/rbi/gems/prettier_print@1.2.0.rbi +8 -0
- data/sorbet/rbi/gems/pry-byebug@3.10.1.rbi +1171 -0
- data/sorbet/rbi/gems/pry@0.14.2.rbi +10081 -0
- data/sorbet/rbi/gems/racc@1.6.2.rbi +154 -0
- data/sorbet/rbi/gems/rainbow@3.1.1.rbi +408 -0
- data/sorbet/rbi/gems/rake@13.0.6.rbi +2248 -13
- data/sorbet/rbi/gems/rb-fsevent@0.11.2.rbi +8 -0
- data/sorbet/rbi/gems/rb-inotify@0.10.1.rbi +4 -4
- data/sorbet/rbi/gems/rbi@0.0.16.rbi +3008 -0
- data/sorbet/rbi/gems/rbs@2.8.4.rbi +8 -0
- data/sorbet/rbi/gems/regexp_parser@2.6.2.rbi +3481 -0
- data/sorbet/rbi/gems/reverse_markdown@2.1.1.rbi +389 -0
- data/sorbet/rbi/gems/rexml@3.2.5.rbi +4048 -3
- data/sorbet/rbi/gems/rspec-core@3.12.0.rbi +10809 -0
- data/sorbet/rbi/gems/rspec-expectations@3.12.2.rbi +8109 -0
- data/sorbet/rbi/gems/rspec-mocks@3.12.3.rbi +5308 -0
- data/sorbet/rbi/gems/rspec-support@3.12.0.rbi +1620 -0
- data/sorbet/rbi/gems/rspec@3.12.0.rbi +91 -0
- data/sorbet/rbi/gems/rspec_in_context@1.1.0.3.rbi +387 -15
- data/sorbet/rbi/gems/rubocop-ast@1.24.1.rbi +7019 -0
- data/sorbet/rbi/gems/rubocop-faker@1.1.0.rbi +102 -4
- data/sorbet/rbi/gems/rubocop-performance@1.15.2.rbi +3021 -0
- data/sorbet/rbi/gems/rubocop-sorbet@0.6.11.rbi +990 -0
- data/sorbet/rbi/gems/rubocop@1.44.1.rbi +54394 -0
- data/sorbet/rbi/gems/ruby-progressbar@1.11.0.rbi +1235 -4
- data/sorbet/rbi/gems/ruby2_keywords@0.0.5.rbi +4 -4
- data/sorbet/rbi/gems/shellany@0.0.1.rbi +4 -4
- data/sorbet/rbi/gems/simplecov-html@0.12.3.rbi +135 -5
- data/sorbet/rbi/gems/simplecov@0.22.0.rbi +2148 -0
- data/sorbet/rbi/gems/simplecov_json_formatter@0.1.4.rbi +8 -0
- data/sorbet/rbi/gems/solargraph@0.48.0.rbi +9146 -0
- data/sorbet/rbi/gems/spoom@1.1.15.rbi +2383 -0
- data/sorbet/rbi/gems/syntax_tree-haml@3.0.0.rbi +8 -0
- data/sorbet/rbi/gems/syntax_tree-rbs@0.5.1.rbi +8 -0
- data/sorbet/rbi/gems/syntax_tree@5.2.0.rbi +8 -0
- data/sorbet/rbi/gems/tapioca@0.10.5.rbi +3226 -0
- data/sorbet/rbi/gems/temple@0.10.0.rbi +1722 -0
- data/sorbet/rbi/gems/thor@1.2.1.rbi +3956 -0
- data/sorbet/rbi/gems/tilt@2.0.11.rbi +745 -0
- data/sorbet/rbi/gems/timecop@0.9.6.rbi +368 -0
- data/sorbet/rbi/gems/tzinfo@2.0.5.rbi +5914 -0
- data/sorbet/rbi/gems/unicode-display_width@2.4.2.rbi +65 -0
- data/sorbet/rbi/gems/unparser@0.6.7.rbi +4524 -0
- data/sorbet/rbi/gems/vcr@6.1.0.rbi +3020 -0
- data/sorbet/rbi/gems/webrick@1.7.0.rbi +2555 -0
- data/sorbet/rbi/gems/yard-sorbet@0.8.0.rbi +441 -0
- data/sorbet/rbi/gems/yard@0.9.28.rbi +17863 -0
- data/sorbet/rbi/gems/zeitwerk@2.6.6.rbi +950 -0
- data/yarn.lock +3 -3
- metadata +71 -190
- data/sorbet/rbi/gems/activesupport@6.1.4.1.rbi +0 -3770
- data/sorbet/rbi/gems/benchmark@0.1.1.rbi +0 -65
- data/sorbet/rbi/gems/bundler-audit@0.8.0.rbi +0 -8
- data/sorbet/rbi/gems/colorize@0.8.1.rbi +0 -39
- data/sorbet/rbi/gems/commander@4.6.0.rbi +0 -8
- data/sorbet/rbi/gems/concurrent-ruby@1.1.9.rbi +0 -2403
- data/sorbet/rbi/gems/diff-lcs@1.4.4.rbi +0 -8
- data/sorbet/rbi/gems/dotenv@2.7.6.rbi +0 -88
- data/sorbet/rbi/gems/faker@2.19.0.rbi +0 -2513
- data/sorbet/rbi/gems/faraday@1.7.0.rbi +0 -783
- data/sorbet/rbi/gems/ffi@1.15.3.rbi +0 -8
- data/sorbet/rbi/gems/formatador@0.3.0.rbi +0 -8
- data/sorbet/rbi/gems/haml@5.2.2.rbi +0 -8
- data/sorbet/rbi/gems/highline@2.0.3.rbi +0 -8
- data/sorbet/rbi/gems/i18n@1.8.10.rbi +0 -584
- data/sorbet/rbi/gems/kramdown@2.3.1.rbi +0 -8
- data/sorbet/rbi/gems/listen@3.7.0.rbi +0 -476
- data/sorbet/rbi/gems/minitest@5.14.4.rbi +0 -344
- data/sorbet/rbi/gems/multipart-post@2.1.1.rbi +0 -69
- data/sorbet/rbi/gems/nokogiri@1.12.3.rbi +0 -8
- data/sorbet/rbi/gems/overcommit@0.58.0.rbi +0 -8
- data/sorbet/rbi/gems/parallel@1.20.1.rbi +0 -8
- data/sorbet/rbi/gems/parlour@6.0.1.rbi +0 -1610
- data/sorbet/rbi/gems/parser@3.0.2.0.rbi +0 -1731
- data/sorbet/rbi/gems/prettier@1.6.1.rbi +0 -8
- data/sorbet/rbi/gems/pry-byebug@3.9.0.rbi +0 -461
- data/sorbet/rbi/gems/pry@0.13.1.rbi +0 -2553
- data/sorbet/rbi/gems/racc@1.5.2.rbi +0 -47
- data/sorbet/rbi/gems/rainbow@3.0.0.rbi +0 -153
- data/sorbet/rbi/gems/rb-fsevent@0.11.0.rbi +0 -8
- data/sorbet/rbi/gems/regexp_parser@2.1.1.rbi +0 -8
- data/sorbet/rbi/gems/reverse_markdown@2.0.0.rbi +0 -8
- data/sorbet/rbi/gems/rspec-core@3.10.1.rbi +0 -2500
- data/sorbet/rbi/gems/rspec-expectations@3.10.1.rbi +0 -1574
- data/sorbet/rbi/gems/rspec-mocks@3.10.2.rbi +0 -1462
- data/sorbet/rbi/gems/rspec-support@3.10.2.rbi +0 -510
- data/sorbet/rbi/gems/rspec@3.10.0.rbi +0 -39
- data/sorbet/rbi/gems/rubocop-ast@1.11.0.rbi +0 -8
- data/sorbet/rbi/gems/rubocop-performance@1.11.5.rbi +0 -8
- data/sorbet/rbi/gems/rubocop-sorbet@0.6.2.rbi +0 -8
- data/sorbet/rbi/gems/rubocop@1.20.0.rbi +0 -8
- data/sorbet/rbi/gems/simplecov@0.21.2.rbi +0 -577
- data/sorbet/rbi/gems/simplecov_json_formatter@0.1.3.rbi +0 -8
- data/sorbet/rbi/gems/solargraph@0.43.0.rbi +0 -8
- data/sorbet/rbi/gems/spoom@1.1.2.rbi +0 -1204
- data/sorbet/rbi/gems/tapioca@0.4.25.rbi +0 -1239
- data/sorbet/rbi/gems/temple@0.8.2.rbi +0 -8
- data/sorbet/rbi/gems/thor@1.1.0.rbi +0 -838
- data/sorbet/rbi/gems/tilt@2.0.10.rbi +0 -8
- data/sorbet/rbi/gems/timecop@0.9.4.rbi +0 -82
- data/sorbet/rbi/gems/tzinfo@2.0.4.rbi +0 -857
- data/sorbet/rbi/gems/unicode-display_width@2.0.0.rbi +0 -8
- data/sorbet/rbi/gems/unparser@0.6.0.rbi +0 -8
- data/sorbet/rbi/gems/vcr@6.0.0.rbi +0 -782
- data/sorbet/rbi/gems/yard-sorbet@0.5.3.rbi +0 -8
- data/sorbet/rbi/gems/yard@0.9.26.rbi +0 -8
- data/sorbet/rbi/gems/zeitwerk@2.4.2.rbi +0 -173
@@ -1,8 +1,401 @@
|
|
1
|
+
# typed: true
|
2
|
+
|
1
3
|
# DO NOT EDIT MANUALLY
|
2
4
|
# This is an autogenerated file for types exported from the `childprocess` gem.
|
3
|
-
# Please instead update this file by running `bin/tapioca
|
5
|
+
# Please instead update this file by running `bin/tapioca gem childprocess`.
|
4
6
|
|
5
|
-
#
|
7
|
+
# source://childprocess//lib/childprocess/version.rb#1
|
8
|
+
module ChildProcess
|
9
|
+
class << self
|
10
|
+
# source://childprocess//lib/childprocess.rb#131
|
11
|
+
def arch; end
|
12
|
+
|
13
|
+
# source://childprocess//lib/childprocess.rb#15
|
14
|
+
def build(*args); end
|
15
|
+
|
16
|
+
# By default, a child process will inherit open file descriptors from the
|
17
|
+
# parent process. This helper provides a cross-platform way of making sure
|
18
|
+
# that doesn't happen for the given file/io.
|
19
|
+
#
|
20
|
+
# source://childprocess//lib/childprocess.rb#158
|
21
|
+
def close_on_exec(file); end
|
22
|
+
|
23
|
+
# @return [Boolean]
|
24
|
+
#
|
25
|
+
# source://childprocess//lib/childprocess.rb#64
|
26
|
+
def jruby?; end
|
27
|
+
|
28
|
+
# @return [Boolean]
|
29
|
+
#
|
30
|
+
# source://childprocess//lib/childprocess.rb#60
|
31
|
+
def linux?; end
|
32
|
+
|
33
|
+
# source://childprocess//lib/childprocess.rb#33
|
34
|
+
def logger; end
|
35
|
+
|
36
|
+
# Sets the attribute logger
|
37
|
+
#
|
38
|
+
# @param value the value to set the attribute logger to.
|
39
|
+
#
|
40
|
+
# source://childprocess//lib/childprocess.rb#13
|
41
|
+
def logger=(_arg0); end
|
42
|
+
|
43
|
+
# source://childprocess//lib/childprocess.rb#15
|
44
|
+
def new(*args); end
|
45
|
+
|
46
|
+
# source://childprocess//lib/childprocess.rb#105
|
47
|
+
def os; end
|
48
|
+
|
49
|
+
# source://childprocess//lib/childprocess.rb#42
|
50
|
+
def platform; end
|
51
|
+
|
52
|
+
# source://childprocess//lib/childprocess.rb#52
|
53
|
+
def platform_name; end
|
54
|
+
|
55
|
+
# Set this to true to enable experimental use of posix_spawn.
|
56
|
+
#
|
57
|
+
# source://childprocess//lib/childprocess.rb#101
|
58
|
+
def posix_spawn=(bool); end
|
59
|
+
|
60
|
+
# @return [Boolean]
|
61
|
+
#
|
62
|
+
# source://childprocess//lib/childprocess.rb#72
|
63
|
+
def posix_spawn?; end
|
64
|
+
|
65
|
+
# @return [Boolean]
|
66
|
+
#
|
67
|
+
# source://childprocess//lib/childprocess.rb#56
|
68
|
+
def unix?; end
|
69
|
+
|
70
|
+
# @return [Boolean]
|
71
|
+
#
|
72
|
+
# source://childprocess//lib/childprocess.rb#68
|
73
|
+
def windows?; end
|
74
|
+
|
75
|
+
private
|
76
|
+
|
77
|
+
# @return [Boolean] `true` if this Ruby represents `1` in 64 bits (8 bytes).
|
78
|
+
#
|
79
|
+
# source://childprocess//lib/childprocess.rb#199
|
80
|
+
def is_64_bit?; end
|
81
|
+
|
82
|
+
# source://childprocess//lib/childprocess.rb#179
|
83
|
+
def warn_once(msg); end
|
84
|
+
|
85
|
+
# Workaround: detect the situation that an older Darwin Ruby is actually
|
86
|
+
# 64-bit, but is misreporting cpu as i686, which would imply 32-bit.
|
87
|
+
#
|
88
|
+
# @return [Boolean] `true` if:
|
89
|
+
# (a) on Mac OS X
|
90
|
+
# (b) actually running in 64-bit mode
|
91
|
+
#
|
92
|
+
# source://childprocess//lib/childprocess.rb#194
|
93
|
+
def workaround_older_macosx_misreported_cpu?; end
|
94
|
+
end
|
95
|
+
end
|
96
|
+
|
97
|
+
# source://childprocess//lib/childprocess/abstract_io.rb#2
|
98
|
+
class ChildProcess::AbstractIO
|
99
|
+
# @api private
|
100
|
+
#
|
101
|
+
# source://childprocess//lib/childprocess/abstract_io.rb#24
|
102
|
+
def _stdin=(io); end
|
103
|
+
|
104
|
+
# source://childprocess//lib/childprocess/abstract_io.rb#5
|
105
|
+
def inherit!; end
|
106
|
+
|
107
|
+
# Returns the value of attribute stderr.
|
108
|
+
#
|
109
|
+
# source://childprocess//lib/childprocess/abstract_io.rb#3
|
110
|
+
def stderr; end
|
111
|
+
|
112
|
+
# source://childprocess//lib/childprocess/abstract_io.rb#10
|
113
|
+
def stderr=(io); end
|
114
|
+
|
115
|
+
# Returns the value of attribute stdin.
|
116
|
+
#
|
117
|
+
# source://childprocess//lib/childprocess/abstract_io.rb#3
|
118
|
+
def stdin; end
|
119
|
+
|
120
|
+
# Returns the value of attribute stdout.
|
121
|
+
#
|
122
|
+
# source://childprocess//lib/childprocess/abstract_io.rb#3
|
123
|
+
def stdout; end
|
124
|
+
|
125
|
+
# source://childprocess//lib/childprocess/abstract_io.rb#15
|
126
|
+
def stdout=(io); end
|
127
|
+
|
128
|
+
private
|
129
|
+
|
130
|
+
# @raise [SubclassResponsibility]
|
131
|
+
#
|
132
|
+
# source://childprocess//lib/childprocess/abstract_io.rb#31
|
133
|
+
def check_type(io); end
|
134
|
+
end
|
135
|
+
|
136
|
+
# source://childprocess//lib/childprocess/abstract_process.rb#2
|
137
|
+
class ChildProcess::AbstractProcess
|
138
|
+
# Create a new process with the given args.
|
139
|
+
#
|
140
|
+
# @api private
|
141
|
+
# @return [AbstractProcess] a new instance of AbstractProcess
|
142
|
+
# @see ChildProcess.build
|
143
|
+
#
|
144
|
+
# source://childprocess//lib/childprocess/abstract_process.rb#42
|
145
|
+
def initialize(args); end
|
146
|
+
|
147
|
+
# Is this process running?
|
148
|
+
#
|
149
|
+
# @return [Boolean]
|
150
|
+
#
|
151
|
+
# source://childprocess//lib/childprocess/abstract_process.rb#133
|
152
|
+
def alive?; end
|
153
|
+
|
154
|
+
# Returns true if the process has exited and the exit code was not 0.
|
155
|
+
#
|
156
|
+
# @return [Boolean]
|
157
|
+
#
|
158
|
+
# source://childprocess//lib/childprocess/abstract_process.rb#143
|
159
|
+
def crashed?; end
|
160
|
+
|
161
|
+
# Set the child's current working directory.
|
162
|
+
#
|
163
|
+
# source://childprocess//lib/childprocess/abstract_process.rb#25
|
164
|
+
def cwd; end
|
165
|
+
|
166
|
+
# Set the child's current working directory.
|
167
|
+
#
|
168
|
+
# source://childprocess//lib/childprocess/abstract_process.rb#25
|
169
|
+
def cwd=(_arg0); end
|
170
|
+
|
171
|
+
# Set this to true if you do not care about when or if the process quits.
|
172
|
+
#
|
173
|
+
# source://childprocess//lib/childprocess/abstract_process.rb#10
|
174
|
+
def detach; end
|
175
|
+
|
176
|
+
# Set this to true if you do not care about when or if the process quits.
|
177
|
+
#
|
178
|
+
# source://childprocess//lib/childprocess/abstract_process.rb#10
|
179
|
+
def detach=(_arg0); end
|
180
|
+
|
181
|
+
# Set this to true if you want to write to the process' stdin (process.io.stdin)
|
182
|
+
#
|
183
|
+
# source://childprocess//lib/childprocess/abstract_process.rb#15
|
184
|
+
def duplex; end
|
185
|
+
|
186
|
+
# Set this to true if you want to write to the process' stdin (process.io.stdin)
|
187
|
+
#
|
188
|
+
# source://childprocess//lib/childprocess/abstract_process.rb#15
|
189
|
+
def duplex=(_arg0); end
|
190
|
+
|
191
|
+
# Modify the child's environment variables
|
192
|
+
#
|
193
|
+
# source://childprocess//lib/childprocess/abstract_process.rb#20
|
194
|
+
def environment; end
|
195
|
+
|
196
|
+
# Returns the value of attribute exit_code.
|
197
|
+
#
|
198
|
+
# source://childprocess//lib/childprocess/abstract_process.rb#5
|
199
|
+
def exit_code; end
|
200
|
+
|
201
|
+
# Did the process exit?
|
202
|
+
#
|
203
|
+
# @raise [SubclassResponsibility]
|
204
|
+
# @return [Boolean]
|
205
|
+
#
|
206
|
+
# source://childprocess//lib/childprocess/abstract_process.rb#113
|
207
|
+
def exited?; end
|
208
|
+
|
209
|
+
# Returns a ChildProcess::AbstractIO subclass to configure the child's IO streams.
|
210
|
+
#
|
211
|
+
# @raise [SubclassResponsibility]
|
212
|
+
#
|
213
|
+
# source://childprocess//lib/childprocess/abstract_process.rb#62
|
214
|
+
def io; end
|
215
|
+
|
216
|
+
# Set this to true to make the child process the leader of a new process group
|
217
|
+
#
|
218
|
+
# This can be used to make sure that all grandchildren are killed
|
219
|
+
# when the child process dies.
|
220
|
+
#
|
221
|
+
# source://childprocess//lib/childprocess/abstract_process.rb#33
|
222
|
+
def leader; end
|
223
|
+
|
224
|
+
# Set this to true to make the child process the leader of a new process group
|
225
|
+
#
|
226
|
+
# This can be used to make sure that all grandchildren are killed
|
227
|
+
# when the child process dies.
|
228
|
+
#
|
229
|
+
# source://childprocess//lib/childprocess/abstract_process.rb#33
|
230
|
+
def leader=(_arg0); end
|
231
|
+
|
232
|
+
# @raise [SubclassResponsibility]
|
233
|
+
# @return [Integer] the pid of the process after it has started
|
234
|
+
#
|
235
|
+
# source://childprocess//lib/childprocess/abstract_process.rb#70
|
236
|
+
def pid; end
|
237
|
+
|
238
|
+
# Wait for the process to exit, raising a ChildProcess::TimeoutError if
|
239
|
+
# the timeout expires.
|
240
|
+
#
|
241
|
+
# source://childprocess//lib/childprocess/abstract_process.rb#152
|
242
|
+
def poll_for_exit(timeout); end
|
243
|
+
|
244
|
+
# Launch the child process
|
245
|
+
#
|
246
|
+
# @return [AbstractProcess] self
|
247
|
+
#
|
248
|
+
# source://childprocess//lib/childprocess/abstract_process.rb#80
|
249
|
+
def start; end
|
250
|
+
|
251
|
+
# Has the process started?
|
252
|
+
#
|
253
|
+
# @return [Boolean]
|
254
|
+
#
|
255
|
+
# source://childprocess//lib/childprocess/abstract_process.rb#123
|
256
|
+
def started?; end
|
257
|
+
|
258
|
+
# Forcibly terminate the process, using increasingly harsher methods if possible.
|
259
|
+
#
|
260
|
+
# @param timeout [Integer] (3) Seconds to wait before trying the next method.
|
261
|
+
# @raise [SubclassResponsibility]
|
262
|
+
#
|
263
|
+
# source://childprocess//lib/childprocess/abstract_process.rb#93
|
264
|
+
def stop(timeout = T.unsafe(nil)); end
|
265
|
+
|
266
|
+
# Block until the process has been terminated.
|
267
|
+
#
|
268
|
+
# @raise [SubclassResponsibility]
|
269
|
+
# @return [Integer] The exit status of the process
|
270
|
+
#
|
271
|
+
# source://childprocess//lib/childprocess/abstract_process.rb#103
|
272
|
+
def wait; end
|
273
|
+
|
274
|
+
private
|
275
|
+
|
276
|
+
# @raise [Error]
|
277
|
+
#
|
278
|
+
# source://childprocess//lib/childprocess/abstract_process.rb#187
|
279
|
+
def assert_started; end
|
280
|
+
|
281
|
+
# @return [Boolean]
|
282
|
+
#
|
283
|
+
# source://childprocess//lib/childprocess/abstract_process.rb#171
|
284
|
+
def detach?; end
|
285
|
+
|
286
|
+
# @return [Boolean]
|
287
|
+
#
|
288
|
+
# source://childprocess//lib/childprocess/abstract_process.rb#175
|
289
|
+
def duplex?; end
|
290
|
+
|
291
|
+
# @raise [SubclassResponsibility]
|
292
|
+
#
|
293
|
+
# source://childprocess//lib/childprocess/abstract_process.rb#167
|
294
|
+
def launch_process; end
|
295
|
+
|
296
|
+
# @return [Boolean]
|
297
|
+
#
|
298
|
+
# source://childprocess//lib/childprocess/abstract_process.rb#179
|
299
|
+
def leader?; end
|
300
|
+
|
301
|
+
# source://childprocess//lib/childprocess/abstract_process.rb#183
|
302
|
+
def log(*args); end
|
303
|
+
end
|
304
|
+
|
305
|
+
# source://childprocess//lib/childprocess/abstract_process.rb#3
|
306
|
+
ChildProcess::AbstractProcess::POLL_INTERVAL = T.let(T.unsafe(nil), Float)
|
307
|
+
|
308
|
+
# source://childprocess//lib/childprocess/errors.rb#2
|
309
|
+
class ChildProcess::Error < ::StandardError; end
|
310
|
+
|
311
|
+
# source://childprocess//lib/childprocess/errors.rb#11
|
312
|
+
class ChildProcess::InvalidEnvironmentVariable < ::ChildProcess::Error; end
|
313
|
+
|
314
|
+
# source://childprocess//lib/childprocess/errors.rb#14
|
315
|
+
class ChildProcess::LaunchError < ::ChildProcess::Error; end
|
316
|
+
|
317
|
+
# source://childprocess//lib/childprocess/errors.rb#17
|
318
|
+
class ChildProcess::MissingFFIError < ::ChildProcess::Error
|
319
|
+
# @return [MissingFFIError] a new instance of MissingFFIError
|
320
|
+
#
|
321
|
+
# source://childprocess//lib/childprocess/errors.rb#18
|
322
|
+
def initialize; end
|
323
|
+
end
|
324
|
+
|
325
|
+
# source://childprocess//lib/childprocess/errors.rb#28
|
326
|
+
class ChildProcess::MissingPlatformError < ::ChildProcess::Error
|
327
|
+
# @return [MissingPlatformError] a new instance of MissingPlatformError
|
328
|
+
#
|
329
|
+
# source://childprocess//lib/childprocess/errors.rb#29
|
330
|
+
def initialize; end
|
331
|
+
end
|
332
|
+
|
333
|
+
# source://childprocess//lib/childprocess/errors.rb#8
|
334
|
+
class ChildProcess::SubclassResponsibility < ::ChildProcess::Error; end
|
335
|
+
|
336
|
+
# source://childprocess//lib/childprocess/errors.rb#5
|
337
|
+
class ChildProcess::TimeoutError < ::ChildProcess::Error; end
|
338
|
+
|
339
|
+
# source://childprocess//lib/childprocess/unix.rb#2
|
340
|
+
module ChildProcess::Unix; end
|
341
|
+
|
342
|
+
# source://childprocess//lib/childprocess/unix/fork_exec_process.rb#3
|
343
|
+
class ChildProcess::Unix::ForkExecProcess < ::ChildProcess::Unix::Process
|
344
|
+
private
|
345
|
+
|
346
|
+
# source://childprocess//lib/childprocess/unix/fork_exec_process.rb#6
|
347
|
+
def launch_process; end
|
348
|
+
|
349
|
+
# source://childprocess//lib/childprocess/unix/fork_exec_process.rb#72
|
350
|
+
def set_env; end
|
351
|
+
end
|
352
|
+
|
353
|
+
# source://childprocess//lib/childprocess/unix/io.rb#3
|
354
|
+
class ChildProcess::Unix::IO < ::ChildProcess::AbstractIO
|
355
|
+
private
|
356
|
+
|
357
|
+
# source://childprocess//lib/childprocess/unix/io.rb#6
|
358
|
+
def check_type(io); end
|
359
|
+
end
|
360
|
+
|
361
|
+
# source://childprocess//lib/childprocess/unix/process.rb#3
|
362
|
+
class ChildProcess::Unix::Process < ::ChildProcess::AbstractProcess
|
363
|
+
# @return [Boolean]
|
364
|
+
#
|
365
|
+
# source://childprocess//lib/childprocess/unix/process.rb#28
|
366
|
+
def exited?; end
|
367
|
+
|
368
|
+
# source://childprocess//lib/childprocess/unix/process.rb#6
|
369
|
+
def io; end
|
370
|
+
|
371
|
+
# Returns the value of attribute pid.
|
372
|
+
#
|
373
|
+
# source://childprocess//lib/childprocess/unix/process.rb#4
|
374
|
+
def pid; end
|
375
|
+
|
376
|
+
# source://childprocess//lib/childprocess/unix/process.rb#10
|
377
|
+
def stop(timeout = T.unsafe(nil)); end
|
378
|
+
|
379
|
+
# source://childprocess//lib/childprocess/unix/process.rb#47
|
380
|
+
def wait; end
|
381
|
+
|
382
|
+
private
|
383
|
+
|
384
|
+
# source://childprocess//lib/childprocess/unix/process.rb#80
|
385
|
+
def _pid; end
|
386
|
+
|
387
|
+
# source://childprocess//lib/childprocess/unix/process.rb#65
|
388
|
+
def send_kill; end
|
389
|
+
|
390
|
+
# source://childprocess//lib/childprocess/unix/process.rb#69
|
391
|
+
def send_signal(sig); end
|
392
|
+
|
393
|
+
# source://childprocess//lib/childprocess/unix/process.rb#61
|
394
|
+
def send_term; end
|
395
|
+
|
396
|
+
# source://childprocess//lib/childprocess/unix/process.rb#76
|
397
|
+
def set_exit_code(status); end
|
398
|
+
end
|
6
399
|
|
7
|
-
#
|
8
|
-
|
400
|
+
# source://childprocess//lib/childprocess/version.rb#2
|
401
|
+
ChildProcess::VERSION = T.let(T.unsafe(nil), String)
|