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,215 @@
|
|
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/notiffany/all/notiffany.rbi
|
9
|
+
#
|
10
|
+
# notiffany-0.1.3
|
11
|
+
|
12
|
+
module Notiffany
|
13
|
+
def self.connect(options = nil); end
|
14
|
+
end
|
15
|
+
class Notiffany::Notifier
|
16
|
+
def _activate; end
|
17
|
+
def _check_server!; end
|
18
|
+
def _client?; end
|
19
|
+
def _detect_or_add_notifiers; end
|
20
|
+
def _env; end
|
21
|
+
def _notification_wanted?; end
|
22
|
+
def _turn_on_notifiers(options); end
|
23
|
+
def active?; end
|
24
|
+
def available; end
|
25
|
+
def config; end
|
26
|
+
def disconnect; end
|
27
|
+
def enabled?; end
|
28
|
+
def initialize(opts); end
|
29
|
+
def notify(message, message_opts = nil); end
|
30
|
+
def turn_off; end
|
31
|
+
def turn_on(options = nil); end
|
32
|
+
end
|
33
|
+
class Notiffany::Notifier::Base
|
34
|
+
def _check_available(_options); end
|
35
|
+
def _check_host_supported; end
|
36
|
+
def _gem_name; end
|
37
|
+
def _image_path(image); end
|
38
|
+
def _notification_type(image); end
|
39
|
+
def _notify_options(overrides = nil); end
|
40
|
+
def _perform_notify(_message, _opts); end
|
41
|
+
def _require_gem; end
|
42
|
+
def _supported_hosts; end
|
43
|
+
def initialize(opts = nil); end
|
44
|
+
def name; end
|
45
|
+
def notify(message, opts = nil); end
|
46
|
+
def options; end
|
47
|
+
def title; end
|
48
|
+
end
|
49
|
+
class Notiffany::Notifier::Base::UnavailableError < RuntimeError
|
50
|
+
def initialize(reason); end
|
51
|
+
def message; end
|
52
|
+
end
|
53
|
+
class Notiffany::Notifier::Base::RequireFailed < Notiffany::Notifier::Base::UnavailableError
|
54
|
+
def initialize(gem_name); end
|
55
|
+
end
|
56
|
+
class Notiffany::Notifier::Base::UnsupportedPlatform < Notiffany::Notifier::Base::UnavailableError
|
57
|
+
def initialize; end
|
58
|
+
end
|
59
|
+
class Notiffany::Notifier::Emacs < Notiffany::Notifier::Base
|
60
|
+
def _check_available(options); end
|
61
|
+
def _emacs_color(type, options = nil); end
|
62
|
+
def _erb_for(filename); end
|
63
|
+
def _gem_name; end
|
64
|
+
def _perform_notify(message, opts = nil); end
|
65
|
+
end
|
66
|
+
class Notiffany::Notifier::Emacs::Client
|
67
|
+
def _emacs_eval(env, code); end
|
68
|
+
def available?; end
|
69
|
+
def elisp_erb; end
|
70
|
+
def initialize(options); end
|
71
|
+
def notify(color, bgcolor, message = nil); end
|
72
|
+
end
|
73
|
+
class Notiffany::Notifier::Emacs::Client::Elisp < ERB
|
74
|
+
def bgcolor; end
|
75
|
+
def color; end
|
76
|
+
def initialize(code, color, bgcolor, message); end
|
77
|
+
def message; end
|
78
|
+
def result; end
|
79
|
+
end
|
80
|
+
class Notiffany::Notifier::File < Notiffany::Notifier::Base
|
81
|
+
def _check_available(opts = nil); end
|
82
|
+
def _gem_name; end
|
83
|
+
def _perform_notify(message, opts = nil); end
|
84
|
+
end
|
85
|
+
class Notiffany::Notifier::GNTP < Notiffany::Notifier::Base
|
86
|
+
def _check_available(_opts); end
|
87
|
+
def _gem_name; end
|
88
|
+
def _gntp_client(opts = nil); end
|
89
|
+
def _perform_notify(message, opts = nil); end
|
90
|
+
def _supported_hosts; end
|
91
|
+
end
|
92
|
+
class Notiffany::Notifier::Growl < Notiffany::Notifier::Base
|
93
|
+
def _check_available(_opts = nil); end
|
94
|
+
def _perform_notify(message, opts = nil); end
|
95
|
+
def _supported_hosts; end
|
96
|
+
end
|
97
|
+
class Notiffany::Notifier::Libnotify < Notiffany::Notifier::Base
|
98
|
+
def _check_available(_opts = nil); end
|
99
|
+
def _perform_notify(message, opts = nil); end
|
100
|
+
def _supported_hosts; end
|
101
|
+
end
|
102
|
+
class Notiffany::Notifier::NotifySend < Notiffany::Notifier::Base
|
103
|
+
def _check_available(_opts = nil); end
|
104
|
+
def _gem_name; end
|
105
|
+
def _notifysend_urgency(type); end
|
106
|
+
def _perform_notify(message, opts = nil); end
|
107
|
+
def _supported_hosts; end
|
108
|
+
def _to_arguments(command, supported, opts = nil); end
|
109
|
+
end
|
110
|
+
class Notiffany::Notifier::Notifu < Notiffany::Notifier::Base
|
111
|
+
def _check_available(_opts = nil); end
|
112
|
+
def _gem_name; end
|
113
|
+
def _notifu_type(type); end
|
114
|
+
def _perform_notify(message, opts = nil); end
|
115
|
+
def _supported_hosts; end
|
116
|
+
end
|
117
|
+
class Notiffany::Notifier::TerminalNotifier < Notiffany::Notifier::Base
|
118
|
+
def _check_available(_opts = nil); end
|
119
|
+
def _gem_name; end
|
120
|
+
def _perform_notify(message, opts = nil); end
|
121
|
+
def _supported_hosts; end
|
122
|
+
end
|
123
|
+
class Notiffany::Notifier::TerminalTitle < Notiffany::Notifier::Base
|
124
|
+
def _check_available(_options); end
|
125
|
+
def _gem_name; end
|
126
|
+
def _perform_notify(message, opts = nil); end
|
127
|
+
def turn_off; end
|
128
|
+
end
|
129
|
+
class Notiffany::Notifier::Tmux < Notiffany::Notifier::Base
|
130
|
+
def _check_available(opts = nil); end
|
131
|
+
def _gem_name; end
|
132
|
+
def _perform_notify(message, options = nil); end
|
133
|
+
def self._end_session; end
|
134
|
+
def self._session; end
|
135
|
+
def self._start_session; end
|
136
|
+
def turn_off; end
|
137
|
+
def turn_on; end
|
138
|
+
end
|
139
|
+
class Notiffany::Notifier::Tmux::Client
|
140
|
+
def _all_args_for(key, value, client); end
|
141
|
+
def _capture(*args); end
|
142
|
+
def _parse_option(line); end
|
143
|
+
def _run(*args); end
|
144
|
+
def clients; end
|
145
|
+
def display_message(message); end
|
146
|
+
def display_time=(time); end
|
147
|
+
def initialize(client); end
|
148
|
+
def message_bg=(color); end
|
149
|
+
def message_fg=(color); end
|
150
|
+
def parse_options; end
|
151
|
+
def self._capture(*args); end
|
152
|
+
def self._run(*args); end
|
153
|
+
def self.version; end
|
154
|
+
def set(key, value); end
|
155
|
+
def title=(string); end
|
156
|
+
def unset(key, value); end
|
157
|
+
end
|
158
|
+
class Notiffany::Notifier::Tmux::Session
|
159
|
+
def close; end
|
160
|
+
def initialize; end
|
161
|
+
end
|
162
|
+
class Notiffany::Notifier::Tmux::Notification
|
163
|
+
def _message_for(title, message); end
|
164
|
+
def _value_for(field); end
|
165
|
+
def client; end
|
166
|
+
def color; end
|
167
|
+
def colorize(locations); end
|
168
|
+
def display_message(title, message); end
|
169
|
+
def display_title(title, message); end
|
170
|
+
def initialize(type, options); end
|
171
|
+
def message_color; end
|
172
|
+
def options; end
|
173
|
+
def separator; end
|
174
|
+
def type; end
|
175
|
+
end
|
176
|
+
class Notiffany::Notifier::Tmux::Error < RuntimeError
|
177
|
+
end
|
178
|
+
class Notiffany::Notifier::YamlEnvStorage < Nenv::Environment
|
179
|
+
def notifiers; end
|
180
|
+
def notifiers=(raw_value); end
|
181
|
+
end
|
182
|
+
class Notiffany::Notifier::Detected
|
183
|
+
def _add(name, opts); end
|
184
|
+
def _notifiers; end
|
185
|
+
def _to_module(name); end
|
186
|
+
def add(name, opts); end
|
187
|
+
def available; end
|
188
|
+
def detect; end
|
189
|
+
def initialize(supported, env_namespace, logger); end
|
190
|
+
def reset; end
|
191
|
+
end
|
192
|
+
class Notiffany::Notifier::Detected::NoneAvailableError < RuntimeError
|
193
|
+
end
|
194
|
+
class Notiffany::Notifier::Detected::UnknownNotifier < RuntimeError
|
195
|
+
def initialize(name); end
|
196
|
+
def message; end
|
197
|
+
def name; end
|
198
|
+
end
|
199
|
+
class Notiffany::Notifier::Config
|
200
|
+
def _setup_logger(opts); end
|
201
|
+
def env_namespace; end
|
202
|
+
def initialize(opts); end
|
203
|
+
def logger; end
|
204
|
+
def notifiers; end
|
205
|
+
def notify?; end
|
206
|
+
end
|
207
|
+
class Notiffany::Notifier::Env < Nenv::Environment
|
208
|
+
def notify?; end
|
209
|
+
def notify_active=(raw_value); end
|
210
|
+
def notify_active?; end
|
211
|
+
def notify_pid; end
|
212
|
+
def notify_pid=(raw_value); end
|
213
|
+
end
|
214
|
+
class Notiffany::Notifier::NotServer < RuntimeError
|
215
|
+
end
|
@@ -0,0 +1,323 @@
|
|
1
|
+
# DO NOT EDIT MANUALLY
|
2
|
+
# This is an autogenerated file for types exported from the `notiffany` gem.
|
3
|
+
# Please instead update this file by running `bin/tapioca sync`.
|
4
|
+
|
5
|
+
# typed: true
|
6
|
+
|
7
|
+
module Notiffany
|
8
|
+
class << self
|
9
|
+
def connect(options = T.unsafe(nil)); end
|
10
|
+
end
|
11
|
+
end
|
12
|
+
|
13
|
+
class Notiffany::Notifier
|
14
|
+
def initialize(opts); end
|
15
|
+
|
16
|
+
def active?; end
|
17
|
+
def available; end
|
18
|
+
def config; end
|
19
|
+
def disconnect; end
|
20
|
+
def enabled?; end
|
21
|
+
def notify(message, message_opts = T.unsafe(nil)); end
|
22
|
+
def turn_off; end
|
23
|
+
def turn_on(options = T.unsafe(nil)); end
|
24
|
+
|
25
|
+
private
|
26
|
+
|
27
|
+
def _activate; end
|
28
|
+
def _check_server!; end
|
29
|
+
def _client?; end
|
30
|
+
def _detect_or_add_notifiers; end
|
31
|
+
def _env; end
|
32
|
+
def _notification_wanted?; end
|
33
|
+
def _turn_on_notifiers(options); end
|
34
|
+
end
|
35
|
+
|
36
|
+
class Notiffany::Notifier::Base
|
37
|
+
def initialize(opts = T.unsafe(nil)); end
|
38
|
+
|
39
|
+
def _image_path(image); end
|
40
|
+
def name; end
|
41
|
+
def notify(message, opts = T.unsafe(nil)); end
|
42
|
+
def options; end
|
43
|
+
def title; end
|
44
|
+
|
45
|
+
private
|
46
|
+
|
47
|
+
def _check_available(_options); end
|
48
|
+
def _check_host_supported; end
|
49
|
+
def _gem_name; end
|
50
|
+
def _notification_type(image); end
|
51
|
+
def _notify_options(overrides = T.unsafe(nil)); end
|
52
|
+
def _perform_notify(_message, _opts); end
|
53
|
+
def _require_gem; end
|
54
|
+
def _supported_hosts; end
|
55
|
+
end
|
56
|
+
|
57
|
+
Notiffany::Notifier::Base::ERROR_ADD_GEM_AND_RUN_BUNDLE = T.let(T.unsafe(nil), String)
|
58
|
+
Notiffany::Notifier::Base::HOSTS = T.let(T.unsafe(nil), Hash)
|
59
|
+
|
60
|
+
class Notiffany::Notifier::Base::RequireFailed < ::Notiffany::Notifier::Base::UnavailableError
|
61
|
+
def initialize(gem_name); end
|
62
|
+
end
|
63
|
+
|
64
|
+
class Notiffany::Notifier::Base::UnavailableError < ::RuntimeError
|
65
|
+
def initialize(reason); end
|
66
|
+
|
67
|
+
def message; end
|
68
|
+
end
|
69
|
+
|
70
|
+
class Notiffany::Notifier::Base::UnsupportedPlatform < ::Notiffany::Notifier::Base::UnavailableError
|
71
|
+
def initialize; end
|
72
|
+
end
|
73
|
+
|
74
|
+
class Notiffany::Notifier::Config
|
75
|
+
def initialize(opts); end
|
76
|
+
|
77
|
+
def env_namespace; end
|
78
|
+
def logger; end
|
79
|
+
def notifiers; end
|
80
|
+
def notify?; end
|
81
|
+
|
82
|
+
private
|
83
|
+
|
84
|
+
def _setup_logger(opts); end
|
85
|
+
end
|
86
|
+
|
87
|
+
Notiffany::Notifier::Config::DEFAULTS = T.let(T.unsafe(nil), Hash)
|
88
|
+
|
89
|
+
class Notiffany::Notifier::Detected
|
90
|
+
def initialize(supported, env_namespace, logger); end
|
91
|
+
|
92
|
+
def add(name, opts); end
|
93
|
+
def available; end
|
94
|
+
def detect; end
|
95
|
+
def reset; end
|
96
|
+
|
97
|
+
private
|
98
|
+
|
99
|
+
def _add(name, opts); end
|
100
|
+
def _notifiers; end
|
101
|
+
def _to_module(name); end
|
102
|
+
end
|
103
|
+
|
104
|
+
Notiffany::Notifier::Detected::NO_SUPPORTED_NOTIFIERS = T.let(T.unsafe(nil), String)
|
105
|
+
class Notiffany::Notifier::Detected::NoneAvailableError < ::RuntimeError; end
|
106
|
+
|
107
|
+
class Notiffany::Notifier::Detected::UnknownNotifier < ::RuntimeError
|
108
|
+
def initialize(name); end
|
109
|
+
|
110
|
+
def message; end
|
111
|
+
def name; end
|
112
|
+
end
|
113
|
+
|
114
|
+
class Notiffany::Notifier::Emacs < ::Notiffany::Notifier::Base
|
115
|
+
private
|
116
|
+
|
117
|
+
def _check_available(options); end
|
118
|
+
def _emacs_color(type, options = T.unsafe(nil)); end
|
119
|
+
def _erb_for(filename); end
|
120
|
+
def _gem_name; end
|
121
|
+
def _perform_notify(message, opts = T.unsafe(nil)); end
|
122
|
+
end
|
123
|
+
|
124
|
+
class Notiffany::Notifier::Emacs::Client
|
125
|
+
def initialize(options); end
|
126
|
+
|
127
|
+
def available?; end
|
128
|
+
def elisp_erb; end
|
129
|
+
def notify(color, bgcolor, message = T.unsafe(nil)); end
|
130
|
+
|
131
|
+
private
|
132
|
+
|
133
|
+
def _emacs_eval(env, code); end
|
134
|
+
end
|
135
|
+
|
136
|
+
class Notiffany::Notifier::Emacs::Client::Elisp < ::ERB
|
137
|
+
def initialize(code, color, bgcolor, message); end
|
138
|
+
|
139
|
+
def bgcolor; end
|
140
|
+
def color; end
|
141
|
+
def message; end
|
142
|
+
def result; end
|
143
|
+
end
|
144
|
+
|
145
|
+
Notiffany::Notifier::Emacs::DEFAULTS = T.let(T.unsafe(nil), Hash)
|
146
|
+
Notiffany::Notifier::Emacs::DEFAULT_ELISP_ERB = T.let(T.unsafe(nil), String)
|
147
|
+
|
148
|
+
class Notiffany::Notifier::File < ::Notiffany::Notifier::Base
|
149
|
+
private
|
150
|
+
|
151
|
+
def _check_available(opts = T.unsafe(nil)); end
|
152
|
+
def _gem_name; end
|
153
|
+
def _perform_notify(message, opts = T.unsafe(nil)); end
|
154
|
+
end
|
155
|
+
|
156
|
+
Notiffany::Notifier::File::DEFAULTS = T.let(T.unsafe(nil), Hash)
|
157
|
+
|
158
|
+
class Notiffany::Notifier::GNTP < ::Notiffany::Notifier::Base
|
159
|
+
def _check_available(_opts); end
|
160
|
+
def _gem_name; end
|
161
|
+
def _perform_notify(message, opts = T.unsafe(nil)); end
|
162
|
+
def _supported_hosts; end
|
163
|
+
|
164
|
+
private
|
165
|
+
|
166
|
+
def _gntp_client(opts = T.unsafe(nil)); end
|
167
|
+
end
|
168
|
+
|
169
|
+
Notiffany::Notifier::GNTP::CLIENT_DEFAULTS = T.let(T.unsafe(nil), Hash)
|
170
|
+
Notiffany::Notifier::GNTP::DEFAULTS = T.let(T.unsafe(nil), Hash)
|
171
|
+
|
172
|
+
class Notiffany::Notifier::Growl < ::Notiffany::Notifier::Base
|
173
|
+
def _check_available(_opts = T.unsafe(nil)); end
|
174
|
+
def _perform_notify(message, opts = T.unsafe(nil)); end
|
175
|
+
def _supported_hosts; end
|
176
|
+
end
|
177
|
+
|
178
|
+
Notiffany::Notifier::Growl::DEFAULTS = T.let(T.unsafe(nil), Hash)
|
179
|
+
Notiffany::Notifier::Growl::INSTALL_GROWLNOTIFY = T.let(T.unsafe(nil), String)
|
180
|
+
|
181
|
+
class Notiffany::Notifier::Libnotify < ::Notiffany::Notifier::Base
|
182
|
+
private
|
183
|
+
|
184
|
+
def _check_available(_opts = T.unsafe(nil)); end
|
185
|
+
def _perform_notify(message, opts = T.unsafe(nil)); end
|
186
|
+
def _supported_hosts; end
|
187
|
+
end
|
188
|
+
|
189
|
+
Notiffany::Notifier::Libnotify::DEFAULTS = T.let(T.unsafe(nil), Hash)
|
190
|
+
Notiffany::Notifier::NOTIFICATIONS_DISABLED = T.let(T.unsafe(nil), String)
|
191
|
+
class Notiffany::Notifier::NotServer < ::RuntimeError; end
|
192
|
+
|
193
|
+
class Notiffany::Notifier::Notifu < ::Notiffany::Notifier::Base
|
194
|
+
private
|
195
|
+
|
196
|
+
def _check_available(_opts = T.unsafe(nil)); end
|
197
|
+
def _gem_name; end
|
198
|
+
def _notifu_type(type); end
|
199
|
+
def _perform_notify(message, opts = T.unsafe(nil)); end
|
200
|
+
def _supported_hosts; end
|
201
|
+
end
|
202
|
+
|
203
|
+
Notiffany::Notifier::Notifu::DEFAULTS = T.let(T.unsafe(nil), Hash)
|
204
|
+
|
205
|
+
class Notiffany::Notifier::NotifySend < ::Notiffany::Notifier::Base
|
206
|
+
private
|
207
|
+
|
208
|
+
def _check_available(_opts = T.unsafe(nil)); end
|
209
|
+
def _gem_name; end
|
210
|
+
def _notifysend_urgency(type); end
|
211
|
+
def _perform_notify(message, opts = T.unsafe(nil)); end
|
212
|
+
def _supported_hosts; end
|
213
|
+
def _to_arguments(command, supported, opts = T.unsafe(nil)); end
|
214
|
+
end
|
215
|
+
|
216
|
+
Notiffany::Notifier::NotifySend::DEFAULTS = T.let(T.unsafe(nil), Hash)
|
217
|
+
Notiffany::Notifier::NotifySend::SUPPORTED = T.let(T.unsafe(nil), Array)
|
218
|
+
Notiffany::Notifier::ONLY_NOTIFY = T.let(T.unsafe(nil), String)
|
219
|
+
Notiffany::Notifier::SUPPORTED = T.let(T.unsafe(nil), Array)
|
220
|
+
|
221
|
+
class Notiffany::Notifier::TerminalNotifier < ::Notiffany::Notifier::Base
|
222
|
+
def _check_available(_opts = T.unsafe(nil)); end
|
223
|
+
def _gem_name; end
|
224
|
+
def _perform_notify(message, opts = T.unsafe(nil)); end
|
225
|
+
def _supported_hosts; end
|
226
|
+
end
|
227
|
+
|
228
|
+
Notiffany::Notifier::TerminalNotifier::DEFAULTS = T.let(T.unsafe(nil), Hash)
|
229
|
+
Notiffany::Notifier::TerminalNotifier::ERROR_ONLY_OSX10 = T.let(T.unsafe(nil), String)
|
230
|
+
|
231
|
+
class Notiffany::Notifier::TerminalTitle < ::Notiffany::Notifier::Base
|
232
|
+
def turn_off; end
|
233
|
+
|
234
|
+
private
|
235
|
+
|
236
|
+
def _check_available(_options); end
|
237
|
+
def _gem_name; end
|
238
|
+
def _perform_notify(message, opts = T.unsafe(nil)); end
|
239
|
+
end
|
240
|
+
|
241
|
+
Notiffany::Notifier::TerminalTitle::DEFAULTS = T.let(T.unsafe(nil), Hash)
|
242
|
+
|
243
|
+
class Notiffany::Notifier::Tmux < ::Notiffany::Notifier::Base
|
244
|
+
def turn_off; end
|
245
|
+
def turn_on; end
|
246
|
+
|
247
|
+
private
|
248
|
+
|
249
|
+
def _check_available(opts = T.unsafe(nil)); end
|
250
|
+
def _gem_name; end
|
251
|
+
def _perform_notify(message, options = T.unsafe(nil)); end
|
252
|
+
|
253
|
+
class << self
|
254
|
+
def _end_session; end
|
255
|
+
def _session; end
|
256
|
+
def _start_session; end
|
257
|
+
end
|
258
|
+
end
|
259
|
+
|
260
|
+
class Notiffany::Notifier::Tmux::Client
|
261
|
+
def initialize(client); end
|
262
|
+
|
263
|
+
def clients; end
|
264
|
+
def display_message(message); end
|
265
|
+
def display_time=(time); end
|
266
|
+
def message_bg=(color); end
|
267
|
+
def message_fg=(color); end
|
268
|
+
def parse_options; end
|
269
|
+
def set(key, value); end
|
270
|
+
def title=(string); end
|
271
|
+
def unset(key, value); end
|
272
|
+
|
273
|
+
private
|
274
|
+
|
275
|
+
def _all_args_for(key, value, client); end
|
276
|
+
def _capture(*args); end
|
277
|
+
def _parse_option(line); end
|
278
|
+
def _run(*args); end
|
279
|
+
|
280
|
+
class << self
|
281
|
+
def _capture(*args); end
|
282
|
+
def _run(*args); end
|
283
|
+
def version; end
|
284
|
+
end
|
285
|
+
end
|
286
|
+
|
287
|
+
Notiffany::Notifier::Tmux::Client::CLIENT = T.let(T.unsafe(nil), String)
|
288
|
+
Notiffany::Notifier::Tmux::DEFAULTS = T.let(T.unsafe(nil), Hash)
|
289
|
+
Notiffany::Notifier::Tmux::ERROR_ANCIENT_TMUX = T.let(T.unsafe(nil), String)
|
290
|
+
Notiffany::Notifier::Tmux::ERROR_NOT_INSIDE_TMUX = T.let(T.unsafe(nil), String)
|
291
|
+
class Notiffany::Notifier::Tmux::Error < ::RuntimeError; end
|
292
|
+
|
293
|
+
class Notiffany::Notifier::Tmux::Notification
|
294
|
+
def initialize(type, options); end
|
295
|
+
|
296
|
+
def colorize(locations); end
|
297
|
+
def display_message(title, message); end
|
298
|
+
def display_title(title, message); end
|
299
|
+
|
300
|
+
private
|
301
|
+
|
302
|
+
def _message_for(title, message); end
|
303
|
+
def _value_for(field); end
|
304
|
+
def client; end
|
305
|
+
def color; end
|
306
|
+
def message_color; end
|
307
|
+
def options; end
|
308
|
+
def separator; end
|
309
|
+
def type; end
|
310
|
+
end
|
311
|
+
|
312
|
+
class Notiffany::Notifier::Tmux::Session
|
313
|
+
def initialize; end
|
314
|
+
|
315
|
+
def close; end
|
316
|
+
end
|
317
|
+
|
318
|
+
Notiffany::Notifier::USING_NOTIFIER = T.let(T.unsafe(nil), String)
|
319
|
+
|
320
|
+
class Notiffany::Notifier::YamlEnvStorage < ::Nenv::Environment
|
321
|
+
def notifiers; end
|
322
|
+
def notifiers=(raw_value); end
|
323
|
+
end
|