workosv2 2.15.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +7 -0
- data/.github/CODEOWNERS +5 -0
- data/.github/pull_request_template.md +11 -0
- data/.github/renovate.json +5 -0
- data/.gitignore +49 -0
- data/.rspec +1 -0
- data/.rubocop.yml +24 -0
- data/.ruby-version +1 -0
- data/.semaphore/rubygems.yml +24 -0
- data/.semaphore/semaphore.yml +51 -0
- data/Gemfile +5 -0
- data/Gemfile.lock +126 -0
- data/Gemfile.lock.old +127 -0
- data/LICENSE +21 -0
- data/README.md +53 -0
- data/bin/build +3 -0
- data/bin/console +3 -0
- data/bin/docs +5 -0
- data/bin/publish +3 -0
- data/bin/tapioca +29 -0
- data/codecov.yml +12 -0
- data/docs/WorkOS/APIError.html +160 -0
- data/docs/WorkOS/AuditLog.html +235 -0
- data/docs/WorkOS/AuditTrail.html +235 -0
- data/docs/WorkOS/AuthenticationError.html +160 -0
- data/docs/WorkOS/Base.html +287 -0
- data/docs/WorkOS/Client.html +504 -0
- data/docs/WorkOS/InvalidRequestError.html +160 -0
- data/docs/WorkOS/Profile.html +788 -0
- data/docs/WorkOS/RequestError.html +135 -0
- data/docs/WorkOS/SSO.html +691 -0
- data/docs/WorkOS/Types/ProfileStruct.html +135 -0
- data/docs/WorkOS/Types/Provider.html +135 -0
- data/docs/WorkOS/Types.html +128 -0
- data/docs/WorkOS/WorkOSError.html +447 -0
- data/docs/WorkOS.html +324 -0
- data/docs/class_list.html +51 -0
- data/docs/css/common.css +1 -0
- data/docs/css/full_list.css +58 -0
- data/docs/css/style.css +496 -0
- data/docs/file.README.html +252 -0
- data/docs/file_list.html +56 -0
- data/docs/frames.html +17 -0
- data/docs/index.html +250 -0
- data/docs/js/app.js +314 -0
- data/docs/js/full_list.js +216 -0
- data/docs/js/jquery.js +4 -0
- data/docs/method_list.html +267 -0
- data/docs/top-level-namespace.html +110 -0
- data/lib/workosv2/audit_log_export.rb +55 -0
- data/lib/workosv2/audit_logs.rb +114 -0
- data/lib/workosv2/audit_trail.rb +111 -0
- data/lib/workosv2/challenge.rb +55 -0
- data/lib/workosv2/client.rb +186 -0
- data/lib/workosv2/configuration.rb +17 -0
- data/lib/workosv2/connection.rb +66 -0
- data/lib/workosv2/deprecated_hash_wrapper.rb +76 -0
- data/lib/workosv2/directory.rb +65 -0
- data/lib/workosv2/directory_group.rb +68 -0
- data/lib/workosv2/directory_sync.rb +218 -0
- data/lib/workosv2/directory_user.rb +97 -0
- data/lib/workosv2/errors.rb +81 -0
- data/lib/workosv2/event.rb +51 -0
- data/lib/workosv2/events.rb +52 -0
- data/lib/workosv2/factor.rb +54 -0
- data/lib/workosv2/hash_provider.rb +19 -0
- data/lib/workosv2/mfa.rb +178 -0
- data/lib/workosv2/organization.rb +57 -0
- data/lib/workosv2/organizations.rb +188 -0
- data/lib/workosv2/passwordless.rb +85 -0
- data/lib/workosv2/portal.rb +66 -0
- data/lib/workosv2/profile.rb +76 -0
- data/lib/workosv2/profile_and_token.rb +29 -0
- data/lib/workosv2/sso.rb +297 -0
- data/lib/workosv2/types/audit_log_export_struct.rb +17 -0
- data/lib/workosv2/types/challenge_struct.rb +18 -0
- data/lib/workosv2/types/connection_struct.rb +20 -0
- data/lib/workosv2/types/directory_group_struct.rb +19 -0
- data/lib/workosv2/types/directory_struct.rb +19 -0
- data/lib/workosv2/types/directory_user_struct.rb +26 -0
- data/lib/workosv2/types/event_struct.rb +15 -0
- data/lib/workosv2/types/factor_struct.rb +18 -0
- data/lib/workosv2/types/intent_enum.rb +17 -0
- data/lib/workosv2/types/list_struct.rb +13 -0
- data/lib/workosv2/types/organization_struct.rb +17 -0
- data/lib/workosv2/types/passwordless_session_struct.rb +17 -0
- data/lib/workosv2/types/profile_struct.rb +21 -0
- data/lib/workosv2/types/provider_enum.rb +15 -0
- data/lib/workosv2/types/verify_challenge_struct.rb +13 -0
- data/lib/workosv2/types/webhook_struct.rb +15 -0
- data/lib/workosv2/types.rb +25 -0
- data/lib/workosv2/verify_challenge.rb +39 -0
- data/lib/workosv2/version.rb +6 -0
- data/lib/workosv2/webhook.rb +51 -0
- data/lib/workosv2/webhooks.rb +217 -0
- data/lib/workosv2.rb +79 -0
- data/sorbet/config +2 -0
- data/sorbet/rbi/gems/addressable@2.8.0.rbi +290 -0
- data/sorbet/rbi/gems/ast@2.4.2.rbi +54 -0
- data/sorbet/rbi/gems/codecov@0.2.12.rbi +55 -0
- data/sorbet/rbi/gems/coderay@1.1.3.rbi +8 -0
- data/sorbet/rbi/gems/crack@0.4.5.rbi +57 -0
- data/sorbet/rbi/gems/diff-lcs@1.4.4.rbi +185 -0
- data/sorbet/rbi/gems/docile@1.3.5.rbi +54 -0
- data/sorbet/rbi/gems/hashdiff@1.0.1.rbi +82 -0
- data/sorbet/rbi/gems/json@2.5.1.rbi +109 -0
- data/sorbet/rbi/gems/method_source@1.0.0.rbi +8 -0
- data/sorbet/rbi/gems/parallel@1.20.1.rbi +113 -0
- data/sorbet/rbi/gems/parser@3.0.1.0.rbi +1187 -0
- data/sorbet/rbi/gems/pry@0.14.2.rbi +8 -0
- data/sorbet/rbi/gems/public_suffix@4.0.6.rbi +146 -0
- data/sorbet/rbi/gems/rainbow@3.0.0.rbi +153 -0
- data/sorbet/rbi/gems/rake@13.0.3.rbi +807 -0
- data/sorbet/rbi/gems/rbi@0.0.16.rbi +2118 -0
- data/sorbet/rbi/gems/regexp_parser@2.1.1.rbi +1117 -0
- data/sorbet/rbi/gems/rexml@3.2.5.rbi +709 -0
- data/sorbet/rbi/gems/rspec-core@3.9.3.rbi +2467 -0
- data/sorbet/rbi/gems/rspec-expectations@3.9.4.rbi +1569 -0
- data/sorbet/rbi/gems/rspec-mocks@3.9.1.rbi +1493 -0
- data/sorbet/rbi/gems/rspec-support@3.9.4.rbi +511 -0
- data/sorbet/rbi/gems/rspec@3.9.0.rbi +38 -0
- data/sorbet/rbi/gems/rubocop-ast@1.4.1.rbi +1881 -0
- data/sorbet/rbi/gems/rubocop@0.93.1.rbi +11497 -0
- data/sorbet/rbi/gems/ruby-progressbar@1.11.0.rbi +405 -0
- data/sorbet/rbi/gems/simplecov-html@0.12.3.rbi +89 -0
- data/sorbet/rbi/gems/simplecov@0.21.2.rbi +577 -0
- data/sorbet/rbi/gems/simplecov_json_formatter@0.1.2.rbi +8 -0
- data/sorbet/rbi/gems/spoom@1.1.15.rbi +1549 -0
- data/sorbet/rbi/gems/tapioca@0.7.3.rbi +1718 -0
- data/sorbet/rbi/gems/thor@1.2.1.rbi +844 -0
- data/sorbet/rbi/gems/unicode-display_width@1.7.0.rbi +22 -0
- data/sorbet/rbi/gems/unparser@0.6.2.rbi +8 -0
- data/sorbet/rbi/gems/vcr@5.0.0.rbi +699 -0
- data/sorbet/rbi/gems/webmock@3.12.2.rbi +662 -0
- data/sorbet/rbi/gems/yard-sorbet@0.8.0.rbi +268 -0
- data/sorbet/rbi/gems/yard@0.9.26.rbi +4048 -0
- data/sorbet/tapioca/config.yml +13 -0
- data/sorbet/tapioca/require.rb +4 -0
- data/spec/lib/workos/audit_logs_spec.rb +151 -0
- data/spec/lib/workos/audit_trail_spec.rb +146 -0
- data/spec/lib/workos/configuration_spec.rb +61 -0
- data/spec/lib/workos/directory_sync_spec.rb +492 -0
- data/spec/lib/workos/directory_user_spec.rb +36 -0
- data/spec/lib/workos/event_spec.rb +88 -0
- data/spec/lib/workos/mfa_spec.rb +281 -0
- data/spec/lib/workos/organizations_spec.rb +257 -0
- data/spec/lib/workos/passwordless_spec.rb +77 -0
- data/spec/lib/workos/portal_spec.rb +87 -0
- data/spec/lib/workos/sso_spec.rb +650 -0
- data/spec/lib/workos/webhooks_spec.rb +236 -0
- data/spec/spec_helper.rb +56 -0
- data/spec/support/fixtures/vcr_cassettes/audit_logs/create_event.yml +59 -0
- data/spec/support/fixtures/vcr_cassettes/audit_logs/create_event_custom_idempotency_key.yml +60 -0
- data/spec/support/fixtures/vcr_cassettes/audit_logs/create_event_invalid.yml +59 -0
- data/spec/support/fixtures/vcr_cassettes/audit_logs/create_export.yml +76 -0
- data/spec/support/fixtures/vcr_cassettes/audit_logs/create_export_with_filters.yml +77 -0
- data/spec/support/fixtures/vcr_cassettes/audit_logs/get_export.yml +73 -0
- data/spec/support/fixtures/vcr_cassettes/audit_trail/create_event.yml +65 -0
- data/spec/support/fixtures/vcr_cassettes/audit_trail/create_event_custom_idempotency_key.yml +67 -0
- data/spec/support/fixtures/vcr_cassettes/audit_trail/create_event_invalid.yml +68 -0
- data/spec/support/fixtures/vcr_cassettes/audit_trail/create_events_duplicate_idempotency_key_and_payload.yml +131 -0
- data/spec/support/fixtures/vcr_cassettes/audit_trail/create_events_duplicate_idempotency_key_different_payload.yml +134 -0
- data/spec/support/fixtures/vcr_cassettes/audit_trail/get_events.yml +61 -0
- data/spec/support/fixtures/vcr_cassettes/base/execute_request_unauthenticated.yml +66 -0
- data/spec/support/fixtures/vcr_cassettes/directory_sync/delete_directory.yml +72 -0
- data/spec/support/fixtures/vcr_cassettes/directory_sync/get_directory_with_invalid_id.yml +83 -0
- data/spec/support/fixtures/vcr_cassettes/directory_sync/get_directory_with_valid_id.yml +84 -0
- data/spec/support/fixtures/vcr_cassettes/directory_sync/get_group.yml +80 -0
- data/spec/support/fixtures/vcr_cassettes/directory_sync/get_group_with_invalid_id.yml +62 -0
- data/spec/support/fixtures/vcr_cassettes/directory_sync/get_user.yml +83 -0
- data/spec/support/fixtures/vcr_cassettes/directory_sync/get_user_with_invalid_id.yml +62 -0
- data/spec/support/fixtures/vcr_cassettes/directory_sync/list_directories/with_after.yml +87 -0
- data/spec/support/fixtures/vcr_cassettes/directory_sync/list_directories/with_before.yml +89 -0
- data/spec/support/fixtures/vcr_cassettes/directory_sync/list_directories/with_domain.yml +84 -0
- data/spec/support/fixtures/vcr_cassettes/directory_sync/list_directories/with_limit.yml +85 -0
- data/spec/support/fixtures/vcr_cassettes/directory_sync/list_directories/with_no_options.yml +93 -0
- data/spec/support/fixtures/vcr_cassettes/directory_sync/list_directories/with_search.yml +85 -0
- data/spec/support/fixtures/vcr_cassettes/directory_sync/list_groups/with_after.yml +90 -0
- data/spec/support/fixtures/vcr_cassettes/directory_sync/list_groups/with_before.yml +90 -0
- data/spec/support/fixtures/vcr_cassettes/directory_sync/list_groups/with_directory.yml +90 -0
- data/spec/support/fixtures/vcr_cassettes/directory_sync/list_groups/with_limit.yml +84 -0
- data/spec/support/fixtures/vcr_cassettes/directory_sync/list_groups/with_no_options.yml +84 -0
- data/spec/support/fixtures/vcr_cassettes/directory_sync/list_groups/with_user.yml +82 -0
- data/spec/support/fixtures/vcr_cassettes/directory_sync/list_users/with_after.yml +186 -0
- data/spec/support/fixtures/vcr_cassettes/directory_sync/list_users/with_before.yml +88 -0
- data/spec/support/fixtures/vcr_cassettes/directory_sync/list_users/with_directory.yml +194 -0
- data/spec/support/fixtures/vcr_cassettes/directory_sync/list_users/with_group.yml +186 -0
- data/spec/support/fixtures/vcr_cassettes/directory_sync/list_users/with_limit.yml +189 -0
- data/spec/support/fixtures/vcr_cassettes/directory_sync/list_users/with_no_options.yml +74 -0
- data/spec/support/fixtures/vcr_cassettes/events/list_events_with_after.yml +80 -0
- data/spec/support/fixtures/vcr_cassettes/events/list_events_with_event.yml +80 -0
- data/spec/support/fixtures/vcr_cassettes/events/list_events_with_no_options.yml +80 -0
- data/spec/support/fixtures/vcr_cassettes/events/list_events_with_range.yml +80 -0
- data/spec/support/fixtures/vcr_cassettes/mfa/challenge_factor_generic_valid.yml +82 -0
- data/spec/support/fixtures/vcr_cassettes/mfa/challenge_factor_sms_valid.yml +82 -0
- data/spec/support/fixtures/vcr_cassettes/mfa/challenge_factor_totp_valid.yml +82 -0
- data/spec/support/fixtures/vcr_cassettes/mfa/delete_factor.yml +80 -0
- data/spec/support/fixtures/vcr_cassettes/mfa/enroll_factor_generic_valid.yml +82 -0
- data/spec/support/fixtures/vcr_cassettes/mfa/enroll_factor_sms_valid.yml +82 -0
- data/spec/support/fixtures/vcr_cassettes/mfa/enroll_factor_totp_valid.yml +82 -0
- data/spec/support/fixtures/vcr_cassettes/mfa/get_factor_invalid.yml +82 -0
- data/spec/support/fixtures/vcr_cassettes/mfa/get_factor_valid.yml +82 -0
- data/spec/support/fixtures/vcr_cassettes/mfa/verify_challenge_generic_expired.yml +84 -0
- data/spec/support/fixtures/vcr_cassettes/mfa/verify_challenge_generic_invalid.yml +84 -0
- data/spec/support/fixtures/vcr_cassettes/mfa/verify_challenge_generic_valid.yml +82 -0
- data/spec/support/fixtures/vcr_cassettes/mfa/verify_challenge_generic_valid_is_false.yml +82 -0
- data/spec/support/fixtures/vcr_cassettes/organization/create.yml +84 -0
- data/spec/support/fixtures/vcr_cassettes/organization/create_invalid.yml +72 -0
- data/spec/support/fixtures/vcr_cassettes/organization/create_with_duplicate_idempotency_key_and_different_payload.yml +155 -0
- data/spec/support/fixtures/vcr_cassettes/organization/create_with_duplicate_idempotency_key_and_payload.yml +154 -0
- data/spec/support/fixtures/vcr_cassettes/organization/create_with_idempotency_key.yml +79 -0
- data/spec/support/fixtures/vcr_cassettes/organization/delete.yml +72 -0
- data/spec/support/fixtures/vcr_cassettes/organization/delete_invalid.yml +72 -0
- data/spec/support/fixtures/vcr_cassettes/organization/get.yml +84 -0
- data/spec/support/fixtures/vcr_cassettes/organization/get_invalid.yml +72 -0
- data/spec/support/fixtures/vcr_cassettes/organization/list.yml +87 -0
- data/spec/support/fixtures/vcr_cassettes/organization/update.yml +84 -0
- data/spec/support/fixtures/vcr_cassettes/passwordless/create_session.yml +72 -0
- data/spec/support/fixtures/vcr_cassettes/passwordless/create_session_invalid.yml +73 -0
- data/spec/support/fixtures/vcr_cassettes/passwordless/send_session.yml +72 -0
- data/spec/support/fixtures/vcr_cassettes/passwordless/send_session_invalid.yml +73 -0
- data/spec/support/fixtures/vcr_cassettes/portal/generate_link_audit_logs.yml +72 -0
- data/spec/support/fixtures/vcr_cassettes/portal/generate_link_dsync.yml +72 -0
- data/spec/support/fixtures/vcr_cassettes/portal/generate_link_invalid.yml +72 -0
- data/spec/support/fixtures/vcr_cassettes/portal/generate_link_sso.yml +72 -0
- data/spec/support/fixtures/vcr_cassettes/sso/delete_connection_with_invalid_id.yml +72 -0
- data/spec/support/fixtures/vcr_cassettes/sso/delete_connection_with_valid_id.yml +70 -0
- data/spec/support/fixtures/vcr_cassettes/sso/get_connection_with_invalid_id.yml +72 -0
- data/spec/support/fixtures/vcr_cassettes/sso/get_connection_with_valid_id.yml +86 -0
- data/spec/support/fixtures/vcr_cassettes/sso/list_connections/with_after.yml +83 -0
- data/spec/support/fixtures/vcr_cassettes/sso/list_connections/with_before.yml +86 -0
- data/spec/support/fixtures/vcr_cassettes/sso/list_connections/with_connection_type.yml +90 -0
- data/spec/support/fixtures/vcr_cassettes/sso/list_connections/with_domain.yml +86 -0
- data/spec/support/fixtures/vcr_cassettes/sso/list_connections/with_limit.yml +83 -0
- data/spec/support/fixtures/vcr_cassettes/sso/list_connections/with_no_options.yml +89 -0
- data/spec/support/fixtures/vcr_cassettes/sso/list_connections/with_organization_id.yml +86 -0
- data/spec/support/fixtures/vcr_cassettes/sso/profile.yml +74 -0
- data/spec/support/profile.txt +1 -0
- data/spec/support/shared_examples/client_spec.rb +30 -0
- data/spec/support/webhook_payload.txt +1 -0
- data/workosv2.gemspec +38 -0
- metadata +531 -0
@@ -0,0 +1,807 @@
|
|
1
|
+
# typed: true
|
2
|
+
|
3
|
+
# DO NOT EDIT MANUALLY
|
4
|
+
# This is an autogenerated file for types exported from the `rake` gem.
|
5
|
+
# Please instead update this file by running `bin/tapioca gem rake`.
|
6
|
+
|
7
|
+
FileList = Rake::FileList
|
8
|
+
|
9
|
+
module FileUtils
|
10
|
+
include ::FileUtils::StreamUtils_
|
11
|
+
extend ::FileUtils::StreamUtils_
|
12
|
+
|
13
|
+
def ruby(*args, **options, &block); end
|
14
|
+
def safe_ln(*args, **options); end
|
15
|
+
def sh(*cmd, &block); end
|
16
|
+
def split_all(path); end
|
17
|
+
|
18
|
+
private
|
19
|
+
|
20
|
+
def create_shell_runner(cmd); end
|
21
|
+
def set_verbose_option(options); end
|
22
|
+
def sh_show_command(cmd); end
|
23
|
+
end
|
24
|
+
|
25
|
+
FileUtils::LN_SUPPORTED = T.let(T.unsafe(nil), Array)
|
26
|
+
FileUtils::RUBY = T.let(T.unsafe(nil), String)
|
27
|
+
|
28
|
+
class Module
|
29
|
+
def rake_extension(method); end
|
30
|
+
end
|
31
|
+
|
32
|
+
module Rake
|
33
|
+
extend ::FileUtils::StreamUtils_
|
34
|
+
extend ::FileUtils
|
35
|
+
extend ::Rake::FileUtilsExt
|
36
|
+
|
37
|
+
class << self
|
38
|
+
def add_rakelib(*files); end
|
39
|
+
def application; end
|
40
|
+
def application=(app); end
|
41
|
+
def each_dir_parent(dir); end
|
42
|
+
def from_pathname(path); end
|
43
|
+
def load_rakefile(path); end
|
44
|
+
def original_dir; end
|
45
|
+
def suggested_thread_count; end
|
46
|
+
def with_application(block_application = T.unsafe(nil)); end
|
47
|
+
end
|
48
|
+
end
|
49
|
+
|
50
|
+
class Rake::Application
|
51
|
+
include ::Rake::TaskManager
|
52
|
+
include ::Rake::TraceOutput
|
53
|
+
|
54
|
+
def initialize; end
|
55
|
+
|
56
|
+
def add_import(fn); end
|
57
|
+
def add_loader(ext, loader); end
|
58
|
+
def collect_command_line_tasks(args); end
|
59
|
+
def default_task_name; end
|
60
|
+
def deprecate(old_usage, new_usage, call_site); end
|
61
|
+
def display_cause_details(ex); end
|
62
|
+
def display_error_message(ex); end
|
63
|
+
def display_exception_backtrace(ex); end
|
64
|
+
def display_exception_details(ex); end
|
65
|
+
def display_exception_details_seen; end
|
66
|
+
def display_exception_message_details(ex); end
|
67
|
+
def display_prerequisites; end
|
68
|
+
def display_tasks_and_comments; end
|
69
|
+
def dynamic_width; end
|
70
|
+
def dynamic_width_stty; end
|
71
|
+
def dynamic_width_tput; end
|
72
|
+
def exit_because_of_exception(ex); end
|
73
|
+
def find_rakefile_location; end
|
74
|
+
def handle_options(argv); end
|
75
|
+
def has_cause?(ex); end
|
76
|
+
def have_rakefile; end
|
77
|
+
def init(app_name = T.unsafe(nil), argv = T.unsafe(nil)); end
|
78
|
+
def invoke_task(task_string); end
|
79
|
+
def load_imports; end
|
80
|
+
def load_rakefile; end
|
81
|
+
def name; end
|
82
|
+
def options; end
|
83
|
+
def original_dir; end
|
84
|
+
def parse_task_string(string); end
|
85
|
+
def print_rakefile_directory(location); end
|
86
|
+
def rake_require(file_name, paths = T.unsafe(nil), loaded = T.unsafe(nil)); end
|
87
|
+
def rakefile; end
|
88
|
+
def rakefile_location(backtrace = T.unsafe(nil)); end
|
89
|
+
def raw_load_rakefile; end
|
90
|
+
def run(argv = T.unsafe(nil)); end
|
91
|
+
def run_with_threads; end
|
92
|
+
def set_default_options; end
|
93
|
+
def standard_exception_handling; end
|
94
|
+
def standard_rake_options; end
|
95
|
+
def system_dir; end
|
96
|
+
def terminal_columns; end
|
97
|
+
def terminal_columns=(_arg0); end
|
98
|
+
def terminal_width; end
|
99
|
+
def thread_pool; end
|
100
|
+
def top_level; end
|
101
|
+
def top_level_tasks; end
|
102
|
+
def trace(*strings); end
|
103
|
+
def truncate(string, width); end
|
104
|
+
def truncate_output?; end
|
105
|
+
def tty_output=(_arg0); end
|
106
|
+
def tty_output?; end
|
107
|
+
def unix?; end
|
108
|
+
def windows?; end
|
109
|
+
|
110
|
+
private
|
111
|
+
|
112
|
+
def glob(path, &block); end
|
113
|
+
def has_chain?(exception); end
|
114
|
+
def select_tasks_to_show(options, show_tasks, value); end
|
115
|
+
def select_trace_output(options, trace_option, value); end
|
116
|
+
def sort_options(options); end
|
117
|
+
def standard_system_dir; end
|
118
|
+
end
|
119
|
+
|
120
|
+
Rake::Application::DEFAULT_RAKEFILES = T.let(T.unsafe(nil), Array)
|
121
|
+
|
122
|
+
module Rake::Backtrace
|
123
|
+
class << self
|
124
|
+
def collapse(backtrace); end
|
125
|
+
end
|
126
|
+
end
|
127
|
+
|
128
|
+
Rake::Backtrace::SUPPRESSED_PATHS = T.let(T.unsafe(nil), Array)
|
129
|
+
Rake::Backtrace::SUPPRESSED_PATHS_RE = T.let(T.unsafe(nil), String)
|
130
|
+
Rake::Backtrace::SUPPRESS_PATTERN = T.let(T.unsafe(nil), Regexp)
|
131
|
+
Rake::Backtrace::SYS_KEYS = T.let(T.unsafe(nil), Array)
|
132
|
+
Rake::Backtrace::SYS_PATHS = T.let(T.unsafe(nil), Array)
|
133
|
+
|
134
|
+
module Rake::Cloneable
|
135
|
+
private
|
136
|
+
|
137
|
+
def initialize_copy(source); end
|
138
|
+
end
|
139
|
+
|
140
|
+
class Rake::CommandLineOptionError < ::StandardError; end
|
141
|
+
|
142
|
+
class Rake::CpuCounter
|
143
|
+
def count; end
|
144
|
+
def count_with_default(default = T.unsafe(nil)); end
|
145
|
+
|
146
|
+
class << self
|
147
|
+
def count; end
|
148
|
+
end
|
149
|
+
end
|
150
|
+
|
151
|
+
module Rake::DSL
|
152
|
+
include ::FileUtils::StreamUtils_
|
153
|
+
include ::FileUtils
|
154
|
+
include ::Rake::FileUtilsExt
|
155
|
+
|
156
|
+
private
|
157
|
+
|
158
|
+
def desc(description); end
|
159
|
+
def directory(*args, &block); end
|
160
|
+
def file(*args, &block); end
|
161
|
+
def file_create(*args, &block); end
|
162
|
+
def import(*fns); end
|
163
|
+
def multitask(*args, &block); end
|
164
|
+
def namespace(name = T.unsafe(nil), &block); end
|
165
|
+
def rule(*args, &block); end
|
166
|
+
def task(*args, &block); end
|
167
|
+
end
|
168
|
+
|
169
|
+
class Rake::DefaultLoader
|
170
|
+
def load(fn); end
|
171
|
+
end
|
172
|
+
|
173
|
+
Rake::EARLY = T.let(T.unsafe(nil), Rake::EarlyTime)
|
174
|
+
Rake::EMPTY_TASK_ARGS = T.let(T.unsafe(nil), Rake::TaskArguments)
|
175
|
+
|
176
|
+
class Rake::EarlyTime
|
177
|
+
include ::Comparable
|
178
|
+
include ::Singleton
|
179
|
+
extend ::Singleton::SingletonClassMethods
|
180
|
+
|
181
|
+
def <=>(other); end
|
182
|
+
def to_s; end
|
183
|
+
end
|
184
|
+
|
185
|
+
class Rake::FileCreationTask < ::Rake::FileTask
|
186
|
+
def needed?; end
|
187
|
+
def timestamp; end
|
188
|
+
end
|
189
|
+
|
190
|
+
class Rake::FileList
|
191
|
+
include ::Rake::Cloneable
|
192
|
+
|
193
|
+
def initialize(*patterns); end
|
194
|
+
|
195
|
+
def &(*args, &block); end
|
196
|
+
def *(other); end
|
197
|
+
def +(*args, &block); end
|
198
|
+
def -(*args, &block); end
|
199
|
+
def <<(obj); end
|
200
|
+
def <=>(*args, &block); end
|
201
|
+
def ==(array); end
|
202
|
+
def [](*args, &block); end
|
203
|
+
def []=(*args, &block); end
|
204
|
+
def add(*filenames); end
|
205
|
+
def all?(*args, &block); end
|
206
|
+
def any?(*args, &block); end
|
207
|
+
def append(*args, &block); end
|
208
|
+
def assoc(*args, &block); end
|
209
|
+
def at(*args, &block); end
|
210
|
+
def bsearch(*args, &block); end
|
211
|
+
def bsearch_index(*args, &block); end
|
212
|
+
def chain(*args, &block); end
|
213
|
+
def chunk(*args, &block); end
|
214
|
+
def chunk_while(*args, &block); end
|
215
|
+
def clear(*args, &block); end
|
216
|
+
def clear_exclude; end
|
217
|
+
def collect(*args, &block); end
|
218
|
+
def collect!(*args, &block); end
|
219
|
+
def collect_concat(*args, &block); end
|
220
|
+
def combination(*args, &block); end
|
221
|
+
def compact(*args, &block); end
|
222
|
+
def compact!(*args, &block); end
|
223
|
+
def concat(*args, &block); end
|
224
|
+
def count(*args, &block); end
|
225
|
+
def cycle(*args, &block); end
|
226
|
+
def deconstruct(*args, &block); end
|
227
|
+
def delete(*args, &block); end
|
228
|
+
def delete_at(*args, &block); end
|
229
|
+
def delete_if(*args, &block); end
|
230
|
+
def detect(*args, &block); end
|
231
|
+
def difference(*args, &block); end
|
232
|
+
def dig(*args, &block); end
|
233
|
+
def drop(*args, &block); end
|
234
|
+
def drop_while(*args, &block); end
|
235
|
+
def each(*args, &block); end
|
236
|
+
def each_cons(*args, &block); end
|
237
|
+
def each_entry(*args, &block); end
|
238
|
+
def each_index(*args, &block); end
|
239
|
+
def each_slice(*args, &block); end
|
240
|
+
def each_with_index(*args, &block); end
|
241
|
+
def each_with_object(*args, &block); end
|
242
|
+
def egrep(pattern, *options); end
|
243
|
+
def empty?(*args, &block); end
|
244
|
+
def entries(*args, &block); end
|
245
|
+
def exclude(*patterns, &block); end
|
246
|
+
def excluded_from_list?(fn); end
|
247
|
+
def existing; end
|
248
|
+
def existing!; end
|
249
|
+
def ext(newext = T.unsafe(nil)); end
|
250
|
+
def fetch(*args, &block); end
|
251
|
+
def fill(*args, &block); end
|
252
|
+
def filter(*args, &block); end
|
253
|
+
def filter!(*args, &block); end
|
254
|
+
def filter_map(*args, &block); end
|
255
|
+
def find(*args, &block); end
|
256
|
+
def find_all(*args, &block); end
|
257
|
+
def find_index(*args, &block); end
|
258
|
+
def first(*args, &block); end
|
259
|
+
def flat_map(*args, &block); end
|
260
|
+
def flatten(*args, &block); end
|
261
|
+
def flatten!(*args, &block); end
|
262
|
+
def grep(*args, &block); end
|
263
|
+
def grep_v(*args, &block); end
|
264
|
+
def group_by(*args, &block); end
|
265
|
+
def gsub(pat, rep); end
|
266
|
+
def gsub!(pat, rep); end
|
267
|
+
def import(array); end
|
268
|
+
def include(*filenames); end
|
269
|
+
def include?(*args, &block); end
|
270
|
+
def index(*args, &block); end
|
271
|
+
def inject(*args, &block); end
|
272
|
+
def insert(*args, &block); end
|
273
|
+
def inspect(*args, &block); end
|
274
|
+
def intersect?(*args, &block); end
|
275
|
+
def intersection(*args, &block); end
|
276
|
+
def is_a?(klass); end
|
277
|
+
def join(*args, &block); end
|
278
|
+
def keep_if(*args, &block); end
|
279
|
+
def kind_of?(klass); end
|
280
|
+
def last(*args, &block); end
|
281
|
+
def lazy(*args, &block); end
|
282
|
+
def length(*args, &block); end
|
283
|
+
def map(*args, &block); end
|
284
|
+
def map!(*args, &block); end
|
285
|
+
def max(*args, &block); end
|
286
|
+
def max_by(*args, &block); end
|
287
|
+
def member?(*args, &block); end
|
288
|
+
def min(*args, &block); end
|
289
|
+
def min_by(*args, &block); end
|
290
|
+
def minmax(*args, &block); end
|
291
|
+
def minmax_by(*args, &block); end
|
292
|
+
def none?(*args, &block); end
|
293
|
+
def one?(*args, &block); end
|
294
|
+
def pack(*args, &block); end
|
295
|
+
def partition(&block); end
|
296
|
+
def pathmap(spec = T.unsafe(nil), &block); end
|
297
|
+
def permutation(*args, &block); end
|
298
|
+
def place(*args, &block); end
|
299
|
+
def pop(*args, &block); end
|
300
|
+
def prepend(*args, &block); end
|
301
|
+
def product(*args, &block); end
|
302
|
+
def push(*args, &block); end
|
303
|
+
def rassoc(*args, &block); end
|
304
|
+
def reduce(*args, &block); end
|
305
|
+
def reject(*args, &block); end
|
306
|
+
def reject!(*args, &block); end
|
307
|
+
def repeated_combination(*args, &block); end
|
308
|
+
def repeated_permutation(*args, &block); end
|
309
|
+
def replace(*args, &block); end
|
310
|
+
def resolve; end
|
311
|
+
def reverse(*args, &block); end
|
312
|
+
def reverse!(*args, &block); end
|
313
|
+
def reverse_each(*args, &block); end
|
314
|
+
def rindex(*args, &block); end
|
315
|
+
def rotate(*args, &block); end
|
316
|
+
def rotate!(*args, &block); end
|
317
|
+
def sample(*args, &block); end
|
318
|
+
def select(*args, &block); end
|
319
|
+
def select!(*args, &block); end
|
320
|
+
def shelljoin(*args, &block); end
|
321
|
+
def shift(*args, &block); end
|
322
|
+
def shuffle(*args, &block); end
|
323
|
+
def shuffle!(*args, &block); end
|
324
|
+
def size(*args, &block); end
|
325
|
+
def slice(*args, &block); end
|
326
|
+
def slice!(*args, &block); end
|
327
|
+
def slice_after(*args, &block); end
|
328
|
+
def slice_before(*args, &block); end
|
329
|
+
def slice_when(*args, &block); end
|
330
|
+
def sort(*args, &block); end
|
331
|
+
def sort!(*args, &block); end
|
332
|
+
def sort_by(*args, &block); end
|
333
|
+
def sort_by!(*args, &block); end
|
334
|
+
def sub(pat, rep); end
|
335
|
+
def sub!(pat, rep); end
|
336
|
+
def sum(*args, &block); end
|
337
|
+
def take(*args, &block); end
|
338
|
+
def take_while(*args, &block); end
|
339
|
+
def tally(*args, &block); end
|
340
|
+
def to_a; end
|
341
|
+
def to_ary; end
|
342
|
+
def to_h(*args, &block); end
|
343
|
+
def to_s; end
|
344
|
+
def to_set(*args, &block); end
|
345
|
+
def transpose(*args, &block); end
|
346
|
+
def union(*args, &block); end
|
347
|
+
def uniq(*args, &block); end
|
348
|
+
def uniq!(*args, &block); end
|
349
|
+
def unshift(*args, &block); end
|
350
|
+
def values_at(*args, &block); end
|
351
|
+
def zip(*args, &block); end
|
352
|
+
def |(*args, &block); end
|
353
|
+
|
354
|
+
private
|
355
|
+
|
356
|
+
def add_matching(pattern); end
|
357
|
+
def resolve_add(fn); end
|
358
|
+
def resolve_exclude; end
|
359
|
+
|
360
|
+
class << self
|
361
|
+
def [](*args); end
|
362
|
+
def glob(pattern, *args); end
|
363
|
+
end
|
364
|
+
end
|
365
|
+
|
366
|
+
Rake::FileList::ARRAY_METHODS = T.let(T.unsafe(nil), Array)
|
367
|
+
Rake::FileList::DEFAULT_IGNORE_PATTERNS = T.let(T.unsafe(nil), Array)
|
368
|
+
Rake::FileList::DEFAULT_IGNORE_PROCS = T.let(T.unsafe(nil), Array)
|
369
|
+
Rake::FileList::DELEGATING_METHODS = T.let(T.unsafe(nil), Array)
|
370
|
+
Rake::FileList::GLOB_PATTERN = T.let(T.unsafe(nil), Regexp)
|
371
|
+
Rake::FileList::MUST_DEFINE = T.let(T.unsafe(nil), Array)
|
372
|
+
Rake::FileList::MUST_NOT_DEFINE = T.let(T.unsafe(nil), Array)
|
373
|
+
Rake::FileList::SPECIAL_RETURN = T.let(T.unsafe(nil), Array)
|
374
|
+
|
375
|
+
class Rake::FileTask < ::Rake::Task
|
376
|
+
def needed?; end
|
377
|
+
def timestamp; end
|
378
|
+
|
379
|
+
private
|
380
|
+
|
381
|
+
def out_of_date?(stamp); end
|
382
|
+
|
383
|
+
class << self
|
384
|
+
def scope_name(scope, task_name); end
|
385
|
+
end
|
386
|
+
end
|
387
|
+
|
388
|
+
module Rake::FileUtilsExt
|
389
|
+
include ::FileUtils::StreamUtils_
|
390
|
+
include ::FileUtils
|
391
|
+
extend ::FileUtils::StreamUtils_
|
392
|
+
extend ::FileUtils
|
393
|
+
extend ::Rake::FileUtilsExt
|
394
|
+
|
395
|
+
def cd(*args, **options, &block); end
|
396
|
+
def chdir(*args, **options, &block); end
|
397
|
+
def chmod(*args, **options, &block); end
|
398
|
+
def chmod_R(*args, **options, &block); end
|
399
|
+
def chown(*args, **options, &block); end
|
400
|
+
def chown_R(*args, **options, &block); end
|
401
|
+
def copy(*args, **options, &block); end
|
402
|
+
def cp(*args, **options, &block); end
|
403
|
+
def cp_lr(*args, **options, &block); end
|
404
|
+
def cp_r(*args, **options, &block); end
|
405
|
+
def install(*args, **options, &block); end
|
406
|
+
def link(*args, **options, &block); end
|
407
|
+
def ln(*args, **options, &block); end
|
408
|
+
def ln_s(*args, **options, &block); end
|
409
|
+
def ln_sf(*args, **options, &block); end
|
410
|
+
def makedirs(*args, **options, &block); end
|
411
|
+
def mkdir(*args, **options, &block); end
|
412
|
+
def mkdir_p(*args, **options, &block); end
|
413
|
+
def mkpath(*args, **options, &block); end
|
414
|
+
def move(*args, **options, &block); end
|
415
|
+
def mv(*args, **options, &block); end
|
416
|
+
def nowrite(value = T.unsafe(nil)); end
|
417
|
+
def rake_check_options(options, *optdecl); end
|
418
|
+
def rake_output_message(message); end
|
419
|
+
def remove(*args, **options, &block); end
|
420
|
+
def rm(*args, **options, &block); end
|
421
|
+
def rm_f(*args, **options, &block); end
|
422
|
+
def rm_r(*args, **options, &block); end
|
423
|
+
def rm_rf(*args, **options, &block); end
|
424
|
+
def rmdir(*args, **options, &block); end
|
425
|
+
def rmtree(*args, **options, &block); end
|
426
|
+
def safe_unlink(*args, **options, &block); end
|
427
|
+
def symlink(*args, **options, &block); end
|
428
|
+
def touch(*args, **options, &block); end
|
429
|
+
def verbose(value = T.unsafe(nil)); end
|
430
|
+
def when_writing(msg = T.unsafe(nil)); end
|
431
|
+
|
432
|
+
class << self
|
433
|
+
def nowrite_flag; end
|
434
|
+
def nowrite_flag=(_arg0); end
|
435
|
+
def verbose_flag; end
|
436
|
+
def verbose_flag=(_arg0); end
|
437
|
+
end
|
438
|
+
end
|
439
|
+
|
440
|
+
Rake::FileUtilsExt::DEFAULT = T.let(T.unsafe(nil), Object)
|
441
|
+
|
442
|
+
class Rake::InvocationChain < ::Rake::LinkedList
|
443
|
+
def append(invocation); end
|
444
|
+
def member?(invocation); end
|
445
|
+
def to_s; end
|
446
|
+
|
447
|
+
private
|
448
|
+
|
449
|
+
def prefix; end
|
450
|
+
|
451
|
+
class << self
|
452
|
+
def append(invocation, chain); end
|
453
|
+
end
|
454
|
+
end
|
455
|
+
|
456
|
+
Rake::InvocationChain::EMPTY = T.let(T.unsafe(nil), Rake::InvocationChain::EmptyInvocationChain)
|
457
|
+
|
458
|
+
class Rake::InvocationChain::EmptyInvocationChain < ::Rake::LinkedList::EmptyLinkedList
|
459
|
+
def append(invocation); end
|
460
|
+
def member?(obj); end
|
461
|
+
def to_s; end
|
462
|
+
end
|
463
|
+
|
464
|
+
module Rake::InvocationExceptionMixin
|
465
|
+
def chain; end
|
466
|
+
def chain=(value); end
|
467
|
+
end
|
468
|
+
|
469
|
+
Rake::LATE = T.let(T.unsafe(nil), Rake::LateTime)
|
470
|
+
|
471
|
+
class Rake::LateTime
|
472
|
+
include ::Comparable
|
473
|
+
include ::Singleton
|
474
|
+
extend ::Singleton::SingletonClassMethods
|
475
|
+
|
476
|
+
def <=>(other); end
|
477
|
+
def to_s; end
|
478
|
+
end
|
479
|
+
|
480
|
+
class Rake::LinkedList
|
481
|
+
include ::Enumerable
|
482
|
+
|
483
|
+
def initialize(head, tail = T.unsafe(nil)); end
|
484
|
+
|
485
|
+
def ==(other); end
|
486
|
+
def conj(item); end
|
487
|
+
def each; end
|
488
|
+
def empty?; end
|
489
|
+
def head; end
|
490
|
+
def inspect; end
|
491
|
+
def tail; end
|
492
|
+
def to_s; end
|
493
|
+
|
494
|
+
class << self
|
495
|
+
def cons(head, tail); end
|
496
|
+
def empty; end
|
497
|
+
def make(*args); end
|
498
|
+
end
|
499
|
+
end
|
500
|
+
|
501
|
+
Rake::LinkedList::EMPTY = T.let(T.unsafe(nil), Rake::LinkedList::EmptyLinkedList)
|
502
|
+
|
503
|
+
class Rake::LinkedList::EmptyLinkedList < ::Rake::LinkedList
|
504
|
+
def initialize; end
|
505
|
+
|
506
|
+
def empty?; end
|
507
|
+
|
508
|
+
class << self
|
509
|
+
def cons(head, tail); end
|
510
|
+
end
|
511
|
+
end
|
512
|
+
|
513
|
+
class Rake::MultiTask < ::Rake::Task
|
514
|
+
private
|
515
|
+
|
516
|
+
def invoke_prerequisites(task_args, invocation_chain); end
|
517
|
+
end
|
518
|
+
|
519
|
+
class Rake::NameSpace
|
520
|
+
def initialize(task_manager, scope_list); end
|
521
|
+
|
522
|
+
def [](name); end
|
523
|
+
def scope; end
|
524
|
+
def tasks; end
|
525
|
+
end
|
526
|
+
|
527
|
+
module Rake::PrivateReader
|
528
|
+
mixes_in_class_methods ::Rake::PrivateReader::ClassMethods
|
529
|
+
|
530
|
+
class << self
|
531
|
+
def included(base); end
|
532
|
+
end
|
533
|
+
end
|
534
|
+
|
535
|
+
module Rake::PrivateReader::ClassMethods
|
536
|
+
def private_reader(*names); end
|
537
|
+
end
|
538
|
+
|
539
|
+
class Rake::Promise
|
540
|
+
def initialize(args, &block); end
|
541
|
+
|
542
|
+
def recorder; end
|
543
|
+
def recorder=(_arg0); end
|
544
|
+
def value; end
|
545
|
+
def work; end
|
546
|
+
|
547
|
+
private
|
548
|
+
|
549
|
+
def chore; end
|
550
|
+
def complete?; end
|
551
|
+
def discard; end
|
552
|
+
def error?; end
|
553
|
+
def result?; end
|
554
|
+
def stat(*args); end
|
555
|
+
end
|
556
|
+
|
557
|
+
Rake::Promise::NOT_SET = T.let(T.unsafe(nil), Object)
|
558
|
+
|
559
|
+
class Rake::PseudoStatus
|
560
|
+
def initialize(code = T.unsafe(nil)); end
|
561
|
+
|
562
|
+
def >>(n); end
|
563
|
+
def exited?; end
|
564
|
+
def exitstatus; end
|
565
|
+
def stopped?; end
|
566
|
+
def to_i; end
|
567
|
+
end
|
568
|
+
|
569
|
+
Rake::RDocTask = RDoc::Task
|
570
|
+
|
571
|
+
class Rake::RuleRecursionOverflowError < ::StandardError
|
572
|
+
def initialize(*args); end
|
573
|
+
|
574
|
+
def add_target(target); end
|
575
|
+
def message; end
|
576
|
+
end
|
577
|
+
|
578
|
+
class Rake::Scope < ::Rake::LinkedList
|
579
|
+
def path; end
|
580
|
+
def path_with_task_name(task_name); end
|
581
|
+
def trim(n); end
|
582
|
+
end
|
583
|
+
|
584
|
+
Rake::Scope::EMPTY = T.let(T.unsafe(nil), Rake::Scope::EmptyScope)
|
585
|
+
|
586
|
+
class Rake::Scope::EmptyScope < ::Rake::LinkedList::EmptyLinkedList
|
587
|
+
def path; end
|
588
|
+
def path_with_task_name(task_name); end
|
589
|
+
end
|
590
|
+
|
591
|
+
class Rake::Task
|
592
|
+
def initialize(task_name, app); end
|
593
|
+
|
594
|
+
def actions; end
|
595
|
+
def add_description(description); end
|
596
|
+
def all_prerequisite_tasks; end
|
597
|
+
def already_invoked; end
|
598
|
+
def application; end
|
599
|
+
def application=(_arg0); end
|
600
|
+
def arg_description; end
|
601
|
+
def arg_names; end
|
602
|
+
def clear; end
|
603
|
+
def clear_actions; end
|
604
|
+
def clear_args; end
|
605
|
+
def clear_comments; end
|
606
|
+
def clear_prerequisites; end
|
607
|
+
def comment; end
|
608
|
+
def comment=(comment); end
|
609
|
+
def enhance(deps = T.unsafe(nil), &block); end
|
610
|
+
def execute(args = T.unsafe(nil)); end
|
611
|
+
def full_comment; end
|
612
|
+
def inspect; end
|
613
|
+
def investigation; end
|
614
|
+
def invoke(*args); end
|
615
|
+
def invoke_prerequisites(task_args, invocation_chain); end
|
616
|
+
def invoke_prerequisites_concurrently(task_args, invocation_chain); end
|
617
|
+
def locations; end
|
618
|
+
def name; end
|
619
|
+
def name_with_args; end
|
620
|
+
def needed?; end
|
621
|
+
def order_only_prerequisites; end
|
622
|
+
def prereqs; end
|
623
|
+
def prerequisite_tasks; end
|
624
|
+
def prerequisites; end
|
625
|
+
def reenable; end
|
626
|
+
def scope; end
|
627
|
+
def set_arg_names(args); end
|
628
|
+
def source; end
|
629
|
+
def sources; end
|
630
|
+
def sources=(_arg0); end
|
631
|
+
def timestamp; end
|
632
|
+
def to_s; end
|
633
|
+
def |(deps); end
|
634
|
+
|
635
|
+
protected
|
636
|
+
|
637
|
+
def collect_prerequisites(seen); end
|
638
|
+
def invoke_with_call_chain(task_args, invocation_chain); end
|
639
|
+
|
640
|
+
private
|
641
|
+
|
642
|
+
def add_chain_to(exception, new_chain); end
|
643
|
+
def add_comment(comment); end
|
644
|
+
def first_sentence(string); end
|
645
|
+
def format_trace_flags; end
|
646
|
+
def lookup_prerequisite(prerequisite_name); end
|
647
|
+
def transform_comments(separator, &block); end
|
648
|
+
|
649
|
+
class << self
|
650
|
+
def [](task_name); end
|
651
|
+
def clear; end
|
652
|
+
def create_rule(*args, &block); end
|
653
|
+
def define_task(*args, &block); end
|
654
|
+
def format_deps(deps); end
|
655
|
+
def scope_name(scope, task_name); end
|
656
|
+
def task_defined?(task_name); end
|
657
|
+
def tasks; end
|
658
|
+
end
|
659
|
+
end
|
660
|
+
|
661
|
+
class Rake::TaskArgumentError < ::ArgumentError; end
|
662
|
+
|
663
|
+
class Rake::TaskArguments
|
664
|
+
include ::Enumerable
|
665
|
+
|
666
|
+
def initialize(names, values, parent = T.unsafe(nil)); end
|
667
|
+
|
668
|
+
def [](index); end
|
669
|
+
def each(&block); end
|
670
|
+
def extras; end
|
671
|
+
def fetch(*args, &block); end
|
672
|
+
def has_key?(key); end
|
673
|
+
def inspect; end
|
674
|
+
def key?(key); end
|
675
|
+
def method_missing(sym, *args); end
|
676
|
+
def names; end
|
677
|
+
def new_scope(names); end
|
678
|
+
def to_a; end
|
679
|
+
def to_hash; end
|
680
|
+
def to_s; end
|
681
|
+
def values_at(*keys); end
|
682
|
+
def with_defaults(defaults); end
|
683
|
+
|
684
|
+
protected
|
685
|
+
|
686
|
+
def lookup(name); end
|
687
|
+
end
|
688
|
+
|
689
|
+
class Rake::TaskLib
|
690
|
+
include ::Rake::Cloneable
|
691
|
+
include ::FileUtils::StreamUtils_
|
692
|
+
include ::FileUtils
|
693
|
+
include ::Rake::FileUtilsExt
|
694
|
+
include ::Rake::DSL
|
695
|
+
end
|
696
|
+
|
697
|
+
module Rake::TaskManager
|
698
|
+
def initialize; end
|
699
|
+
|
700
|
+
def [](task_name, scopes = T.unsafe(nil)); end
|
701
|
+
def clear; end
|
702
|
+
def create_rule(*args, &block); end
|
703
|
+
def current_scope; end
|
704
|
+
def define_task(task_class, *args, &block); end
|
705
|
+
def enhance_with_matching_rule(task_name, level = T.unsafe(nil)); end
|
706
|
+
def generate_did_you_mean_suggestions(task_name); end
|
707
|
+
def generate_message_for_undefined_task(task_name); end
|
708
|
+
def in_namespace(name); end
|
709
|
+
def intern(task_class, task_name); end
|
710
|
+
def last_description; end
|
711
|
+
def last_description=(_arg0); end
|
712
|
+
def lookup(task_name, initial_scope = T.unsafe(nil)); end
|
713
|
+
def resolve_args(args); end
|
714
|
+
def synthesize_file_task(task_name); end
|
715
|
+
def tasks; end
|
716
|
+
def tasks_in_scope(scope); end
|
717
|
+
|
718
|
+
private
|
719
|
+
|
720
|
+
def add_location(task); end
|
721
|
+
def attempt_rule(task_name, task_pattern, args, extensions, block, level); end
|
722
|
+
def find_location; end
|
723
|
+
def generate_name; end
|
724
|
+
def get_description(task); end
|
725
|
+
def lookup_in_scope(name, scope); end
|
726
|
+
def make_sources(task_name, task_pattern, extensions); end
|
727
|
+
def resolve_args_with_dependencies(args, hash); end
|
728
|
+
def resolve_args_without_dependencies(args); end
|
729
|
+
def trace_rule(level, message); end
|
730
|
+
|
731
|
+
class << self
|
732
|
+
def record_task_metadata; end
|
733
|
+
def record_task_metadata=(_arg0); end
|
734
|
+
end
|
735
|
+
end
|
736
|
+
|
737
|
+
class Rake::ThreadHistoryDisplay
|
738
|
+
include ::Rake::PrivateReader
|
739
|
+
extend ::Rake::PrivateReader::ClassMethods
|
740
|
+
|
741
|
+
def initialize(stats); end
|
742
|
+
|
743
|
+
def show; end
|
744
|
+
|
745
|
+
private
|
746
|
+
|
747
|
+
def items; end
|
748
|
+
def rename(hash, key, renames); end
|
749
|
+
def stats; end
|
750
|
+
def threads; end
|
751
|
+
end
|
752
|
+
|
753
|
+
class Rake::ThreadPool
|
754
|
+
def initialize(thread_count); end
|
755
|
+
|
756
|
+
def future(*args, &block); end
|
757
|
+
def gather_history; end
|
758
|
+
def history; end
|
759
|
+
def join; end
|
760
|
+
def statistics; end
|
761
|
+
|
762
|
+
private
|
763
|
+
|
764
|
+
def __queue__; end
|
765
|
+
def process_queue_item; end
|
766
|
+
def safe_thread_count; end
|
767
|
+
def start_thread; end
|
768
|
+
def stat(event, data = T.unsafe(nil)); end
|
769
|
+
end
|
770
|
+
|
771
|
+
module Rake::TraceOutput
|
772
|
+
def trace_on(out, *strings); end
|
773
|
+
end
|
774
|
+
|
775
|
+
Rake::VERSION = T.let(T.unsafe(nil), String)
|
776
|
+
module Rake::Version; end
|
777
|
+
Rake::Version::BUILD = T.let(T.unsafe(nil), String)
|
778
|
+
Rake::Version::MAJOR = T.let(T.unsafe(nil), String)
|
779
|
+
Rake::Version::MINOR = T.let(T.unsafe(nil), String)
|
780
|
+
Rake::Version::NUMBERS = T.let(T.unsafe(nil), Array)
|
781
|
+
Rake::Version::OTHER = T.let(T.unsafe(nil), Array)
|
782
|
+
|
783
|
+
module Rake::Win32
|
784
|
+
class << self
|
785
|
+
def normalize(path); end
|
786
|
+
def win32_system_dir; end
|
787
|
+
def windows?; end
|
788
|
+
end
|
789
|
+
end
|
790
|
+
|
791
|
+
class Rake::Win32::Win32HomeError < ::RuntimeError; end
|
792
|
+
RakeFileUtils = Rake::FileUtilsExt
|
793
|
+
|
794
|
+
class String
|
795
|
+
include ::Comparable
|
796
|
+
include ::JSON::Ext::Generator::GeneratorMethods::String
|
797
|
+
extend ::JSON::Ext::Generator::GeneratorMethods::String::Extend
|
798
|
+
|
799
|
+
def ext(newext = T.unsafe(nil)); end
|
800
|
+
def pathmap(spec = T.unsafe(nil), &block); end
|
801
|
+
|
802
|
+
protected
|
803
|
+
|
804
|
+
def pathmap_explode; end
|
805
|
+
def pathmap_partial(n); end
|
806
|
+
def pathmap_replace(patterns, &block); end
|
807
|
+
end
|