workos 0.0.2 → 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (79) hide show
  1. checksums.yaml +4 -4
  2. data/.rubocop.yml +5 -2
  3. data/Gemfile.lock +6 -2
  4. data/README.md +179 -8
  5. data/bin/docs +2 -2
  6. data/codecov.yml +1 -0
  7. data/docs/WorkOS.html +22 -26
  8. data/docs/WorkOS/APIError.html +160 -0
  9. data/docs/WorkOS/AuditLog.html +235 -0
  10. data/docs/WorkOS/AuthenticationError.html +160 -0
  11. data/docs/WorkOS/Base.html +27 -32
  12. data/docs/WorkOS/Client.html +493 -0
  13. data/docs/WorkOS/InvalidRequestError.html +160 -0
  14. data/docs/WorkOS/Profile.html +80 -17
  15. data/docs/WorkOS/RequestError.html +6 -6
  16. data/docs/WorkOS/SSO.html +118 -74
  17. data/docs/WorkOS/Types.html +9 -10
  18. data/docs/WorkOS/Types/ProfileStruct.html +6 -6
  19. data/docs/WorkOS/Types/Provider.html +135 -0
  20. data/docs/WorkOS/WorkOSError.html +447 -0
  21. data/docs/class_list.html +3 -3
  22. data/docs/css/style.css +2 -2
  23. data/docs/file.README.html +173 -13
  24. data/docs/file_list.html +2 -2
  25. data/docs/frames.html +2 -2
  26. data/docs/index.html +77 -16
  27. data/docs/js/app.js +14 -3
  28. data/docs/method_list.html +96 -8
  29. data/docs/top-level-namespace.html +6 -6
  30. data/lib/workos.rb +7 -2
  31. data/lib/workos/audit_log.rb +78 -0
  32. data/lib/workos/base.rb +5 -6
  33. data/lib/workos/client.rb +86 -0
  34. data/lib/workos/errors.rb +48 -0
  35. data/lib/workos/sso.rb +49 -27
  36. data/lib/workos/types.rb +2 -1
  37. data/lib/workos/types/provider_enum.rb +14 -0
  38. data/lib/workos/version.rb +2 -2
  39. data/sorbet/rbi/hidden-definitions/errors.txt +22108 -4368
  40. data/sorbet/rbi/hidden-definitions/hidden.rbi +32490 -6059
  41. data/sorbet/rbi/sorbet-typed/lib/rainbow/all/rainbow.rbi +1 -1
  42. data/sorbet/rbi/todo.rbi +5 -0
  43. data/spec/lib/workos/audit_log_spec.rb +140 -0
  44. data/spec/lib/workos/base_spec.rb +30 -0
  45. data/spec/lib/workos/sso_spec.rb +131 -36
  46. data/spec/spec_helper.rb +21 -1
  47. data/spec/support/fixtures/vcr_cassettes/audit_log/create_event.yml +65 -0
  48. data/spec/support/fixtures/vcr_cassettes/audit_log/create_event_custom_idempotency_key.yml +67 -0
  49. data/spec/support/fixtures/vcr_cassettes/audit_log/create_event_invalid.yml +68 -0
  50. data/spec/support/fixtures/vcr_cassettes/audit_log/create_events_duplicate_idempotency_key_and_payload.yml +131 -0
  51. data/spec/support/fixtures/vcr_cassettes/audit_log/create_events_duplicate_idempotency_key_different_payload.yml +134 -0
  52. data/spec/support/fixtures/vcr_cassettes/base/execute_request_unauthenticated.yml +66 -0
  53. data/workos.gemspec +2 -0
  54. metadata +57 -27
  55. data/lib/workos/request_error.rb +0 -5
  56. data/sorbet/rbi/gems/addressable.rbi +0 -198
  57. data/sorbet/rbi/gems/ast.rbi +0 -47
  58. data/sorbet/rbi/gems/codecov.rbi +0 -19
  59. data/sorbet/rbi/gems/crack.rbi +0 -47
  60. data/sorbet/rbi/gems/docile.rbi +0 -31
  61. data/sorbet/rbi/gems/hashdiff.rbi +0 -65
  62. data/sorbet/rbi/gems/jaro_winkler.rbi +0 -14
  63. data/sorbet/rbi/gems/parallel.rbi +0 -81
  64. data/sorbet/rbi/gems/parser.rbi +0 -856
  65. data/sorbet/rbi/gems/public_suffix.rbi +0 -102
  66. data/sorbet/rbi/gems/rack.rbi +0 -103
  67. data/sorbet/rbi/gems/rainbow.rbi +0 -117
  68. data/sorbet/rbi/gems/rake.rbi +0 -632
  69. data/sorbet/rbi/gems/rspec-core.rbi +0 -1661
  70. data/sorbet/rbi/gems/rspec-expectations.rbi +0 -388
  71. data/sorbet/rbi/gems/rspec-mocks.rbi +0 -823
  72. data/sorbet/rbi/gems/rspec-support.rbi +0 -266
  73. data/sorbet/rbi/gems/rspec.rbi +0 -14
  74. data/sorbet/rbi/gems/rubocop.rbi +0 -7083
  75. data/sorbet/rbi/gems/ruby-progressbar.rbi +0 -304
  76. data/sorbet/rbi/gems/simplecov-html.rbi +0 -30
  77. data/sorbet/rbi/gems/simplecov.rbi +0 -225
  78. data/sorbet/rbi/gems/unicode-display_width.rbi +0 -16
  79. data/sorbet/rbi/gems/webmock.rbi +0 -526
