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,476 @@
|
|
1
|
+
# DO NOT EDIT MANUALLY
|
2
|
+
# This is an autogenerated file for types exported from the `listen` gem.
|
3
|
+
# Please instead update this file by running `bin/tapioca sync`.
|
4
|
+
|
5
|
+
# typed: true
|
6
|
+
|
7
|
+
module Listen
|
8
|
+
class << self
|
9
|
+
def logger; end
|
10
|
+
def logger=(_arg0); end
|
11
|
+
def stop; end
|
12
|
+
def to(*args, &block); end
|
13
|
+
|
14
|
+
private
|
15
|
+
|
16
|
+
def default_logger; end
|
17
|
+
end
|
18
|
+
end
|
19
|
+
|
20
|
+
module Listen::Adapter
|
21
|
+
class << self
|
22
|
+
def select(options = T.unsafe(nil)); end
|
23
|
+
|
24
|
+
private
|
25
|
+
|
26
|
+
def _usable_adapter_class; end
|
27
|
+
def _warn_polling_fallback(options); end
|
28
|
+
end
|
29
|
+
end
|
30
|
+
|
31
|
+
class Listen::Adapter::BSD < ::Listen::Adapter::Base
|
32
|
+
private
|
33
|
+
|
34
|
+
def _change(event_flags); end
|
35
|
+
def _configure(directory, &callback); end
|
36
|
+
def _event_path(event); end
|
37
|
+
def _find(*paths, &block); end
|
38
|
+
def _process_event(dir, event); end
|
39
|
+
def _run; end
|
40
|
+
def _watch_file(path, queue); end
|
41
|
+
def _watch_for_new_file(event); end
|
42
|
+
|
43
|
+
class << self
|
44
|
+
def usable?; end
|
45
|
+
end
|
46
|
+
end
|
47
|
+
|
48
|
+
Listen::Adapter::BSD::BUNDLER_DECLARE_GEM = T.let(T.unsafe(nil), String)
|
49
|
+
Listen::Adapter::BSD::DEFAULTS = T.let(T.unsafe(nil), Hash)
|
50
|
+
Listen::Adapter::BSD::OS_REGEXP = T.let(T.unsafe(nil), Regexp)
|
51
|
+
|
52
|
+
class Listen::Adapter::Base
|
53
|
+
def initialize(config); end
|
54
|
+
|
55
|
+
def config; end
|
56
|
+
def configure; end
|
57
|
+
def options; end
|
58
|
+
def start; end
|
59
|
+
def started?; end
|
60
|
+
def stop; end
|
61
|
+
|
62
|
+
private
|
63
|
+
|
64
|
+
def _log_exception(msg, caller_stack); end
|
65
|
+
def _queue_change(type, dir, rel_path, options); end
|
66
|
+
def _stop; end
|
67
|
+
def _timed(title); end
|
68
|
+
|
69
|
+
class << self
|
70
|
+
def usable?; end
|
71
|
+
end
|
72
|
+
end
|
73
|
+
|
74
|
+
Listen::Adapter::Base::DEFAULTS = T.let(T.unsafe(nil), Hash)
|
75
|
+
|
76
|
+
class Listen::Adapter::Config
|
77
|
+
def initialize(directories, queue, silencer, adapter_options); end
|
78
|
+
|
79
|
+
def adapter_options; end
|
80
|
+
def directories; end
|
81
|
+
def queue; end
|
82
|
+
def silencer; end
|
83
|
+
end
|
84
|
+
|
85
|
+
class Listen::Adapter::Darwin < ::Listen::Adapter::Base
|
86
|
+
private
|
87
|
+
|
88
|
+
def _configure(dir, &callback); end
|
89
|
+
def _process_changes(dirs); end
|
90
|
+
def _process_event(dir, path); end
|
91
|
+
def _run; end
|
92
|
+
def _stop; end
|
93
|
+
|
94
|
+
class << self
|
95
|
+
def usable?; end
|
96
|
+
end
|
97
|
+
end
|
98
|
+
|
99
|
+
Listen::Adapter::Darwin::DEFAULTS = T.let(T.unsafe(nil), Hash)
|
100
|
+
Listen::Adapter::Darwin::INCOMPATIBLE_GEM_VERSION = T.let(T.unsafe(nil), String)
|
101
|
+
Listen::Adapter::Darwin::OS_REGEXP = T.let(T.unsafe(nil), Regexp)
|
102
|
+
|
103
|
+
class Listen::Adapter::Linux < ::Listen::Adapter::Base
|
104
|
+
private
|
105
|
+
|
106
|
+
def _change(event_flags); end
|
107
|
+
def _configure(directory, &callback); end
|
108
|
+
def _dir_event?(event); end
|
109
|
+
def _process_event(dir, event); end
|
110
|
+
def _run; end
|
111
|
+
def _skip_event?(event); end
|
112
|
+
def _stop; end
|
113
|
+
end
|
114
|
+
|
115
|
+
Listen::Adapter::Linux::DEFAULTS = T.let(T.unsafe(nil), Hash)
|
116
|
+
Listen::Adapter::Linux::INOTIFY_LIMIT_MESSAGE = T.let(T.unsafe(nil), String)
|
117
|
+
Listen::Adapter::Linux::OS_REGEXP = T.let(T.unsafe(nil), Regexp)
|
118
|
+
Listen::Adapter::Linux::README_URL = T.let(T.unsafe(nil), String)
|
119
|
+
Listen::Adapter::OPTIMIZED_ADAPTERS = T.let(T.unsafe(nil), Array)
|
120
|
+
Listen::Adapter::POLLING_FALLBACK_MESSAGE = T.let(T.unsafe(nil), String)
|
121
|
+
|
122
|
+
class Listen::Adapter::Polling < ::Listen::Adapter::Base
|
123
|
+
private
|
124
|
+
|
125
|
+
def _configure(_, &callback); end
|
126
|
+
def _process_event(dir, _); end
|
127
|
+
def _run; end
|
128
|
+
end
|
129
|
+
|
130
|
+
Listen::Adapter::Polling::DEFAULTS = T.let(T.unsafe(nil), Hash)
|
131
|
+
Listen::Adapter::Polling::OS_REGEXP = T.let(T.unsafe(nil), Regexp)
|
132
|
+
|
133
|
+
class Listen::Adapter::Windows < ::Listen::Adapter::Base
|
134
|
+
private
|
135
|
+
|
136
|
+
def _change(type); end
|
137
|
+
def _configure(dir); end
|
138
|
+
def _process_event(dir, event); end
|
139
|
+
def _run; end
|
140
|
+
|
141
|
+
class << self
|
142
|
+
def usable?; end
|
143
|
+
end
|
144
|
+
end
|
145
|
+
|
146
|
+
Listen::Adapter::Windows::BUNDLER_DECLARE_GEM = T.let(T.unsafe(nil), String)
|
147
|
+
Listen::Adapter::Windows::OS_REGEXP = T.let(T.unsafe(nil), Regexp)
|
148
|
+
|
149
|
+
class Listen::Backend
|
150
|
+
extend ::Forwardable
|
151
|
+
|
152
|
+
def initialize(directories, queue, silencer, config); end
|
153
|
+
|
154
|
+
def min_delay_between_events; end
|
155
|
+
def start(*args, &block); end
|
156
|
+
def stop(*args, &block); end
|
157
|
+
|
158
|
+
private
|
159
|
+
|
160
|
+
def adapter; end
|
161
|
+
end
|
162
|
+
|
163
|
+
class Listen::Change
|
164
|
+
def initialize(config, record); end
|
165
|
+
|
166
|
+
def invalidate(type, rel_path, options); end
|
167
|
+
def record; end
|
168
|
+
end
|
169
|
+
|
170
|
+
class Listen::Change::Config
|
171
|
+
def initialize(queue, silencer); end
|
172
|
+
|
173
|
+
def queue(*args); end
|
174
|
+
def silenced?(path, type); end
|
175
|
+
end
|
176
|
+
|
177
|
+
class Listen::Directory
|
178
|
+
class << self
|
179
|
+
def _async_changes(snapshot, path, previous, options); end
|
180
|
+
def _change(snapshot, type, path, options); end
|
181
|
+
def _children(path); end
|
182
|
+
def ascendant_of?(base, other); end
|
183
|
+
def scan(snapshot, rel_path, options); end
|
184
|
+
end
|
185
|
+
end
|
186
|
+
|
187
|
+
class Listen::Error < ::RuntimeError; end
|
188
|
+
class Listen::Error::NotStarted < ::Listen::Error; end
|
189
|
+
class Listen::Error::SymlinkLoop < ::Listen::Error; end
|
190
|
+
module Listen::Event; end
|
191
|
+
|
192
|
+
class Listen::Event::Config
|
193
|
+
def initialize(listener, event_queue, queue_optimizer, wait_for_delay, &block); end
|
194
|
+
|
195
|
+
def call(*args); end
|
196
|
+
def callable?; end
|
197
|
+
def event_queue; end
|
198
|
+
def listener; end
|
199
|
+
def min_delay_between_events; end
|
200
|
+
def optimize_changes(changes); end
|
201
|
+
def sleep(seconds); end
|
202
|
+
end
|
203
|
+
|
204
|
+
class Listen::Event::Loop
|
205
|
+
include ::Listen::FSM
|
206
|
+
extend ::Listen::FSM::ClassMethods
|
207
|
+
|
208
|
+
def initialize(config); end
|
209
|
+
|
210
|
+
def pause; end
|
211
|
+
def start; end
|
212
|
+
def started?; end
|
213
|
+
def stop; end
|
214
|
+
def stopped?; end
|
215
|
+
def wakeup_on_event; end
|
216
|
+
|
217
|
+
private
|
218
|
+
|
219
|
+
def _process_changes; end
|
220
|
+
def _wakeup(reason); end
|
221
|
+
end
|
222
|
+
|
223
|
+
Listen::Event::Loop::Error = Listen::Error
|
224
|
+
Listen::Event::Loop::MAX_STARTUP_SECONDS = T.let(T.unsafe(nil), Float)
|
225
|
+
Listen::Event::Loop::NotStarted = Listen::Error::NotStarted
|
226
|
+
|
227
|
+
class Listen::Event::Processor
|
228
|
+
def initialize(config, reasons); end
|
229
|
+
|
230
|
+
def loop_for(latency); end
|
231
|
+
|
232
|
+
private
|
233
|
+
|
234
|
+
def _check_stopped; end
|
235
|
+
def _deadline; end
|
236
|
+
def _flush_wakeup_reasons; end
|
237
|
+
def _process_changes(event); end
|
238
|
+
def _remember_time_of_first_unprocessed_event; end
|
239
|
+
def _reset_no_unprocessed_events; end
|
240
|
+
def _sleep(seconds); end
|
241
|
+
def _wait_until_events; end
|
242
|
+
def _wait_until_events_calm_down; end
|
243
|
+
def _wait_until_no_longer_paused; end
|
244
|
+
def config; end
|
245
|
+
end
|
246
|
+
|
247
|
+
class Listen::Event::Processor::Stopped < ::RuntimeError; end
|
248
|
+
|
249
|
+
class Listen::Event::Queue
|
250
|
+
extend ::Forwardable
|
251
|
+
|
252
|
+
def initialize(config); end
|
253
|
+
|
254
|
+
def <<(args); end
|
255
|
+
def close(*args, &block); end
|
256
|
+
def empty?(*args, &block); end
|
257
|
+
def pop(*args, &block); end
|
258
|
+
|
259
|
+
private
|
260
|
+
|
261
|
+
def _safe_relative_from_cwd(dir); end
|
262
|
+
end
|
263
|
+
|
264
|
+
class Listen::Event::Queue::Config
|
265
|
+
def initialize(relative); end
|
266
|
+
|
267
|
+
def relative?; end
|
268
|
+
end
|
269
|
+
|
270
|
+
module Listen::FSM
|
271
|
+
mixes_in_class_methods ::Listen::FSM::ClassMethods
|
272
|
+
|
273
|
+
def initialize_fsm; end
|
274
|
+
def state; end
|
275
|
+
def wait_for_state(*wait_for_states, timeout: T.unsafe(nil)); end
|
276
|
+
|
277
|
+
private
|
278
|
+
|
279
|
+
def current_state; end
|
280
|
+
def transition(new_state_name); end
|
281
|
+
def transition!(new_state_name); end
|
282
|
+
def transition_with_callbacks!(new_state); end
|
283
|
+
def validate_and_sanitize_new_state(new_state_name); end
|
284
|
+
|
285
|
+
class << self
|
286
|
+
def included(klass); end
|
287
|
+
end
|
288
|
+
end
|
289
|
+
|
290
|
+
module Listen::FSM::ClassMethods
|
291
|
+
def start_state(new_start_state = T.unsafe(nil)); end
|
292
|
+
def state(state_name, to: T.unsafe(nil), &block); end
|
293
|
+
def states; end
|
294
|
+
end
|
295
|
+
|
296
|
+
class Listen::FSM::State
|
297
|
+
def initialize(name, transitions, &block); end
|
298
|
+
|
299
|
+
def call(obj); end
|
300
|
+
def name; end
|
301
|
+
def transitions; end
|
302
|
+
def valid_transition?(new_state); end
|
303
|
+
end
|
304
|
+
|
305
|
+
class Listen::File
|
306
|
+
class << self
|
307
|
+
def change(record, rel_path); end
|
308
|
+
def inaccurate_mac_time?(stat); end
|
309
|
+
end
|
310
|
+
end
|
311
|
+
|
312
|
+
class Listen::Listener
|
313
|
+
include ::Listen::FSM
|
314
|
+
extend ::Listen::FSM::ClassMethods
|
315
|
+
|
316
|
+
def initialize(*dirs, &block); end
|
317
|
+
|
318
|
+
def ignore(regexps); end
|
319
|
+
def ignore!(regexps); end
|
320
|
+
def only(regexps); end
|
321
|
+
def pause; end
|
322
|
+
def paused?; end
|
323
|
+
def processing?; end
|
324
|
+
def start; end
|
325
|
+
def stop; end
|
326
|
+
def stopped?; end
|
327
|
+
end
|
328
|
+
|
329
|
+
class Listen::Listener::Config
|
330
|
+
def initialize(opts); end
|
331
|
+
|
332
|
+
def adapter_instance_options(klass); end
|
333
|
+
def adapter_select_options; end
|
334
|
+
def min_delay_between_events; end
|
335
|
+
def relative?; end
|
336
|
+
def silencer_rules; end
|
337
|
+
end
|
338
|
+
|
339
|
+
Listen::Listener::Config::DEFAULTS = T.let(T.unsafe(nil), Hash)
|
340
|
+
|
341
|
+
module Listen::MonotonicTime
|
342
|
+
class << self
|
343
|
+
def now; end
|
344
|
+
end
|
345
|
+
end
|
346
|
+
|
347
|
+
class Listen::Options
|
348
|
+
def initialize(opts, defaults); end
|
349
|
+
|
350
|
+
def method_missing(name, *_); end
|
351
|
+
|
352
|
+
private
|
353
|
+
|
354
|
+
def respond_to_missing?(name, *_); end
|
355
|
+
end
|
356
|
+
|
357
|
+
class Listen::QueueOptimizer
|
358
|
+
def initialize(config); end
|
359
|
+
|
360
|
+
def smoosh_changes(changes); end
|
361
|
+
|
362
|
+
private
|
363
|
+
|
364
|
+
def _calculate_add_remove_difference(actions, path, default_if_exists); end
|
365
|
+
def _logical_action_for(path, actions); end
|
366
|
+
def _reinterpret_related_changes(cookies); end
|
367
|
+
def _squash_changes(changes); end
|
368
|
+
def config; end
|
369
|
+
def editor_modified?(changes); end
|
370
|
+
end
|
371
|
+
|
372
|
+
class Listen::QueueOptimizer::Config
|
373
|
+
def initialize(adapter_class, silencer); end
|
374
|
+
|
375
|
+
def debug(*args, &block); end
|
376
|
+
def exist?(path); end
|
377
|
+
def silenced?(path, type); end
|
378
|
+
end
|
379
|
+
|
380
|
+
class Listen::Record
|
381
|
+
def initialize(directory); end
|
382
|
+
|
383
|
+
def add_dir(rel_path); end
|
384
|
+
def build; end
|
385
|
+
def dir_entries(rel_path); end
|
386
|
+
def file_data(rel_path); end
|
387
|
+
def root; end
|
388
|
+
def unset_path(rel_path); end
|
389
|
+
def update_file(rel_path, data); end
|
390
|
+
|
391
|
+
private
|
392
|
+
|
393
|
+
def _auto_hash; end
|
394
|
+
def _fast_build_dir(remaining, symlink_detector); end
|
395
|
+
def _fast_try_file(entry); end
|
396
|
+
def _fast_unset_path(dirname, basename); end
|
397
|
+
def _fast_update_file(dirname, basename, data); end
|
398
|
+
end
|
399
|
+
|
400
|
+
class Listen::Record::Entry
|
401
|
+
def initialize(root, relative, name = T.unsafe(nil)); end
|
402
|
+
|
403
|
+
def children; end
|
404
|
+
def meta; end
|
405
|
+
def name; end
|
406
|
+
def real_path; end
|
407
|
+
def record_dir_key; end
|
408
|
+
def relative; end
|
409
|
+
def root; end
|
410
|
+
def sys_path; end
|
411
|
+
|
412
|
+
private
|
413
|
+
|
414
|
+
def _entries(dir); end
|
415
|
+
def _join; end
|
416
|
+
end
|
417
|
+
|
418
|
+
class Listen::Record::SymlinkDetector
|
419
|
+
def initialize; end
|
420
|
+
|
421
|
+
def verify_unwatched!(entry); end
|
422
|
+
|
423
|
+
private
|
424
|
+
|
425
|
+
def _fail(symlinked, real_path); end
|
426
|
+
end
|
427
|
+
|
428
|
+
Listen::Record::SymlinkDetector::Error = Listen::Error
|
429
|
+
Listen::Record::SymlinkDetector::README_URL = T.let(T.unsafe(nil), String)
|
430
|
+
Listen::Record::SymlinkDetector::SYMLINK_LOOP_ERROR = T.let(T.unsafe(nil), String)
|
431
|
+
|
432
|
+
class Listen::Silencer
|
433
|
+
def initialize; end
|
434
|
+
|
435
|
+
def configure(options); end
|
436
|
+
def ignore_patterns; end
|
437
|
+
def ignore_patterns=(_arg0); end
|
438
|
+
def only_patterns; end
|
439
|
+
def only_patterns=(_arg0); end
|
440
|
+
def silenced?(relative_path, type); end
|
441
|
+
|
442
|
+
private
|
443
|
+
|
444
|
+
def _ignore?(path); end
|
445
|
+
def _init_ignores(ignores, overrides); end
|
446
|
+
def _only?(path); end
|
447
|
+
end
|
448
|
+
|
449
|
+
class Listen::Silencer::Controller
|
450
|
+
def initialize(silencer, default_options); end
|
451
|
+
|
452
|
+
def append_ignores(*regexps); end
|
453
|
+
def replace_with_bang_ignores(regexps); end
|
454
|
+
def replace_with_only(regexps); end
|
455
|
+
|
456
|
+
private
|
457
|
+
|
458
|
+
def _reconfigure_silencer(extra_options); end
|
459
|
+
end
|
460
|
+
|
461
|
+
Listen::Silencer::DEFAULT_IGNORED_DIRECTORIES = T.let(T.unsafe(nil), Regexp)
|
462
|
+
Listen::Silencer::DEFAULT_IGNORED_EXTENSIONS = T.let(T.unsafe(nil), Regexp)
|
463
|
+
|
464
|
+
module Listen::Thread
|
465
|
+
class << self
|
466
|
+
def new(name, &block); end
|
467
|
+
def rescue_and_log(method_name, *args, caller_stack: T.unsafe(nil)); end
|
468
|
+
|
469
|
+
private
|
470
|
+
|
471
|
+
def _exception_with_causes(exception); end
|
472
|
+
def _log_exception(exception, thread_name, caller_stack: T.unsafe(nil)); end
|
473
|
+
end
|
474
|
+
end
|
475
|
+
|
476
|
+
Listen::VERSION = T.let(T.unsafe(nil), String)
|