sord 0.9.0 → 3.0.0.beta.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (44) hide show
  1. checksums.yaml +4 -4
  2. data/.github/ISSUE_TEMPLATE/bug_report.md +0 -0
  3. data/.github/ISSUE_TEMPLATE/feature-request.md +0 -0
  4. data/.gitignore +0 -0
  5. data/.parlour +6 -2
  6. data/.rspec +0 -0
  7. data/.travis.yml +0 -0
  8. data/CHANGELOG.md +58 -0
  9. data/CODE_OF_CONDUCT.md +0 -0
  10. data/Gemfile +0 -0
  11. data/LICENSE.txt +0 -0
  12. data/README.md +76 -43
  13. data/Rakefile +26 -7
  14. data/exe/sord +48 -6
  15. data/lib/sord.rb +1 -1
  16. data/lib/sord/generator.rb +592 -0
  17. data/lib/sord/logging.rb +0 -0
  18. data/lib/sord/parlour_plugin.rb +24 -3
  19. data/lib/sord/resolver.rb +0 -0
  20. data/lib/sord/type_converter.rb +71 -63
  21. data/lib/sord/version.rb +1 -1
  22. data/rbi/sord.rbi +210 -30
  23. data/sord.gemspec +3 -3
  24. metadata +15 -34
  25. data/lib/sord/rbi_generator.rb +0 -300
  26. data/sorbet/config +0 -0
  27. data/sorbet/rbi/gems/docile.rbi +0 -31
  28. data/sorbet/rbi/gems/parlour.rbi +0 -214
  29. data/sorbet/rbi/gems/rainbow.rbi +0 -117
  30. data/sorbet/rbi/gems/rake.rbi +0 -643
  31. data/sorbet/rbi/gems/rspec-core.rbi +0 -1658
  32. data/sorbet/rbi/gems/rspec-expectations.rbi +0 -389
  33. data/sorbet/rbi/gems/rspec-mocks.rbi +0 -823
  34. data/sorbet/rbi/gems/rspec-support.rbi +0 -268
  35. data/sorbet/rbi/gems/rspec.rbi +0 -14
  36. data/sorbet/rbi/gems/simplecov-html.rbi +0 -30
  37. data/sorbet/rbi/gems/simplecov.rbi +0 -225
  38. data/sorbet/rbi/gems/sorbet-runtime.rbi +0 -670
  39. data/sorbet/rbi/gems/yard.rbi +0 -310
  40. data/sorbet/rbi/hidden-definitions/errors.txt +0 -9285
  41. data/sorbet/rbi/hidden-definitions/hidden.rbi +0 -26604
  42. data/sorbet/rbi/sorbet-typed/lib/bundler/all/bundler.rbi +0 -8575
  43. data/sorbet/rbi/sorbet-typed/lib/ruby/all/open3.rbi +0 -111
  44. data/sorbet/rbi/sorbet-typed/lib/ruby/all/resolv.rbi +0 -543
