cheesy-gallery 0.5.0 → 1.1.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 +4 -4
- data/.github/dependabot.yml +12 -0
- data/.gitignore +2 -0
- data/.travis.yml +1 -2
- data/CHANGELOG.md +11 -0
- data/README.md +40 -18
- data/lib/cheesy-gallery/base_image_file.rb +21 -0
- data/lib/cheesy-gallery/generator.rb +7 -5
- data/lib/cheesy-gallery/image_file.rb +22 -7
- data/lib/cheesy-gallery/version.rb +1 -1
- data/sorbet/rbi/gems/addressable.rbi +147 -0
- data/sorbet/rbi/gems/ast.rbi +49 -0
- data/sorbet/rbi/gems/codecov.rbi +49 -0
- data/sorbet/rbi/gems/coderay.rbi +285 -0
- data/sorbet/rbi/gems/colorator.rbi +60 -0
- data/sorbet/rbi/gems/concurrent-ruby.rbi +225 -0
- data/sorbet/rbi/gems/docile.rbi +36 -0
- data/sorbet/rbi/gems/ffi.rbi +560 -0
- data/sorbet/rbi/gems/forwardable-extended.rbi +24 -0
- data/sorbet/rbi/gems/i18n.rbi +108 -0
- data/sorbet/rbi/gems/jekyll-sass-converter.rbi +61 -0
- data/sorbet/rbi/gems/jekyll.rbi +726 -0
- data/sorbet/rbi/gems/kramdown.rbi +250 -0
- data/sorbet/rbi/gems/liquid.rbi +649 -0
- data/sorbet/rbi/gems/method_source.rbi +64 -0
- data/sorbet/rbi/gems/parallel.rbi +83 -0
- data/sorbet/rbi/gems/parser.rbi +1429 -0
- data/sorbet/rbi/gems/pathutil.rbi +188 -0
- data/sorbet/rbi/gems/pry.rbi +1898 -0
- data/sorbet/rbi/gems/public_suffix.rbi +104 -0
- data/sorbet/rbi/gems/rainbow.rbi +118 -0
- data/sorbet/rbi/gems/rake.rbi +647 -0
- data/sorbet/rbi/gems/regexp_parser.rbi +926 -0
- data/sorbet/rbi/gems/rexml.rbi +599 -0
- data/sorbet/rbi/gems/rmagick.rbi +1249 -0
- data/sorbet/rbi/gems/rspec-core.rbi +1894 -0
- data/sorbet/rbi/gems/rspec-expectations.rbi +1148 -0
- data/sorbet/rbi/gems/rspec-mocks.rbi +1091 -0
- data/sorbet/rbi/gems/rspec-support.rbi +280 -0
- data/sorbet/rbi/gems/rspec.rbi +15 -0
- data/sorbet/rbi/gems/rubocop-ast.rbi +1357 -0
- data/sorbet/rbi/gems/rubocop.rbi +8027 -0
- data/sorbet/rbi/gems/ruby-progressbar.rbi +304 -0
- data/sorbet/rbi/gems/safe_yaml.rbi +124 -0
- data/sorbet/rbi/gems/sassc.rbi +532 -0
- data/sorbet/rbi/gems/simplecov-html.rbi +35 -0
- data/sorbet/rbi/gems/simplecov.rbi +419 -0
- data/sorbet/rbi/gems/unicode-display_width.rbi +22 -0
- data/sorbet/rbi/hidden-definitions/errors.txt +3516 -24801
- data/sorbet/rbi/hidden-definitions/hidden.rbi +7269 -39103
- data/sorbet/rbi/sorbet-typed/lib/rake/all/rake.rbi +645 -0
- data/sorbet/rbi/sorbet-typed/lib/rspec-core/all/rspec-core.rbi +1891 -0
- data/sorbet/rbi/sorbet-typed/lib/rubocop/>=1.8/rubocop.rbi +7799 -0
- data/sorbet/rbi/todo.rbi +6 -0
- metadata +47 -5
- data/Gemfile.lock +0 -134
- data/sorbet/rbi/sorbet-typed/lib/rubocop/~>0.85/rubocop.rbi +0 -2072
@@ -0,0 +1,1148 @@
|
|
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/rspec-expectations/all/rspec-expectations.rbi
|
9
|
+
#
|
10
|
+
# rspec-expectations-3.10.1
|
11
|
+
|
12
|
+
module RSpec
|
13
|
+
end
|
14
|
+
module RSpec::Matchers
|
15
|
+
def a_block_changing(*args, &block); end
|
16
|
+
def a_block_outputting(*args, &block); end
|
17
|
+
def a_block_raising(*args, &block); end
|
18
|
+
def a_block_throwing(*args, &block); end
|
19
|
+
def a_block_yielding_control(*args, &block); end
|
20
|
+
def a_block_yielding_successive_args(*args, &block); end
|
21
|
+
def a_block_yielding_with_args(*args, &block); end
|
22
|
+
def a_block_yielding_with_no_args(*args, &block); end
|
23
|
+
def a_collection_containing_exactly(*args, &block); end
|
24
|
+
def a_collection_ending_with(*args, &block); end
|
25
|
+
def a_collection_including(*args, &block); end
|
26
|
+
def a_collection_starting_with(*args, &block); end
|
27
|
+
def a_falsey_value(*args, &block); end
|
28
|
+
def a_falsy_value(*args, &block); end
|
29
|
+
def a_hash_including(*args, &block); end
|
30
|
+
def a_kind_of(*args, &block); end
|
31
|
+
def a_nil_value(*args, &block); end
|
32
|
+
def a_range_covering(*args, &block); end
|
33
|
+
def a_string_ending_with(*args, &block); end
|
34
|
+
def a_string_including(*args, &block); end
|
35
|
+
def a_string_matching(*args, &block); end
|
36
|
+
def a_string_starting_with(*args, &block); end
|
37
|
+
def a_truthy_value(*args, &block); end
|
38
|
+
def a_value(*args, &block); end
|
39
|
+
def a_value_between(*args, &block); end
|
40
|
+
def a_value_within(*args, &block); end
|
41
|
+
def aggregate_failures(label = nil, metadata = nil, &block); end
|
42
|
+
def all(expected); end
|
43
|
+
def an_instance_of(*args, &block); end
|
44
|
+
def an_object_eq_to(*args, &block); end
|
45
|
+
def an_object_eql_to(*args, &block); end
|
46
|
+
def an_object_equal_to(*args, &block); end
|
47
|
+
def an_object_existing(*args, &block); end
|
48
|
+
def an_object_having_attributes(*args, &block); end
|
49
|
+
def an_object_matching(*args, &block); end
|
50
|
+
def an_object_responding_to(*args, &block); end
|
51
|
+
def an_object_satisfying(*args, &block); end
|
52
|
+
def be(*args); end
|
53
|
+
def be_a(klass); end
|
54
|
+
def be_a_kind_of(expected); end
|
55
|
+
def be_an(klass); end
|
56
|
+
def be_an_instance_of(expected); end
|
57
|
+
def be_between(min, max); end
|
58
|
+
def be_falsey; end
|
59
|
+
def be_falsy(*args, &block); end
|
60
|
+
def be_instance_of(expected); end
|
61
|
+
def be_kind_of(expected); end
|
62
|
+
def be_nil; end
|
63
|
+
def be_truthy; end
|
64
|
+
def be_within(delta); end
|
65
|
+
def change(receiver = nil, message = nil, &block); end
|
66
|
+
def changing(*args, &block); end
|
67
|
+
def contain_exactly(*items); end
|
68
|
+
def containing_exactly(*args, &block); end
|
69
|
+
def cover(*values); end
|
70
|
+
def covering(*args, &block); end
|
71
|
+
def end_with(*expected); end
|
72
|
+
def ending_with(*args, &block); end
|
73
|
+
def eq(expected); end
|
74
|
+
def eq_to(*args, &block); end
|
75
|
+
def eql(expected); end
|
76
|
+
def eql_to(*args, &block); end
|
77
|
+
def equal(expected); end
|
78
|
+
def equal_to(*args, &block); end
|
79
|
+
def exist(*args); end
|
80
|
+
def existing(*args, &block); end
|
81
|
+
def expect(value = nil, &block); end
|
82
|
+
def have_attributes(expected); end
|
83
|
+
def having_attributes(*args, &block); end
|
84
|
+
def include(*expected); end
|
85
|
+
def including(*args, &block); end
|
86
|
+
def match(expected); end
|
87
|
+
def match_array(items); end
|
88
|
+
def match_regex(*args, &block); end
|
89
|
+
def matching(*args, &block); end
|
90
|
+
def method_missing(method, *args, &block); end
|
91
|
+
def output(expected = nil); end
|
92
|
+
def raise_error(error = nil, message = nil, &block); end
|
93
|
+
def raise_exception(error = nil, message = nil, &block); end
|
94
|
+
def raising(*args, &block); end
|
95
|
+
def respond_to(*names); end
|
96
|
+
def respond_to_missing?(method, *arg1); end
|
97
|
+
def responding_to(*args, &block); end
|
98
|
+
def satisfy(description = nil, &block); end
|
99
|
+
def satisfying(*args, &block); end
|
100
|
+
def self.alias_matcher(*args, &block); end
|
101
|
+
def self.clear_generated_description; end
|
102
|
+
def self.configuration; end
|
103
|
+
def self.generated_description; end
|
104
|
+
def self.is_a_describable_matcher?(obj); end
|
105
|
+
def self.is_a_matcher?(obj); end
|
106
|
+
def self.last_description; end
|
107
|
+
def self.last_expectation_handler; end
|
108
|
+
def self.last_expectation_handler=(arg0); end
|
109
|
+
def self.last_matcher; end
|
110
|
+
def self.last_matcher=(arg0); end
|
111
|
+
def start_with(*expected); end
|
112
|
+
def starting_with(*args, &block); end
|
113
|
+
def throw_symbol(expected_symbol = nil, expected_arg = nil); end
|
114
|
+
def throwing(*args, &block); end
|
115
|
+
def within(*args, &block); end
|
116
|
+
def yield_control; end
|
117
|
+
def yield_successive_args(*args); end
|
118
|
+
def yield_with_args(*args); end
|
119
|
+
def yield_with_no_args; end
|
120
|
+
def yielding_control(*args, &block); end
|
121
|
+
def yielding_successive_args(*args, &block); end
|
122
|
+
def yielding_with_args(*args, &block); end
|
123
|
+
def yielding_with_no_args(*args, &block); end
|
124
|
+
extend RSpec::Matchers::DSL
|
125
|
+
end
|
126
|
+
module RSpec::Matchers::EnglishPhrasing
|
127
|
+
def self.list(obj); end
|
128
|
+
def self.split_words(sym); end
|
129
|
+
end
|
130
|
+
module RSpec::Matchers::Composable
|
131
|
+
def &(matcher); end
|
132
|
+
def ===(value); end
|
133
|
+
def and(matcher); end
|
134
|
+
def description_of(object); end
|
135
|
+
def or(matcher); end
|
136
|
+
def self.should_enumerate?(item); end
|
137
|
+
def self.surface_descriptions_in(item); end
|
138
|
+
def self.unreadable_io?(object); end
|
139
|
+
def should_enumerate?(item); end
|
140
|
+
def surface_descriptions_in(item); end
|
141
|
+
def unreadable_io?(object); end
|
142
|
+
def values_match?(expected, actual); end
|
143
|
+
def with_matchers_cloned(object); end
|
144
|
+
def |(matcher); end
|
145
|
+
end
|
146
|
+
class RSpec::Matchers::Composable::DescribableItem < Struct
|
147
|
+
def inspect; end
|
148
|
+
def item; end
|
149
|
+
def item=(_); end
|
150
|
+
def pretty_print(pp); end
|
151
|
+
def self.[](*arg0); end
|
152
|
+
def self.inspect; end
|
153
|
+
def self.members; end
|
154
|
+
def self.new(*arg0); end
|
155
|
+
end
|
156
|
+
module RSpec::Matchers::BuiltIn
|
157
|
+
end
|
158
|
+
class RSpec::Matchers::BuiltIn::BaseMatcher
|
159
|
+
def actual; end
|
160
|
+
def actual_formatted; end
|
161
|
+
def assert_ivars(*expected_ivars); end
|
162
|
+
def description; end
|
163
|
+
def diffable?; end
|
164
|
+
def expected; end
|
165
|
+
def expected_formatted; end
|
166
|
+
def expects_call_stack_jump?; end
|
167
|
+
def initialize(expected = nil); end
|
168
|
+
def match_unless_raises(*exceptions); end
|
169
|
+
def matcher_name; end
|
170
|
+
def matcher_name=(arg0); end
|
171
|
+
def matches?(actual); end
|
172
|
+
def present_ivars; end
|
173
|
+
def rescued_exception; end
|
174
|
+
def self.matcher_name; end
|
175
|
+
def self.underscore(camel_cased_word); end
|
176
|
+
def supports_block_expectations?; end
|
177
|
+
include RSpec::Matchers::BuiltIn::BaseMatcher::DefaultFailureMessages
|
178
|
+
include RSpec::Matchers::BuiltIn::BaseMatcher::HashFormatting
|
179
|
+
include RSpec::Matchers::Composable
|
180
|
+
end
|
181
|
+
module RSpec::Matchers::BuiltIn::BaseMatcher::HashFormatting
|
182
|
+
def improve_hash_formatting(inspect_string); end
|
183
|
+
def self.improve_hash_formatting(inspect_string); end
|
184
|
+
end
|
185
|
+
module RSpec::Matchers::BuiltIn::BaseMatcher::DefaultFailureMessages
|
186
|
+
def failure_message; end
|
187
|
+
def failure_message_when_negated; end
|
188
|
+
def self.has_default_failure_messages?(matcher); end
|
189
|
+
end
|
190
|
+
module RSpec::Matchers::DSL
|
191
|
+
def alias_matcher(new_name, old_name, options = nil, &description_override); end
|
192
|
+
def define(name, &declarations); end
|
193
|
+
def define_negated_matcher(negated_name, base_name, &description_override); end
|
194
|
+
def matcher(name, &declarations); end
|
195
|
+
def warn_about_block_args(name, declarations); end
|
196
|
+
end
|
197
|
+
module RSpec::Matchers::DSL::Macros
|
198
|
+
def assign_attributes(attr_names); end
|
199
|
+
def chain(method_name, *attr_names, &definition); end
|
200
|
+
def define_user_override(method_name, user_def, &our_def); end
|
201
|
+
def description(&definition); end
|
202
|
+
def diffable; end
|
203
|
+
def failure_message(&definition); end
|
204
|
+
def failure_message_when_negated(&definition); end
|
205
|
+
def match(options = nil, &match_block); end
|
206
|
+
def match_unless_raises(expected_exception = nil, &match_block); end
|
207
|
+
def match_when_negated(options = nil, &match_block); end
|
208
|
+
def supports_block_expectations; end
|
209
|
+
end
|
210
|
+
module RSpec::Matchers::DSL::Macros::Deprecated
|
211
|
+
def failure_message_for_should(&definition); end
|
212
|
+
def failure_message_for_should_not(&definition); end
|
213
|
+
def match_for_should(&definition); end
|
214
|
+
def match_for_should_not(&definition); end
|
215
|
+
end
|
216
|
+
module RSpec::Matchers::DSL::DefaultImplementations
|
217
|
+
def chained_method_clause_sentences; end
|
218
|
+
def description; end
|
219
|
+
def diffable?; end
|
220
|
+
def expects_call_stack_jump?; end
|
221
|
+
def supports_block_expectations?; end
|
222
|
+
include RSpec::Matchers::BuiltIn::BaseMatcher::DefaultFailureMessages
|
223
|
+
end
|
224
|
+
class RSpec::Matchers::DSL::Matcher
|
225
|
+
def actual; end
|
226
|
+
def actual_arg_for(block); end
|
227
|
+
def block_arg; end
|
228
|
+
def expected; end
|
229
|
+
def expected_as_array; end
|
230
|
+
def initialize(name, declarations, matcher_execution_context, *expected, &block_arg); end
|
231
|
+
def inspect; end
|
232
|
+
def method_missing(method, *args, &block); end
|
233
|
+
def name; end
|
234
|
+
def rescued_exception; end
|
235
|
+
def respond_to_missing?(method, include_private = nil); end
|
236
|
+
extend RSpec::Matchers::DSL::Macros
|
237
|
+
extend RSpec::Matchers::DSL::Macros::Deprecated
|
238
|
+
include RSpec::Matchers
|
239
|
+
include RSpec::Matchers::Composable
|
240
|
+
include RSpec::Matchers::DSL::DefaultImplementations
|
241
|
+
end
|
242
|
+
class RSpec::Matchers::MatcherDelegator
|
243
|
+
def base_matcher; end
|
244
|
+
def initialize(base_matcher); end
|
245
|
+
def initialize_copy(other); end
|
246
|
+
def method_missing(*args, &block); end
|
247
|
+
def respond_to_missing?(name, include_all = nil); end
|
248
|
+
include RSpec::Matchers::Composable
|
249
|
+
end
|
250
|
+
class RSpec::Matchers::AliasedMatcher < RSpec::Matchers::MatcherDelegator
|
251
|
+
def description; end
|
252
|
+
def failure_message; end
|
253
|
+
def failure_message_when_negated; end
|
254
|
+
def initialize(base_matcher, description_block); end
|
255
|
+
def method_missing(*arg0); end
|
256
|
+
end
|
257
|
+
class RSpec::Matchers::AliasedMatcherWithOperatorSupport < RSpec::Matchers::AliasedMatcher
|
258
|
+
end
|
259
|
+
class RSpec::Matchers::AliasedNegatedMatcher < RSpec::Matchers::AliasedMatcher
|
260
|
+
def does_not_match?(*args, &block); end
|
261
|
+
def failure_message; end
|
262
|
+
def failure_message_when_negated; end
|
263
|
+
def matches?(*args, &block); end
|
264
|
+
def optimal_failure_message(same, inverted); end
|
265
|
+
end
|
266
|
+
class RSpec::Matchers::ExpectedsForMultipleDiffs
|
267
|
+
def diffs(differ, actual); end
|
268
|
+
def initialize(expected_list); end
|
269
|
+
def message_with_diff(message, differ, actual); end
|
270
|
+
def self.diff_label_for(matcher); end
|
271
|
+
def self.for_many_matchers(matchers); end
|
272
|
+
def self.from(expected); end
|
273
|
+
def self.truncated(description); end
|
274
|
+
end
|
275
|
+
module RSpec::Support
|
276
|
+
def self.require_rspec_expectations(f); end
|
277
|
+
def self.require_rspec_matchers(f); end
|
278
|
+
end
|
279
|
+
module RSpec::Expectations
|
280
|
+
def self.configuration; end
|
281
|
+
def self.differ; end
|
282
|
+
def self.fail_with(message, expected = nil, actual = nil); end
|
283
|
+
end
|
284
|
+
class RSpec::Expectations::ExpectationTarget
|
285
|
+
def initialize(value); end
|
286
|
+
def self.for(value, block); end
|
287
|
+
def target; end
|
288
|
+
include RSpec::Expectations::ExpectationTarget::InstanceMethods
|
289
|
+
end
|
290
|
+
module RSpec::Expectations::ExpectationTarget::UndefinedValue
|
291
|
+
end
|
292
|
+
module RSpec::Expectations::ExpectationTarget::InstanceMethods
|
293
|
+
def not_to(matcher = nil, message = nil, &block); end
|
294
|
+
def prevent_operator_matchers(verb); end
|
295
|
+
def to(matcher = nil, message = nil, &block); end
|
296
|
+
def to_not(matcher = nil, message = nil, &block); end
|
297
|
+
end
|
298
|
+
class RSpec::Expectations::BlockExpectationTarget < RSpec::Expectations::ExpectationTarget
|
299
|
+
def enforce_block_expectation(matcher); end
|
300
|
+
def not_to(matcher, message = nil, &block); end
|
301
|
+
def supports_block_expectations?(matcher); end
|
302
|
+
def to(matcher, message = nil, &block); end
|
303
|
+
def to_not(matcher, message = nil, &block); end
|
304
|
+
end
|
305
|
+
module RSpec::Expectations::Syntax
|
306
|
+
def default_should_host; end
|
307
|
+
def disable_expect(syntax_host = nil); end
|
308
|
+
def disable_should(syntax_host = nil); end
|
309
|
+
def enable_expect(syntax_host = nil); end
|
310
|
+
def enable_should(syntax_host = nil); end
|
311
|
+
def expect_enabled?(syntax_host = nil); end
|
312
|
+
def self.default_should_host; end
|
313
|
+
def self.disable_expect(syntax_host = nil); end
|
314
|
+
def self.disable_should(syntax_host = nil); end
|
315
|
+
def self.enable_expect(syntax_host = nil); end
|
316
|
+
def self.enable_should(syntax_host = nil); end
|
317
|
+
def self.expect_enabled?(syntax_host = nil); end
|
318
|
+
def self.should_enabled?(syntax_host = nil); end
|
319
|
+
def self.warn_about_should!; end
|
320
|
+
def self.warn_about_should_unless_configured(method_name); end
|
321
|
+
def should_enabled?(syntax_host = nil); end
|
322
|
+
def warn_about_should!; end
|
323
|
+
def warn_about_should_unless_configured(method_name); end
|
324
|
+
end
|
325
|
+
class BasicObject
|
326
|
+
end
|
327
|
+
class RSpec::Expectations::Configuration
|
328
|
+
def add_should_and_should_not_to(*modules); end
|
329
|
+
def backtrace_formatter; end
|
330
|
+
def backtrace_formatter=(arg0); end
|
331
|
+
def color?; end
|
332
|
+
def false_positives_handler; end
|
333
|
+
def include_chain_clauses_in_custom_matcher_descriptions=(arg0); end
|
334
|
+
def include_chain_clauses_in_custom_matcher_descriptions?; end
|
335
|
+
def initialize; end
|
336
|
+
def max_formatted_output_length=(length); end
|
337
|
+
def on_potential_false_positives; end
|
338
|
+
def on_potential_false_positives=(behavior); end
|
339
|
+
def reset_syntaxes_to_default; end
|
340
|
+
def strict_predicate_matchers; end
|
341
|
+
def strict_predicate_matchers=(flag); end
|
342
|
+
def strict_predicate_matchers?; end
|
343
|
+
def syntax; end
|
344
|
+
def syntax=(values); end
|
345
|
+
def warn_about_potential_false_positives=(boolean); end
|
346
|
+
def warn_about_potential_false_positives?; end
|
347
|
+
end
|
348
|
+
module RSpec::Expectations::Configuration::NullBacktraceFormatter
|
349
|
+
def self.format_backtrace(backtrace); end
|
350
|
+
end
|
351
|
+
class InvalidName___Class_0x00___Differ_2
|
352
|
+
end
|
353
|
+
module RSpec::Expectations::ExpectationHelper
|
354
|
+
def self.check_message(msg); end
|
355
|
+
def self.handle_failure(matcher, message, failure_message_method); end
|
356
|
+
def self.modern_matcher_from(matcher); end
|
357
|
+
def self.with_matcher(handler, matcher, message); end
|
358
|
+
end
|
359
|
+
class RSpec::Expectations::PositiveExpectationHandler
|
360
|
+
def self.handle_matcher(actual, initial_matcher, custom_message = nil, &block); end
|
361
|
+
def self.opposite_should_method; end
|
362
|
+
def self.should_method; end
|
363
|
+
def self.verb; end
|
364
|
+
end
|
365
|
+
class RSpec::Expectations::NegativeExpectationHandler
|
366
|
+
def self.does_not_match?(matcher, actual, &block); end
|
367
|
+
def self.handle_matcher(actual, initial_matcher, custom_message = nil, &block); end
|
368
|
+
def self.opposite_should_method; end
|
369
|
+
def self.should_method; end
|
370
|
+
def self.verb; end
|
371
|
+
end
|
372
|
+
class RSpec::Expectations::LegacyMatcherAdapter < RSpec::Matchers::MatcherDelegator
|
373
|
+
def initialize(matcher); end
|
374
|
+
def self.wrap(matcher); end
|
375
|
+
end
|
376
|
+
class RSpec::Expectations::LegacyMatcherAdapter::RSpec2 < RSpec::Expectations::LegacyMatcherAdapter
|
377
|
+
def failure_message; end
|
378
|
+
def failure_message_when_negated; end
|
379
|
+
def self.interface_matches?(matcher); end
|
380
|
+
end
|
381
|
+
class RSpec::Expectations::LegacyMatcherAdapter::RSpec1 < RSpec::Expectations::LegacyMatcherAdapter
|
382
|
+
def failure_message; end
|
383
|
+
def failure_message_when_negated; end
|
384
|
+
def self.interface_matches?(matcher); end
|
385
|
+
end
|
386
|
+
module RSpec::Expectations::Version
|
387
|
+
end
|
388
|
+
class RSpec::Expectations::ExpectationNotMetError < Exception
|
389
|
+
end
|
390
|
+
class RSpec::Expectations::MultipleExpectationsNotMetError < RSpec::Expectations::ExpectationNotMetError
|
391
|
+
def aggregation_block_label; end
|
392
|
+
def aggregation_metadata; end
|
393
|
+
def all_exceptions; end
|
394
|
+
def backtrace_line(line); end
|
395
|
+
def block_description; end
|
396
|
+
def enumerated(exceptions, index_offset); end
|
397
|
+
def enumerated_errors; end
|
398
|
+
def enumerated_failures; end
|
399
|
+
def exception_count_description; end
|
400
|
+
def exclusion_patterns; end
|
401
|
+
def failures; end
|
402
|
+
def format_backtrace(backtrace); end
|
403
|
+
def indentation; end
|
404
|
+
def indented(failure_message, index); end
|
405
|
+
def index_label(index); end
|
406
|
+
def initialize(failure_aggregator); end
|
407
|
+
def longest_index_label_width; end
|
408
|
+
def message; end
|
409
|
+
def other_errors; end
|
410
|
+
def pluralize(noun, count); end
|
411
|
+
def summary; end
|
412
|
+
def width_of_label(index); end
|
413
|
+
end
|
414
|
+
class RSpec::Expectations::BlockSnippetExtractor
|
415
|
+
def beginning_line_number; end
|
416
|
+
def block_token_extractor; end
|
417
|
+
def body_content_lines; end
|
418
|
+
def file_path; end
|
419
|
+
def initialize(proc, method_name); end
|
420
|
+
def method_name; end
|
421
|
+
def proc; end
|
422
|
+
def raw_body_lines; end
|
423
|
+
def raw_body_snippet; end
|
424
|
+
def self.try_extracting_single_line_body_of(proc, method_name); end
|
425
|
+
def source; end
|
426
|
+
def source_location; end
|
427
|
+
end
|
428
|
+
class RSpec::Expectations::BlockSnippetExtractor::Error < StandardError
|
429
|
+
end
|
430
|
+
class RSpec::Expectations::BlockSnippetExtractor::TargetNotFoundError < RSpec::Expectations::BlockSnippetExtractor::Error
|
431
|
+
end
|
432
|
+
class RSpec::Expectations::BlockSnippetExtractor::AmbiguousTargetError < RSpec::Expectations::BlockSnippetExtractor::Error
|
433
|
+
end
|
434
|
+
class RSpec::Expectations::BlockSnippetExtractor::BlockTokenExtractor < Struct
|
435
|
+
def after_beginning_of_args_state(token); end
|
436
|
+
def after_beginning_of_body_state(token); end
|
437
|
+
def after_method_call_state(token); end
|
438
|
+
def after_opener_state(token); end
|
439
|
+
def beginning_line_number; end
|
440
|
+
def beginning_line_number=(_); end
|
441
|
+
def block_locator; end
|
442
|
+
def body_tokens; end
|
443
|
+
def correct_block?(body_tokens); end
|
444
|
+
def finalize_pending_tokens!; end
|
445
|
+
def finish!; end
|
446
|
+
def finish_or_find_next_block_if_incorrect!; end
|
447
|
+
def handle_closer_token(token); end
|
448
|
+
def handle_opener_token(token); end
|
449
|
+
def initial_state(token); end
|
450
|
+
def initialize(*arg0); end
|
451
|
+
def invoke_state_handler(token); end
|
452
|
+
def method_name; end
|
453
|
+
def method_name=(_); end
|
454
|
+
def opener_token?(token); end
|
455
|
+
def opener_token_stack; end
|
456
|
+
def parse!; end
|
457
|
+
def pending_tokens; end
|
458
|
+
def pipe_token?(token); end
|
459
|
+
def self.[](*arg0); end
|
460
|
+
def self.inspect; end
|
461
|
+
def self.members; end
|
462
|
+
def self.new(*arg0); end
|
463
|
+
def source; end
|
464
|
+
def source=(_); end
|
465
|
+
def state; end
|
466
|
+
end
|
467
|
+
class RSpec::Expectations::BlockSnippetExtractor::BlockLocator < Struct
|
468
|
+
def beginning_line_number; end
|
469
|
+
def beginning_line_number=(_); end
|
470
|
+
def block_body_node; end
|
471
|
+
def block_wrapper_node; end
|
472
|
+
def body_content_locations; end
|
473
|
+
def candidate_block_wrapper_nodes; end
|
474
|
+
def candidate_method_ident_nodes; end
|
475
|
+
def method_call_location; end
|
476
|
+
def method_ident_node; end
|
477
|
+
def method_ident_node?(node); end
|
478
|
+
def method_name; end
|
479
|
+
def method_name=(_); end
|
480
|
+
def self.[](*arg0); end
|
481
|
+
def self.inspect; end
|
482
|
+
def self.members; end
|
483
|
+
def self.new(*arg0); end
|
484
|
+
def source; end
|
485
|
+
def source=(_); end
|
486
|
+
end
|
487
|
+
class RSpec::Expectations::FailureAggregator
|
488
|
+
def aggregate; end
|
489
|
+
def assign_backtrace(failure); end
|
490
|
+
def block_label; end
|
491
|
+
def call(failure, options); end
|
492
|
+
def failures; end
|
493
|
+
def initialize(block_label, metadata); end
|
494
|
+
def metadata; end
|
495
|
+
def notify_aggregated_failures; end
|
496
|
+
def other_errors; end
|
497
|
+
end
|
498
|
+
class RSpec::Matchers::BuiltIn::BeAKindOf < RSpec::Matchers::BuiltIn::BaseMatcher
|
499
|
+
def match(expected, actual); end
|
500
|
+
end
|
501
|
+
class RSpec::Matchers::BuiltIn::BeAnInstanceOf < RSpec::Matchers::BuiltIn::BaseMatcher
|
502
|
+
def description; end
|
503
|
+
def match(expected, actual); end
|
504
|
+
end
|
505
|
+
class RSpec::Matchers::BuiltIn::BeBetween < RSpec::Matchers::BuiltIn::BaseMatcher
|
506
|
+
def comparable?; end
|
507
|
+
def compare; end
|
508
|
+
def description; end
|
509
|
+
def exclusive; end
|
510
|
+
def failure_message; end
|
511
|
+
def inclusive; end
|
512
|
+
def initialize(min, max); end
|
513
|
+
def matches?(actual); end
|
514
|
+
def not_comparable_clause; end
|
515
|
+
end
|
516
|
+
class RSpec::Matchers::BuiltIn::BeTruthy < RSpec::Matchers::BuiltIn::BaseMatcher
|
517
|
+
def failure_message; end
|
518
|
+
def failure_message_when_negated; end
|
519
|
+
def match(_, actual); end
|
520
|
+
end
|
521
|
+
class RSpec::Matchers::BuiltIn::BeFalsey < RSpec::Matchers::BuiltIn::BaseMatcher
|
522
|
+
def failure_message; end
|
523
|
+
def failure_message_when_negated; end
|
524
|
+
def match(_, actual); end
|
525
|
+
end
|
526
|
+
class RSpec::Matchers::BuiltIn::BeNil < RSpec::Matchers::BuiltIn::BaseMatcher
|
527
|
+
def failure_message; end
|
528
|
+
def failure_message_when_negated; end
|
529
|
+
def match(_, actual); end
|
530
|
+
end
|
531
|
+
module RSpec::Matchers::BuiltIn::BeHelpers
|
532
|
+
def args_to_s; end
|
533
|
+
def args_to_sentence; end
|
534
|
+
def expected_to_sentence; end
|
535
|
+
def inspected_args; end
|
536
|
+
def parenthesize(string); end
|
537
|
+
end
|
538
|
+
class RSpec::Matchers::BuiltIn::Be < RSpec::Matchers::BuiltIn::BaseMatcher
|
539
|
+
def <(operand); end
|
540
|
+
def <=(operand); end
|
541
|
+
def ==(operand); end
|
542
|
+
def ===(operand); end
|
543
|
+
def =~(operand); end
|
544
|
+
def >(operand); end
|
545
|
+
def >=(operand); end
|
546
|
+
def failure_message; end
|
547
|
+
def failure_message_when_negated; end
|
548
|
+
def initialize(*args); end
|
549
|
+
def match(_, actual); end
|
550
|
+
include RSpec::Matchers::BuiltIn::BeHelpers
|
551
|
+
end
|
552
|
+
class RSpec::Matchers::BuiltIn::BeComparedTo < RSpec::Matchers::BuiltIn::BaseMatcher
|
553
|
+
def description; end
|
554
|
+
def does_not_match?(actual); end
|
555
|
+
def failure_message; end
|
556
|
+
def failure_message_when_negated; end
|
557
|
+
def initialize(operand, operator); end
|
558
|
+
def matches?(actual); end
|
559
|
+
def perform_match(actual); end
|
560
|
+
include RSpec::Matchers::BuiltIn::BeHelpers
|
561
|
+
end
|
562
|
+
class RSpec::Matchers::BuiltIn::DynamicPredicate < RSpec::Matchers::BuiltIn::BaseMatcher
|
563
|
+
def description; end
|
564
|
+
def does_not_match?(actual, &block); end
|
565
|
+
def expectation_of(value); end
|
566
|
+
def failure_message; end
|
567
|
+
def failure_message_expecting(value); end
|
568
|
+
def failure_message_when_negated; end
|
569
|
+
def failure_to_respond_explanation; end
|
570
|
+
def initialize(method_name, *args, &block); end
|
571
|
+
def matches?(actual, &block); end
|
572
|
+
def method_description; end
|
573
|
+
def predicate_accessible?; end
|
574
|
+
def predicate_matches?(value = nil); end
|
575
|
+
def predicate_method_name; end
|
576
|
+
def predicate_result; end
|
577
|
+
def private_predicate?; end
|
578
|
+
def root; end
|
579
|
+
def validity_message; end
|
580
|
+
include RSpec::Matchers::BuiltIn::BeHelpers
|
581
|
+
end
|
582
|
+
class RSpec::Matchers::BuiltIn::Has < RSpec::Matchers::BuiltIn::DynamicPredicate
|
583
|
+
def predicate; end
|
584
|
+
end
|
585
|
+
class RSpec::Matchers::BuiltIn::BePredicate < RSpec::Matchers::BuiltIn::DynamicPredicate
|
586
|
+
def failure_to_respond_explanation; end
|
587
|
+
def predicate; end
|
588
|
+
def predicate_accessible?; end
|
589
|
+
def predicate_method_name; end
|
590
|
+
def present_tense_predicate; end
|
591
|
+
end
|
592
|
+
class RSpec::Matchers::BuiltIn::BeWithin < RSpec::Matchers::BuiltIn::BaseMatcher
|
593
|
+
def description; end
|
594
|
+
def failure_message; end
|
595
|
+
def failure_message_when_negated; end
|
596
|
+
def initialize(delta); end
|
597
|
+
def matches?(actual); end
|
598
|
+
def needs_expected; end
|
599
|
+
def not_numeric_clause; end
|
600
|
+
def numeric?; end
|
601
|
+
def of(expected); end
|
602
|
+
def percent_of(expected); end
|
603
|
+
end
|
604
|
+
class RSpec::Matchers::BuiltIn::Change < RSpec::Matchers::BuiltIn::BaseMatcher
|
605
|
+
def by(expected_delta); end
|
606
|
+
def by_at_least(minimum); end
|
607
|
+
def by_at_most(maximum); end
|
608
|
+
def change_details; end
|
609
|
+
def description; end
|
610
|
+
def does_not_match?(event_proc); end
|
611
|
+
def failure_message; end
|
612
|
+
def failure_message_when_negated; end
|
613
|
+
def from(value); end
|
614
|
+
def initialize(receiver = nil, message = nil, &block); end
|
615
|
+
def matches?(event_proc); end
|
616
|
+
def negative_failure_reason; end
|
617
|
+
def perform_change(event_proc); end
|
618
|
+
def positive_failure_reason; end
|
619
|
+
def raise_block_syntax_error; end
|
620
|
+
def supports_block_expectations?; end
|
621
|
+
def to(value); end
|
622
|
+
end
|
623
|
+
class RSpec::Matchers::BuiltIn::ChangeRelatively < RSpec::Matchers::BuiltIn::BaseMatcher
|
624
|
+
def description; end
|
625
|
+
def does_not_match?(_event_proc); end
|
626
|
+
def failure_message; end
|
627
|
+
def failure_reason; end
|
628
|
+
def initialize(change_details, expected_delta, relativity, &comparer); end
|
629
|
+
def matches?(event_proc); end
|
630
|
+
def supports_block_expectations?; end
|
631
|
+
end
|
632
|
+
class RSpec::Matchers::BuiltIn::SpecificValuesChange < RSpec::Matchers::BuiltIn::BaseMatcher
|
633
|
+
def after_value_failure; end
|
634
|
+
def before_value_failure; end
|
635
|
+
def description; end
|
636
|
+
def did_change_failure; end
|
637
|
+
def did_not_change_failure; end
|
638
|
+
def failure_message; end
|
639
|
+
def initialize(change_details, from, to); end
|
640
|
+
def matches?(event_proc); end
|
641
|
+
def matches_after?; end
|
642
|
+
def not_given_a_block_failure; end
|
643
|
+
def perform_change(event_proc); end
|
644
|
+
def supports_block_expectations?; end
|
645
|
+
end
|
646
|
+
class RSpec::Matchers::BuiltIn::ChangeFromValue < RSpec::Matchers::BuiltIn::SpecificValuesChange
|
647
|
+
def change_description; end
|
648
|
+
def does_not_match?(event_proc); end
|
649
|
+
def failure_message_when_negated; end
|
650
|
+
def initialize(change_details, expected_before); end
|
651
|
+
def to(value); end
|
652
|
+
end
|
653
|
+
class RSpec::Matchers::BuiltIn::ChangeToValue < RSpec::Matchers::BuiltIn::SpecificValuesChange
|
654
|
+
def change_description; end
|
655
|
+
def does_not_match?(_event_proc); end
|
656
|
+
def from(value); end
|
657
|
+
def initialize(change_details, expected_after); end
|
658
|
+
end
|
659
|
+
class RSpec::Matchers::BuiltIn::ChangeDetails
|
660
|
+
def actual_after; end
|
661
|
+
def actual_delta; end
|
662
|
+
def changed?; end
|
663
|
+
def evaluate_value_proc; end
|
664
|
+
def extract_value_block_snippet; end
|
665
|
+
def initialize(matcher_name, receiver = nil, message = nil, &block); end
|
666
|
+
def message_notation(receiver, message); end
|
667
|
+
def perform_change(event_proc); end
|
668
|
+
def value_representation; end
|
669
|
+
end
|
670
|
+
class RSpec::Matchers::BuiltIn::Compound < RSpec::Matchers::BuiltIn::BaseMatcher
|
671
|
+
def compound_failure_message; end
|
672
|
+
def description; end
|
673
|
+
def diffable?; end
|
674
|
+
def diffable_matcher_list; end
|
675
|
+
def diffable_matcher_list_for(matcher); end
|
676
|
+
def does_not_match?(_actual); end
|
677
|
+
def evaluator; end
|
678
|
+
def expected; end
|
679
|
+
def expects_call_stack_jump?; end
|
680
|
+
def indent_multiline_message(message); end
|
681
|
+
def initialize(matcher_1, matcher_2); end
|
682
|
+
def initialize_copy(other); end
|
683
|
+
def match(_expected, actual); end
|
684
|
+
def matcher_1; end
|
685
|
+
def matcher_1_matches?; end
|
686
|
+
def matcher_2; end
|
687
|
+
def matcher_2_matches?; end
|
688
|
+
def matcher_is_diffable?(matcher); end
|
689
|
+
def matcher_supports_block_expectations?(matcher); end
|
690
|
+
def supports_block_expectations?; end
|
691
|
+
end
|
692
|
+
class RSpec::Matchers::BuiltIn::Compound::SequentialEvaluator
|
693
|
+
def initialize(actual, *arg1); end
|
694
|
+
def matcher_matches?(matcher); end
|
695
|
+
end
|
696
|
+
class RSpec::Matchers::BuiltIn::Compound::NestedEvaluator
|
697
|
+
def initialize(actual, matcher_1, matcher_2); end
|
698
|
+
def inner_matcher_block(outer_args); end
|
699
|
+
def matcher_matches?(matcher); end
|
700
|
+
def order_block_matchers; end
|
701
|
+
def self.matcher_expects_call_stack_jump?(matcher); end
|
702
|
+
end
|
703
|
+
class RSpec::Matchers::BuiltIn::Compound::And < RSpec::Matchers::BuiltIn::Compound
|
704
|
+
def conjunction; end
|
705
|
+
def failure_message; end
|
706
|
+
def match(*arg0); end
|
707
|
+
end
|
708
|
+
class RSpec::Matchers::BuiltIn::Compound::Or < RSpec::Matchers::BuiltIn::Compound
|
709
|
+
def conjunction; end
|
710
|
+
def failure_message; end
|
711
|
+
def match(*arg0); end
|
712
|
+
end
|
713
|
+
class RSpec::Matchers::BuiltIn::ContainExactly < RSpec::Matchers::BuiltIn::BaseMatcher
|
714
|
+
def actual_collection_line; end
|
715
|
+
def best_solution; end
|
716
|
+
def convert_actual_to_an_array; end
|
717
|
+
def describe_collection(collection, surface_descriptions = nil); end
|
718
|
+
def description; end
|
719
|
+
def expected_collection_line; end
|
720
|
+
def extra_elements_line; end
|
721
|
+
def extra_items; end
|
722
|
+
def failure_message; end
|
723
|
+
def failure_message_when_negated; end
|
724
|
+
def generate_failure_message; end
|
725
|
+
def match(_expected, _actual); end
|
726
|
+
def match_when_sorted?; end
|
727
|
+
def message_line(prefix, collection, surface_descriptions = nil); end
|
728
|
+
def missing_elements_line; end
|
729
|
+
def missing_items; end
|
730
|
+
def pairings_maximizer; end
|
731
|
+
def safe_sort(array); end
|
732
|
+
def to_a_disallowed?(object); end
|
733
|
+
end
|
734
|
+
class RSpec::Matchers::BuiltIn::ContainExactly::PairingsMaximizer
|
735
|
+
def actual_to_expected_matched_indexes; end
|
736
|
+
def apply_pairing_to(indeterminates, original_matches, other_list_index); end
|
737
|
+
def best_solution_for_pairing(expected_index, actual_index); end
|
738
|
+
def categorize_indexes(indexes_to_categorize, other_indexes); end
|
739
|
+
def expected_to_actual_matched_indexes; end
|
740
|
+
def find_best_solution; end
|
741
|
+
def initialize(expected_to_actual_matched_indexes, actual_to_expected_matched_indexes); end
|
742
|
+
def reciprocal_single_match?(matches, index, other_list); end
|
743
|
+
def solution; end
|
744
|
+
end
|
745
|
+
class RSpec::Matchers::BuiltIn::ContainExactly::PairingsMaximizer::Solution < Struct
|
746
|
+
def +(derived_candidate_solution); end
|
747
|
+
def candidate?; end
|
748
|
+
def ideal?; end
|
749
|
+
def indeterminate_actual_indexes; end
|
750
|
+
def indeterminate_actual_indexes=(_); end
|
751
|
+
def indeterminate_expected_indexes; end
|
752
|
+
def indeterminate_expected_indexes=(_); end
|
753
|
+
def self.[](*arg0); end
|
754
|
+
def self.inspect; end
|
755
|
+
def self.members; end
|
756
|
+
def self.new(*arg0); end
|
757
|
+
def unmatched_actual_indexes; end
|
758
|
+
def unmatched_actual_indexes=(_); end
|
759
|
+
def unmatched_expected_indexes; end
|
760
|
+
def unmatched_expected_indexes=(_); end
|
761
|
+
def unmatched_item_count; end
|
762
|
+
def worse_than?(other); end
|
763
|
+
end
|
764
|
+
class RSpec::Matchers::BuiltIn::ContainExactly::PairingsMaximizer::NullSolution
|
765
|
+
def self.worse_than?(_other); end
|
766
|
+
end
|
767
|
+
class RSpec::Matchers::BuiltIn::Cover < RSpec::Matchers::BuiltIn::BaseMatcher
|
768
|
+
def does_not_match?(range); end
|
769
|
+
def initialize(*expected); end
|
770
|
+
def matches?(range); end
|
771
|
+
end
|
772
|
+
class RSpec::Matchers::BuiltIn::StartOrEndWith < RSpec::Matchers::BuiltIn::BaseMatcher
|
773
|
+
def description; end
|
774
|
+
def failure_message; end
|
775
|
+
def initialize(*expected); end
|
776
|
+
def match(_expected, actual); end
|
777
|
+
def subsets_comparable?; end
|
778
|
+
end
|
779
|
+
class RSpec::Matchers::BuiltIn::StartWith < RSpec::Matchers::BuiltIn::StartOrEndWith
|
780
|
+
def element_matches?; end
|
781
|
+
def subset_matches?; end
|
782
|
+
end
|
783
|
+
class RSpec::Matchers::BuiltIn::EndWith < RSpec::Matchers::BuiltIn::StartOrEndWith
|
784
|
+
def element_matches?; end
|
785
|
+
def subset_matches?; end
|
786
|
+
end
|
787
|
+
class RSpec::Matchers::BuiltIn::Eq < RSpec::Matchers::BuiltIn::BaseMatcher
|
788
|
+
def description; end
|
789
|
+
def diffable?; end
|
790
|
+
def failure_message; end
|
791
|
+
def failure_message_when_negated; end
|
792
|
+
def match(expected, actual); end
|
793
|
+
end
|
794
|
+
class RSpec::Matchers::BuiltIn::Eql < RSpec::Matchers::BuiltIn::BaseMatcher
|
795
|
+
def diffable?; end
|
796
|
+
def failure_message; end
|
797
|
+
def failure_message_when_negated; end
|
798
|
+
def match(expected, actual); end
|
799
|
+
end
|
800
|
+
class RSpec::Matchers::BuiltIn::Equal < RSpec::Matchers::BuiltIn::BaseMatcher
|
801
|
+
def actual_inspected; end
|
802
|
+
def detailed_failure_message; end
|
803
|
+
def diffable?; end
|
804
|
+
def expected_is_a_literal_singleton?; end
|
805
|
+
def failure_message; end
|
806
|
+
def failure_message_when_negated; end
|
807
|
+
def inspect_object(o); end
|
808
|
+
def match(expected, actual); end
|
809
|
+
def simple_failure_message; end
|
810
|
+
end
|
811
|
+
class RSpec::Matchers::BuiltIn::Exist < RSpec::Matchers::BuiltIn::BaseMatcher
|
812
|
+
def does_not_match?(actual); end
|
813
|
+
def failure_message; end
|
814
|
+
def failure_message_when_negated; end
|
815
|
+
def initialize(*expected); end
|
816
|
+
def matches?(actual); end
|
817
|
+
end
|
818
|
+
class Anonymous_Struct_3 < Struct
|
819
|
+
def actual; end
|
820
|
+
def actual=(_); end
|
821
|
+
def expected; end
|
822
|
+
def expected=(_); end
|
823
|
+
def self.[](*arg0); end
|
824
|
+
def self.inspect; end
|
825
|
+
def self.members; end
|
826
|
+
def self.new(*arg0); end
|
827
|
+
end
|
828
|
+
class RSpec::Matchers::BuiltIn::Exist::ExistenceTest < Anonymous_Struct_3
|
829
|
+
def actual_exists?; end
|
830
|
+
def deprecated(predicate, actual); end
|
831
|
+
def existence_values; end
|
832
|
+
def predicates; end
|
833
|
+
def uniq_truthy_values; end
|
834
|
+
def valid_test?; end
|
835
|
+
def validity_message; end
|
836
|
+
end
|
837
|
+
class RSpec::Matchers::BuiltIn::HaveAttributes < RSpec::Matchers::BuiltIn::BaseMatcher
|
838
|
+
def actual; end
|
839
|
+
def actual_has_attribute?(attribute_key, attribute_value); end
|
840
|
+
def cache_all_values; end
|
841
|
+
def description; end
|
842
|
+
def diffable?; end
|
843
|
+
def does_not_match?(actual); end
|
844
|
+
def failure_message; end
|
845
|
+
def failure_message_when_negated; end
|
846
|
+
def formatted_values; end
|
847
|
+
def initialize(expected); end
|
848
|
+
def matches?(actual); end
|
849
|
+
def perform_match(predicate); end
|
850
|
+
def respond_to_attributes?; end
|
851
|
+
def respond_to_failed; end
|
852
|
+
def respond_to_failure_message_or; end
|
853
|
+
def respond_to_matcher; end
|
854
|
+
end
|
855
|
+
module RSpec::Matchers::BuiltIn::CountExpectation
|
856
|
+
def at_least(number); end
|
857
|
+
def at_most(number); end
|
858
|
+
def count_constraint_to_number(n); end
|
859
|
+
def count_expectation_description; end
|
860
|
+
def count_expectation_type; end
|
861
|
+
def count_failure_reason(action); end
|
862
|
+
def cover?(count, number); end
|
863
|
+
def exactly(number); end
|
864
|
+
def expected_count; end
|
865
|
+
def expected_count_matches?(actual_count); end
|
866
|
+
def has_expected_count?; end
|
867
|
+
def human_readable_count(count); end
|
868
|
+
def human_readable_expectation_type; end
|
869
|
+
def once; end
|
870
|
+
def raise_impossible_count_expectation(count); end
|
871
|
+
def raise_unsupported_count_expectation; end
|
872
|
+
def set_expected_count(relativity, n); end
|
873
|
+
def thrice; end
|
874
|
+
def times; end
|
875
|
+
def twice; end
|
876
|
+
def unsupported_count_expectation?(relativity); end
|
877
|
+
end
|
878
|
+
class RSpec::Matchers::BuiltIn::Include < RSpec::Matchers::BuiltIn::BaseMatcher
|
879
|
+
def actual_collection_includes?(expected_item); end
|
880
|
+
def actual_hash_has_key?(expected_key); end
|
881
|
+
def actual_hash_includes?(expected_key, expected_value); end
|
882
|
+
def check_actual?(actual); end
|
883
|
+
def check_expected_count?; end
|
884
|
+
def comparing_hash_keys?(expected_item); end
|
885
|
+
def comparing_hash_to_a_subset?(expected_item); end
|
886
|
+
def convert_to_hash?(obj); end
|
887
|
+
def count_enumerable(expected_item); end
|
888
|
+
def count_inclusions; end
|
889
|
+
def description; end
|
890
|
+
def diff_would_wrongly_highlight_matched_item?; end
|
891
|
+
def diffable?; end
|
892
|
+
def does_not_match?(actual); end
|
893
|
+
def excluded_from_actual; end
|
894
|
+
def expected; end
|
895
|
+
def expecteds; end
|
896
|
+
def failure_message; end
|
897
|
+
def failure_message_when_negated; end
|
898
|
+
def format_failure_message(preposition); end
|
899
|
+
def initialize(*expecteds); end
|
900
|
+
def matches?(actual); end
|
901
|
+
def perform_match(&block); end
|
902
|
+
def readable_list_of(items); end
|
903
|
+
include RSpec::Matchers::BuiltIn::CountExpectation
|
904
|
+
end
|
905
|
+
class RSpec::Matchers::BuiltIn::All < RSpec::Matchers::BuiltIn::BaseMatcher
|
906
|
+
def add_new_line_if_needed(message); end
|
907
|
+
def description; end
|
908
|
+
def does_not_match?(_actual); end
|
909
|
+
def failed_objects; end
|
910
|
+
def failure_message; end
|
911
|
+
def failure_message_for_item(index, failure_message); end
|
912
|
+
def indent_multiline_message(message); end
|
913
|
+
def index_failed_objects; end
|
914
|
+
def initialize(matcher); end
|
915
|
+
def initialize_copy(other); end
|
916
|
+
def iterable?; end
|
917
|
+
def match(_expected, _actual); end
|
918
|
+
def matcher; end
|
919
|
+
end
|
920
|
+
class RSpec::Matchers::BuiltIn::Match < RSpec::Matchers::BuiltIn::BaseMatcher
|
921
|
+
def can_safely_call_match?(expected, actual); end
|
922
|
+
def description; end
|
923
|
+
def diffable?; end
|
924
|
+
def initialize(expected); end
|
925
|
+
def match(expected, actual); end
|
926
|
+
def match_captures(expected, actual); end
|
927
|
+
def with_captures(*captures); end
|
928
|
+
end
|
929
|
+
class RSpec::Matchers::BuiltIn::ReliableMatchData
|
930
|
+
def captures; end
|
931
|
+
def initialize(match_data); end
|
932
|
+
def match_data; end
|
933
|
+
def names; end
|
934
|
+
end
|
935
|
+
class RSpec::Matchers::BuiltIn::OperatorMatcher
|
936
|
+
def !=(_expected); end
|
937
|
+
def !~(_expected); end
|
938
|
+
def <(expected); end
|
939
|
+
def <=(expected); end
|
940
|
+
def ==(expected); end
|
941
|
+
def ===(expected); end
|
942
|
+
def =~(expected); end
|
943
|
+
def >(expected); end
|
944
|
+
def >=(expected); end
|
945
|
+
def description; end
|
946
|
+
def eval_match(actual, operator, expected); end
|
947
|
+
def fail_with_message(message); end
|
948
|
+
def has_non_generic_implementation_of?(op); end
|
949
|
+
def initialize(actual); end
|
950
|
+
def self.get(klass, operator); end
|
951
|
+
def self.register(klass, operator, matcher); end
|
952
|
+
def self.registry; end
|
953
|
+
def self.unregister(klass, operator); end
|
954
|
+
def self.use_custom_matcher_or_delegate(operator); end
|
955
|
+
end
|
956
|
+
class RSpec::Matchers::BuiltIn::PositiveOperatorMatcher < RSpec::Matchers::BuiltIn::OperatorMatcher
|
957
|
+
def __delegate_operator(actual, operator, expected); end
|
958
|
+
end
|
959
|
+
class RSpec::Matchers::BuiltIn::NegativeOperatorMatcher < RSpec::Matchers::BuiltIn::OperatorMatcher
|
960
|
+
def __delegate_operator(actual, operator, expected); end
|
961
|
+
end
|
962
|
+
class RSpec::Matchers::BuiltIn::Output < RSpec::Matchers::BuiltIn::BaseMatcher
|
963
|
+
def actual_output_description; end
|
964
|
+
def captured?; end
|
965
|
+
def description; end
|
966
|
+
def diffable?; end
|
967
|
+
def does_not_match?(block); end
|
968
|
+
def failure_message; end
|
969
|
+
def failure_message_when_negated; end
|
970
|
+
def initialize(expected); end
|
971
|
+
def matches?(block); end
|
972
|
+
def negative_failure_reason; end
|
973
|
+
def positive_failure_reason; end
|
974
|
+
def supports_block_expectations?; end
|
975
|
+
def to_stderr; end
|
976
|
+
def to_stderr_from_any_process; end
|
977
|
+
def to_stdout; end
|
978
|
+
def to_stdout_from_any_process; end
|
979
|
+
end
|
980
|
+
module RSpec::Matchers::BuiltIn::NullCapture
|
981
|
+
def self.capture(_block); end
|
982
|
+
def self.name; end
|
983
|
+
end
|
984
|
+
module RSpec::Matchers::BuiltIn::CaptureStdout
|
985
|
+
def self.capture(block); end
|
986
|
+
def self.name; end
|
987
|
+
end
|
988
|
+
module RSpec::Matchers::BuiltIn::CaptureStderr
|
989
|
+
def self.capture(block); end
|
990
|
+
def self.name; end
|
991
|
+
end
|
992
|
+
class Anonymous_Struct_4 < Struct
|
993
|
+
def name; end
|
994
|
+
def name=(_); end
|
995
|
+
def self.[](*arg0); end
|
996
|
+
def self.inspect; end
|
997
|
+
def self.members; end
|
998
|
+
def self.new(*arg0); end
|
999
|
+
def stream; end
|
1000
|
+
def stream=(_); end
|
1001
|
+
end
|
1002
|
+
class RSpec::Matchers::BuiltIn::CaptureStreamToTempfile < Anonymous_Struct_4
|
1003
|
+
def capture(block); end
|
1004
|
+
end
|
1005
|
+
class RSpec::Matchers::BuiltIn::RaiseError
|
1006
|
+
def block_matches?; end
|
1007
|
+
def description; end
|
1008
|
+
def does_not_match?(given_proc); end
|
1009
|
+
def error_and_message_match?; end
|
1010
|
+
def eval_block; end
|
1011
|
+
def expectation_matched?; end
|
1012
|
+
def expected_error; end
|
1013
|
+
def expecting_specific_exception?; end
|
1014
|
+
def expects_call_stack_jump?; end
|
1015
|
+
def failure_message; end
|
1016
|
+
def failure_message_when_negated; end
|
1017
|
+
def format_backtrace(backtrace); end
|
1018
|
+
def given_error; end
|
1019
|
+
def handle_warning(message); end
|
1020
|
+
def initialize(expected_error_or_message, expected_message, &block); end
|
1021
|
+
def matches?(given_proc, negative_expectation = nil, &block); end
|
1022
|
+
def raise_message_already_set; end
|
1023
|
+
def ready_to_eval_block?; end
|
1024
|
+
def supports_block_expectations?; end
|
1025
|
+
def verify_message; end
|
1026
|
+
def warn_about_bare_error!; end
|
1027
|
+
def warn_about_bare_error?; end
|
1028
|
+
def warn_about_negative_false_positive!(expression); end
|
1029
|
+
def warn_about_nil_error!; end
|
1030
|
+
def warn_about_nil_error?; end
|
1031
|
+
def warn_for_negative_false_positives!; end
|
1032
|
+
def warning; end
|
1033
|
+
def with_message(expected_message); end
|
1034
|
+
include RSpec::Matchers::Composable
|
1035
|
+
end
|
1036
|
+
class RSpec::Matchers::BuiltIn::RespondTo < RSpec::Matchers::BuiltIn::BaseMatcher
|
1037
|
+
def and_any_keywords; end
|
1038
|
+
def and_keywords(*keywords); end
|
1039
|
+
def and_unlimited_arguments; end
|
1040
|
+
def argument; end
|
1041
|
+
def arguments; end
|
1042
|
+
def description; end
|
1043
|
+
def does_not_match?(actual); end
|
1044
|
+
def failure_message; end
|
1045
|
+
def failure_message_when_negated; end
|
1046
|
+
def find_failing_method_names(actual, filter_method); end
|
1047
|
+
def ignoring_method_signature_failure!; end
|
1048
|
+
def initialize(*names); end
|
1049
|
+
def matches?(actual); end
|
1050
|
+
def matches_arity?(actual, name); end
|
1051
|
+
def pp_names; end
|
1052
|
+
def with(n); end
|
1053
|
+
def with_any_keywords; end
|
1054
|
+
def with_arity; end
|
1055
|
+
def with_arity_string; end
|
1056
|
+
def with_keywords(*keywords); end
|
1057
|
+
def with_keywords_string; end
|
1058
|
+
def with_unlimited_arguments; end
|
1059
|
+
end
|
1060
|
+
class RSpec::Matchers::BuiltIn::RespondTo::ArityCheck
|
1061
|
+
def initialize(expected_arity, expected_keywords, arbitrary_keywords, unlimited_arguments); end
|
1062
|
+
def matches?(actual, name); end
|
1063
|
+
def method_signature_for(actual, name); end
|
1064
|
+
def verifier_for(actual, name); end
|
1065
|
+
end
|
1066
|
+
class RSpec::Matchers::BuiltIn::Satisfy < RSpec::Matchers::BuiltIn::BaseMatcher
|
1067
|
+
def block_representation; end
|
1068
|
+
def description; end
|
1069
|
+
def extract_block_snippet; end
|
1070
|
+
def failure_message; end
|
1071
|
+
def failure_message_when_negated; end
|
1072
|
+
def initialize(description = nil, &block); end
|
1073
|
+
def matches?(actual, &block); end
|
1074
|
+
end
|
1075
|
+
class RSpec::Matchers::BuiltIn::ThrowSymbol
|
1076
|
+
def actual_result; end
|
1077
|
+
def caught; end
|
1078
|
+
def description; end
|
1079
|
+
def does_not_match?(given_proc); end
|
1080
|
+
def expected(symbol_desc = nil); end
|
1081
|
+
def expects_call_stack_jump?; end
|
1082
|
+
def failure_message; end
|
1083
|
+
def failure_message_when_negated; end
|
1084
|
+
def initialize(expected_symbol = nil, expected_arg = nil); end
|
1085
|
+
def matches?(given_proc); end
|
1086
|
+
def supports_block_expectations?; end
|
1087
|
+
def throw_description(symbol, arg); end
|
1088
|
+
include RSpec::Matchers::Composable
|
1089
|
+
end
|
1090
|
+
class RSpec::Matchers::BuiltIn::YieldProbe
|
1091
|
+
def assert_used!; end
|
1092
|
+
def assert_valid_expect_block!; end
|
1093
|
+
def has_block?; end
|
1094
|
+
def initialize(block, &callback); end
|
1095
|
+
def num_yields; end
|
1096
|
+
def num_yields=(arg0); end
|
1097
|
+
def probe; end
|
1098
|
+
def self.probe(block, &callback); end
|
1099
|
+
def single_yield_args; end
|
1100
|
+
def to_proc; end
|
1101
|
+
def yielded_args; end
|
1102
|
+
def yielded_args=(arg0); end
|
1103
|
+
def yielded_once?(matcher_name); end
|
1104
|
+
end
|
1105
|
+
class RSpec::Matchers::BuiltIn::YieldControl < RSpec::Matchers::BuiltIn::BaseMatcher
|
1106
|
+
def does_not_match?(block); end
|
1107
|
+
def failure_message; end
|
1108
|
+
def failure_message_when_negated; end
|
1109
|
+
def failure_reason; end
|
1110
|
+
def matches?(block); end
|
1111
|
+
def supports_block_expectations?; end
|
1112
|
+
include RSpec::Matchers::BuiltIn::CountExpectation
|
1113
|
+
end
|
1114
|
+
class RSpec::Matchers::BuiltIn::YieldWithNoArgs < RSpec::Matchers::BuiltIn::BaseMatcher
|
1115
|
+
def does_not_match?(block); end
|
1116
|
+
def failure_message; end
|
1117
|
+
def failure_message_when_negated; end
|
1118
|
+
def matches?(block); end
|
1119
|
+
def negative_failure_reason; end
|
1120
|
+
def positive_failure_reason; end
|
1121
|
+
def supports_block_expectations?; end
|
1122
|
+
end
|
1123
|
+
class RSpec::Matchers::BuiltIn::YieldWithArgs < RSpec::Matchers::BuiltIn::BaseMatcher
|
1124
|
+
def all_args_match?; end
|
1125
|
+
def args_currently_match?; end
|
1126
|
+
def description; end
|
1127
|
+
def does_not_match?(block); end
|
1128
|
+
def expected_arg_description; end
|
1129
|
+
def failure_message; end
|
1130
|
+
def failure_message_when_negated; end
|
1131
|
+
def initialize(*args); end
|
1132
|
+
def matches?(block); end
|
1133
|
+
def negative_failure_reason; end
|
1134
|
+
def positive_failure_reason; end
|
1135
|
+
def supports_block_expectations?; end
|
1136
|
+
end
|
1137
|
+
class RSpec::Matchers::BuiltIn::YieldSuccessiveArgs < RSpec::Matchers::BuiltIn::BaseMatcher
|
1138
|
+
def description; end
|
1139
|
+
def does_not_match?(block); end
|
1140
|
+
def expected_arg_description; end
|
1141
|
+
def failure_message; end
|
1142
|
+
def failure_message_when_negated; end
|
1143
|
+
def initialize(*args); end
|
1144
|
+
def matches?(block); end
|
1145
|
+
def negative_failure_reason; end
|
1146
|
+
def positive_failure_reason; end
|
1147
|
+
def supports_block_expectations?; end
|
1148
|
+
end
|