ipt 1.0.1 → 2.1.0
Sign up to get free protection for your applications and to get access to all the features.
- 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,49 @@
|
|
1
|
+
# This file is autogenerated. Do not edit it by hand. Regenerate it with:
|
2
|
+
# srb rbi gems
|
3
|
+
|
4
|
+
# typed: strict
|
5
|
+
#
|
6
|
+
# If you would like to make changes to this file, great! Please create the gem's shim here:
|
7
|
+
#
|
8
|
+
# https://github.com/sorbet/sorbet-typed/new/master?filename=lib/ast/all/ast.rbi
|
9
|
+
#
|
10
|
+
# ast-2.4.2
|
11
|
+
|
12
|
+
module AST
|
13
|
+
end
|
14
|
+
class AST::Node
|
15
|
+
def +(array); end
|
16
|
+
def <<(element); end
|
17
|
+
def ==(other); end
|
18
|
+
def append(element); end
|
19
|
+
def assign_properties(properties); end
|
20
|
+
def children; end
|
21
|
+
def clone; end
|
22
|
+
def concat(array); end
|
23
|
+
def deconstruct; end
|
24
|
+
def dup; end
|
25
|
+
def eql?(other); end
|
26
|
+
def fancy_type; end
|
27
|
+
def hash; end
|
28
|
+
def initialize(type, children = nil, properties = nil); end
|
29
|
+
def inspect(indent = nil); end
|
30
|
+
def original_dup; end
|
31
|
+
def to_a; end
|
32
|
+
def to_ast; end
|
33
|
+
def to_s(indent = nil); end
|
34
|
+
def to_sexp(indent = nil); end
|
35
|
+
def to_sexp_array; end
|
36
|
+
def type; end
|
37
|
+
def updated(type = nil, children = nil, properties = nil); end
|
38
|
+
end
|
39
|
+
class AST::Processor
|
40
|
+
include AST::Processor::Mixin
|
41
|
+
end
|
42
|
+
module AST::Processor::Mixin
|
43
|
+
def handler_missing(node); end
|
44
|
+
def process(node); end
|
45
|
+
def process_all(nodes); end
|
46
|
+
end
|
47
|
+
module AST::Sexp
|
48
|
+
def s(type, *children); end
|
49
|
+
end
|
@@ -0,0 +1,54 @@
|
|
1
|
+
# DO NOT EDIT MANUALLY
|
2
|
+
# This is an autogenerated file for types exported from the `ast` gem.
|
3
|
+
# Please instead update this file by running `bin/tapioca sync`.
|
4
|
+
|
5
|
+
# typed: true
|
6
|
+
|
7
|
+
module AST; end
|
8
|
+
|
9
|
+
class AST::Node
|
10
|
+
def initialize(type, children = T.unsafe(nil), properties = T.unsafe(nil)); end
|
11
|
+
|
12
|
+
def +(array); end
|
13
|
+
def <<(element); end
|
14
|
+
def ==(other); end
|
15
|
+
def append(element); end
|
16
|
+
def children; end
|
17
|
+
def clone; end
|
18
|
+
def concat(array); end
|
19
|
+
def deconstruct; end
|
20
|
+
def dup; end
|
21
|
+
def eql?(other); end
|
22
|
+
def hash; end
|
23
|
+
def inspect(indent = T.unsafe(nil)); end
|
24
|
+
def to_a; end
|
25
|
+
def to_ast; end
|
26
|
+
def to_s(indent = T.unsafe(nil)); end
|
27
|
+
def to_sexp(indent = T.unsafe(nil)); end
|
28
|
+
def to_sexp_array; end
|
29
|
+
def type; end
|
30
|
+
def updated(type = T.unsafe(nil), children = T.unsafe(nil), properties = T.unsafe(nil)); end
|
31
|
+
|
32
|
+
protected
|
33
|
+
|
34
|
+
def assign_properties(properties); end
|
35
|
+
def fancy_type; end
|
36
|
+
|
37
|
+
private
|
38
|
+
|
39
|
+
def original_dup; end
|
40
|
+
end
|
41
|
+
|
42
|
+
class AST::Processor
|
43
|
+
include ::AST::Processor::Mixin
|
44
|
+
end
|
45
|
+
|
46
|
+
module AST::Processor::Mixin
|
47
|
+
def handler_missing(node); end
|
48
|
+
def process(node); end
|
49
|
+
def process_all(nodes); end
|
50
|
+
end
|
51
|
+
|
52
|
+
module AST::Sexp
|
53
|
+
def s(type, *children); end
|
54
|
+
end
|
@@ -0,0 +1,8 @@
|
|
1
|
+
# DO NOT EDIT MANUALLY
|
2
|
+
# This is an autogenerated file for types exported from the `axiom-types` gem.
|
3
|
+
# Please instead update this file by running `bin/tapioca sync`.
|
4
|
+
|
5
|
+
# typed: true
|
6
|
+
|
7
|
+
# THIS IS AN EMPTY RBI FILE.
|
8
|
+
# see https://github.com/Shopify/tapioca/blob/master/README.md#manual-gem-requires
|
@@ -0,0 +1,15 @@
|
|
1
|
+
# DO NOT EDIT MANUALLY
|
2
|
+
# This is an autogenerated file for types exported from the `builder` gem.
|
3
|
+
# Please instead update this file by running `bin/tapioca sync`.
|
4
|
+
|
5
|
+
# typed: true
|
6
|
+
|
7
|
+
class Integer < ::Numeric
|
8
|
+
include ::JSON::Ext::Generator::GeneratorMethods::Integer
|
9
|
+
end
|
10
|
+
|
11
|
+
Integer::GMP_VERSION = T.let(T.unsafe(nil), String)
|
12
|
+
|
13
|
+
class Symbol
|
14
|
+
include ::Comparable
|
15
|
+
end
|
@@ -0,0 +1,107 @@
|
|
1
|
+
# This file is autogenerated. Do not edit it by hand. Regenerate it with:
|
2
|
+
# srb rbi gems
|
3
|
+
|
4
|
+
# typed: strict
|
5
|
+
#
|
6
|
+
# If you would like to make changes to this file, great! Please create the gem's shim here:
|
7
|
+
#
|
8
|
+
# https://github.com/sorbet/sorbet-typed/new/master?filename=lib/childprocess/all/childprocess.rbi
|
9
|
+
#
|
10
|
+
# childprocess-3.0.0
|
11
|
+
|
12
|
+
module ChildProcess
|
13
|
+
def self.arch; end
|
14
|
+
def self.build(*args); end
|
15
|
+
def self.close_on_exec(file); end
|
16
|
+
def self.is_64_bit?; end
|
17
|
+
def self.jruby?; end
|
18
|
+
def self.linux?; end
|
19
|
+
def self.logger; end
|
20
|
+
def self.logger=(arg0); end
|
21
|
+
def self.new(*args); end
|
22
|
+
def self.os; end
|
23
|
+
def self.platform; end
|
24
|
+
def self.platform_name; end
|
25
|
+
def self.posix_spawn=(bool); end
|
26
|
+
def self.posix_spawn?; end
|
27
|
+
def self.unix?; end
|
28
|
+
def self.warn_once(msg); end
|
29
|
+
def self.windows?; end
|
30
|
+
def self.workaround_older_macosx_misreported_cpu?; end
|
31
|
+
end
|
32
|
+
class ChildProcess::Error < StandardError
|
33
|
+
end
|
34
|
+
class ChildProcess::TimeoutError < ChildProcess::Error
|
35
|
+
end
|
36
|
+
class ChildProcess::SubclassResponsibility < ChildProcess::Error
|
37
|
+
end
|
38
|
+
class ChildProcess::InvalidEnvironmentVariable < ChildProcess::Error
|
39
|
+
end
|
40
|
+
class ChildProcess::LaunchError < ChildProcess::Error
|
41
|
+
end
|
42
|
+
class ChildProcess::MissingFFIError < ChildProcess::Error
|
43
|
+
def initialize; end
|
44
|
+
end
|
45
|
+
class ChildProcess::MissingPlatformError < ChildProcess::Error
|
46
|
+
def initialize; end
|
47
|
+
end
|
48
|
+
class ChildProcess::AbstractProcess
|
49
|
+
def alive?; end
|
50
|
+
def assert_started; end
|
51
|
+
def crashed?; end
|
52
|
+
def cwd; end
|
53
|
+
def cwd=(arg0); end
|
54
|
+
def detach; end
|
55
|
+
def detach=(arg0); end
|
56
|
+
def detach?; end
|
57
|
+
def duplex; end
|
58
|
+
def duplex=(arg0); end
|
59
|
+
def duplex?; end
|
60
|
+
def environment; end
|
61
|
+
def exit_code; end
|
62
|
+
def exited?; end
|
63
|
+
def initialize(args); end
|
64
|
+
def io; end
|
65
|
+
def launch_process; end
|
66
|
+
def leader; end
|
67
|
+
def leader=(arg0); end
|
68
|
+
def leader?; end
|
69
|
+
def log(*args); end
|
70
|
+
def pid; end
|
71
|
+
def poll_for_exit(timeout); end
|
72
|
+
def start; end
|
73
|
+
def started?; end
|
74
|
+
def stop(timeout = nil); end
|
75
|
+
def wait; end
|
76
|
+
end
|
77
|
+
class ChildProcess::AbstractIO
|
78
|
+
def _stdin=(io); end
|
79
|
+
def check_type(io); end
|
80
|
+
def inherit!; end
|
81
|
+
def stderr; end
|
82
|
+
def stderr=(io); end
|
83
|
+
def stdin; end
|
84
|
+
def stdout; end
|
85
|
+
def stdout=(io); end
|
86
|
+
end
|
87
|
+
module ChildProcess::Unix
|
88
|
+
end
|
89
|
+
class ChildProcess::Unix::IO < ChildProcess::AbstractIO
|
90
|
+
def check_type(io); end
|
91
|
+
end
|
92
|
+
class ChildProcess::Unix::Process < ChildProcess::AbstractProcess
|
93
|
+
def _pid; end
|
94
|
+
def exited?; end
|
95
|
+
def io; end
|
96
|
+
def pid; end
|
97
|
+
def send_kill; end
|
98
|
+
def send_signal(sig); end
|
99
|
+
def send_term; end
|
100
|
+
def set_exit_code(status); end
|
101
|
+
def stop(timeout = nil); end
|
102
|
+
def wait; end
|
103
|
+
end
|
104
|
+
class ChildProcess::Unix::ForkExecProcess < ChildProcess::Unix::Process
|
105
|
+
def launch_process; end
|
106
|
+
def set_env; end
|
107
|
+
end
|
@@ -0,0 +1,135 @@
|
|
1
|
+
# DO NOT EDIT MANUALLY
|
2
|
+
# This is an autogenerated file for types exported from the `childprocess` gem.
|
3
|
+
# Please instead update this file by running `bin/tapioca sync`.
|
4
|
+
|
5
|
+
# typed: true
|
6
|
+
|
7
|
+
module ChildProcess
|
8
|
+
class << self
|
9
|
+
def arch; end
|
10
|
+
def build(*args); end
|
11
|
+
def close_on_exec(file); end
|
12
|
+
def jruby?; end
|
13
|
+
def linux?; end
|
14
|
+
def logger; end
|
15
|
+
def logger=(_arg0); end
|
16
|
+
def new(*args); end
|
17
|
+
def os; end
|
18
|
+
def platform; end
|
19
|
+
def platform_name; end
|
20
|
+
def posix_spawn=(bool); end
|
21
|
+
def posix_spawn?; end
|
22
|
+
def unix?; end
|
23
|
+
def windows?; end
|
24
|
+
|
25
|
+
private
|
26
|
+
|
27
|
+
def is_64_bit?; end
|
28
|
+
def warn_once(msg); end
|
29
|
+
def workaround_older_macosx_misreported_cpu?; end
|
30
|
+
end
|
31
|
+
end
|
32
|
+
|
33
|
+
class ChildProcess::AbstractIO
|
34
|
+
def _stdin=(io); end
|
35
|
+
def inherit!; end
|
36
|
+
def stderr; end
|
37
|
+
def stderr=(io); end
|
38
|
+
def stdin; end
|
39
|
+
def stdout; end
|
40
|
+
def stdout=(io); end
|
41
|
+
|
42
|
+
private
|
43
|
+
|
44
|
+
def check_type(io); end
|
45
|
+
end
|
46
|
+
|
47
|
+
class ChildProcess::AbstractProcess
|
48
|
+
def initialize(args); end
|
49
|
+
|
50
|
+
def alive?; end
|
51
|
+
def crashed?; end
|
52
|
+
def cwd; end
|
53
|
+
def cwd=(_arg0); end
|
54
|
+
def detach; end
|
55
|
+
def detach=(_arg0); end
|
56
|
+
def duplex; end
|
57
|
+
def duplex=(_arg0); end
|
58
|
+
def environment; end
|
59
|
+
def exit_code; end
|
60
|
+
def exited?; end
|
61
|
+
def io; end
|
62
|
+
def leader; end
|
63
|
+
def leader=(_arg0); end
|
64
|
+
def pid; end
|
65
|
+
def poll_for_exit(timeout); end
|
66
|
+
def start; end
|
67
|
+
def started?; end
|
68
|
+
def stop(timeout = T.unsafe(nil)); end
|
69
|
+
def wait; end
|
70
|
+
|
71
|
+
private
|
72
|
+
|
73
|
+
def assert_started; end
|
74
|
+
def detach?; end
|
75
|
+
def duplex?; end
|
76
|
+
def launch_process; end
|
77
|
+
def leader?; end
|
78
|
+
def log(*args); end
|
79
|
+
end
|
80
|
+
|
81
|
+
ChildProcess::AbstractProcess::POLL_INTERVAL = T.let(T.unsafe(nil), Float)
|
82
|
+
class ChildProcess::Error < ::StandardError; end
|
83
|
+
class ChildProcess::InvalidEnvironmentVariable < ::ChildProcess::Error; end
|
84
|
+
class ChildProcess::LaunchError < ::ChildProcess::Error; end
|
85
|
+
|
86
|
+
class ChildProcess::MissingFFIError < ::ChildProcess::Error
|
87
|
+
def initialize; end
|
88
|
+
end
|
89
|
+
|
90
|
+
class ChildProcess::MissingPlatformError < ::ChildProcess::Error
|
91
|
+
def initialize; end
|
92
|
+
end
|
93
|
+
|
94
|
+
class ChildProcess::SubclassResponsibility < ::ChildProcess::Error; end
|
95
|
+
class ChildProcess::TimeoutError < ::ChildProcess::Error; end
|
96
|
+
module ChildProcess::Unix; end
|
97
|
+
|
98
|
+
class ChildProcess::Unix::ForkExecProcess < ::ChildProcess::Unix::Process
|
99
|
+
private
|
100
|
+
|
101
|
+
def launch_process; end
|
102
|
+
def set_env; end
|
103
|
+
end
|
104
|
+
|
105
|
+
class ChildProcess::Unix::IO < ::ChildProcess::AbstractIO
|
106
|
+
private
|
107
|
+
|
108
|
+
def check_type(io); end
|
109
|
+
end
|
110
|
+
|
111
|
+
class ChildProcess::Unix::Process < ::ChildProcess::AbstractProcess
|
112
|
+
def exited?; end
|
113
|
+
def io; end
|
114
|
+
def pid; end
|
115
|
+
def stop(timeout = T.unsafe(nil)); end
|
116
|
+
def wait; end
|
117
|
+
|
118
|
+
private
|
119
|
+
|
120
|
+
def _pid; end
|
121
|
+
def send_kill; end
|
122
|
+
def send_signal(sig); end
|
123
|
+
def send_term; end
|
124
|
+
def set_exit_code(status); end
|
125
|
+
end
|
126
|
+
|
127
|
+
ChildProcess::VERSION = T.let(T.unsafe(nil), String)
|
128
|
+
|
129
|
+
class FFI::MemoryPointer < ::FFI::Pointer
|
130
|
+
def initialize(*_arg0); end
|
131
|
+
|
132
|
+
class << self
|
133
|
+
def from_string(_arg0); end
|
134
|
+
end
|
135
|
+
end
|
@@ -0,0 +1,285 @@
|
|
1
|
+
# This file is autogenerated. Do not edit it by hand. Regenerate it with:
|
2
|
+
# srb rbi gems
|
3
|
+
|
4
|
+
# typed: true
|
5
|
+
#
|
6
|
+
# If you would like to make changes to this file, great! Please create the gem's shim here:
|
7
|
+
#
|
8
|
+
# https://github.com/sorbet/sorbet-typed/new/master?filename=lib/coderay/all/coderay.rbi
|
9
|
+
#
|
10
|
+
# coderay-1.1.3
|
11
|
+
|
12
|
+
module CodeRay
|
13
|
+
def self.coderay_path(*path); end
|
14
|
+
def self.encode(code, lang, format, options = nil); end
|
15
|
+
def self.encode_file(filename, format, options = nil); end
|
16
|
+
def self.encode_tokens(tokens, format, options = nil); end
|
17
|
+
def self.encoder(format, options = nil); end
|
18
|
+
def self.get_scanner_options(options); end
|
19
|
+
def self.highlight(code, lang, options = nil, format = nil); end
|
20
|
+
def self.highlight_file(filename, options = nil, format = nil); end
|
21
|
+
def self.scan(code, lang, options = nil, &block); end
|
22
|
+
def self.scan_file(filename, lang = nil, options = nil, &block); end
|
23
|
+
def self.scanner(lang, options = nil, &block); end
|
24
|
+
end
|
25
|
+
module CodeRay::FileType
|
26
|
+
def self.[](filename, read_shebang = nil); end
|
27
|
+
def self.fetch(filename, default = nil, read_shebang = nil); end
|
28
|
+
def self.type_from_shebang(filename); end
|
29
|
+
end
|
30
|
+
class CodeRay::FileType::UnknownFileType < Exception
|
31
|
+
end
|
32
|
+
class CodeRay::Tokens < Array
|
33
|
+
def begin_group(kind); end
|
34
|
+
def begin_line(kind); end
|
35
|
+
def count; end
|
36
|
+
def encode(encoder, options = nil); end
|
37
|
+
def end_group(kind); end
|
38
|
+
def end_line(kind); end
|
39
|
+
def method_missing(meth, options = nil); end
|
40
|
+
def scanner; end
|
41
|
+
def scanner=(arg0); end
|
42
|
+
def split_into_parts(*sizes); end
|
43
|
+
def text_token(*arg0); end
|
44
|
+
def to_s; end
|
45
|
+
def tokens(*arg0); end
|
46
|
+
end
|
47
|
+
class CodeRay::TokensProxy
|
48
|
+
def block; end
|
49
|
+
def block=(arg0); end
|
50
|
+
def each(*args, &blk); end
|
51
|
+
def encode(encoder, options = nil); end
|
52
|
+
def initialize(input, lang, options = nil, block = nil); end
|
53
|
+
def input; end
|
54
|
+
def input=(arg0); end
|
55
|
+
def lang; end
|
56
|
+
def lang=(arg0); end
|
57
|
+
def method_missing(method, *args, &blk); end
|
58
|
+
def options; end
|
59
|
+
def options=(arg0); end
|
60
|
+
def scanner; end
|
61
|
+
def tokens; end
|
62
|
+
end
|
63
|
+
module CodeRay::PluginHost
|
64
|
+
def [](id, *args, &blk); end
|
65
|
+
def all_plugins; end
|
66
|
+
def const_missing(const); end
|
67
|
+
def default(id = nil); end
|
68
|
+
def list; end
|
69
|
+
def load(id, *args, &blk); end
|
70
|
+
def load_all; end
|
71
|
+
def load_plugin_map; end
|
72
|
+
def make_plugin_hash; end
|
73
|
+
def map(hash); end
|
74
|
+
def path_to(plugin_id); end
|
75
|
+
def plugin_hash; end
|
76
|
+
def plugin_path(*args); end
|
77
|
+
def register(plugin, id); end
|
78
|
+
def self.extended(mod); end
|
79
|
+
def validate_id(id); end
|
80
|
+
end
|
81
|
+
class CodeRay::PluginHost::PluginNotFound < LoadError
|
82
|
+
end
|
83
|
+
class CodeRay::PluginHost::HostNotFound < LoadError
|
84
|
+
end
|
85
|
+
module CodeRay::Plugin
|
86
|
+
def aliases; end
|
87
|
+
def plugin_host(host = nil); end
|
88
|
+
def plugin_id; end
|
89
|
+
def register_for(id); end
|
90
|
+
def title(title = nil); end
|
91
|
+
end
|
92
|
+
module CodeRay::Scanners
|
93
|
+
extend CodeRay::PluginHost
|
94
|
+
end
|
95
|
+
class CodeRay::Scanners::Scanner < StringScanner
|
96
|
+
def binary_string; end
|
97
|
+
def column(pos = nil); end
|
98
|
+
def each(&block); end
|
99
|
+
def file_extension; end
|
100
|
+
def initialize(code = nil, options = nil); end
|
101
|
+
def lang; end
|
102
|
+
def line(pos = nil); end
|
103
|
+
def raise_inspect(message, tokens, state = nil, ambit = nil, backtrace = nil); end
|
104
|
+
def raise_inspect_arguments(message, tokens, state, ambit); end
|
105
|
+
def reset; end
|
106
|
+
def reset_instance; end
|
107
|
+
def scan_rest; end
|
108
|
+
def scan_tokens(tokens, options); end
|
109
|
+
def scanner_state_info(state); end
|
110
|
+
def self.encode_with_encoding(code, target_encoding); end
|
111
|
+
def self.encoding(name = nil); end
|
112
|
+
def self.file_extension(extension = nil); end
|
113
|
+
def self.guess_encoding(s); end
|
114
|
+
def self.lang; end
|
115
|
+
def self.normalize(code); end
|
116
|
+
def self.to_unix(code); end
|
117
|
+
def set_string_from_source(source); end
|
118
|
+
def set_tokens_from_options(options); end
|
119
|
+
def setup; end
|
120
|
+
def state; end
|
121
|
+
def state=(arg0); end
|
122
|
+
def string=(code); end
|
123
|
+
def tokenize(source = nil, options = nil); end
|
124
|
+
def tokens; end
|
125
|
+
def tokens_last(tokens, n); end
|
126
|
+
def tokens_size(tokens); end
|
127
|
+
extend CodeRay::Plugin
|
128
|
+
include Enumerable
|
129
|
+
end
|
130
|
+
class CodeRay::Scanners::Scanner::ScanError < StandardError
|
131
|
+
end
|
132
|
+
class CodeRay::WordList < Hash
|
133
|
+
def add(words, value = nil); end
|
134
|
+
def initialize(default = nil); end
|
135
|
+
end
|
136
|
+
class CodeRay::WordList::CaseIgnoring < CodeRay::WordList
|
137
|
+
def [](key); end
|
138
|
+
def []=(key, value); end
|
139
|
+
end
|
140
|
+
module CodeRay::Scanners::Java::BuiltinTypes
|
141
|
+
end
|
142
|
+
class CodeRay::Scanners::Java < CodeRay::Scanners::Scanner
|
143
|
+
def scan_tokens(encoder, options); end
|
144
|
+
end
|
145
|
+
class CodeRay::Scanners::Ruby < CodeRay::Scanners::Scanner
|
146
|
+
def interpreted_string_state; end
|
147
|
+
def scan_tokens(encoder, options); end
|
148
|
+
def setup; end
|
149
|
+
end
|
150
|
+
module CodeRay::Scanners::Ruby::Patterns
|
151
|
+
end
|
152
|
+
class Anonymous_Struct_4 < Struct
|
153
|
+
def delim; end
|
154
|
+
def delim=(_); end
|
155
|
+
def heredoc; end
|
156
|
+
def heredoc=(_); end
|
157
|
+
def interpreted; end
|
158
|
+
def interpreted=(_); end
|
159
|
+
def next_state; end
|
160
|
+
def next_state=(_); end
|
161
|
+
def opening_paren; end
|
162
|
+
def opening_paren=(_); end
|
163
|
+
def paren_depth; end
|
164
|
+
def paren_depth=(_); end
|
165
|
+
def pattern; end
|
166
|
+
def pattern=(_); end
|
167
|
+
def self.[](*arg0); end
|
168
|
+
def self.inspect; end
|
169
|
+
def self.members; end
|
170
|
+
def self.new(*arg0); end
|
171
|
+
def type; end
|
172
|
+
def type=(_); end
|
173
|
+
end
|
174
|
+
class CodeRay::Scanners::Ruby::StringState < Anonymous_Struct_4
|
175
|
+
def heredoc_pattern(delim, interpreted, indented); end
|
176
|
+
def initialize(kind, interpreted, delim, heredoc = nil); end
|
177
|
+
def self.simple_key_pattern(delim); end
|
178
|
+
end
|
179
|
+
module CodeRay::Encoders
|
180
|
+
extend CodeRay::PluginHost
|
181
|
+
end
|
182
|
+
class CodeRay::Encoders::Encoder
|
183
|
+
def <<(token); end
|
184
|
+
def begin_group(kind); end
|
185
|
+
def begin_line(kind); end
|
186
|
+
def compile(tokens, options = nil); end
|
187
|
+
def encode(code, lang, options = nil); end
|
188
|
+
def encode_tokens(tokens, options = nil); end
|
189
|
+
def end_group(kind); end
|
190
|
+
def end_line(kind); end
|
191
|
+
def file_extension; end
|
192
|
+
def finish(options); end
|
193
|
+
def get_output(options); end
|
194
|
+
def highlight(code, lang, options = nil); end
|
195
|
+
def initialize(options = nil); end
|
196
|
+
def options; end
|
197
|
+
def options=(arg0); end
|
198
|
+
def output(data); end
|
199
|
+
def scanner; end
|
200
|
+
def scanner=(arg0); end
|
201
|
+
def self.const_missing(sym); end
|
202
|
+
def self.file_extension; end
|
203
|
+
def setup(options); end
|
204
|
+
def text_token(text, kind); end
|
205
|
+
def token(content, kind); end
|
206
|
+
def tokens(tokens, options = nil); end
|
207
|
+
extend CodeRay::Plugin
|
208
|
+
end
|
209
|
+
class CodeRay::Encoders::HTML < CodeRay::Encoders::Encoder
|
210
|
+
def begin_group(kind); end
|
211
|
+
def begin_line(kind); end
|
212
|
+
def break_lines(text, style); end
|
213
|
+
def check_group_nesting(name, kind); end
|
214
|
+
def check_options!(options); end
|
215
|
+
def close_span; end
|
216
|
+
def css; end
|
217
|
+
def css_class_for_kinds(kinds); end
|
218
|
+
def end_group(kind); end
|
219
|
+
def end_line(kind); end
|
220
|
+
def finish(options); end
|
221
|
+
def make_span_for_kinds(method, hint); end
|
222
|
+
def self.make_html_escape_hash; end
|
223
|
+
def self.token_path_to_hint(hint, kinds); end
|
224
|
+
def setup(options); end
|
225
|
+
def style_for_kinds(kinds); end
|
226
|
+
def text_token(text, kind); end
|
227
|
+
end
|
228
|
+
module CodeRay::Encoders::HTML::Output
|
229
|
+
def apply_title!(title); end
|
230
|
+
def css; end
|
231
|
+
def css=(arg0); end
|
232
|
+
def self.extended(o); end
|
233
|
+
def self.make_stylesheet(css, in_tag = nil); end
|
234
|
+
def self.page_template_for_css(css); end
|
235
|
+
def stylesheet(in_tag = nil); end
|
236
|
+
def wrap!(element, *args); end
|
237
|
+
def wrap_in!(template); end
|
238
|
+
def wrapped_in; end
|
239
|
+
def wrapped_in=(arg0); end
|
240
|
+
def wrapped_in?(element); end
|
241
|
+
end
|
242
|
+
class CodeRay::Encoders::HTML::Output::Template < String
|
243
|
+
def apply(target, replacement); end
|
244
|
+
def self.wrap!(str, template, target); end
|
245
|
+
end
|
246
|
+
class CodeRay::Encoders::HTML::CSS
|
247
|
+
def get_style_for_css_classes(css_classes); end
|
248
|
+
def initialize(style = nil); end
|
249
|
+
def parse(stylesheet); end
|
250
|
+
def self.load_stylesheet(style = nil); end
|
251
|
+
def stylesheet; end
|
252
|
+
end
|
253
|
+
module CodeRay::Encoders::HTML::Numbering
|
254
|
+
def self.number!(output, mode = nil, options = nil); end
|
255
|
+
end
|
256
|
+
module CodeRay::Styles
|
257
|
+
extend CodeRay::PluginHost
|
258
|
+
end
|
259
|
+
class CodeRay::Styles::Style
|
260
|
+
extend CodeRay::Plugin
|
261
|
+
end
|
262
|
+
class CodeRay::Duo
|
263
|
+
def call(code, options = nil); end
|
264
|
+
def encode(code, options = nil); end
|
265
|
+
def encoder; end
|
266
|
+
def format; end
|
267
|
+
def format=(arg0); end
|
268
|
+
def highlight(code, options = nil); end
|
269
|
+
def initialize(lang = nil, format = nil, options = nil); end
|
270
|
+
def lang; end
|
271
|
+
def lang=(arg0); end
|
272
|
+
def options; end
|
273
|
+
def options=(arg0); end
|
274
|
+
def scanner; end
|
275
|
+
def self.[](*arg0); end
|
276
|
+
end
|
277
|
+
class CodeRay::Encoders::Terminal < CodeRay::Encoders::Encoder
|
278
|
+
def begin_group(kind); end
|
279
|
+
def begin_line(kind); end
|
280
|
+
def end_group(kind); end
|
281
|
+
def end_line(kind); end
|
282
|
+
def open_token(kind); end
|
283
|
+
def setup(options); end
|
284
|
+
def text_token(text, kind); end
|
285
|
+
end
|