@@ -1,214 +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/parlour/all/parlour.rbi
9
- #
10
- # parlour-0.6.1
11
- module Parlour
12
- end
13
- module Kernel
14
- end
15
- class Parlour::Plugin
16
- def generate(*args, &blk); end
17
- def initialize(*args, &blk); end
18
- def self.inherited(*args, &blk); end
19
- def self.method_added(name); end
20
- def self.registered_plugins(*args, &blk); end
21
- def self.run_plugins(*args, &blk); end
22
- def self.singleton_method_added(name); end
23
- extend T::Helpers
24
- extend T::InterfaceWrapper::Helpers
25
- extend T::Private::Abstract::Hooks
26
- extend T::Sig
27
- end
28
- class Parlour::RbiGenerator
29
- def current_plugin(*args, &blk); end
30
- def current_plugin=(arg0); end
31
- def initialize(*args, &blk); end
32
- def options(*args, &blk); end
33
- def rbi(*args, &blk); end
34
- def root(*args, &blk); end
35
- def self.method_added(name); end
36
- def self.singleton_method_added(name); end
37
- extend T::Sig
38
- end
39
- class Parlour::RbiGenerator::Parameter
40
- def ==(*args, &blk); end
41
- def default(*args, &blk); end
42
- def initialize(*args, &blk); end
43
- def kind(*args, &blk); end
44
- def name(*args, &blk); end
45
- def name_without_kind(*args, &blk); end
46
- def self.method_added(name); end
47
- def self.singleton_method_added(name); end
48
- def to_def_param(*args, &blk); end
49
- def to_sig_param(*args, &blk); end
50
- def type(*args, &blk); end
51
- extend T::Sig
52
- end
53
- class Parlour::RbiGenerator::RbiObject
54
- def add_comment(*args, &blk); end
55
- def add_comments(*args, &blk); end
56
- def comments(*args, &blk); end
57
- def describe(*args, &blk); end
58
- def generate_comments(*args, &blk); end
59
- def generate_rbi(*args, &blk); end
60
- def generated_by(*args, &blk); end
61
- def generator(*args, &blk); end
62
- def initialize(*args, &blk); end
63
- def merge_into_self(*args, &blk); end
64
- def mergeable?(*args, &blk); end
65
- def name(*args, &blk); end
66
- def self.method_added(name); end
67
- def self.singleton_method_added(name); end
68
- extend T::Helpers
69
- extend T::InterfaceWrapper::Helpers
70
- extend T::Private::Abstract::Hooks
71
- extend T::Sig
72
- end
73
- class Parlour::RbiGenerator::Method < Parlour::RbiGenerator::RbiObject
74
- def ==(*args, &blk); end
75
- def abstract(*args, &blk); end
76
- def class_method(*args, &blk); end
77
- def describe(*args, &blk); end
78
- def generate_definition(*args, &blk); end
79
- def generate_rbi(*args, &blk); end
80
- def implementation(*args, &blk); end
81
- def initialize(*args, &blk); end
82
- def merge_into_self(*args, &blk); end
83
- def mergeable?(*args, &blk); end
84
- def overridable(*args, &blk); end
85
- def override(*args, &blk); end
86
- def parameters(*args, &blk); end
87
- def qualifiers(*args, &blk); end
88
- def return_type(*args, &blk); end
89
- def self.method_added(name); end
90
- def self.singleton_method_added(name); end
91
- extend T::Sig
92
- end
93
- class Parlour::RbiGenerator::Attribute < Parlour::RbiGenerator::Method
94
- def generate_definition(*args, &blk); end
95
- def initialize(*args, &blk); end
96
- def kind(*args, &blk); end
97
- def self.method_added(name); end
98
- def self.singleton_method_added(name); end
99
- end
100
- class Parlour::RbiGenerator::Arbitrary < Parlour::RbiGenerator::RbiObject
101
- def ==(*args, &blk); end
102
- def code(*args, &blk); end
103
- def code=(arg0); end
104
- def describe(*args, &blk); end
105
- def generate_rbi(*args, &blk); end
106
- def initialize(*args, &blk); end
107
- def merge_into_self(*args, &blk); end
108
- def mergeable?(*args, &blk); end
109
- def self.method_added(name); end
110
- def self.singleton_method_added(name); end
111
- end
112
- class Parlour::RbiGenerator::Options
113
- def break_params(*args, &blk); end
114
- def indented(*args, &blk); end
115
- def initialize(*args, &blk); end
116
- def self.method_added(name); end
117
- def self.singleton_method_added(name); end
118
- def tab_size(*args, &blk); end
119
- extend T::Sig
120
- end
121
- class Parlour::RbiGenerator::Include < Parlour::RbiGenerator::RbiObject
122
- def ==(*args, &blk); end
123
- def describe(*args, &blk); end
124
- def generate_rbi(*args, &blk); end
125
- def initialize(*args, &blk); end
126
- def merge_into_self(*args, &blk); end
127
- def mergeable?(*args, &blk); end
128
- def self.method_added(name); end
129
- def self.singleton_method_added(name); end
130
- end
131
- class Parlour::RbiGenerator::Extend < Parlour::RbiGenerator::RbiObject
132
- def ==(*args, &blk); end
133
- def describe(*args, &blk); end
134
- def generate_rbi(*args, &blk); end
135
- def initialize(*args, &blk); end
136
- def merge_into_self(*args, &blk); end
137
- def mergeable?(*args, &blk); end
138
- def self.method_added(name); end
139
- def self.singleton_method_added(name); end
140
- end
141
- class Parlour::RbiGenerator::Constant < Parlour::RbiGenerator::RbiObject
142
- def ==(*args, &blk); end
143
- def describe(*args, &blk); end
144
- def generate_rbi(*args, &blk); end
145
- def initialize(*args, &blk); end
146
- def merge_into_self(*args, &blk); end
147
- def mergeable?(*args, &blk); end
148
- def self.method_added(name); end
149
- def self.singleton_method_added(name); end
150
- def value(*args, &blk); end
151
- end
152
- class Parlour::RbiGenerator::Namespace < Parlour::RbiGenerator::RbiObject
153
- def add_comment_to_next_child(*args, &blk); end
154
- def children(*args, &blk); end
155
- def constants(*args, &blk); end
156
- def create_arbitrary(code:, &block); end
157
- def create_attr(name, kind:, type:, &block); end
158
- def create_attr_accessor(name, type:, &block); end
159
- def create_attr_reader(name, type:, &block); end
160
- def create_attr_writer(name, type:, &block); end
161
- def create_attribute(name, kind:, type:, &block); end
162
- def create_class(*args, &blk); end
163
- def create_constant(*args, &blk); end
164
- def create_extend(*args, &blk); end
165
- def create_extends(*args, &blk); end
166
- def create_include(*args, &blk); end
167
- def create_includes(*args, &blk); end
168
- def create_method(*args, &blk); end
169
- def create_module(*args, &blk); end
170
- def describe(*args, &blk); end
171
- def extends(*args, &blk); end
172
- def generate_body(*args, &blk); end
173
- def generate_rbi(*args, &blk); end
174
- def includes(*args, &blk); end
175
- def initialize(*args, &blk); end
176
- def merge_into_self(*args, &blk); end
177
- def mergeable?(*args, &blk); end
178
- def move_next_comments(*args, &blk); end
179
- def path(*args, &blk); end
180
- def self.method_added(name); end
181
- def self.singleton_method_added(name); end
182
- extend T::Sig
183
- end
184
- class Parlour::RbiGenerator::ModuleNamespace < Parlour::RbiGenerator::Namespace
185
- def describe(*args, &blk); end
186
- def generate_rbi(*args, &blk); end
187
- def initialize(*args, &blk); end
188
- def interface(*args, &blk); end
189
- def merge_into_self(*args, &blk); end
190
- def mergeable?(*args, &blk); end
191
- def self.method_added(name); end
192
- def self.singleton_method_added(name); end
193
- extend T::Sig
194
- end
195
- class Parlour::RbiGenerator::ClassNamespace < Parlour::RbiGenerator::Namespace
196
- def abstract(*args, &blk); end
197
- def describe(*args, &blk); end
198
- def generate_rbi(*args, &blk); end
199
- def initialize(*args, &blk); end
200
- def merge_into_self(*args, &blk); end
201
- def mergeable?(*args, &blk); end
202
- def self.method_added(name); end
203
- def self.singleton_method_added(name); end
204
- def superclass(*args, &blk); end
205
- extend T::Sig
206
- end
207
- class Parlour::ConflictResolver
208
- def all_eql?(*args, &blk); end
209
- def resolve_conflicts(*args, &blk); end
210
- def self.method_added(name); end
211
- def self.singleton_method_added(name); end
212
- def single_type_of_array(*args, &blk); end
213
- extend T::Sig
214
- 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: 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/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,643 +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-10.5.0
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
- extend Rake::FileUtilsExt
21
- end
22
- module Rake::Version
23
- end
24
- class Module
25
- def rake_extension(method); end
26
- end
27
- class String
28
- def ext(newext = nil); end
29
- def pathmap(spec = nil, &block); end
30
- def pathmap_explode; end
31
- def pathmap_partial(n); end
32
- def pathmap_replace(patterns, &block); end
33
- end
34
- class Rake::EarlyTime
35
- def <=>(other); end
36
- def self.allocate; end
37
- def self.instance; end
38
- def self.new(*arg0); end
39
- def to_s; end
40
- extend Singleton::SingletonClassMethods
41
- include Comparable
42
- include Singleton
43
- end
44
- class Rake::LateTime
45
- def <=>(other); end
46
- def self.allocate; end
47
- def self.instance; end
48
- def self.new(*arg0); end
49
- def to_s; end
50
- extend Singleton::SingletonClassMethods
51
- include Comparable
52
- include Singleton
53
- end
54
- module Rake::AltSystem
55
- def `(arg0); end
56
- def backticks(arg0); end
57
- def self.`(arg0); end
58
- def self.backticks(arg0); end
59
- def self.define_module_function(name, &block); end
60
- def self.system(*arg0); end
61
- def system(*arg0); end
62
- end
63
- module Rake::Win32
64
- def self.normalize(path); end
65
- def self.rake_system(*cmd); end
66
- def self.win32_system_dir; end
67
- def self.windows?; end
68
- end
69
- class Rake::Win32::Win32HomeError < RuntimeError
70
- end
71
- class Rake::LinkedList
72
- def ==(other); end
73
- def conj(item); end
74
- def each; end
75
- def empty?; end
76
- def head; end
77
- def initialize(head, tail = nil); end
78
- def inspect; end
79
- def self.cons(head, tail); end
80
- def self.empty; end
81
- def self.make(*args); end
82
- def tail; end
83
- def to_s; end
84
- include Enumerable
85
- end
86
- class Rake::LinkedList::EmptyLinkedList < Rake::LinkedList
87
- def empty?; end
88
- def initialize; end
89
- def self.cons(head, tail); end
90
- end
91
- class Rake::CpuCounter
92
- def count; end
93
- def count_with_default(default = nil); end
94
- def self.count; end
95
- end
96
- class Rake::Scope < Rake::LinkedList
97
- def path; end
98
- def path_with_task_name(task_name); end
99
- def trim(n); end
100
- end
101
- class Rake::Scope::EmptyScope < Rake::LinkedList::EmptyLinkedList
102
- def path; end
103
- def path_with_task_name(task_name); end
104
- end
105
- class Rake::TaskArgumentError < ArgumentError
106
- end
107
- class Rake::RuleRecursionOverflowError < StandardError
108
- def add_target(target); end
109
- def initialize(*args); end
110
- def message; end
111
- end
112
- module Rake::TaskManager
113
- def [](task_name, scopes = nil); end
114
- def add_location(task); end
115
- def attempt_rule(task_name, args, extensions, block, level); end
116
- def clear; end
117
- def create_rule(*args, &block); end
118
- def current_scope; end
119
- def define_task(task_class, *args, &block); end
120
- def enhance_with_matching_rule(task_name, level = nil); end
121
- def find_location; end
122
- def generate_name; end
123
- def get_description(task); end
124
- def in_namespace(name); end
125
- def initialize; end
126
- def intern(task_class, task_name); end
127
- def last_comment; end
128
- def last_description; end
129
- def last_description=(arg0); end
130
- def lookup(task_name, initial_scope = nil); end
131
- def lookup_in_scope(name, scope); end
132
- def make_sources(task_name, extensions); end
133
- def resolve_args(args); end
134
- def resolve_args_with_dependencies(args, hash); end
135
- def resolve_args_without_dependencies(args); end
136
- def self.record_task_metadata; end
137
- def self.record_task_metadata=(arg0); end
138
- def synthesize_file_task(task_name); end
139
- def tasks; end
140
- def tasks_in_scope(scope); end
141
- def trace_rule(level, message); end
142
- end
143
- module Rake::Cloneable
144
- def initialize_copy(source); end
145
- end
146
- module FileUtils
147
- def create_shell_runner(cmd); end
148
- def rake_system(*cmd); end
149
- def ruby(*args, &block); end
150
- def safe_ln(*args); end
151
- def set_verbose_option(options); end
152
- def sh(*cmd, &block); end
153
- def split_all(path); end
154
- end
155
- module Rake::FileUtilsExt
156
- def cd(*args, &block); end
157
- def chdir(*args, &block); end
158
- def chmod(*args, &block); end
159
- def chmod_R(*args, &block); end
160
- def chown(*args, &block); end
161
- def chown_R(*args, &block); end
162
- def copy(*args, &block); end
163
- def cp(*args, &block); end
164
- def cp_lr(*args, &block); end
165
- def cp_r(*args, &block); end
166
- def install(*args, &block); end
167
- def link(*args, &block); end
168
- def ln(*args, &block); end
169
- def ln_s(*args, &block); end
170
- def ln_sf(*args, &block); end
171
- def makedirs(*args, &block); end
172
- def mkdir(*args, &block); end
173
- def mkdir_p(*args, &block); end
174
- def mkpath(*args, &block); end
175
- def move(*args, &block); end
176
- def mv(*args, &block); end
177
- def nowrite(value = nil); end
178
- def rake_check_options(options, *optdecl); end
179
- def rake_merge_option(args, defaults); end
180
- def rake_output_message(message); end
181
- def remove(*args, &block); end
182
- def rm(*args, &block); end
183
- def rm_f(*args, &block); end
184
- def rm_r(*args, &block); end
185
- def rm_rf(*args, &block); end
186
- def rmdir(*args, &block); end
187
- def rmtree(*args, &block); end
188
- def ruby(*args, &block); end
189
- def safe_unlink(*args, &block); end
190
- def self.nowrite_flag; end
191
- def self.nowrite_flag=(arg0); end
192
- def self.verbose_flag; end
193
- def self.verbose_flag=(arg0); end
194
- def sh(*args, &block); end
195
- def symlink(*args, &block); end
196
- def touch(*args, &block); end
197
- def verbose(value = nil); end
198
- def when_writing(msg = nil); end
199
- extend Rake::FileUtilsExt
200
- include FileUtils
201
- end
202
- class Rake::FileList
203
- def &(*args, &block); end
204
- def *(other); end
205
- def +(*args, &block); end
206
- def -(*args, &block); end
207
- def <<(obj); end
208
- def <=>(*args, &block); end
209
- def ==(array); end
210
- def [](*args, &block); end
211
- def []=(*args, &block); end
212
- def add(*filenames); end
213
- def add_matching(pattern); end
214
- def all?(*args, &block); end
215
- def any?(*args, &block); end
216
- def append(*args, &block); end
217
- def assoc(*args, &block); end
218
- def at(*args, &block); end
219
- def bsearch(*args, &block); end
220
- def bsearch_index(*args, &block); end
221
- def chain(*args, &block); end
222
- def chunk(*args, &block); end
223
- def chunk_while(*args, &block); end
224
- def clear(*args, &block); end
225
- def clear_exclude; end
226
- def collect!(*args, &block); end
227
- def collect(*args, &block); end
228
- def collect_concat(*args, &block); end
229
- def combination(*args, &block); end
230
- def compact!(*args, &block); end
231
- def compact(*args, &block); end
232
- def concat(*args, &block); end
233
- def count(*args, &block); end
234
- def cycle(*args, &block); end
235
- def delete(*args, &block); end
236
- def delete_at(*args, &block); end
237
- def delete_if(*args, &block); end
238
- def detect(*args, &block); end
239
- def difference(*args, &block); end
240
- def dig(*args, &block); end
241
- def drop(*args, &block); end
242
- def drop_while(*args, &block); end
243
- def each(*args, &block); end
244
- def each_cons(*args, &block); end
245
- def each_entry(*args, &block); end
246
- def each_index(*args, &block); end
247
- def each_slice(*args, &block); end
248
- def each_with_index(*args, &block); end
249
- def each_with_object(*args, &block); end
250
- def egrep(pattern, *options); end
251
- def empty?(*args, &block); end
252
- def entries(*args, &block); end
253
- def exclude(*patterns, &block); end
254
- def excluded_from_list?(fn); end
255
- def existing!; end
256
- def existing; end
257
- def ext(newext = nil); end
258
- def fetch(*args, &block); end
259
- def fill(*args, &block); end
260
- def filter!(*args, &block); end
261
- def filter(*args, &block); end
262
- def find(*args, &block); end
263
- def find_all(*args, &block); end
264
- def find_index(*args, &block); end
265
- def first(*args, &block); end
266
- def flat_map(*args, &block); end
267
- def flatten!(*args, &block); end
268
- def flatten(*args, &block); end
269
- def grep(*args, &block); end
270
- def grep_v(*args, &block); end
271
- def group_by(*args, &block); end
272
- def gsub!(pat, rep); end
273
- def gsub(pat, rep); end
274
- def import(array); end
275
- def include(*filenames); end
276
- def include?(*args, &block); end
277
- def index(*args, &block); end
278
- def initialize(*patterns); end
279
- def inject(*args, &block); end
280
- def insert(*args, &block); end
281
- def inspect(*args, &block); end
282
- def is_a?(klass); end
283
- def join(*args, &block); end
284
- def keep_if(*args, &block); end
285
- def kind_of?(klass); end
286
- def last(*args, &block); end
287
- def lazy(*args, &block); end
288
- def length(*args, &block); end
289
- def map!(*args, &block); end
290
- def map(*args, &block); end
291
- def max(*args, &block); end
292
- def max_by(*args, &block); end
293
- def member?(*args, &block); end
294
- def min(*args, &block); end
295
- def min_by(*args, &block); end
296
- def minmax(*args, &block); end
297
- def minmax_by(*args, &block); end
298
- def none?(*args, &block); end
299
- def one?(*args, &block); end
300
- def pack(*args, &block); end
301
- def partition(&block); end
302
- def pathmap(spec = nil); end
303
- def permutation(*args, &block); end
304
- def pop(*args, &block); end
305
- def prepend(*args, &block); end
306
- def product(*args, &block); end
307
- def push(*args, &block); end
308
- def rassoc(*args, &block); end
309
- def reduce(*args, &block); end
310
- def reject!(*args, &block); end
311
- def reject(*args, &block); end
312
- def repeated_combination(*args, &block); end
313
- def repeated_permutation(*args, &block); end
314
- def replace(*args, &block); end
315
- def resolve; end
316
- def resolve_add(fn); end
317
- def resolve_exclude; end
318
- def reverse!(*args, &block); end
319
- def reverse(*args, &block); end
320
- def reverse_each(*args, &block); end
321
- def rindex(*args, &block); end
322
- def rotate!(*args, &block); end
323
- def rotate(*args, &block); end
324
- def sample(*args, &block); end
325
- def select!(*args, &block); end
326
- def select(*args, &block); end
327
- def self.[](*args); end
328
- def self.glob(pattern, *args); end
329
- def shelljoin(*args, &block); end
330
- def shift(*args, &block); end
331
- def shuffle!(*args, &block); end
332
- def shuffle(*args, &block); end
333
- def size(*args, &block); end
334
- def slice!(*args, &block); end
335
- def slice(*args, &block); end
336
- def slice_after(*args, &block); end
337
- def slice_before(*args, &block); end
338
- def slice_when(*args, &block); end
339
- def sort!(*args, &block); end
340
- def sort(*args, &block); end
341
- def sort_by!(*args, &block); end
342
- def sort_by(*args, &block); end
343
- def sub!(pat, rep); end
344
- def sub(pat, rep); end
345
- def sum(*args, &block); end
346
- def take(*args, &block); end
347
- def take_while(*args, &block); end
348
- def to_a; end
349
- def to_ary; end
350
- def to_h(*args, &block); end
351
- def to_s; end
352
- def to_set(*args, &block); end
353
- def transpose(*args, &block); end
354
- def union(*args, &block); end
355
- def uniq!(*args, &block); end
356
- def uniq(*args, &block); end
357
- def unshift(*args, &block); end
358
- def values_at(*args, &block); end
359
- def zip(*args, &block); end
360
- def |(*args, &block); end
361
- include Rake::Cloneable
362
- end
363
- class Rake::Promise
364
- def chore; end
365
- def complete?; end
366
- def discard; end
367
- def error?; end
368
- def initialize(args, &block); end
369
- def recorder; end
370
- def recorder=(arg0); end
371
- def result?; end
372
- def stat(*args); end
373
- def value; end
374
- def work; end
375
- end
376
- class Rake::ThreadPool
377
- def __queue__; end
378
- def future(*args, &block); end
379
- def gather_history; end
380
- def history; end
381
- def initialize(thread_count); end
382
- def join; end
383
- def process_queue_item; end
384
- def safe_thread_count; end
385
- def start_thread; end
386
- def stat(event, data = nil); end
387
- def statistics; end
388
- end
389
- module Rake::PrivateReader
390
- def self.included(base); end
391
- end
392
- module Rake::PrivateReader::ClassMethods
393
- def private_reader(*names); end
394
- end
395
- class Rake::ThreadHistoryDisplay
396
- def initialize(stats); end
397
- def items; end
398
- def rename(hash, key, renames); end
399
- def show; end
400
- def stats; end
401
- def threads; end
402
- extend Rake::PrivateReader::ClassMethods
403
- include Rake::PrivateReader
404
- end
405
- module Rake::TraceOutput
406
- def trace_on(out, *strings); end
407
- end
408
- class Rake::CommandLineOptionError < StandardError
409
- end
410
- class Rake::Application
411
- def add_import(fn); end
412
- def add_loader(ext, loader); end
413
- def collect_command_line_tasks(args); end
414
- def default_task_name; end
415
- def deprecate(old_usage, new_usage, call_site); end
416
- def display_error_message(ex); end
417
- def display_exception_backtrace(ex); end
418
- def display_exception_details(ex); end
419
- def display_exception_message_details(ex); end
420
- def display_prerequisites; end
421
- def display_tasks_and_comments; end
422
- def dynamic_width; end
423
- def dynamic_width_stty; end
424
- def dynamic_width_tput; end
425
- def exit_because_of_exception(ex); end
426
- def find_rakefile_location; end
427
- def glob(path, &block); end
428
- def handle_options; end
429
- def has_cause?(ex); end
430
- def has_chain?(exception); end
431
- def have_rakefile; end
432
- def init(app_name = nil); end
433
- def initialize; end
434
- def invoke_task(task_string); end
435
- def load_imports; end
436
- def load_rakefile; end
437
- def name; end
438
- def options; end
439
- def original_dir; end
440
- def parse_task_string(string); end
441
- def print_rakefile_directory(location); end
442
- def rake_require(file_name, paths = nil, loaded = nil); end
443
- def rakefile; end
444
- def rakefile_location(backtrace = nil); end
445
- def raw_load_rakefile; end
446
- def run; end
447
- def run_with_threads; end
448
- def select_tasks_to_show(options, show_tasks, value); end
449
- def select_trace_output(options, trace_option, value); end
450
- def sort_options(options); end
451
- def standard_exception_handling; end
452
- def standard_rake_options; end
453
- def standard_system_dir; end
454
- def system_dir; end
455
- def terminal_columns; end
456
- def terminal_columns=(arg0); end
457
- def terminal_width; end
458
- def thread_pool; end
459
- def top_level; end
460
- def top_level_tasks; end
461
- def trace(*strings); end
462
- def truncate(string, width); end
463
- def truncate_output?; end
464
- def tty_output=(tty_output_state); end
465
- def tty_output?; end
466
- def unix?; end
467
- def windows?; end
468
- include Rake::TaskManager
469
- include Rake::TraceOutput
470
- end
471
- class Rake::PseudoStatus
472
- def >>(n); end
473
- def exited?; end
474
- def exitstatus; end
475
- def initialize(code = nil); end
476
- def stopped?; end
477
- def to_i; end
478
- end
479
- class Rake::TaskArguments
480
- def [](index); end
481
- def each(&block); end
482
- def extras; end
483
- def has_key?(key); end
484
- def initialize(names, values, parent = nil); end
485
- def inspect; end
486
- def lookup(name); end
487
- def method_missing(sym, *args); end
488
- def names; end
489
- def new_scope(names); end
490
- def to_a; end
491
- def to_hash; end
492
- def to_s; end
493
- def values_at(*keys); end
494
- def with_defaults(defaults); end
495
- include Enumerable
496
- end
497
- class Rake::InvocationChain < Rake::LinkedList
498
- def append(invocation); end
499
- def member?(invocation); end
500
- def prefix; end
501
- def self.append(invocation, chain); end
502
- def to_s; end
503
- end
504
- class Rake::InvocationChain::EmptyInvocationChain < Rake::LinkedList::EmptyLinkedList
505
- def append(invocation); end
506
- def member?(obj); end
507
- def to_s; end
508
- end
509
- module Rake::InvocationExceptionMixin
510
- def chain; end
511
- def chain=(value); end
512
- end
513
- class Rake::Task
514
- def actions; end
515
- def add_chain_to(exception, new_chain); end
516
- def add_comment(comment); end
517
- def add_description(description); end
518
- def all_prerequisite_tasks; end
519
- def application; end
520
- def application=(arg0); end
521
- def arg_description; end
522
- def arg_names; end
523
- def clear; end
524
- def clear_actions; end
525
- def clear_comments; end
526
- def clear_prerequisites; end
527
- def collect_prerequisites(seen); end
528
- def comment; end
529
- def comment=(comment); end
530
- def enhance(deps = nil, &block); end
531
- def execute(args = nil); end
532
- def first_sentence(string); end
533
- def format_trace_flags; end
534
- def full_comment; end
535
- def initialize(task_name, app); end
536
- def inspect; end
537
- def investigation; end
538
- def invoke(*args); end
539
- def invoke_prerequisites(task_args, invocation_chain); end
540
- def invoke_prerequisites_concurrently(task_args, invocation_chain); end
541
- def invoke_with_call_chain(task_args, invocation_chain); end
542
- def locations; end
543
- def lookup_prerequisite(prerequisite_name); end
544
- def name; end
545
- def name_with_args; end
546
- def needed?; end
547
- def prerequisite_tasks; end
548
- def prerequisites; end
549
- def reenable; end
550
- def scope; end
551
- def self.[](task_name); end
552
- def self.clear; end
553
- def self.create_rule(*args, &block); end
554
- def self.define_task(*args, &block); end
555
- def self.scope_name(scope, task_name); end
556
- def self.task_defined?(task_name); end
557
- def self.tasks; end
558
- def set_arg_names(args); end
559
- def source; end
560
- def sources; end
561
- def sources=(arg0); end
562
- def timestamp; end
563
- def to_s; end
564
- def transform_comments(separator, &block); end
565
- end
566
- class Rake::FileTask < Rake::Task
567
- def needed?; end
568
- def out_of_date?(stamp); end
569
- def self.scope_name(scope, task_name); end
570
- def timestamp; end
571
- end
572
- class Rake::FileCreationTask < Rake::FileTask
573
- def needed?; end
574
- def timestamp; end
575
- end
576
- class Rake::MultiTask < Rake::Task
577
- def invoke_prerequisites(task_args, invocation_chain); end
578
- end
579
- module Rake::DSL
580
- def cd(*args, &block); end
581
- def chdir(*args, &block); end
582
- def chmod(*args, &block); end
583
- def chmod_R(*args, &block); end
584
- def chown(*args, &block); end
585
- def chown_R(*args, &block); end
586
- def copy(*args, &block); end
587
- def cp(*args, &block); end
588
- def cp_lr(*args, &block); end
589
- def cp_r(*args, &block); end
590
- def desc(description); end
591
- def directory(*args, &block); end
592
- def file(*args, &block); end
593
- def file_create(*args, &block); end
594
- def import(*fns); end
595
- def install(*args, &block); end
596
- def link(*args, &block); end
597
- def ln(*args, &block); end
598
- def ln_s(*args, &block); end
599
- def ln_sf(*args, &block); end
600
- def makedirs(*args, &block); end
601
- def mkdir(*args, &block); end
602
- def mkdir_p(*args, &block); end
603
- def mkpath(*args, &block); end
604
- def move(*args, &block); end
605
- def multitask(*args, &block); end
606
- def mv(*args, &block); end
607
- def namespace(name = nil, &block); end
608
- def nowrite(value = nil); end
609
- def rake_check_options(options, *optdecl); end
610
- def rake_merge_option(args, defaults); end
611
- def rake_output_message(message); end
612
- def remove(*args, &block); end
613
- def rm(*args, &block); end
614
- def rm_f(*args, &block); end
615
- def rm_r(*args, &block); end
616
- def rm_rf(*args, &block); end
617
- def rmdir(*args, &block); end
618
- def rmtree(*args, &block); end
619
- def ruby(*args, &block); end
620
- def rule(*args, &block); end
621
- def safe_ln(*args); end
622
- def safe_unlink(*args, &block); end
623
- def sh(*args, &block); end
624
- def split_all(path); end
625
- def symlink(*args, &block); end
626
- def task(*args, &block); end
627
- def touch(*args, &block); end
628
- def verbose(value = nil); end
629
- def when_writing(msg = nil); end
630
- include Rake::FileUtilsExt
631
- end
632
- class Rake::DefaultLoader
633
- def load(fn); end
634
- end
635
- class Rake::NameSpace
636
- def [](name); end
637
- def initialize(task_manager, scope_list); end
638
- def scope; end
639
- def tasks; end
640
- end
641
- module Rake::Backtrace
642
- def self.collapse(backtrace); end
643
- end