@@ -1,102 +0,0 @@
1
- # This file is autogenerated. Do not edit it by hand. Regenerate it with:
2
- # srb rbi gems
3
-
4
- # typed: true
5
- #
6
- # If you would like to make changes to this file, great! Please create the gem's shim here:
7
- #
8
- # https://github.com/sorbet/sorbet-typed/new/master?filename=lib/public_suffix/all/public_suffix.rbi
9
- #
10
- # public_suffix-4.0.1
11
- module PublicSuffix
12
- def self.decompose(name, rule); end
13
- def self.domain(name, **options); end
14
- def self.normalize(name); end
15
- def self.parse(name, list: nil, default_rule: nil, ignore_private: nil); end
16
- def self.valid?(name, list: nil, default_rule: nil, ignore_private: nil); end
17
- end
18
- class PublicSuffix::Domain
19
- def domain; end
20
- def domain?; end
21
- def initialize(*args); end
22
- def name; end
23
- def self.name_to_labels(name); end
24
- def sld; end
25
- def subdomain; end
26
- def subdomain?; end
27
- def tld; end
28
- def to_a; end
29
- def to_s; end
30
- def trd; end
31
- end
32
- class PublicSuffix::Error < StandardError
33
- end
34
- class PublicSuffix::DomainInvalid < PublicSuffix::Error
35
- end
36
- class PublicSuffix::DomainNotAllowed < PublicSuffix::DomainInvalid
37
- end
38
- module PublicSuffix::Rule
39
- def self.default; end
40
- def self.factory(content, private: nil); end
41
- end
42
- class PublicSuffix::Rule::Entry < Struct
43
- def length; end
44
- def length=(_); end
45
- def private; end
46
- def private=(_); end
47
- def self.[](*arg0); end
48
- def self.members; end
49
- def self.new(*arg0); end
50
- def type; end
51
- def type=(_); end
52
- end
53
- class PublicSuffix::Rule::Base
54
- def ==(other); end
55
- def decompose(*arg0); end
56
- def eql?(other); end
57
- def initialize(value:, length: nil, private: nil); end
58
- def length; end
59
- def match?(name); end
60
- def parts; end
61
- def private; end
62
- def self.build(content, private: nil); end
63
- def value; end
64
- end
65
- class PublicSuffix::Rule::Normal < PublicSuffix::Rule::Base
66
- def decompose(domain); end
67
- def parts; end
68
- def rule; end
69
- end
70
- class PublicSuffix::Rule::Wildcard < PublicSuffix::Rule::Base
71
- def decompose(domain); end
72
- def initialize(value:, length: nil, private: nil); end
73
- def parts; end
74
- def rule; end
75
- def self.build(content, private: nil); end
76
- end
77
- class PublicSuffix::Rule::Exception < PublicSuffix::Rule::Base
78
- def decompose(domain); end
79
- def parts; end
80
- def rule; end
81
- def self.build(content, private: nil); end
82
- end
83
- class PublicSuffix::List
84
- def <<(rule); end
85
- def ==(other); end
86
- def add(rule); end
87
- def clear; end
88
- def default_rule; end
89
- def each(&block); end
90
- def empty?; end
91
- def entry_to_rule(entry, value); end
92
- def eql?(other); end
93
- def find(name, default: nil, **options); end
94
- def initialize; end
95
- def rule_to_entry(rule); end
96
- def rules; end
97
- def select(name, ignore_private: nil); end
98
- def self.default(**options); end
99
- def self.default=(value); end
100
- def self.parse(input, private_domains: nil); end
101
- def size; end
102
- end
@@ -1,103 +0,0 @@
1
- # This file is autogenerated. Do not edit it by hand. Regenerate it with:
2
- # srb rbi gems
3
-
4
- # typed: true
5
- #
6
- # If you would like to make changes to this file, great! Please create the gem's shim here:
7
- #
8
- # https://github.com/sorbet/sorbet-typed/new/master?filename=lib/rack/all/rack.rbi
9
- #
10
- # rack-1.6.11
11
- module Rack
12
- end
13
- module Rack::Multipart
14
- def self.build_multipart(params, first = nil); end
15
- def self.parse_multipart(env); end
16
- end
17
- module Rack::Utils
18
- def best_q_match(q_value_header, available_mimes); end
19
- def build_nested_query(value, prefix = nil); end
20
- def build_query(params); end
21
- def byte_ranges(env, size); end
22
- def bytesize(string); end
23
- def clean_path_info(path_info); end
24
- def delete_cookie_header!(header, key, value = nil); end
25
- def escape(s); end
26
- def escape_html(string); end
27
- def escape_path(s); end
28
- def normalize_params(params, name, v = nil, depth = nil); end
29
- def params_hash_type?(obj); end
30
- def parse_nested_query(qs, d = nil); end
31
- def parse_query(qs, d = nil, &unescaper); end
32
- def q_values(q_value_header); end
33
- def rfc2109(time); end
34
- def rfc2822(time); end
35
- def secure_compare(a, b); end
36
- def select_best_encoding(available_encodings, accept_encoding); end
37
- def self.best_q_match(q_value_header, available_mimes); end
38
- def self.build_nested_query(value, prefix = nil); end
39
- def self.build_query(params); end
40
- def self.byte_ranges(env, size); end
41
- def self.bytesize(string); end
42
- def self.clean_path_info(path_info); end
43
- def self.delete_cookie_header!(header, key, value = nil); end
44
- def self.escape(s); end
45
- def self.escape_html(string); end
46
- def self.escape_path(s); end
47
- def self.key_space_limit; end
48
- def self.key_space_limit=(arg0); end
49
- def self.multipart_part_limit; end
50
- def self.multipart_part_limit=(arg0); end
51
- def self.normalize_params(params, name, v = nil, depth = nil); end
52
- def self.param_depth_limit; end
53
- def self.param_depth_limit=(arg0); end
54
- def self.params_hash_type?(obj); end
55
- def self.parse_nested_query(qs, d = nil); end
56
- def self.parse_query(qs, d = nil, &unescaper); end
57
- def self.q_values(q_value_header); end
58
- def self.rfc2109(time); end
59
- def self.rfc2822(time); end
60
- def self.secure_compare(a, b); end
61
- def self.select_best_encoding(available_encodings, accept_encoding); end
62
- def self.set_cookie_header!(header, key, value); end
63
- def self.status_code(status); end
64
- def self.unescape(s, encoding = nil); end
65
- def set_cookie_header!(header, key, value); end
66
- def status_code(status); end
67
- def unescape(s, encoding = nil); end
68
- end
69
- class Rack::Utils::ParameterTypeError < TypeError
70
- end
71
- class Rack::Utils::InvalidParameterError < ArgumentError
72
- end
73
- class Rack::Utils::Context
74
- def app; end
75
- def call(env); end
76
- def context(env, app = nil); end
77
- def for; end
78
- def initialize(app_f, app_r); end
79
- def recontext(app); end
80
- end
81
- class Rack::Utils::HeaderHash < Hash
82
- def [](k); end
83
- def []=(k, v); end
84
- def delete(k); end
85
- def each; end
86
- def has_key?(k); end
87
- def include?(k); end
88
- def initialize(hash = nil); end
89
- def key?(k); end
90
- def member?(k); end
91
- def merge!(other); end
92
- def merge(other); end
93
- def replace(other); end
94
- def self.new(hash = nil); end
95
- def to_hash; end
96
- end
97
- class Rack::Utils::KeySpaceConstrainedParams
98
- def [](key); end
99
- def []=(key, value); end
100
- def initialize(limit = nil); end
101
- def key?(key); end
102
- def to_params_hash; end
103
- end
@@ -1,117 +0,0 @@
1
- # This file is autogenerated. Do not edit it by hand. Regenerate it with:
2
- # srb rbi gems
3
-
4
- # typed: strong
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/rainbow/all/rainbow.rbi
9
- #
10
- # rainbow-3.0.0
11
- module Rainbow
12
- def self.enabled; end
13
- def self.enabled=(value); end
14
- def self.global; end
15
- def self.new; end
16
- def self.uncolor(string); end
17
- end
18
- class Rainbow::StringUtils
19
- def self.uncolor(string); end
20
- def self.wrap_with_sgr(string, codes); end
21
- end
22
- module Rainbow::X11ColorNames
23
- end
24
- class Rainbow::Color
25
- def ground; end
26
- def self.build(ground, values); end
27
- def self.parse_hex_color(hex); end
28
- end
29
- class Rainbow::Color::Indexed < Rainbow::Color
30
- def codes; end
31
- def initialize(ground, num); end
32
- def num; end
33
- end
34
- class Rainbow::Color::Named < Rainbow::Color::Indexed
35
- def initialize(ground, name); end
36
- def self.color_names; end
37
- def self.valid_names; end
38
- end
39
- class Rainbow::Color::RGB < Rainbow::Color::Indexed
40
- def b; end
41
- def code_from_rgb; end
42
- def codes; end
43
- def g; end
44
- def initialize(ground, *values); end
45
- def r; end
46
- def self.to_ansi_domain(value); end
47
- end
48
- class Rainbow::Color::X11Named < Rainbow::Color::RGB
49
- def initialize(ground, name); end
50
- def self.color_names; end
51
- def self.valid_names; end
52
- include Rainbow::X11ColorNames
53
- end
54
- class Rainbow::Presenter < String
55
- def background(*values); end
56
- def bg(*values); end
57
- def black; end
58
- def blink; end
59
- def blue; end
60
- def bold; end
61
- def bright; end
62
- def color(*values); end
63
- def cyan; end
64
- def dark; end
65
- def faint; end
66
- def fg(*values); end
67
- def foreground(*values); end
68
- def green; end
69
- def hide; end
70
- def inverse; end
71
- def italic; end
72
- def magenta; end
73
- def method_missing(method_name, *args); end
74
- def red; end
75
- def reset; end
76
- def respond_to_missing?(method_name, *args); end
77
- def underline; end
78
- def white; end
79
- def wrap_with_sgr(codes); end
80
- def yellow; end
81
- end
82
- class Rainbow::NullPresenter < String
83
- def background(*_values); end
84
- def bg(*_values); end
85
- def black; end
86
- def blink; end
87
- def blue; end
88
- def bold; end
89
- def bright; end
90
- def color(*_values); end
91
- def cyan; end
92
- def dark; end
93
- def faint; end
94
- def fg(*_values); end
95
- def foreground(*_values); end
96
- def green; end
97
- def hide; end
98
- def inverse; end
99
- def italic; end
100
- def magenta; end
101
- def method_missing(method_name, *args); end
102
- def red; end
103
- def reset; end
104
- def respond_to_missing?(method_name, *args); end
105
- def underline; end
106
- def white; end
107
- def yellow; end
108
- end
109
- class Rainbow::Wrapper
110
- def enabled; end
111
- def enabled=(arg0); end
112
- def initialize(enabled = nil); end
113
- def wrap(string); end
114
- end
115
- class Object < BasicObject
116
- def Rainbow(string); end
117
- end
@@ -1,632 +0,0 @@
1
- # This file is autogenerated. Do not edit it by hand. Regenerate it with:
2
- # srb rbi gems
3
-
4
- # typed: true
5
- #
6
- # If you would like to make changes to this file, great! Please create the gem's shim here:
7
- #
8
- # https://github.com/sorbet/sorbet-typed/new/master?filename=lib/rake/all/rake.rbi
9
- #
10
- # rake-13.0.1
11
- module Rake
12
- def self.add_rakelib(*files); end
13
- def self.application; end
14
- def self.application=(app); end
15
- def self.each_dir_parent(dir); end
16
- def self.from_pathname(path); end
17
- def self.load_rakefile(path); end
18
- def self.original_dir; end
19
- def self.suggested_thread_count; end
20
- def self.with_application(block_application = nil); end
21
- extend Rake::FileUtilsExt
22
- end
23
- module Rake::Version
24
- end
25
- class Module
26
- def rake_extension(method); end
27
- end
28
- class String
29
- def ext(newext = nil); end
30
- def pathmap(spec = nil, &block); end
31
- def pathmap_explode; end
32
- def pathmap_partial(n); end
33
- def pathmap_replace(patterns, &block); end
34
- end
35
- module Rake::Win32
36
- def self.normalize(path); end
37
- def self.win32_system_dir; end
38
- def self.windows?; end
39
- end
40
- class Rake::Win32::Win32HomeError < RuntimeError
41
- end
42
- class Rake::LinkedList
43
- def ==(other); end
44
- def conj(item); end
45
- def each; end
46
- def empty?; end
47
- def head; end
48
- def initialize(head, tail = nil); end
49
- def inspect; end
50
- def self.cons(head, tail); end
51
- def self.empty; end
52
- def self.make(*args); end
53
- def tail; end
54
- def to_s; end
55
- include Enumerable
56
- end
57
- class Rake::LinkedList::EmptyLinkedList < Rake::LinkedList
58
- def empty?; end
59
- def initialize; end
60
- def self.cons(head, tail); end
61
- end
62
- class Rake::CpuCounter
63
- def count; end
64
- def count_with_default(default = nil); end
65
- def self.count; end
66
- end
67
- class Rake::Scope < Rake::LinkedList
68
- def path; end
69
- def path_with_task_name(task_name); end
70
- def trim(n); end
71
- end
72
- class Rake::Scope::EmptyScope < Rake::LinkedList::EmptyLinkedList
73
- def path; end
74
- def path_with_task_name(task_name); end
75
- end
76
- class Rake::TaskArgumentError < ArgumentError
77
- end
78
- class Rake::RuleRecursionOverflowError < StandardError
79
- def add_target(target); end
80
- def initialize(*args); end
81
- def message; end
82
- end
83
- module Rake::TaskManager
84
- def [](task_name, scopes = nil); end
85
- def add_location(task); end
86
- def attempt_rule(task_name, task_pattern, args, extensions, block, level); end
87
- def clear; end
88
- def create_rule(*args, &block); end
89
- def current_scope; end
90
- def define_task(task_class, *args, &block); end
91
- def enhance_with_matching_rule(task_name, level = nil); end
92
- def find_location; end
93
- def generate_did_you_mean_suggestions(task_name); end
94
- def generate_message_for_undefined_task(task_name); end
95
- def generate_name; end
96
- def get_description(task); end
97
- def in_namespace(name); end
98
- def initialize; end
99
- def intern(task_class, task_name); end
100
- def last_description; end
101
- def last_description=(arg0); end
102
- def lookup(task_name, initial_scope = nil); end
103
- def lookup_in_scope(name, scope); end
104
- def make_sources(task_name, task_pattern, extensions); end
105
- def resolve_args(args); end
106
- def resolve_args_with_dependencies(args, hash); end
107
- def resolve_args_without_dependencies(args); end
108
- def self.record_task_metadata; end
109
- def self.record_task_metadata=(arg0); end
110
- def synthesize_file_task(task_name); end
111
- def tasks; end
112
- def tasks_in_scope(scope); end
113
- def trace_rule(level, message); end
114
- end
115
- module Rake::Cloneable
116
- def initialize_copy(source); end
117
- end
118
- module FileUtils
119
- def create_shell_runner(cmd); end
120
- def ruby(*args, **options, &block); end
121
- def safe_ln(*args, **options); end
122
- def set_verbose_option(options); end
123
- def sh(*cmd, &block); end
124
- def sh_show_command(cmd); end
125
- def split_all(path); end
126
- end
127
- module Rake::FileUtilsExt
128
- def cd(*args, **options, &block); end
129
- def chdir(*args, **options, &block); end
130
- def chmod(*args, **options, &block); end
131
- def chmod_R(*args, **options, &block); end
132
- def chown(*args, **options, &block); end
133
- def chown_R(*args, **options, &block); end
134
- def copy(*args, **options, &block); end
135
- def cp(*args, **options, &block); end
136
- def cp_r(*args, **options, &block); end
137
- def install(*args, **options, &block); end
138
- def link(*args, **options, &block); end
139
- def ln(*args, **options, &block); end
140
- def ln_s(*args, **options, &block); end
141
- def ln_sf(*args, **options, &block); end
142
- def makedirs(*args, **options, &block); end
143
- def mkdir(*args, **options, &block); end
144
- def mkdir_p(*args, **options, &block); end
145
- def mkpath(*args, **options, &block); end
146
- def move(*args, **options, &block); end
147
- def mv(*args, **options, &block); end
148
- def nowrite(value = nil); end
149
- def rake_check_options(options, *optdecl); end
150
- def rake_output_message(message); end
151
- def remove(*args, **options, &block); end
152
- def rm(*args, **options, &block); end
153
- def rm_f(*args, **options, &block); end
154
- def rm_r(*args, **options, &block); end
155
- def rm_rf(*args, **options, &block); end
156
- def rmdir(*args, **options, &block); end
157
- def rmtree(*args, **options, &block); end
158
- def safe_unlink(*args, **options, &block); end
159
- def self.nowrite_flag; end
160
- def self.nowrite_flag=(arg0); end
161
- def self.verbose_flag; end
162
- def self.verbose_flag=(arg0); end
163
- def symlink(*args, **options, &block); end
164
- def touch(*args, **options, &block); end
165
- def verbose(value = nil); end
166
- def when_writing(msg = nil); end
167
- extend Rake::FileUtilsExt
168
- include FileUtils
169
- end
170
- class Rake::FileList
171
- def &(*args, &block); end
172
- def *(other); end
173
- def +(*args, &block); end
174
- def -(*args, &block); end
175
- def <<(obj); end
176
- def <=>(*args, &block); end
177
- def ==(array); end
178
- def [](*args, &block); end
179
- def []=(*args, &block); end
180
- def add(*filenames); end
181
- def add_matching(pattern); end
182
- def all?(*args, &block); end
183
- def any?(*args, &block); end
184
- def assoc(*args, &block); end
185
- def at(*args, &block); end
186
- def bsearch(*args, &block); end
187
- def bsearch_index(*args, &block); end
188
- def chunk(*args, &block); end
189
- def chunk_while(*args, &block); end
190
- def clear(*args, &block); end
191
- def clear_exclude; end
192
- def collect!(*args, &block); end
193
- def collect(*args, &block); end
194
- def collect_concat(*args, &block); end
195
- def combination(*args, &block); end
196
- def compact!(*args, &block); end
197
- def compact(*args, &block); end
198
- def concat(*args, &block); end
199
- def count(*args, &block); end
200
- def cycle(*args, &block); end
201
- def delete(*args, &block); end
202
- def delete_at(*args, &block); end
203
- def delete_if(*args, &block); end
204
- def detect(*args, &block); end
205
- def dig(*args, &block); end
206
- def drop(*args, &block); end
207
- def drop_while(*args, &block); end
208
- def each(*args, &block); end
209
- def each_cons(*args, &block); end
210
- def each_entry(*args, &block); end
211
- def each_index(*args, &block); end
212
- def each_slice(*args, &block); end
213
- def each_with_index(*args, &block); end
214
- def each_with_object(*args, &block); end
215
- def egrep(pattern, *options); end
216
- def empty?(*args, &block); end
217
- def entries(*args, &block); end
218
- def exclude(*patterns, &block); end
219
- def excluded_from_list?(fn); end
220
- def existing!; end
221
- def existing; end
222
- def ext(newext = nil); end
223
- def fetch(*args, &block); end
224
- def fill(*args, &block); end
225
- def find(*args, &block); end
226
- def find_all(*args, &block); end
227
- def find_index(*args, &block); end
228
- def first(*args, &block); end
229
- def flat_map(*args, &block); end
230
- def flatten!(*args, &block); end
231
- def flatten(*args, &block); end
232
- def grep(*args, &block); end
233
- def grep_v(*args, &block); end
234
- def group_by(*args, &block); end
235
- def gsub!(pat, rep); end
236
- def gsub(pat, rep); end
237
- def import(array); end
238
- def include(*filenames); end
239
- def include?(*args, &block); end
240
- def index(*args, &block); end
241
- def initialize(*patterns); end
242
- def inject(*args, &block); end
243
- def insert(*args, &block); end
244
- def inspect(*args, &block); end
245
- def is_a?(klass); end
246
- def join(*args, &block); end
247
- def keep_if(*args, &block); end
248
- def kind_of?(klass); end
249
- def last(*args, &block); end
250
- def lazy(*args, &block); end
251
- def length(*args, &block); end
252
- def map!(*args, &block); end
253
- def map(*args, &block); end
254
- def max(*args, &block); end
255
- def max_by(*args, &block); end
256
- def member?(*args, &block); end
257
- def min(*args, &block); end
258
- def min_by(*args, &block); end
259
- def minmax(*args, &block); end
260
- def minmax_by(*args, &block); end
261
- def none?(*args, &block); end
262
- def one?(*args, &block); end
263
- def pack(*args, &block); end
264
- def partition(&block); end
265
- def pathmap(spec = nil, &block); end
266
- def permutation(*args, &block); end
267
- def pop(*args, &block); end
268
- def product(*args, &block); end
269
- def push(*args, &block); end
270
- def rassoc(*args, &block); end
271
- def reduce(*args, &block); end
272
- def reject!(*args, &block); end
273
- def reject(*args, &block); end
274
- def repeated_combination(*args, &block); end
275
- def repeated_permutation(*args, &block); end
276
- def replace(*args, &block); end
277
- def resolve; end
278
- def resolve_add(fn); end
279
- def resolve_exclude; end
280
- def reverse!(*args, &block); end
281
- def reverse(*args, &block); end
282
- def reverse_each(*args, &block); end
283
- def rindex(*args, &block); end
284
- def rotate!(*args, &block); end
285
- def rotate(*args, &block); end
286
- def sample(*args, &block); end
287
- def select!(*args, &block); end
288
- def select(*args, &block); end
289
- def self.[](*args); end
290
- def self.glob(pattern, *args); end
291
- def shift(*args, &block); end
292
- def shuffle!(*args, &block); end
293
- def shuffle(*args, &block); end
294
- def size(*args, &block); end
295
- def slice!(*args, &block); end
296
- def slice(*args, &block); end
297
- def slice_after(*args, &block); end
298
- def slice_before(*args, &block); end
299
- def slice_when(*args, &block); end
300
- def sort!(*args, &block); end
301
- def sort(*args, &block); end
302
- def sort_by!(*args, &block); end
303
- def sort_by(*args, &block); end
304
- def sub!(pat, rep); end
305
- def sub(pat, rep); end
306
- def sum(*args, &block); end
307
- def take(*args, &block); end
308
- def take_while(*args, &block); end
309
- def to_a; end
310
- def to_ary; end
311
- def to_h(*args, &block); end
312
- def to_s; end
313
- def to_set(*args, &block); end
314
- def transpose(*args, &block); end
315
- def uniq!(*args, &block); end
316
- def uniq(*args, &block); end
317
- def unshift(*args, &block); end
318
- def values_at(*args, &block); end
319
- def zip(*args, &block); end
320
- def |(*args, &block); end
321
- include Rake::Cloneable
322
- end
323
- class Rake::Promise
324
- def chore; end
325
- def complete?; end
326
- def discard; end
327
- def error?; end
328
- def initialize(args, &block); end
329
- def recorder; end
330
- def recorder=(arg0); end
331
- def result?; end
332
- def stat(*args); end
333
- def value; end
334
- def work; end
335
- end
336
- class Rake::ThreadPool
337
- def __queue__; end
338
- def future(*args, &block); end
339
- def gather_history; end
340
- def history; end
341
- def initialize(thread_count); end
342
- def join; end
343
- def process_queue_item; end
344
- def safe_thread_count; end
345
- def start_thread; end
346
- def stat(event, data = nil); end
347
- def statistics; end
348
- end
349
- module Rake::PrivateReader
350
- def self.included(base); end
351
- end
352
- module Rake::PrivateReader::ClassMethods
353
- def private_reader(*names); end
354
- end
355
- class Rake::ThreadHistoryDisplay
356
- def initialize(stats); end
357
- def items; end
358
- def rename(hash, key, renames); end
359
- def show; end
360
- def stats; end
361
- def threads; end
362
- extend Rake::PrivateReader::ClassMethods
363
- include Rake::PrivateReader
364
- end
365
- module Rake::TraceOutput
366
- def trace_on(out, *strings); end
367
- end
368
- class Rake::CommandLineOptionError < StandardError
369
- end
370
- class Rake::Application
371
- def add_import(fn); end
372
- def add_loader(ext, loader); end
373
- def collect_command_line_tasks(args); end
374
- def default_task_name; end
375
- def deprecate(old_usage, new_usage, call_site); end
376
- def display_cause_details(ex); end
377
- def display_error_message(ex); end
378
- def display_exception_backtrace(ex); end
379
- def display_exception_details(ex); end
380
- def display_exception_details_seen; end
381
- def display_exception_message_details(ex); end
382
- def display_prerequisites; end
383
- def display_tasks_and_comments; end
384
- def dynamic_width; end
385
- def dynamic_width_stty; end
386
- def dynamic_width_tput; end
387
- def exit_because_of_exception(ex); end
388
- def find_rakefile_location; end
389
- def glob(path, &block); end
390
- def handle_options(argv); end
391
- def has_cause?(ex); end
392
- def has_chain?(exception); end
393
- def have_rakefile; end
394
- def init(app_name = nil, argv = nil); end
395
- def initialize; end
396
- def invoke_task(task_string); end
397
- def load_imports; end
398
- def load_rakefile; end
399
- def name; end
400
- def options; end
401
- def original_dir; end
402
- def parse_task_string(string); end
403
- def print_rakefile_directory(location); end
404
- def rake_require(file_name, paths = nil, loaded = nil); end
405
- def rakefile; end
406
- def rakefile_location(backtrace = nil); end
407
- def raw_load_rakefile; end
408
- def run(argv = nil); end
409
- def run_with_threads; end
410
- def select_tasks_to_show(options, show_tasks, value); end
411
- def select_trace_output(options, trace_option, value); end
412
- def set_default_options; end
413
- def sort_options(options); end
414
- def standard_exception_handling; end
415
- def standard_rake_options; end
416
- def standard_system_dir; end
417
- def system_dir; end
418
- def terminal_columns; end
419
- def terminal_columns=(arg0); end
420
- def terminal_width; end
421
- def thread_pool; end
422
- def top_level; end
423
- def top_level_tasks; end
424
- def trace(*strings); end
425
- def truncate(string, width); end
426
- def truncate_output?; end
427
- def tty_output=(arg0); end
428
- def tty_output?; end
429
- def unix?; end
430
- def windows?; end
431
- include Rake::TaskManager
432
- include Rake::TraceOutput
433
- end
434
- class Rake::PseudoStatus
435
- def >>(n); end
436
- def exited?; end
437
- def exitstatus; end
438
- def initialize(code = nil); end
439
- def stopped?; end
440
- def to_i; end
441
- end
442
- class Rake::TaskArguments
443
- def [](index); end
444
- def each(&block); end
445
- def extras; end
446
- def fetch(*args, &block); end
447
- def has_key?(key); end
448
- def initialize(names, values, parent = nil); end
449
- def inspect; end
450
- def key?(key); end
451
- def lookup(name); end
452
- def method_missing(sym, *args); end
453
- def names; end
454
- def new_scope(names); end
455
- def to_a; end
456
- def to_hash; end
457
- def to_s; end
458
- def values_at(*keys); end
459
- def with_defaults(defaults); end
460
- include Enumerable
461
- end
462
- class Rake::InvocationChain < Rake::LinkedList
463
- def append(invocation); end
464
- def member?(invocation); end
465
- def prefix; end
466
- def self.append(invocation, chain); end
467
- def to_s; end
468
- end
469
- class Rake::InvocationChain::EmptyInvocationChain < Rake::LinkedList::EmptyLinkedList
470
- def append(invocation); end
471
- def member?(obj); end
472
- def to_s; end
473
- end
474
- module Rake::InvocationExceptionMixin
475
- def chain; end
476
- def chain=(value); end
477
- end
478
- class Rake::Task
479
- def actions; end
480
- def add_chain_to(exception, new_chain); end
481
- def add_comment(comment); end
482
- def add_description(description); end
483
- def all_prerequisite_tasks; end
484
- def already_invoked; end
485
- def application; end
486
- def application=(arg0); end
487
- def arg_description; end
488
- def arg_names; end
489
- def clear; end
490
- def clear_actions; end
491
- def clear_args; end
492
- def clear_comments; end
493
- def clear_prerequisites; end
494
- def collect_prerequisites(seen); end
495
- def comment; end
496
- def comment=(comment); end
497
- def enhance(deps = nil, &block); end
498
- def execute(args = nil); end
499
- def first_sentence(string); end
500
- def format_trace_flags; end
501
- def full_comment; end
502
- def initialize(task_name, app); end
503
- def inspect; end
504
- def investigation; end
505
- def invoke(*args); end
506
- def invoke_prerequisites(task_args, invocation_chain); end
507
- def invoke_prerequisites_concurrently(task_args, invocation_chain); end
508
- def invoke_with_call_chain(task_args, invocation_chain); end
509
- def locations; end
510
- def lookup_prerequisite(prerequisite_name); end
511
- def name; end
512
- def name_with_args; end
513
- def needed?; end
514
- def order_only_prerequisites; end
515
- def prereqs; end
516
- def prerequisite_tasks; end
517
- def prerequisites; end
518
- def reenable; end
519
- def scope; end
520
- def self.[](task_name); end
521
- def self.clear; end
522
- def self.create_rule(*args, &block); end
523
- def self.define_task(*args, &block); end
524
- def self.format_deps(deps); end
525
- def self.scope_name(scope, task_name); end
526
- def self.task_defined?(task_name); end
527
- def self.tasks; end
528
- def set_arg_names(args); end
529
- def source; end
530
- def sources; end
531
- def sources=(arg0); end
532
- def timestamp; end
533
- def to_s; end
534
- def transform_comments(separator, &block); end
535
- def |(deps); end
536
- end
537
- class Rake::EarlyTime
538
- def <=>(other); end
539
- def self.allocate; end
540
- def self.instance; end
541
- def self.new(*arg0); end
542
- def to_s; end
543
- extend Singleton::SingletonClassMethods
544
- include Comparable
545
- include Singleton
546
- end
547
- class Rake::FileTask < Rake::Task
548
- def needed?; end
549
- def out_of_date?(stamp); end
550
- def self.scope_name(scope, task_name); end
551
- def timestamp; end
552
- end
553
- class Rake::FileCreationTask < Rake::FileTask
554
- def needed?; end
555
- def timestamp; end
556
- end
557
- class Rake::MultiTask < Rake::Task
558
- def invoke_prerequisites(task_args, invocation_chain); end
559
- end
560
- module Rake::DSL
561
- def cd(*args, **options, &block); end
562
- def chdir(*args, **options, &block); end
563
- def chmod(*args, **options, &block); end
564
- def chmod_R(*args, **options, &block); end
565
- def chown(*args, **options, &block); end
566
- def chown_R(*args, **options, &block); end
567
- def copy(*args, **options, &block); end
568
- def cp(*args, **options, &block); end
569
- def cp_r(*args, **options, &block); end
570
- def desc(description); end
571
- def directory(*args, &block); end
572
- def file(*args, &block); end
573
- def file_create(*args, &block); end
574
- def import(*fns); end
575
- def install(*args, **options, &block); end
576
- def link(*args, **options, &block); end
577
- def ln(*args, **options, &block); end
578
- def ln_s(*args, **options, &block); end
579
- def ln_sf(*args, **options, &block); end
580
- def makedirs(*args, **options, &block); end
581
- def mkdir(*args, **options, &block); end
582
- def mkdir_p(*args, **options, &block); end
583
- def mkpath(*args, **options, &block); end
584
- def move(*args, **options, &block); end
585
- def multitask(*args, &block); end
586
- def mv(*args, **options, &block); end
587
- def namespace(name = nil, &block); end
588
- def nowrite(value = nil); end
589
- def rake_check_options(options, *optdecl); end
590
- def rake_output_message(message); end
591
- def remove(*args, **options, &block); end
592
- def rm(*args, **options, &block); end
593
- def rm_f(*args, **options, &block); end
594
- def rm_r(*args, **options, &block); end
595
- def rm_rf(*args, **options, &block); end
596
- def rmdir(*args, **options, &block); end
597
- def rmtree(*args, **options, &block); end
598
- def ruby(*args, **options, &block); end
599
- def rule(*args, &block); end
600
- def safe_ln(*args, **options); end
601
- def safe_unlink(*args, **options, &block); end
602
- def sh(*cmd, &block); end
603
- def split_all(path); end
604
- def symlink(*args, **options, &block); end
605
- def task(*args, &block); end
606
- def touch(*args, **options, &block); end
607
- def verbose(value = nil); end
608
- def when_writing(msg = nil); end
609
- include Rake::FileUtilsExt
610
- end
611
- class Rake::DefaultLoader
612
- def load(fn); end
613
- end
614
- class Rake::LateTime
615
- def <=>(other); end
616
- def self.allocate; end
617
- def self.instance; end
618
- def self.new(*arg0); end
619
- def to_s; end
620
- extend Singleton::SingletonClassMethods
621
- include Comparable
622
- include Singleton
623
- end
624
- class Rake::NameSpace
625
- def [](name); end
626
- def initialize(task_manager, scope_list); end
627
- def scope; end
628
- def tasks; end
629
- end
630
- module Rake::Backtrace
631
- def self.collapse(backtrace); end
632
- end