dry-monads-sorbet 1.1.5 → 1.1.6.pre

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.
Files changed (72) hide show
  1. checksums.yaml +4 -4
  2. data/.github/workflows/ci.yml +7 -3
  3. data/.ruby-version +1 -1
  4. data/CHANGELOG.md +4 -0
  5. data/lib/bundled_rbi/dry-monads.rbi +3 -7
  6. data/lib/dry-monads-sorbet.rb +1 -0
  7. data/lib/dry-monads-sorbet/railtie.rb +1 -0
  8. data/lib/dry/monads/sorbet/version.rb +2 -1
  9. data/sorbet/config +4 -0
  10. data/sorbet/rbi/gems/activesupport.rbi +1722 -0
  11. data/sorbet/rbi/gems/ast.rbi +48 -0
  12. data/sorbet/rbi/gems/byebug.rbi +1041 -0
  13. data/sorbet/rbi/gems/coderay.rbi +285 -0
  14. data/sorbet/rbi/gems/concurrent-ruby.rbi +1586 -0
  15. data/sorbet/rbi/gems/docile.rbi +32 -0
  16. data/sorbet/rbi/gems/dry-core.rbi +38 -0
  17. data/sorbet/rbi/gems/dry-equalizer.rbi +26 -0
  18. data/sorbet/rbi/gems/dry-monads.rbi +510 -0
  19. data/sorbet/rbi/gems/em-websocket.rbi +225 -0
  20. data/sorbet/rbi/gems/eventmachine.rbi +489 -0
  21. data/sorbet/rbi/gems/ffaker.rbi +60 -0
  22. data/sorbet/rbi/gems/guard.rbi +397 -0
  23. data/sorbet/rbi/gems/http_parser.rb.rbi +37 -0
  24. data/sorbet/rbi/gems/i18n.rbi +133 -0
  25. data/sorbet/rbi/gems/kwalify.rbi +340 -0
  26. data/sorbet/rbi/gems/listen.rbi +324 -0
  27. data/sorbet/rbi/gems/lumberjack.rbi +300 -0
  28. data/sorbet/rbi/gems/method_source.rbi +64 -0
  29. data/sorbet/rbi/gems/multi_json.rbi +62 -0
  30. data/sorbet/rbi/gems/nenv.rbi +60 -0
  31. data/sorbet/rbi/gems/notiffany.rbi +215 -0
  32. data/sorbet/rbi/gems/parallel.rbi +82 -0
  33. data/sorbet/rbi/gems/parser.rbi +1846 -0
  34. data/sorbet/rbi/gems/pry-byebug.rbi +155 -0
  35. data/sorbet/rbi/gems/pry.rbi +1949 -0
  36. data/sorbet/rbi/gems/rainbow.rbi +118 -0
  37. data/sorbet/rbi/gems/rake.rbi +648 -0
  38. data/sorbet/rbi/gems/rb-fsevent.rbi +31 -0
  39. data/sorbet/rbi/gems/rb-readline.rbi +767 -0
  40. data/sorbet/rbi/gems/reek.rbi +1027 -0
  41. data/sorbet/rbi/gems/regexp_parser.rbi +913 -0
  42. data/sorbet/rbi/gems/rexml.rbi +605 -0
  43. data/sorbet/rbi/gems/rspec-core.rbi +1913 -0
  44. data/sorbet/rbi/gems/rspec-expectations.rbi +1123 -0
  45. data/sorbet/rbi/gems/rspec-mocks.rbi +1099 -0
  46. data/sorbet/rbi/gems/rspec-support.rbi +280 -0
  47. data/sorbet/rbi/gems/rspec.rbi +15 -0
  48. data/sorbet/rbi/gems/rubocop-ast.rbi +1053 -0
  49. data/sorbet/rbi/gems/rubocop-rspec.rbi +937 -0
  50. data/sorbet/rbi/gems/rubocop.rbi +6841 -0
  51. data/sorbet/rbi/gems/ruby-progressbar.rbi +305 -0
  52. data/sorbet/rbi/gems/shellany.rbi +29 -0
  53. data/sorbet/rbi/gems/shoulda-matchers.rbi +1848 -0
  54. data/sorbet/rbi/gems/simplecov-html.rbi +35 -0
  55. data/sorbet/rbi/gems/simplecov.rbi +361 -0
  56. data/sorbet/rbi/gems/sqlite3.rbi +354 -0
  57. data/sorbet/rbi/gems/stackprof.rbi +52 -0
  58. data/sorbet/rbi/gems/thor.rbi +32 -0
  59. data/sorbet/rbi/gems/thread_safe.rbi +82 -0
  60. data/sorbet/rbi/gems/timecop.rbi +98 -0
  61. data/sorbet/rbi/gems/tzinfo.rbi +406 -0
  62. data/sorbet/rbi/gems/unicode-display_width.rbi +17 -0
  63. data/sorbet/rbi/hidden-definitions/errors.txt +7267 -0
  64. data/sorbet/rbi/hidden-definitions/hidden.rbi +14661 -0
  65. data/sorbet/rbi/sorbet-typed/lib/activesupport/>=6.0.0.rc1/activesupport.rbi +23 -0
  66. data/sorbet/rbi/sorbet-typed/lib/activesupport/all/activesupport.rbi +1431 -0
  67. data/sorbet/rbi/sorbet-typed/lib/minitest/all/minitest.rbi +108 -0
  68. data/sorbet/rbi/sorbet-typed/lib/rainbow/all/rainbow.rbi +276 -0
  69. data/sorbet/rbi/sorbet-typed/lib/rubocop-rspec/~>1.39/rubocop-rspec.rbi +398 -0
  70. data/sorbet/rbi/sorbet-typed/lib/rubocop/~>0.85/rubocop.rbi +2072 -0
  71. data/sorbet/rbi/todo.rbi +8 -0
  72. metadata +71 -8
@@ -0,0 +1,305 @@
1
+ # This file is autogenerated. Do not edit it by hand. Regenerate it with:
2
+ # srb rbi gems
3
+
4
+ # typed: strict
5
+ #
6
+ # If you would like to make changes to this file, great! Please create the gem's shim here:
7
+ #
8
+ # https://github.com/sorbet/sorbet-typed/new/master?filename=lib/ruby-progressbar/all/ruby-progressbar.rbi
9
+ #
10
+ # ruby-progressbar-1.10.1
11
+
12
+ class ProgressBar
13
+ def self.create(*args); end
14
+ end
15
+ class ProgressBar::Output
16
+ def bar; end
17
+ def bar=(arg0); end
18
+ def clear_string; end
19
+ def initialize(options = nil); end
20
+ def length; end
21
+ def length_calculator; end
22
+ def length_calculator=(arg0); end
23
+ def log(string); end
24
+ def print_and_flush; end
25
+ def refresh(options = nil); end
26
+ def self.detect(options = nil); end
27
+ def stream; end
28
+ def stream=(arg0); end
29
+ def throttle; end
30
+ def throttle=(arg0); end
31
+ def with_refresh; end
32
+ end
33
+ module ProgressBar::Outputs
34
+ end
35
+ class ProgressBar::Outputs::Tty < ProgressBar::Output
36
+ def bar_update_string; end
37
+ def clear; end
38
+ def default_format; end
39
+ def eol; end
40
+ def refresh_with_format_change; end
41
+ def resolve_format(other_format); end
42
+ end
43
+ class ProgressBar::Outputs::NonTty < ProgressBar::Output
44
+ def bar_update_string; end
45
+ def clear; end
46
+ def default_format; end
47
+ def eol; end
48
+ def last_update_length; end
49
+ def last_update_length=(arg0); end
50
+ def refresh_with_format_change(*arg0); end
51
+ def resolve_format(*arg0); end
52
+ end
53
+ class ProgressBar::Time
54
+ def initialize(time = nil); end
55
+ def now; end
56
+ def time; end
57
+ def time=(arg0); end
58
+ def unmocked_time_method; end
59
+ end
60
+ class ProgressBar::Timer
61
+ def divide_seconds(seconds); end
62
+ def elapsed_seconds; end
63
+ def elapsed_whole_seconds; end
64
+ def initialize(options = nil); end
65
+ def pause; end
66
+ def reset; end
67
+ def reset?; end
68
+ def restart; end
69
+ def resume; end
70
+ def start; end
71
+ def started?; end
72
+ def started_at; end
73
+ def started_at=(arg0); end
74
+ def stop; end
75
+ def stopped?; end
76
+ def stopped_at; end
77
+ def stopped_at=(arg0); end
78
+ def time; end
79
+ def time=(arg0); end
80
+ end
81
+ class ProgressBar::InvalidProgressError < RuntimeError
82
+ end
83
+ class ProgressBar::Progress
84
+ def absolute; end
85
+ def decrement; end
86
+ def finish; end
87
+ def finished?; end
88
+ def increment; end
89
+ def initialize(options = nil); end
90
+ def none?; end
91
+ def percentage_completed; end
92
+ def percentage_completed_with_precision; end
93
+ def progress; end
94
+ def progress=(new_progress); end
95
+ def reset; end
96
+ def running_average; end
97
+ def running_average=(arg0); end
98
+ def smoothing; end
99
+ def smoothing=(arg0); end
100
+ def start(options = nil); end
101
+ def starting_position; end
102
+ def starting_position=(arg0); end
103
+ def total; end
104
+ def total=(new_total); end
105
+ def total_with_unknown_indicator; end
106
+ def unknown?; end
107
+ end
108
+ class ProgressBar::Throttle
109
+ def choke(options = nil); end
110
+ def initialize(options = nil); end
111
+ def rate; end
112
+ def rate=(arg0); end
113
+ def started_at; end
114
+ def started_at=(arg0); end
115
+ def stopped_at; end
116
+ def stopped_at=(arg0); end
117
+ def timer; end
118
+ def timer=(arg0); end
119
+ end
120
+ module ProgressBar::Calculators
121
+ end
122
+ class ProgressBar::Calculators::Length
123
+ def calculate_length; end
124
+ def current_length; end
125
+ def current_length=(arg0); end
126
+ def dynamic_width; end
127
+ def dynamic_width_stty; end
128
+ def dynamic_width_tput; end
129
+ def dynamic_width_via_io_object; end
130
+ def dynamic_width_via_output_stream_object; end
131
+ def dynamic_width_via_system_calls; end
132
+ def initialize(options = nil); end
133
+ def length; end
134
+ def length_changed?; end
135
+ def length_override; end
136
+ def length_override=(other); end
137
+ def output; end
138
+ def output=(arg0); end
139
+ def reset_length; end
140
+ def terminal_width; end
141
+ def unix?; end
142
+ end
143
+ class ProgressBar::Calculators::RunningAverage
144
+ def self.calculate(current_average, new_value_to_average, smoothing_factor); end
145
+ end
146
+ module ProgressBar::Components
147
+ end
148
+ class ProgressBar::Components::Bar
149
+ def bar(length); end
150
+ def bar_with_percentage(length); end
151
+ def complete_bar(length); end
152
+ def complete_bar_with_percentage(length); end
153
+ def completed_length; end
154
+ def incomplete_space(length); end
155
+ def incomplete_string; end
156
+ def initialize(options = nil); end
157
+ def integrated_percentage_complete_string; end
158
+ def length; end
159
+ def length=(arg0); end
160
+ def progress; end
161
+ def progress=(arg0); end
162
+ def progress_mark; end
163
+ def progress_mark=(arg0); end
164
+ def remainder_mark; end
165
+ def remainder_mark=(arg0); end
166
+ def standard_complete_string; end
167
+ def to_s(options = nil); end
168
+ def unknown_progress_frame; end
169
+ def unknown_string; end
170
+ def upa_steps; end
171
+ def upa_steps=(arg0); end
172
+ end
173
+ class ProgressBar::Components::Percentage
174
+ def initialize(options = nil); end
175
+ def justified_percentage; end
176
+ def justified_percentage_with_precision; end
177
+ def percentage; end
178
+ def percentage_with_precision; end
179
+ def progress; end
180
+ def progress=(arg0); end
181
+ end
182
+ class ProgressBar::Components::Rate
183
+ def base_rate; end
184
+ def elapsed_seconds; end
185
+ def initialize(options = nil); end
186
+ def progress; end
187
+ def progress=(arg0); end
188
+ def rate_of_change(format_string = nil); end
189
+ def rate_of_change_with_precision; end
190
+ def rate_scale; end
191
+ def rate_scale=(arg0); end
192
+ def scaled_rate; end
193
+ def started_at; end
194
+ def started_at=(arg0); end
195
+ def stopped_at; end
196
+ def stopped_at=(arg0); end
197
+ def timer; end
198
+ def timer=(arg0); end
199
+ end
200
+ class ProgressBar::Components::Time
201
+ def elapsed; end
202
+ def elapsed_with_label; end
203
+ def estimated; end
204
+ def estimated_seconds_remaining; end
205
+ def estimated_with_elapsed_fallback; end
206
+ def estimated_with_friendly_oob; end
207
+ def estimated_with_label; end
208
+ def estimated_with_no_oob; end
209
+ def estimated_with_unknown_oob; end
210
+ def initialize(options = nil); end
211
+ def out_of_bounds_time; end
212
+ def out_of_bounds_time_format; end
213
+ def out_of_bounds_time_format=(format); end
214
+ def progress; end
215
+ def progress=(arg0); end
216
+ def timer; end
217
+ def timer=(arg0); end
218
+ end
219
+ class ProgressBar::Components::Title
220
+ def initialize(options = nil); end
221
+ def title; end
222
+ def title=(arg0); end
223
+ end
224
+ module ProgressBar::Format
225
+ end
226
+ class ProgressBar::Format::Molecule
227
+ def bar_molecule?; end
228
+ def full_key; end
229
+ def initialize(letter); end
230
+ def key; end
231
+ def key=(arg0); end
232
+ def lookup_value(environment, length = nil); end
233
+ def method_name; end
234
+ def method_name=(arg0); end
235
+ def non_bar_molecule?; end
236
+ end
237
+ class ProgressBar::Format::Formatter
238
+ def self.process(format_string, max_length, bar); end
239
+ end
240
+ class ProgressBar::Format::String < String
241
+ def bar_molecule_placeholder_length; end
242
+ def bar_molecules; end
243
+ def displayable_length; end
244
+ def molecules; end
245
+ def non_bar_molecules; end
246
+ end
247
+ class ProgressBar::Base
248
+ def autofinish; end
249
+ def autofinish=(arg0); end
250
+ def autostart; end
251
+ def autostart=(arg0); end
252
+ def bar; end
253
+ def bar=(arg0); end
254
+ def clear(*args, &block); end
255
+ def decrement; end
256
+ def finish; end
257
+ def finished; end
258
+ def finished=(arg0); end
259
+ def finished?; end
260
+ def format(other); end
261
+ def format=(other); end
262
+ def increment; end
263
+ def initialize(options = nil); end
264
+ def inspect; end
265
+ def log(*args, &block); end
266
+ def output; end
267
+ def output=(arg0); end
268
+ def pause; end
269
+ def paused?; end
270
+ def percentage; end
271
+ def percentage=(arg0); end
272
+ def progress(*args, &block); end
273
+ def progress=(new_progress); end
274
+ def progress_mark=(mark); end
275
+ def progressable; end
276
+ def progressable=(arg0); end
277
+ def rate; end
278
+ def rate=(arg0); end
279
+ def refresh(*args, &block); end
280
+ def remainder_mark=(mark); end
281
+ def reset; end
282
+ def resume; end
283
+ def start(options = nil); end
284
+ def started?; end
285
+ def stop; end
286
+ def stopped?; end
287
+ def time; end
288
+ def time=(arg0); end
289
+ def timer; end
290
+ def timer=(arg0); end
291
+ def title; end
292
+ def title=(title); end
293
+ def title_comp; end
294
+ def title_comp=(arg0); end
295
+ def to_h; end
296
+ def to_s(new_format = nil); end
297
+ def total(*args, &block); end
298
+ def total=(new_total); end
299
+ def update_progress(*args); end
300
+ extend Forwardable
301
+ end
302
+ module ProgressBar::Refinements
303
+ end
304
+ module ProgressBar::Refinements::Enumerator
305
+ end
@@ -0,0 +1,29 @@
1
+ # This file is autogenerated. Do not edit it by hand. Regenerate it with:
2
+ # srb rbi gems
3
+
4
+ # typed: strict
5
+ #
6
+ # If you would like to make changes to this file, great! Please create the gem's shim here:
7
+ #
8
+ # https://github.com/sorbet/sorbet-typed/new/master?filename=lib/shellany/all/shellany.rbi
9
+ #
10
+ # shellany-0.0.1
11
+
12
+ module Shellany
13
+ end
14
+ class Shellany::Sheller
15
+ def initialize(*args); end
16
+ def ok?; end
17
+ def ran?; end
18
+ def run; end
19
+ def self._shellize_if_needed(args); end
20
+ def self._system_with_capture(*args); end
21
+ def self._system_with_no_capture(*args); end
22
+ def self.run(*args); end
23
+ def self.stderr(*args); end
24
+ def self.stdout(*args); end
25
+ def self.system(*args); end
26
+ def status; end
27
+ def stderr; end
28
+ def stdout; end
29
+ end
@@ -0,0 +1,1848 @@
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/shoulda-matchers/all/shoulda-matchers.rbi
9
+ #
10
+ # shoulda-matchers-4.3.0
11
+
12
+ module Shoulda
13
+ end
14
+ module Shoulda::Matchers
15
+ def self.assertion_exception_class; end
16
+ def self.assertion_exception_class=(arg0); end
17
+ def self.configuration; end
18
+ def self.configure; end
19
+ def self.integrations; end
20
+ def self.warn(message); end
21
+ def self.warn_about_deprecated_method(old_method, new_method); end
22
+ extend Shoulda::Matchers::WordWrap
23
+ end
24
+ class Shoulda::Matchers::Configuration
25
+ def initialize; end
26
+ def integrate(&block); end
27
+ def integrations; end
28
+ end
29
+ module Shoulda::Matchers::Doublespeak
30
+ def self.debug(&block); end
31
+ def self.debugging_enabled?; end
32
+ def self.double_collection_for(*args, &block); end
33
+ def self.with_doubles_activated(*args, &block); end
34
+ def self.world; end
35
+ end
36
+ class Shoulda::Matchers::Doublespeak::Double
37
+ def activate; end
38
+ def activated?; end
39
+ def call_original_method(call); end
40
+ def calls; end
41
+ def deactivate; end
42
+ def implementation; end
43
+ def initialize(world, klass, method_name, implementation); end
44
+ def klass; end
45
+ def method_name; end
46
+ def original_method; end
47
+ def record_call(call); end
48
+ def replace_method_with_double; end
49
+ def restore_original_method; end
50
+ def store_original_method; end
51
+ def to_return(value = nil, &block); end
52
+ def world; end
53
+ end
54
+ class Shoulda::Matchers::Doublespeak::DoubleCollection
55
+ def activate; end
56
+ def calls_by_method_name; end
57
+ def calls_to(method_name); end
58
+ def deactivate; end
59
+ def doubles_by_method_name; end
60
+ def initialize(world, klass); end
61
+ def klass; end
62
+ def register_double(method_name, implementation_type); end
63
+ def register_proxy(method_name); end
64
+ def register_stub(method_name); end
65
+ def world; end
66
+ end
67
+ module Shoulda::Matchers::Doublespeak::DoubleImplementationRegistry
68
+ def self.find(type); end
69
+ def self.find_class!(type); end
70
+ def self.register(klass, type); end
71
+ end
72
+ class Shoulda::Matchers::Doublespeak::MethodCall
73
+ def ==(other); end
74
+ def args; end
75
+ def block; end
76
+ def caller; end
77
+ def double; end
78
+ def initialize(args); end
79
+ def inspect; end
80
+ def method_name; end
81
+ def object; end
82
+ def return_value; end
83
+ def return_value=(arg0); end
84
+ def to_hash; end
85
+ def with_return_value(return_value); end
86
+ end
87
+ class Shoulda::Matchers::Doublespeak::ObjectDouble < BasicObject
88
+ def calls; end
89
+ def calls_by_method_name; end
90
+ def calls_to(method_name); end
91
+ def initialize; end
92
+ def method_missing(method_name, *args, &block); end
93
+ def respond_to?(_name, _include_private = nil); end
94
+ def respond_to_missing?(_name, _include_all); end
95
+ end
96
+ class Shoulda::Matchers::Doublespeak::ProxyImplementation
97
+ def call(call); end
98
+ def initialize(stub_implementation); end
99
+ def returns(*args, &block); end
100
+ def self.create; end
101
+ def stub_implementation; end
102
+ extend Forwardable
103
+ end
104
+ class Shoulda::Matchers::Doublespeak::StubImplementation
105
+ def call(call); end
106
+ def implementation; end
107
+ def initialize; end
108
+ def returns(value = nil, &block); end
109
+ def self.create; end
110
+ end
111
+ class Shoulda::Matchers::Doublespeak::World
112
+ def activate; end
113
+ def deactivate; end
114
+ def double_collection_for(klass); end
115
+ def double_collections_by_class; end
116
+ def doubles_activated?; end
117
+ def initialize; end
118
+ def original_method_for(klass, method_name); end
119
+ def original_methods_by_class; end
120
+ def original_methods_for_class(klass); end
121
+ def store_original_method_for(klass, method_name); end
122
+ def with_doubles_activated; end
123
+ end
124
+ class Shoulda::Matchers::Error < StandardError
125
+ def initialize(*args); end
126
+ def inspect; end
127
+ def message; end
128
+ def self.create(attributes); end
129
+ end
130
+ class Shoulda::Matchers::MatcherContext
131
+ def assume_that_subject_is_not_a_class; end
132
+ def context; end
133
+ def initialize(context); end
134
+ def inside_a_shoulda_context_project?; end
135
+ def outside_a_should_block?; end
136
+ def subject_is_a_class?; end
137
+ end
138
+ module Shoulda::Matchers::Independent
139
+ def delegate_method(delegating_method); end
140
+ end
141
+ class Shoulda::Matchers::Independent::DelegateMethodMatcher
142
+ def allow_nil; end
143
+ def as(delegate_method); end
144
+ def build_delegating_method_prefix(prefix); end
145
+ def call_delegating_method_with_delegate_method_returning(value); end
146
+ def calls_on_delegate_object; end
147
+ def calls_to_delegate_method; end
148
+ def class_or_instance_method_indicator; end
149
+ def class_under_test; end
150
+ def context; end
151
+ def delegate_method; end
152
+ def delegate_object; end
153
+ def delegate_object_reader_method; end
154
+ def delegate_object_received_call?; end
155
+ def delegate_object_received_call_with_delegated_arguments?; end
156
+ def delegated_arguments; end
157
+ def delegating_method; end
158
+ def description; end
159
+ def ensure_delegate_object_has_been_specified!; end
160
+ def expects_to_allow_nil_delegate_object?; end
161
+ def failed_to_allow_nil_delegate_object?; end
162
+ def failure_message; end
163
+ def failure_message_when_negated; end
164
+ def formatted_calls_on_delegate_object; end
165
+ def formatted_delegate_method(options = nil); end
166
+ def formatted_delegate_object_reader_method_name(options = nil); end
167
+ def formatted_delegating_method_name(options = nil); end
168
+ def formatted_method_name_for(method_name, options); end
169
+ def in_context(context); end
170
+ def initialize(delegating_method); end
171
+ def matches?(subject); end
172
+ def method; end
173
+ def possible_class_under_test(options); end
174
+ def register_subject_double_collection_to(returned_value); end
175
+ def subject; end
176
+ def subject_delegates_to_delegate_object_correctly?; end
177
+ def subject_handles_nil_delegate_object?; end
178
+ def subject_has_delegate_object_reader_method?; end
179
+ def subject_has_delegating_method?; end
180
+ def subject_is_a_class?; end
181
+ def to(delegate_object_reader_method); end
182
+ def with_arguments(*arguments); end
183
+ def with_prefix(prefix = nil); end
184
+ end
185
+ class Shoulda::Matchers::Independent::DelegateMethodMatcher::StubbedTarget
186
+ def has_received_arguments?(*args); end
187
+ def has_received_method?; end
188
+ def initialize(method); end
189
+ def received_arguments; end
190
+ def received_method; end
191
+ def stub_method(method); end
192
+ end
193
+ class Shoulda::Matchers::Independent::DelegateMethodMatcher::DelegateObjectNotSpecified < StandardError
194
+ def message; end
195
+ end
196
+ module Shoulda::Matchers::Integrations
197
+ def self.find_library!(name); end
198
+ def self.find_test_framework!(name); end
199
+ def self.library_registry; end
200
+ def self.register_library(klass, name); end
201
+ def self.register_test_framework(klass, name); end
202
+ def self.test_framework_registry; end
203
+ end
204
+ class Shoulda::Matchers::Integrations::Configuration
205
+ def apply; end
206
+ def clear_default_test_framework; end
207
+ def initialize(&block); end
208
+ def library(name); end
209
+ def no_libraries_added?; end
210
+ def no_test_frameworks_added?; end
211
+ def self.apply(&block); end
212
+ def test_framework(name); end
213
+ def test_frameworks; end
214
+ end
215
+ class Shoulda::Matchers::Integrations::ConfigurationError < StandardError
216
+ end
217
+ module Shoulda::Matchers::Integrations::Inclusion
218
+ def include_into(mod, *other_mods, &block); end
219
+ end
220
+ module Shoulda::Matchers::Integrations::Rails
221
+ def rails?; end
222
+ end
223
+ class Shoulda::Matchers::Integrations::Registry
224
+ def find!(name); end
225
+ def find_class!(name); end
226
+ def register(klass, name); end
227
+ def registry; end
228
+ end
229
+ module Shoulda::Matchers::Integrations::Libraries
230
+ end
231
+ class Shoulda::Matchers::Integrations::Libraries::ActionController
232
+ def integrate_with(test_framework); end
233
+ def matchers_module; end
234
+ include Shoulda::Matchers::Integrations::Inclusion
235
+ include Shoulda::Matchers::Integrations::Rails
236
+ end
237
+ class Shoulda::Matchers::Integrations::Libraries::ActiveModel
238
+ def integrate_with(test_framework); end
239
+ def matchers_module; end
240
+ include Shoulda::Matchers::Integrations::Inclusion
241
+ include Shoulda::Matchers::Integrations::Rails
242
+ end
243
+ class Shoulda::Matchers::Integrations::Libraries::ActiveRecord
244
+ def integrate_with(test_framework); end
245
+ def matchers_module; end
246
+ include Shoulda::Matchers::Integrations::Inclusion
247
+ include Shoulda::Matchers::Integrations::Rails
248
+ end
249
+ class Shoulda::Matchers::Integrations::Libraries::MissingLibrary
250
+ def integrate_with(test_framework); end
251
+ def rails?; end
252
+ end
253
+ class Shoulda::Matchers::Integrations::Libraries::Rails
254
+ def integrate_with(test_framework); end
255
+ include Shoulda::Matchers::Integrations::Rails
256
+ end
257
+ class Shoulda::Matchers::Integrations::Libraries::Routing
258
+ def integrate_with(test_framework); end
259
+ def matchers_module; end
260
+ include Shoulda::Matchers::Integrations::Inclusion
261
+ include Shoulda::Matchers::Integrations::Rails
262
+ end
263
+ module Shoulda::Matchers::Integrations::TestFrameworks
264
+ end
265
+ class Shoulda::Matchers::Integrations::TestFrameworks::ActiveSupportTestCase
266
+ def configuration; end
267
+ def include(*modules, **options); end
268
+ def n_unit?; end
269
+ def present?; end
270
+ def test_case_class; end
271
+ def validate!; end
272
+ end
273
+ class Shoulda::Matchers::Integrations::TestFrameworks::Minitest4
274
+ def include(*modules, **options); end
275
+ def n_unit?; end
276
+ def present?; end
277
+ def test_case_class; end
278
+ def validate!; end
279
+ end
280
+ class Shoulda::Matchers::Integrations::TestFrameworks::Minitest5
281
+ def include(*modules, **options); end
282
+ def n_unit?; end
283
+ def present?; end
284
+ def test_case_class; end
285
+ def validate!; end
286
+ end
287
+ class Shoulda::Matchers::Integrations::TestFrameworks::MissingTestFramework
288
+ def include(*modules, **options); end
289
+ def n_unit?; end
290
+ def present?; end
291
+ def validate!; end
292
+ end
293
+ class Shoulda::Matchers::Integrations::TestFrameworks::Rspec
294
+ def include(*modules, **options); end
295
+ def n_unit?; end
296
+ def present?; end
297
+ def validate!; end
298
+ end
299
+ class Shoulda::Matchers::Integrations::TestFrameworks::TestUnit
300
+ def include(*modules, **options); end
301
+ def n_unit?; end
302
+ def present?; end
303
+ def test_case_class; end
304
+ def validate!; end
305
+ end
306
+ module Shoulda::Matchers::RailsShim
307
+ def self.action_pack_gte_5?; end
308
+ def self.action_pack_lt_5?; end
309
+ def self.action_pack_version; end
310
+ def self.active_record_gte_5?; end
311
+ def self.active_record_version; end
312
+ def self.attribute_serialization_coder_for(model, attribute_name); end
313
+ def self.attribute_type_for(model, attribute_name); end
314
+ def self.attribute_types_for(model); end
315
+ def self.digestible_attributes_in(record); end
316
+ def self.generate_validation_message(record, attribute, type, model_name, options); end
317
+ def self.has_secure_password?(record, attribute_name); end
318
+ def self.make_controller_request(context, verb, action, request_params); end
319
+ def self.parent_of(mod); end
320
+ def self.secure_password_module; end
321
+ def self.serialized_attributes_for(model); end
322
+ def self.simply_generate_validation_message(attribute, type, model_name, options); end
323
+ def self.supports_full_attributes_api?(model); end
324
+ def self.tables_and_views(connection); end
325
+ def self.validation_message_key_for_association_required_option; end
326
+ def self.verb_for_update; end
327
+ end
328
+ class InvalidName___Class_0x00___FakeAttributeType_20
329
+ def attribute_name; end
330
+ def coder; end
331
+ def initialize(model, attribute_name); end
332
+ def model; end
333
+ end
334
+ module Shoulda::Matchers::WordWrap
335
+ def word_wrap(document, options = nil); end
336
+ end
337
+ class Shoulda::Matchers::Document
338
+ def document; end
339
+ def indent; end
340
+ def initialize(document, indent: nil); end
341
+ def paragraphs; end
342
+ def wrap; end
343
+ def wrapped_paragraphs; end
344
+ end
345
+ class Shoulda::Matchers::Text < String
346
+ def indented?; end
347
+ def list_item?; end
348
+ def match_as_list_item; end
349
+ end
350
+ class Shoulda::Matchers::Paragraph
351
+ def combine_list_item_lines(lines); end
352
+ def combine_paragraph_into_one_line; end
353
+ def indent; end
354
+ def initialize(paragraph, indent: nil); end
355
+ def lines; end
356
+ def paragraph; end
357
+ def wrap; end
358
+ def wrap_generic_paragraph; end
359
+ def wrap_lines(lines); end
360
+ def wrap_list_item; end
361
+ end
362
+ class Shoulda::Matchers::Line
363
+ def determine_where_to_break_line(line, args); end
364
+ def indent; end
365
+ def indentation; end
366
+ def initialize(line, indent: nil); end
367
+ def line_to_wrap; end
368
+ def normalize_whitespace(string); end
369
+ def original_line; end
370
+ def previous_line_to_wrap; end
371
+ def read_indentation; end
372
+ def wrap; end
373
+ def wrap_line(line, direction: nil); end
374
+ end
375
+ module Shoulda::Matchers::Util
376
+ def self.a_or_an(next_word); end
377
+ def self.deconstantize(path); end
378
+ def self.dummy_value_for(column_type, array: nil); end
379
+ def self.indent(string, width); end
380
+ def self.inspect_hash(hash); end
381
+ def self.inspect_range(range); end
382
+ def self.inspect_value(value); end
383
+ def self.inspect_values(values); end
384
+ def self.safe_constantize(camel_cased_word); end
385
+ end
386
+ module Shoulda::Matchers::ActionController
387
+ def filter_param(key); end
388
+ def permit(*params); end
389
+ def redirect_to(url_or_description, &block); end
390
+ def render_template(options = nil, message = nil); end
391
+ def render_with_layout(expected_layout = nil); end
392
+ def rescue_from(exception); end
393
+ def respond_with(status); end
394
+ def route(method, path, port: nil); end
395
+ def set_flash; end
396
+ def set_session; end
397
+ def use_after_action(callback); end
398
+ def use_after_filter(callback); end
399
+ def use_around_action(callback); end
400
+ def use_around_filter(callback); end
401
+ def use_before_action(callback); end
402
+ def use_before_filter(callback); end
403
+ end
404
+ class Shoulda::Matchers::ActionController::FilterParamMatcher
405
+ def description; end
406
+ def failure_message; end
407
+ def failure_message_when_negated; end
408
+ def filtered_keys; end
409
+ def filters_key?; end
410
+ def initialize(key); end
411
+ def matches?(controller); end
412
+ end
413
+ class Shoulda::Matchers::ActionController::RouteParams
414
+ def args; end
415
+ def controller_and_action_given_as_string?; end
416
+ def extract_params_from_string; end
417
+ def initialize(args); end
418
+ def normalize; end
419
+ def normalize_values(hash); end
420
+ def stringify(value); end
421
+ def stringify_params; end
422
+ def symbolize_or_stringify(key, value); end
423
+ end
424
+ class Shoulda::Matchers::ActionController::SetFlashMatcher
425
+ def [](key); end
426
+ def description(*args, &block); end
427
+ def expected_value; end
428
+ def failure_message(*args, &block); end
429
+ def failure_message_for_should(*args, &block); end
430
+ def failure_message_for_should_not(*args, &block); end
431
+ def failure_message_when_negated(*args, &block); end
432
+ def in_context(context); end
433
+ def initialize; end
434
+ def key; end
435
+ def matches?(*args, &block); end
436
+ def now; end
437
+ def to(expected_value = nil, &block); end
438
+ def underlying_matcher; end
439
+ extend Forwardable
440
+ end
441
+ class Shoulda::Matchers::ActionController::SetFlashMatcher::QualifierOrderError < StandardError
442
+ def message; end
443
+ end
444
+ class Shoulda::Matchers::ActionController::RenderWithLayoutMatcher
445
+ def description; end
446
+ def expectation; end
447
+ def failure_message; end
448
+ def failure_message_when_negated; end
449
+ def in_context(context); end
450
+ def initialize(expected_layout); end
451
+ def matches?(controller); end
452
+ def recorded_layouts; end
453
+ def rendered_layouts; end
454
+ def rendered_with_expected_layout?; end
455
+ def rendered_with_layout?; end
456
+ def result; end
457
+ end
458
+ class Shoulda::Matchers::ActionController::RespondWithMatcher
459
+ def correct_status_code?; end
460
+ def correct_status_code_range?; end
461
+ def description; end
462
+ def expectation; end
463
+ def failure_message; end
464
+ def failure_message_when_negated; end
465
+ def initialize(status); end
466
+ def matches?(controller); end
467
+ def response_code; end
468
+ def symbol_to_status_code(potential_symbol); end
469
+ end
470
+ class Shoulda::Matchers::ActionController::SetSessionMatcher
471
+ def [](key); end
472
+ def description(*args, &block); end
473
+ def failure_message(*args, &block); end
474
+ def failure_message_for_should(*args, &block); end
475
+ def failure_message_for_should_not(*args, &block); end
476
+ def failure_message_when_negated(*args, &block); end
477
+ def in_context(context); end
478
+ def initialize; end
479
+ def matches?(*args, &block); end
480
+ def to(expected_value = nil, &block); end
481
+ def underlying_matcher; end
482
+ extend Forwardable
483
+ end
484
+ class Shoulda::Matchers::ActionController::RouteMatcher
485
+ def add_port_to_path(path, port); end
486
+ def context; end
487
+ def description; end
488
+ def failure_message; end
489
+ def failure_message_when_negated; end
490
+ def guess_controller_if_necessary(controller); end
491
+ def in_context(context); end
492
+ def initialize(context, method, path, port: nil); end
493
+ def matches?(controller); end
494
+ def method; end
495
+ def normalize_path(path); end
496
+ def params; end
497
+ def path; end
498
+ def route_recognized?; end
499
+ def to(*args); end
500
+ end
501
+ class Shoulda::Matchers::ActionController::RedirectToMatcher
502
+ def description; end
503
+ def failure_message; end
504
+ def failure_message_when_negated; end
505
+ def in_context(context); end
506
+ def initialize(url_or_description, context, &block); end
507
+ def matches?(controller); end
508
+ def redirects_to_url?; end
509
+ def url; end
510
+ end
511
+ class Shoulda::Matchers::ActionController::RenderTemplateMatcher
512
+ def description; end
513
+ def failure_message; end
514
+ def failure_message_when_negated; end
515
+ def in_context(context); end
516
+ def initialize(options, message, context); end
517
+ def matches?(controller); end
518
+ def renders_template?; end
519
+ end
520
+ class Shoulda::Matchers::ActionController::RescueFromMatcher
521
+ def controller; end
522
+ def description; end
523
+ def exception; end
524
+ def expectation; end
525
+ def expected_method; end
526
+ def failure_message; end
527
+ def failure_message_when_negated; end
528
+ def handler_exists?; end
529
+ def handlers; end
530
+ def initialize(exception); end
531
+ def matches?(controller); end
532
+ def method_name_matches?; end
533
+ def rescues_from_exception?; end
534
+ def with(method); end
535
+ end
536
+ class Shoulda::Matchers::ActionController::CallbackMatcher
537
+ def callback_type; end
538
+ def callbacks; end
539
+ def controller; end
540
+ def controller_class; end
541
+ def description; end
542
+ def failure_message; end
543
+ def failure_message_when_negated; end
544
+ def initialize(method_name, kind, callback_type); end
545
+ def kind; end
546
+ def matches?(controller); end
547
+ def method_name; end
548
+ end
549
+ class Shoulda::Matchers::ActionController::PermitMatcher
550
+ def action; end
551
+ def actual_permitted_parameter_names; end
552
+ def add_params(params); end
553
+ def context; end
554
+ def controller; end
555
+ def default_verb; end
556
+ def description; end
557
+ def double_collections_by_parameter_name; end
558
+ def ensure_action_and_verb_present!; end
559
+ def expectation; end
560
+ def expected_permitted_parameter_names; end
561
+ def failure_message; end
562
+ def failure_message_when_negated; end
563
+ def for(action, options = nil); end
564
+ def format_parameter_names(parameter_names); end
565
+ def in_context(context); end
566
+ def initialize(expected_permitted_parameter_names); end
567
+ def matches?(controller); end
568
+ def on(subparameter_name); end
569
+ def parameter_names_as_sentence; end
570
+ def parameters_double_registry; end
571
+ def reality; end
572
+ def request_params; end
573
+ def stubbed_params=(arg0); end
574
+ def subparameter_name; end
575
+ def unpermitted_parameter_names; end
576
+ def verb; end
577
+ end
578
+ class Shoulda::Matchers::ActionController::PermitMatcher::CompositeParametersDoubleRegistry
579
+ def initialize; end
580
+ def parameters_double_registries; end
581
+ def permitted_parameter_names(options = nil); end
582
+ def register; end
583
+ end
584
+ class Shoulda::Matchers::ActionController::PermitMatcher::ParametersDoubleRegistry
585
+ def double_collections_by_parameter_name; end
586
+ def initialize(params); end
587
+ def params; end
588
+ def permitted_parameter_names(args = nil); end
589
+ def register; end
590
+ def register_double_for_permit_against(params, subparameter_name); end
591
+ def register_double_for_permit_on(double_collection); end
592
+ def register_double_for_require_on(double_collection); end
593
+ def self.permitted_parameter_names_within(double_collection); end
594
+ end
595
+ class Shoulda::Matchers::ActionController::PermitMatcher::ActionNotDefinedError < StandardError
596
+ def message; end
597
+ end
598
+ class Shoulda::Matchers::ActionController::PermitMatcher::VerbNotDefinedError < StandardError
599
+ def message; end
600
+ end
601
+ class Shoulda::Matchers::ActionController::SetSessionOrFlashMatcher
602
+ def [](key); end
603
+ def context; end
604
+ def context_set?; end
605
+ def controller; end
606
+ def description; end
607
+ def expectation_description; end
608
+ def expected_value; end
609
+ def expected_value_matches?; end
610
+ def expected_value_set?; end
611
+ def failure_message; end
612
+ def failure_message_for_should; end
613
+ def failure_message_for_should_not; end
614
+ def failure_message_when_negated; end
615
+ def in_context(context); end
616
+ def initialize(store); end
617
+ def key; end
618
+ def key_matches?; end
619
+ def key_set?; end
620
+ def matches?(controller); end
621
+ def store; end
622
+ def to(expected_value = nil, &block); end
623
+ end
624
+ class Shoulda::Matchers::ActionController::FlashStore
625
+ def controller; end
626
+ def controller=(arg0); end
627
+ def copy_discard_if_necessary(original_flash, new_flash); end
628
+ def copy_flashes(original_flash, new_flash); end
629
+ def copy_of_flash_from_controller; end
630
+ def empty?; end
631
+ def flash; end
632
+ def has_key?(key); end
633
+ def has_value?(expected_value); end
634
+ def initialize; end
635
+ def keys_to_discard; end
636
+ def name; end
637
+ def self.future; end
638
+ def self.now; end
639
+ def set_values; end
640
+ def use_now!; end
641
+ def values_to_check; end
642
+ end
643
+ class Shoulda::Matchers::ActionController::SessionStore
644
+ def controller; end
645
+ def controller=(arg0); end
646
+ def empty?; end
647
+ def has_key?(key); end
648
+ def has_value?(expected_value); end
649
+ def name; end
650
+ def session; end
651
+ end
652
+ module Shoulda::Matchers::ActiveModel
653
+ def allow_mass_assignment_of(value); end
654
+ def allow_value(*values); end
655
+ def allow_values(*values); end
656
+ def have_secure_password; end
657
+ def validate_absence_of(attr); end
658
+ def validate_acceptance_of(attr); end
659
+ def validate_confirmation_of(attr); end
660
+ def validate_exclusion_of(attr); end
661
+ def validate_inclusion_of(attr); end
662
+ def validate_length_of(attr); end
663
+ def validate_numericality_of(attr); end
664
+ def validate_presence_of(attr); end
665
+ end
666
+ module Shoulda::Matchers::ActiveModel::Helpers
667
+ def default_error_message(type, options = nil); end
668
+ def format_validation_errors(errors); end
669
+ def pretty_error_messages(object); end
670
+ end
671
+ module Shoulda::Matchers::ActiveModel::Qualifiers
672
+ end
673
+ module Shoulda::Matchers::ActiveModel::Qualifiers::AllowNil
674
+ def allow_nil; end
675
+ def expects_to_allow_nil?; end
676
+ def initialize(*args); end
677
+ end
678
+ class Shoulda::Matchers::ActiveModel::Qualifiers::IgnoreInterferenceByWriter
679
+ def always?; end
680
+ def changed?; end
681
+ def condition; end
682
+ def condition_matches?(value); end
683
+ def considering?(value); end
684
+ def default_to(argument); end
685
+ def initialize(argument = nil); end
686
+ def invalid_argument_error(invalid_argument); end
687
+ def never?; end
688
+ def set(argument); end
689
+ def setting; end
690
+ end
691
+ module Shoulda::Matchers::ActiveModel::Qualifiers::IgnoringInterferenceByWriter
692
+ def ignore_interference_by_writer; end
693
+ def ignoring_interference_by_writer(value = nil); end
694
+ def initialize(*args); end
695
+ end
696
+ class Shoulda::Matchers::ActiveModel::ValidationMatcher
697
+ def allow_value_matcher(value, message = nil, &block); end
698
+ def allows_value_of(value, message = nil, &block); end
699
+ def attribute; end
700
+ def build_allow_or_disallow_value_matcher(args); end
701
+ def context; end
702
+ def description; end
703
+ def disallow_value_matcher(value, message = nil, &block); end
704
+ def disallows_value_of(value, message = nil, &block); end
705
+ def does_not_match?(subject); end
706
+ def expects_custom_validation_message?; end
707
+ def expects_strict?; end
708
+ def failure_message; end
709
+ def failure_message_when_negated; end
710
+ def failure_reason; end
711
+ def failure_reason_when_negated; end
712
+ def initialize(attribute); end
713
+ def last_submatcher_run; end
714
+ def matches?(subject); end
715
+ def model; end
716
+ def on(context); end
717
+ def overall_failure_message; end
718
+ def overall_failure_message_when_negated; end
719
+ def run_allow_or_disallow_matcher(matcher); end
720
+ def strict; end
721
+ def subject; end
722
+ def with_message(expected_message); end
723
+ include Shoulda::Matchers::ActiveModel::Qualifiers::IgnoringInterferenceByWriter
724
+ end
725
+ class Shoulda::Matchers::ActiveModel::ValidationMatcher::BuildDescription
726
+ def call; end
727
+ def clause_for_allow_blank_or_nil; end
728
+ def description_clauses_for_qualifiers; end
729
+ def initialize(matcher, main_description); end
730
+ def main_description; end
731
+ def matcher; end
732
+ def self.call(matcher, main_description); end
733
+ end
734
+ class Shoulda::Matchers::ActiveModel::Validator
735
+ def all_formatted_validation_error_messages; end
736
+ def all_validation_errors; end
737
+ def attribute; end
738
+ def call; end
739
+ def captured_range_error?; end
740
+ def captured_validation_exception?; end
741
+ def context; end
742
+ def expects_strict?; end
743
+ def has_messages?; end
744
+ def initialize(record, attribute, options = nil); end
745
+ def matched_messages; end
746
+ def messages; end
747
+ def messages_match?; end
748
+ def perform_validation; end
749
+ def record; end
750
+ def type_of_message_matched?; end
751
+ def validation_error_messages; end
752
+ def validation_exception_message; end
753
+ def validation_result; end
754
+ include Shoulda::Matchers::ActiveModel::Helpers
755
+ end
756
+ class Shoulda::Matchers::ActiveModel::AllowValueMatcher
757
+ def _after_setting_value(&callback); end
758
+ def after_setting_value_callback; end
759
+ def attribute_changed_value_message; end
760
+ def attribute_changed_value_message=(arg0); end
761
+ def attribute_setters_and_validators_for_values_to_set; end
762
+ def attribute_setters_for_values_to_preset; end
763
+ def attribute_to_check_message_against; end
764
+ def attribute_to_set; end
765
+ def context; end
766
+ def default_attribute_changed_value_message; end
767
+ def default_attribute_message; end
768
+ def default_attribute_message_values; end
769
+ def default_expected_message; end
770
+ def default_failure_message_preface; end
771
+ def description; end
772
+ def description_for_resulting_attribute_setter; end
773
+ def descriptions_for_preset_values; end
774
+ def does_not_match?(instance); end
775
+ def expected_message; end
776
+ def expects_custom_validation_message?; end
777
+ def expects_strict?; end
778
+ def failure_message; end
779
+ def failure_message_preface; end
780
+ def failure_message_preface=(arg0); end
781
+ def failure_message_when_negated; end
782
+ def for(attribute_name); end
783
+ def human_attribute_name; end
784
+ def include_attribute_changed_value_message?; end
785
+ def initialize(*values); end
786
+ def inspected_values_to_set; end
787
+ def instance; end
788
+ def last_attribute_setter_used; end
789
+ def last_value_set; end
790
+ def matches?(instance); end
791
+ def model; end
792
+ def model_name; end
793
+ def on(context); end
794
+ def options; end
795
+ def result; end
796
+ def run(strategy); end
797
+ def simple_description; end
798
+ def strict(expects_strict = nil); end
799
+ def values_to_preset; end
800
+ def values_to_preset=(arg0); end
801
+ def values_to_set; end
802
+ def with_message(message, given_options = nil); end
803
+ include Shoulda::Matchers::ActiveModel::Helpers
804
+ include Shoulda::Matchers::ActiveModel::Qualifiers::IgnoringInterferenceByWriter
805
+ end
806
+ class Shoulda::Matchers::ActiveModel::AllowValueMatcher::AttributeChangedValueError < Shoulda::Matchers::Error
807
+ def attribute_name; end
808
+ def attribute_name=(arg0); end
809
+ def matcher_name; end
810
+ def matcher_name=(arg0); end
811
+ def message; end
812
+ def model; end
813
+ def model=(arg0); end
814
+ def successful?; end
815
+ def value_read; end
816
+ def value_read=(arg0); end
817
+ def value_written; end
818
+ def value_written=(arg0); end
819
+ end
820
+ class Shoulda::Matchers::ActiveModel::AllowValueMatcher::AttributeDoesNotExistError < Shoulda::Matchers::Error
821
+ def attribute_name; end
822
+ def attribute_name=(arg0); end
823
+ def message; end
824
+ def model; end
825
+ def model=(arg0); end
826
+ def successful?; end
827
+ def value; end
828
+ def value=(arg0); end
829
+ end
830
+ class Shoulda::Matchers::ActiveModel::AllowValueMatcher::AttributeSetter
831
+ def active_resource_object?; end
832
+ def after_set_callback; end
833
+ def args; end
834
+ def attribute_changed_value!; end
835
+ def attribute_changed_value?; end
836
+ def attribute_changed_value_error; end
837
+ def attribute_does_not_exist!; end
838
+ def attribute_does_not_exist_error; end
839
+ def attribute_exists?; end
840
+ def attribute_is_an_enum?; end
841
+ def attribute_name; end
842
+ def check; end
843
+ def checked?; end
844
+ def defined_enums; end
845
+ def description; end
846
+ def enum_values; end
847
+ def failure_message; end
848
+ def ignore_interference_by_writer; end
849
+ def initialize(args); end
850
+ def matcher_name; end
851
+ def model; end
852
+ def object; end
853
+ def raise_attribute_changed_value_error?; end
854
+ def result_of_checking; end
855
+ def result_of_setting; end
856
+ def run!; end
857
+ def run; end
858
+ def self.set(args); end
859
+ def set!; end
860
+ def set; end
861
+ def set?; end
862
+ def successful?; end
863
+ def successful_check; end
864
+ def successful_setting; end
865
+ def successfully_checked?; end
866
+ def successfully_set?; end
867
+ def unsuccessful?; end
868
+ def unsuccessfully_checked?; end
869
+ def value_read; end
870
+ def value_read_is_expected_for_an_enum?; end
871
+ def value_written; end
872
+ end
873
+ class Shoulda::Matchers::ActiveModel::AllowValueMatcher::AttributeSetterAndValidator
874
+ def after_setting_value_callback(*args, &block); end
875
+ def allow_value_matcher; end
876
+ def attribute_name; end
877
+ def attribute_setter; end
878
+ def attribute_setter_description; end
879
+ def attribute_to_check_message_against(*args, &block); end
880
+ def context(*args, &block); end
881
+ def expected_message(*args, &block); end
882
+ def expects_strict?(*args, &block); end
883
+ def ignore_interference_by_writer(*args, &block); end
884
+ def initialize(allow_value_matcher, attribute_name, value); end
885
+ def instance(*args, &block); end
886
+ def validator; end
887
+ def value; end
888
+ extend Forwardable
889
+ end
890
+ class Shoulda::Matchers::ActiveModel::AllowValueMatcher::AttributeSetters
891
+ def does_not_match?(tuple); end
892
+ def each(&block); end
893
+ def first_failing; end
894
+ def initialize(allow_value_matcher, values); end
895
+ def tuples; end
896
+ include Enumerable
897
+ end
898
+ class Shoulda::Matchers::ActiveModel::AllowValueMatcher::AttributeSettersAndValidators
899
+ def does_not_match?(tuple); end
900
+ def each(&block); end
901
+ def first_failing; end
902
+ def first_passing; end
903
+ def initialize(allow_value_matcher, values); end
904
+ def matches?(tuple); end
905
+ def tuples; end
906
+ include Enumerable
907
+ end
908
+ class Shoulda::Matchers::ActiveModel::AllowValueMatcher::SuccessfulCheck
909
+ def successful?; end
910
+ end
911
+ class Shoulda::Matchers::ActiveModel::AllowValueMatcher::SuccessfulSetting
912
+ def successful?; end
913
+ end
914
+ class Shoulda::Matchers::ActiveModel::DisallowValueMatcher
915
+ def _after_setting_value(*args, &block); end
916
+ def allow_matcher; end
917
+ def attribute_changed_value_message=(*args, &block); end
918
+ def attribute_to_set(*args, &block); end
919
+ def description(*args, &block); end
920
+ def does_not_match?(subject); end
921
+ def expects_strict?(*args, &block); end
922
+ def failure_message; end
923
+ def failure_message_preface(*args, &block); end
924
+ def failure_message_preface=(*args, &block); end
925
+ def failure_message_when_negated; end
926
+ def for(attribute); end
927
+ def ignore_interference_by_writer(*args, &block); end
928
+ def ignoring_interference_by_writer(value = nil); end
929
+ def initialize(value); end
930
+ def last_attribute_setter_used(*args, &block); end
931
+ def last_value_set(*args, &block); end
932
+ def matches?(subject); end
933
+ def model(*args, &block); end
934
+ def on(context); end
935
+ def simple_description(*args, &block); end
936
+ def strict(strict = nil); end
937
+ def values_to_preset=(*args, &block); end
938
+ def with_message(message, options = nil); end
939
+ extend Forwardable
940
+ end
941
+ class Shoulda::Matchers::ActiveModel::ValidateLengthOfMatcher < Shoulda::Matchers::ActiveModel::ValidationMatcher
942
+ def allow_nil; end
943
+ def allow_nil_does_not_match?; end
944
+ def allow_nil_matches?; end
945
+ def allows_higher_length?; end
946
+ def allows_length_of?(length, message); end
947
+ def allows_lower_length?; end
948
+ def allows_maximum_length?; end
949
+ def allows_minimum_length?; end
950
+ def disallows_higher_length?; end
951
+ def disallows_length_of?(length, message); end
952
+ def disallows_lower_length?; end
953
+ def disallows_maximum_length?; end
954
+ def disallows_minimum_length?; end
955
+ def does_not_match?(subject); end
956
+ def expects_to_allow_nil?; end
957
+ def initialize(attribute); end
958
+ def is_at_least(length); end
959
+ def is_at_most(length); end
960
+ def is_equal_to(length); end
961
+ def lower_bound_does_not_match?; end
962
+ def lower_bound_matches?; end
963
+ def matches?(subject); end
964
+ def simple_description; end
965
+ def string_of_length(length); end
966
+ def translated_long_message; end
967
+ def translated_short_message; end
968
+ def upper_bound_does_not_match?; end
969
+ def upper_bound_matches?; end
970
+ def with_long_message(message); end
971
+ def with_message(message); end
972
+ def with_short_message(message); end
973
+ include Shoulda::Matchers::ActiveModel::Helpers
974
+ end
975
+ class Shoulda::Matchers::ActiveModel::ValidateInclusionOfMatcher < Shoulda::Matchers::ActiveModel::ValidationMatcher
976
+ def allow_blank; end
977
+ def allow_nil; end
978
+ def allows_all_values_in_array?; end
979
+ def allows_any_value_outside_of_array?; end
980
+ def allows_blank_value?; end
981
+ def allows_higher_value; end
982
+ def allows_lower_value; end
983
+ def allows_maximum_value; end
984
+ def allows_minimum_value; end
985
+ def allows_nil_value?; end
986
+ def attribute_allows_nil?; end
987
+ def attribute_column; end
988
+ def attribute_type; end
989
+ def boolean_outside_values; end
990
+ def column_type_to_attribute_type(type); end
991
+ def disallows_all_values_outside_of_array?; end
992
+ def disallows_any_values_in_array?; end
993
+ def disallows_blank_value?; end
994
+ def disallows_higher_value; end
995
+ def disallows_lower_value; end
996
+ def disallows_maximum_value; end
997
+ def disallows_minimum_value; end
998
+ def disallows_nil_value?; end
999
+ def does_not_match?(subject); end
1000
+ def does_not_match_for_array?; end
1001
+ def does_not_match_for_range?; end
1002
+ def expects_to_allow_blank?; end
1003
+ def expects_to_allow_nil?; end
1004
+ def in_array(array); end
1005
+ def in_range(range); end
1006
+ def initialize(attribute); end
1007
+ def inspected_array; end
1008
+ def matches?(subject); end
1009
+ def matches_for_array?; end
1010
+ def matches_for_range?; end
1011
+ def outside_values; end
1012
+ def simple_description; end
1013
+ def value_to_attribute_type(value); end
1014
+ def values_outside_of_array; end
1015
+ def with_high_message(message); end
1016
+ def with_low_message(message); end
1017
+ def with_message(message); end
1018
+ end
1019
+ class Shoulda::Matchers::ActiveModel::ValidateExclusionOfMatcher < Shoulda::Matchers::ActiveModel::ValidationMatcher
1020
+ def allows_any_values_in_array?; end
1021
+ def allows_higher_value; end
1022
+ def allows_lower_value; end
1023
+ def allows_maximum_value; end
1024
+ def allows_minimum_value; end
1025
+ def disallows_all_values_in_array?; end
1026
+ def disallows_higher_value; end
1027
+ def disallows_lower_value; end
1028
+ def disallows_maximum_value; end
1029
+ def disallows_minimum_value; end
1030
+ def does_not_match?(subject); end
1031
+ def in_array(array); end
1032
+ def in_range(range); end
1033
+ def initialize(attribute); end
1034
+ def inspect_message; end
1035
+ def inspected_array; end
1036
+ def matches?(subject); end
1037
+ def simple_description; end
1038
+ end
1039
+ class Shoulda::Matchers::ActiveModel::ValidateAbsenceOfMatcher < Shoulda::Matchers::ActiveModel::ValidationMatcher
1040
+ def collection?; end
1041
+ def column_type; end
1042
+ def does_not_match?(subject); end
1043
+ def initialize(attribute); end
1044
+ def matches?(subject); end
1045
+ def reflection; end
1046
+ def simple_description; end
1047
+ def value; end
1048
+ end
1049
+ class Shoulda::Matchers::ActiveModel::ValidatePresenceOfMatcher < Shoulda::Matchers::ActiveModel::ValidationMatcher
1050
+ def allows_and_double_checks_value_of!(value); end
1051
+ def allows_original_or_typecast_value?(value); end
1052
+ def association?; end
1053
+ def association_name; end
1054
+ def association_options; end
1055
+ def association_reflection; end
1056
+ def attachment?; end
1057
+ def attribute_accepts_string_values?; end
1058
+ def attribute_serialization_coder; end
1059
+ def attribute_type; end
1060
+ def belongs_to_association_being_validated?; end
1061
+ def belongs_to_association_configured_to_be_required?; end
1062
+ def collection_association?; end
1063
+ def disallowed_values; end
1064
+ def disallows_and_double_checks_value_of!(value); end
1065
+ def disallows_original_or_typecast_value?(value); end
1066
+ def does_not_match?(subject); end
1067
+ def example_of_belongs_to(with: nil); end
1068
+ def failure_message; end
1069
+ def initialize(attribute); end
1070
+ def matches?(subject); end
1071
+ def model; end
1072
+ def model_has_associations?(associations); end
1073
+ def possibly_ignore_interference_by_writer; end
1074
+ def presence_validation_exists_on_attribute?; end
1075
+ def reason_for_existing_presence_validation; end
1076
+ def secure_password_being_validated?; end
1077
+ def should_add_footnote_about_belongs_to?; end
1078
+ def simple_description; end
1079
+ def suggestions_for_belongs_to; end
1080
+ include Shoulda::Matchers::ActiveModel::Qualifiers::AllowNil
1081
+ end
1082
+ class Shoulda::Matchers::ActiveModel::ValidateAcceptanceOfMatcher < Shoulda::Matchers::ActiveModel::ValidationMatcher
1083
+ def does_not_match?(subject); end
1084
+ def initialize(attribute); end
1085
+ def matches?(subject); end
1086
+ def simple_description; end
1087
+ end
1088
+ class Shoulda::Matchers::ActiveModel::ValidateConfirmationOfMatcher < Shoulda::Matchers::ActiveModel::ValidationMatcher
1089
+ def allows_different_value; end
1090
+ def allows_missing_confirmation; end
1091
+ def allows_same_value; end
1092
+ def attribute; end
1093
+ def confirmation_attribute; end
1094
+ def disallows_different_value; end
1095
+ def disallows_missing_confirmation; end
1096
+ def disallows_same_value; end
1097
+ def does_not_match?(subject); end
1098
+ def initialize(attribute); end
1099
+ def matches?(subject); end
1100
+ def qualify_matcher(matcher, confirmation_attribute_value); end
1101
+ def simple_description; end
1102
+ include Shoulda::Matchers::ActiveModel::Helpers
1103
+ end
1104
+ class Shoulda::Matchers::ActiveModel::ValidateNumericalityOfMatcher
1105
+ def add_disallow_value_matcher; end
1106
+ def add_submatcher(submatcher); end
1107
+ def allow_nil; end
1108
+ def attribute_is_active_record_column?; end
1109
+ def build_submatcher_failure_message_for(submatcher, failure_message_method); end
1110
+ def column_type; end
1111
+ def columns_hash; end
1112
+ def comparison_descriptions; end
1113
+ def comparison_matcher_for(value, operator); end
1114
+ def description; end
1115
+ def diff_to_compare; end
1116
+ def does_not_match?(subject); end
1117
+ def even; end
1118
+ def expects_custom_validation_message?; end
1119
+ def expects_strict?; end
1120
+ def expects_to_allow_nil?; end
1121
+ def failure_message; end
1122
+ def failure_message_for_first_submatcher_that_fails_to_match; end
1123
+ def failure_message_for_first_submatcher_that_fails_to_not_match; end
1124
+ def failure_message_when_negated; end
1125
+ def first_submatcher_that_fails_to_match; end
1126
+ def first_submatcher_that_fails_to_not_match; end
1127
+ def full_allowed_type; end
1128
+ def given_numeric_column?; end
1129
+ def has_been_qualified?; end
1130
+ def initialize(attribute); end
1131
+ def is_equal_to(value); end
1132
+ def is_greater_than(value); end
1133
+ def is_greater_than_or_equal_to(value); end
1134
+ def is_less_than(value); end
1135
+ def is_less_than_or_equal_to(value); end
1136
+ def matches?(subject); end
1137
+ def matches_or_does_not_match?(subject); end
1138
+ def model; end
1139
+ def number_of_submatchers_for_failure_message; end
1140
+ def odd; end
1141
+ def on(context); end
1142
+ def only_integer; end
1143
+ def overall_failure_message; end
1144
+ def overall_failure_message_when_negated; end
1145
+ def prepare_submatcher(submatcher); end
1146
+ def qualify_submatchers; end
1147
+ def simple_description; end
1148
+ def strict; end
1149
+ def submatcher_comparison_descriptions; end
1150
+ def with_message(message); end
1151
+ include Shoulda::Matchers::ActiveModel::Qualifiers::IgnoringInterferenceByWriter
1152
+ end
1153
+ module Shoulda::Matchers::ActiveModel::NumericalityMatchers
1154
+ end
1155
+ class Shoulda::Matchers::ActiveModel::NumericalityMatchers::NumericTypeMatcher
1156
+ def allowed_type_adjective; end
1157
+ def allowed_type_name; end
1158
+ def attribute; end
1159
+ def diff_to_compare; end
1160
+ def disallow_value_matcher; end
1161
+ def disallowed_value; end
1162
+ def does_not_match?(*args, &block); end
1163
+ def expects_custom_validation_message?(*args, &block); end
1164
+ def expects_strict?(*args, &block); end
1165
+ def failure_message(*args, &block); end
1166
+ def failure_message_when_negated(*args, &block); end
1167
+ def ignore_interference_by_writer(*args, &block); end
1168
+ def ignoring_interference_by_writer(*args, &block); end
1169
+ def initialize(numeric_type_matcher, attribute); end
1170
+ def matches?(*args, &block); end
1171
+ def on(*args, &block); end
1172
+ def strict(*args, &block); end
1173
+ def with_message(*args, &block); end
1174
+ def wrap_disallow_value_matcher(matcher); end
1175
+ extend Forwardable
1176
+ end
1177
+ class Shoulda::Matchers::ActiveModel::NumericalityMatchers::ComparisonMatcher < Shoulda::Matchers::ActiveModel::ValidationMatcher
1178
+ def all_bounds_correct?; end
1179
+ def assertions; end
1180
+ def comparison_combos; end
1181
+ def comparison_description; end
1182
+ def comparison_expectation; end
1183
+ def diffs_to_compare; end
1184
+ def expects_custom_validation_message?; end
1185
+ def failing_submatchers; end
1186
+ def failure_message; end
1187
+ def failure_message_when_negated; end
1188
+ def for(attribute); end
1189
+ def initialize(numericality_matcher, value, operator); end
1190
+ def last_failing_submatcher; end
1191
+ def matches?(subject); end
1192
+ def simple_description; end
1193
+ def submatcher_method_names; end
1194
+ def submatchers; end
1195
+ def submatchers_and_results; end
1196
+ def with_message(message); end
1197
+ end
1198
+ class Shoulda::Matchers::ActiveModel::NumericalityMatchers::OddNumberMatcher < Shoulda::Matchers::ActiveModel::NumericalityMatchers::NumericTypeMatcher
1199
+ def allowed_type_adjective; end
1200
+ def diff_to_compare; end
1201
+ def disallowed_value; end
1202
+ def simple_description; end
1203
+ def wrap_disallow_value_matcher(matcher); end
1204
+ end
1205
+ class Shoulda::Matchers::ActiveModel::NumericalityMatchers::EvenNumberMatcher < Shoulda::Matchers::ActiveModel::NumericalityMatchers::NumericTypeMatcher
1206
+ def allowed_type_adjective; end
1207
+ def diff_to_compare; end
1208
+ def disallowed_value; end
1209
+ def simple_description; end
1210
+ def wrap_disallow_value_matcher(matcher); end
1211
+ end
1212
+ class Shoulda::Matchers::ActiveModel::NumericalityMatchers::OnlyIntegerMatcher < Shoulda::Matchers::ActiveModel::NumericalityMatchers::NumericTypeMatcher
1213
+ def allowed_type_name; end
1214
+ def diff_to_compare; end
1215
+ def disallowed_value; end
1216
+ def simple_description; end
1217
+ def wrap_disallow_value_matcher(matcher); end
1218
+ end
1219
+ class Shoulda::Matchers::ActiveModel::AllowMassAssignmentOfMatcher
1220
+ def accessible_attributes; end
1221
+ def as(role); end
1222
+ def attr_mass_assignable?; end
1223
+ def authorizer; end
1224
+ def base_description; end
1225
+ def class_name; end
1226
+ def description; end
1227
+ def failure_message; end
1228
+ def failure_message_when_negated; end
1229
+ def initialize(attribute); end
1230
+ def matches?(subject); end
1231
+ def protected_attributes; end
1232
+ def role; end
1233
+ def role_description; end
1234
+ def whitelisting?; end
1235
+ end
1236
+ class Shoulda::Matchers::ActiveModel::CouldNotDetermineValueOutsideOfArray < RuntimeError
1237
+ end
1238
+ class Shoulda::Matchers::ActiveModel::NonNullableBooleanError < Shoulda::Matchers::Error
1239
+ def attribute; end
1240
+ def attribute=(arg0); end
1241
+ def message; end
1242
+ def self.create(attribute); end
1243
+ end
1244
+ class Shoulda::Matchers::ActiveModel::CouldNotSetPasswordError < Shoulda::Matchers::Error
1245
+ def message; end
1246
+ def model; end
1247
+ def model=(arg0); end
1248
+ def model_name; end
1249
+ def record_name; end
1250
+ def self.create(model); end
1251
+ end
1252
+ class Shoulda::Matchers::ActiveModel::HaveSecurePasswordMatcher
1253
+ def description; end
1254
+ def failure_message; end
1255
+ def matches?(subject); end
1256
+ def subject; end
1257
+ def validate; end
1258
+ end
1259
+ module Shoulda::Matchers::ActiveRecord
1260
+ def accept_nested_attributes_for(name); end
1261
+ def belong_to(name); end
1262
+ def define_enum_for(attribute_name); end
1263
+ def have_and_belong_to_many(name); end
1264
+ def have_db_column(column); end
1265
+ def have_db_index(columns); end
1266
+ def have_many(name); end
1267
+ def have_one(name); end
1268
+ def have_readonly_attribute(value); end
1269
+ def have_rich_text(rich_text_attribute); end
1270
+ def have_secure_token(token_attribute = nil); end
1271
+ def serialize(name); end
1272
+ def validate_uniqueness_of(attr); end
1273
+ end
1274
+ class Shoulda::Matchers::ActiveRecord::AssociationMatcher
1275
+ def add_submatcher(matcher_class, *args); end
1276
+ def associated_class(*args, &block); end
1277
+ def association_exists?; end
1278
+ def autosave(autosave); end
1279
+ def autosave_correct?; end
1280
+ def belongs_foreign_key_missing?; end
1281
+ def belongs_to_required_by_default?; end
1282
+ def class_exists?; end
1283
+ def class_has_foreign_key?(klass); end
1284
+ def class_name(class_name); end
1285
+ def class_name_correct?; end
1286
+ def column_names_for(klass); end
1287
+ def conditions(conditions); end
1288
+ def conditions_correct?; end
1289
+ def counter_cache(counter_cache = nil); end
1290
+ def dependent(dependent); end
1291
+ def description; end
1292
+ def expectation; end
1293
+ def failing_submatchers; end
1294
+ def failure_message; end
1295
+ def failure_message_when_negated; end
1296
+ def foreign_key; end
1297
+ def foreign_key_exists?; end
1298
+ def foreign_key_reflection; end
1299
+ def has_foreign_key_missing?; end
1300
+ def index_errors(index_errors); end
1301
+ def index_errors_correct?; end
1302
+ def initialize(macro, name); end
1303
+ def inverse_of(inverse_of); end
1304
+ def join_table(join_table_name); end
1305
+ def join_table_correct?; end
1306
+ def join_table_matcher; end
1307
+ def join_table_name; end
1308
+ def macro; end
1309
+ def macro_correct?; end
1310
+ def macro_description; end
1311
+ def macro_supports_primary_key?; end
1312
+ def matches?(subject); end
1313
+ def missing; end
1314
+ def missing_options; end
1315
+ def missing_options_for_failing_submatchers; end
1316
+ def model_class(*args, &block); end
1317
+ def name; end
1318
+ def option_verifier; end
1319
+ def optional(optional = nil); end
1320
+ def options; end
1321
+ def order(order); end
1322
+ def polymorphic?(*args, &block); end
1323
+ def primary_key_correct?(klass); end
1324
+ def primary_key_exists?; end
1325
+ def reflection(*args, &block); end
1326
+ def reflector; end
1327
+ def remove_submatcher(matcher_class); end
1328
+ def required(required = nil); end
1329
+ def source(source); end
1330
+ def subject; end
1331
+ def submatchers; end
1332
+ def submatchers_match?; end
1333
+ def through(through); end
1334
+ def through?(*args, &block); end
1335
+ def touch(touch = nil); end
1336
+ def touch_correct?; end
1337
+ def validate(validate = nil); end
1338
+ def validate_correct?; end
1339
+ def with_foreign_key(foreign_key); end
1340
+ def with_primary_key(primary_key); end
1341
+ def without_validating_presence; end
1342
+ end
1343
+ module Shoulda::Matchers::ActiveRecord::AssociationMatchers
1344
+ end
1345
+ class Shoulda::Matchers::ActiveRecord::AssociationMatchers::CounterCacheMatcher
1346
+ def counter_cache; end
1347
+ def counter_cache=(arg0); end
1348
+ def description; end
1349
+ def initialize(counter_cache, name); end
1350
+ def matches?(subject); end
1351
+ def missing_option; end
1352
+ def missing_option=(arg0); end
1353
+ def name; end
1354
+ def name=(arg0); end
1355
+ def option_verifier; end
1356
+ def subject; end
1357
+ def subject=(arg0); end
1358
+ end
1359
+ class Shoulda::Matchers::ActiveRecord::AssociationMatchers::InverseOfMatcher
1360
+ def description; end
1361
+ def initialize(inverse_of, name); end
1362
+ def inverse_of; end
1363
+ def inverse_of=(arg0); end
1364
+ def matches?(subject); end
1365
+ def missing_option; end
1366
+ def missing_option=(arg0); end
1367
+ def name; end
1368
+ def name=(arg0); end
1369
+ def option_verifier; end
1370
+ def subject; end
1371
+ def subject=(arg0); end
1372
+ end
1373
+ class Shoulda::Matchers::ActiveRecord::AssociationMatchers::JoinTableMatcher
1374
+ def actual_join_table_columns; end
1375
+ def associated_class(*args, &block); end
1376
+ def association_foreign_key(*args, &block); end
1377
+ def association_matcher; end
1378
+ def column_label; end
1379
+ def connection(*args, &block); end
1380
+ def expected_join_table_columns; end
1381
+ def failure_message; end
1382
+ def foreign_key(*args, &block); end
1383
+ def initialize(association_matcher, reflector); end
1384
+ def join_table_exists?; end
1385
+ def join_table_has_correct_columns?; end
1386
+ def join_table_name(*args, &block); end
1387
+ def join_table_option_correct?; end
1388
+ def matches?(subject); end
1389
+ def missing_columns; end
1390
+ def missing_columns_message; end
1391
+ def missing_option; end
1392
+ def missing_table_message; end
1393
+ def model_class(*args, &block); end
1394
+ def name(*args, &block); end
1395
+ def option_verifier(*args, &block); end
1396
+ def options(*args, &block); end
1397
+ def reflector; end
1398
+ end
1399
+ class Shoulda::Matchers::ActiveRecord::AssociationMatchers::OrderMatcher
1400
+ def description; end
1401
+ def initialize(order, name); end
1402
+ def matches?(subject); end
1403
+ def missing_option; end
1404
+ def missing_option=(arg0); end
1405
+ def name; end
1406
+ def name=(arg0); end
1407
+ def option_verifier; end
1408
+ def order; end
1409
+ def order=(arg0); end
1410
+ def subject; end
1411
+ def subject=(arg0); end
1412
+ end
1413
+ class Shoulda::Matchers::ActiveRecord::AssociationMatchers::ThroughMatcher
1414
+ def association_set_properly?; end
1415
+ def description; end
1416
+ def initialize(through, name); end
1417
+ def matches?(subject); end
1418
+ def missing_option; end
1419
+ def missing_option=(arg0); end
1420
+ def name; end
1421
+ def name=(arg0); end
1422
+ def option_verifier; end
1423
+ def subject; end
1424
+ def subject=(arg0); end
1425
+ def through; end
1426
+ def through=(arg0); end
1427
+ def through_association_correct?; end
1428
+ def through_association_exists?; end
1429
+ def through_reflection; end
1430
+ end
1431
+ class Shoulda::Matchers::ActiveRecord::AssociationMatchers::DependentMatcher
1432
+ def dependent; end
1433
+ def dependent=(arg0); end
1434
+ def description; end
1435
+ def generate_missing_option; end
1436
+ def initialize(dependent, name); end
1437
+ def matches?(subject); end
1438
+ def missing_option; end
1439
+ def missing_option=(arg0); end
1440
+ def name; end
1441
+ def name=(arg0); end
1442
+ def option_matches?; end
1443
+ def option_type; end
1444
+ def option_verifier; end
1445
+ def subject; end
1446
+ def subject=(arg0); end
1447
+ end
1448
+ class Shoulda::Matchers::ActiveRecord::AssociationMatchers::RequiredMatcher
1449
+ def attribute_name; end
1450
+ def description; end
1451
+ def initialize(attribute_name, required); end
1452
+ def matches?(subject); end
1453
+ def missing_option; end
1454
+ def required; end
1455
+ def submatcher; end
1456
+ def submatcher_passes?(subject); end
1457
+ def validation_message_key; end
1458
+ end
1459
+ class Shoulda::Matchers::ActiveRecord::AssociationMatchers::OptionalMatcher
1460
+ def attribute_name; end
1461
+ def description; end
1462
+ def initialize(attribute_name, optional); end
1463
+ def matches?(subject); end
1464
+ def missing_option; end
1465
+ def optional; end
1466
+ def submatcher; end
1467
+ def submatcher_passes?(subject); end
1468
+ end
1469
+ class Shoulda::Matchers::ActiveRecord::AssociationMatchers::SourceMatcher
1470
+ def description; end
1471
+ def initialize(source, name); end
1472
+ def matches?(subject); end
1473
+ def missing_option; end
1474
+ def missing_option=(arg0); end
1475
+ def name; end
1476
+ def name=(arg0); end
1477
+ def option_verifier; end
1478
+ def source; end
1479
+ def source=(arg0); end
1480
+ def subject; end
1481
+ def subject=(arg0); end
1482
+ end
1483
+ class Shoulda::Matchers::ActiveRecord::AssociationMatchers::ModelReflector
1484
+ def associated_class(*args, &block); end
1485
+ def association_foreign_key(*args, &block); end
1486
+ def association_relation(*args, &block); end
1487
+ def build_relation_with_clause(name, value); end
1488
+ def extract_relation_clause_from(relation, name); end
1489
+ def foreign_key(*args, &block); end
1490
+ def initialize(subject, name); end
1491
+ def join_table_name(*args, &block); end
1492
+ def model_class; end
1493
+ def name; end
1494
+ def polymorphic?(*args, &block); end
1495
+ def reflect_on_association(name); end
1496
+ def reflection; end
1497
+ def subject; end
1498
+ def through?(*args, &block); end
1499
+ def value_as_sql(value); end
1500
+ end
1501
+ class Shoulda::Matchers::ActiveRecord::AssociationMatchers::ModelReflection < SimpleDelegator
1502
+ def associated_class; end
1503
+ def association_foreign_key; end
1504
+ def association_relation; end
1505
+ def foreign_key; end
1506
+ def has_and_belongs_to_many_name; end
1507
+ def has_and_belongs_to_many_name_table_name; end
1508
+ def has_and_belongs_to_many_reflection; end
1509
+ def initialize(reflection); end
1510
+ def join_table_name; end
1511
+ def polymorphic?; end
1512
+ def reflection; end
1513
+ def subject; end
1514
+ def through?; end
1515
+ end
1516
+ class Shoulda::Matchers::ActiveRecord::AssociationMatchers::OptionVerifier
1517
+ def actual_value_for(name); end
1518
+ def actual_value_for_class_name; end
1519
+ def actual_value_for_relation_clause(name); end
1520
+ def correct_for?(*args); end
1521
+ def correct_for_boolean?(name, expected_value); end
1522
+ def correct_for_constant?(name, expected_unresolved_value); end
1523
+ def correct_for_hash?(name, expected_value); end
1524
+ def correct_for_relation_clause?(name, expected_value); end
1525
+ def correct_for_string?(name, expected_value); end
1526
+ def expected_value_for(type, name, value); end
1527
+ def expected_value_for_constant(name); end
1528
+ def expected_value_for_relation_clause(name, value); end
1529
+ def initialize(reflector); end
1530
+ def reflection(*args, &block); end
1531
+ def reflector; end
1532
+ def type_cast(type, value); end
1533
+ end
1534
+ class Shoulda::Matchers::ActiveRecord::HaveDbColumnMatcher
1535
+ def actual_primary?; end
1536
+ def actual_scale; end
1537
+ def column_exists?; end
1538
+ def correct_column_type?; end
1539
+ def correct_default?; end
1540
+ def correct_limit?; end
1541
+ def correct_null?; end
1542
+ def correct_precision?; end
1543
+ def correct_primary?; end
1544
+ def correct_scale?; end
1545
+ def description; end
1546
+ def expectation; end
1547
+ def failure_message; end
1548
+ def failure_message_when_negated; end
1549
+ def initialize(column); end
1550
+ def matched_column; end
1551
+ def matches?(subject); end
1552
+ def model_class; end
1553
+ def of_type(column_type); end
1554
+ def with_options(opts = nil); end
1555
+ end
1556
+ class Shoulda::Matchers::ActiveRecord::HaveDbColumnMatcher::DecoratedColumn < SimpleDelegator
1557
+ def initialize(model, column); end
1558
+ def model; end
1559
+ def primary?; end
1560
+ def type_cast_default; end
1561
+ end
1562
+ class Shoulda::Matchers::ActiveRecord::HaveDbIndexMatcher
1563
+ def actual_indexes; end
1564
+ def correct_unique?; end
1565
+ def described_table_name; end
1566
+ def description; end
1567
+ def expected_columns; end
1568
+ def failure_message; end
1569
+ def failure_message_when_negated; end
1570
+ def formatted_expected_columns; end
1571
+ def index_exists?; end
1572
+ def index_type; end
1573
+ def initialize(columns); end
1574
+ def inspected_expected_columns; end
1575
+ def matched_index; end
1576
+ def matches?(subject); end
1577
+ def model; end
1578
+ def negative_expectation; end
1579
+ def normalize_columns_to_array(columns); end
1580
+ def positive_expectation; end
1581
+ def qualifiers; end
1582
+ def reason; end
1583
+ def subject; end
1584
+ def table_name; end
1585
+ def unique(unique = nil); end
1586
+ end
1587
+ class Shoulda::Matchers::ActiveRecord::HaveReadonlyAttributeMatcher
1588
+ def class_name; end
1589
+ def description; end
1590
+ def failure_message; end
1591
+ def failure_message_when_negated; end
1592
+ def initialize(attribute); end
1593
+ def matches?(subject); end
1594
+ def readonly_attributes; end
1595
+ end
1596
+ class Shoulda::Matchers::ActiveRecord::HaveRichText
1597
+ def description; end
1598
+ def error; end
1599
+ def error_description; end
1600
+ def failure_message; end
1601
+ def failure_message_when_negated; end
1602
+ def has_attribute?; end
1603
+ def has_expected_action_text?; end
1604
+ def initialize(rich_text_attribute); end
1605
+ def matches?(subject); end
1606
+ def rich_text_attribute; end
1607
+ def run_checks; end
1608
+ def subject; end
1609
+ end
1610
+ class Shoulda::Matchers::ActiveRecord::HaveSecureTokenMatcher
1611
+ def description; end
1612
+ def failure_message; end
1613
+ def failure_message_when_negated; end
1614
+ def has_expected_db_column?; end
1615
+ def has_expected_db_index?; end
1616
+ def has_expected_instance_methods?; end
1617
+ def initialize(token_attribute); end
1618
+ def matches?(subject); end
1619
+ def run_checks; end
1620
+ def table_and_column; end
1621
+ def table_name; end
1622
+ def token_attribute; end
1623
+ end
1624
+ class Shoulda::Matchers::ActiveRecord::SerializeMatcher
1625
+ def as(type); end
1626
+ def as_instance_of(type); end
1627
+ def attribute_is_serialized?; end
1628
+ def class_valid?; end
1629
+ def description; end
1630
+ def expectation; end
1631
+ def failure_message; end
1632
+ def failure_message_when_negated; end
1633
+ def initialize(name); end
1634
+ def instance_class_valid?; end
1635
+ def matches?(subject); end
1636
+ def model; end
1637
+ def model_class; end
1638
+ def serialization_coder; end
1639
+ def serialization_valid?; end
1640
+ def type_valid?; end
1641
+ end
1642
+ class Shoulda::Matchers::ActiveRecord::AcceptNestedAttributesForMatcher
1643
+ def allow_destroy(allow_destroy); end
1644
+ def allow_destroy_correct?; end
1645
+ def config; end
1646
+ def description; end
1647
+ def exists?; end
1648
+ def expectation; end
1649
+ def failure_message; end
1650
+ def failure_message_when_negated; end
1651
+ def initialize(name); end
1652
+ def limit(limit); end
1653
+ def limit_correct?; end
1654
+ def matches?(subject); end
1655
+ def model_class; end
1656
+ def model_config; end
1657
+ def should_or_should_not(value); end
1658
+ def update_only(update_only); end
1659
+ def update_only_correct?; end
1660
+ def verify_option_is_correct(option, failure_message); end
1661
+ end
1662
+ class Shoulda::Matchers::ActiveRecord::DefineEnumForMatcher
1663
+ def actual_enum_values; end
1664
+ def attribute_name; end
1665
+ def backed_by_column_of_type(expected_column_type); end
1666
+ def column; end
1667
+ def column_type_matches?; end
1668
+ def description; end
1669
+ def enum_defined?; end
1670
+ def enum_value_methods_exist?; end
1671
+ def enum_values_match?; end
1672
+ def expectation; end
1673
+ def expected_column_type; end
1674
+ def expected_enum_value_names; end
1675
+ def expected_enum_values; end
1676
+ def expected_prefix; end
1677
+ def expected_singleton_methods; end
1678
+ def expected_suffix; end
1679
+ def failure_message; end
1680
+ def failure_message_continuation; end
1681
+ def failure_message_when_negated; end
1682
+ def initialize(attribute_name); end
1683
+ def matches?(subject); end
1684
+ def model; end
1685
+ def normalized_actual_enum_values; end
1686
+ def normalized_expected_enum_values; end
1687
+ def options; end
1688
+ def presented_enum_mapping(enum_values); end
1689
+ def record; end
1690
+ def simple_description; end
1691
+ def to_array(value); end
1692
+ def to_hash(value); end
1693
+ def with(expected_enum_values); end
1694
+ def with_prefix(expected_prefix = nil); end
1695
+ def with_suffix(expected_suffix = nil); end
1696
+ def with_values(expected_enum_values); end
1697
+ end
1698
+ module Shoulda::Matchers::ActiveRecord::Uniqueness
1699
+ end
1700
+ class Shoulda::Matchers::ActiveRecord::Uniqueness::Model
1701
+ def already_exists?; end
1702
+ def initialize(name, namespace); end
1703
+ def name; end
1704
+ def namespace; end
1705
+ def next; end
1706
+ def self.next_unique_copy_of(model_name, namespace); end
1707
+ def symlink_to(parent); end
1708
+ def to_s; end
1709
+ end
1710
+ class Shoulda::Matchers::ActiveRecord::Uniqueness::Namespace
1711
+ def clear; end
1712
+ def constant; end
1713
+ def has?(name); end
1714
+ def initialize(constant); end
1715
+ def set(name, value); end
1716
+ def to_s; end
1717
+ end
1718
+ class Shoulda::Matchers::ActiveRecord::Uniqueness::TestModelCreator
1719
+ def create; end
1720
+ def existing_model; end
1721
+ def initialize(model_name, namespace); end
1722
+ def model_name; end
1723
+ def model_name_without_namespace; end
1724
+ def namespace; end
1725
+ def new_model; end
1726
+ def self.create(model_name, namespace); end
1727
+ end
1728
+ module Shoulda::Matchers::ActiveRecord::Uniqueness::TestModels
1729
+ def self.create(model_name); end
1730
+ def self.remove_all; end
1731
+ def self.root_namespace; end
1732
+ end
1733
+ module Shoulda::Matchers::ActiveModel::Uniqueness
1734
+ end
1735
+ class Shoulda::Matchers::ActiveRecord::ValidateUniquenessOfMatcher < Shoulda::Matchers::ActiveModel::ValidationMatcher
1736
+ def actual_sets_of_scopes; end
1737
+ def all_scopes_are_booleans?; end
1738
+ def allow_blank; end
1739
+ def allow_nil; end
1740
+ def arbitrary_non_blank_value; end
1741
+ def attribute_changed_value_message; end
1742
+ def attribute_names_under_test; end
1743
+ def attribute_present_on_model?; end
1744
+ def attribute_setter_descriptions_for_new_record; end
1745
+ def attribute_setter_for_existing_record; end
1746
+ def attribute_setters_for_new_record; end
1747
+ def available_enum_values_for(scope, previous_value); end
1748
+ def boolean_value?(value); end
1749
+ def build_allow_or_disallow_value_matcher(args); end
1750
+ def build_attribute_setter(record, attribute_name, value); end
1751
+ def build_new_record; end
1752
+ def case_insensitive; end
1753
+ def case_sensitivity_strategy; end
1754
+ def column_for(scope); end
1755
+ def column_limit_for(attribute); end
1756
+ def create_existing_record; end
1757
+ def defined_as_enum?(scope); end
1758
+ def description_for_attribute_setter(attribute_setter, same_as_existing: nil); end
1759
+ def description_for_case_sensitive_qualifier; end
1760
+ def descriptions_for_attribute_setters_for_new_record; end
1761
+ def does_not_match?(given_record); end
1762
+ def does_not_match_allow_blank?; end
1763
+ def does_not_match_allow_nil?; end
1764
+ def does_not_match_presence_of_attribute?; end
1765
+ def does_not_match_presence_of_scopes?; end
1766
+ def does_not_match_scopes_configuration?; end
1767
+ def does_not_match_uniqueness_with_case_sensitivity_strategy?; end
1768
+ def does_not_match_uniqueness_with_scopes?; end
1769
+ def does_not_match_uniqueness_without_scopes?; end
1770
+ def dummy_scalar_value_for(column); end
1771
+ def dummy_value_for(scope); end
1772
+ def existing_and_new_values_are_same?; end
1773
+ def existing_record; end
1774
+ def existing_value_read; end
1775
+ def existing_value_written; end
1776
+ def expected_scopes; end
1777
+ def expects_to_allow_blank?; end
1778
+ def expects_to_allow_nil?; end
1779
+ def failure_message_preface; end
1780
+ def failure_reason; end
1781
+ def failure_reason_when_negated; end
1782
+ def find_existing_record; end
1783
+ def find_or_create_existing_record; end
1784
+ def has_secure_password?; end
1785
+ def ignoring_case_sensitivity; end
1786
+ def initialize(attribute); end
1787
+ def inspected_actual_scopes; end
1788
+ def inspected_actual_sets_of_scopes; end
1789
+ def inspected_expected_scopes; end
1790
+ def last_attribute_setter_used_on_new_record; end
1791
+ def last_value_set_on_new_record; end
1792
+ def matches?(given_record); end
1793
+ def matches_allow_blank?; end
1794
+ def matches_allow_nil?; end
1795
+ def matches_presence_of_attribute?; end
1796
+ def matches_presence_of_scopes?; end
1797
+ def matches_scopes_configuration?; end
1798
+ def matches_uniqueness_with_case_sensitivity_strategy?; end
1799
+ def matches_uniqueness_with_scopes?; end
1800
+ def matches_uniqueness_without_scopes?; end
1801
+ def model; end
1802
+ def model_class?(model_name); end
1803
+ def new_record; end
1804
+ def next_scalar_value_for(scope, previous_value); end
1805
+ def next_value_for(scope, previous_value); end
1806
+ def polymorphic_type_attribute?(scope, previous_value); end
1807
+ def scoped_to(*scopes); end
1808
+ def scopes_match?; end
1809
+ def scopes_missing_on_model; end
1810
+ def scopes_present_on_model; end
1811
+ def set_attribute_on!(record_type, record, attribute_name, value); end
1812
+ def set_attribute_on_existing_record!(attribute_name, value); end
1813
+ def set_attribute_on_new_record!(attribute_name, value); end
1814
+ def setting_next_value_for(scope); end
1815
+ def should_test_case_sensitivity?; end
1816
+ def simple_description; end
1817
+ def subject; end
1818
+ def update_existing_record!(value); end
1819
+ def validations; end
1820
+ include Shoulda::Matchers::ActiveModel::Helpers
1821
+ end
1822
+ class Shoulda::Matchers::ActiveRecord::ValidateUniquenessOfMatcher::AttributeSetters
1823
+ def +(other_attribute_setters); end
1824
+ def <<(given_attribute_setter); end
1825
+ def each(&block); end
1826
+ def find_index_of(given_attribute_setter); end
1827
+ def initialize; end
1828
+ def last; end
1829
+ include Enumerable
1830
+ end
1831
+ class Shoulda::Matchers::ActiveRecord::ValidateUniquenessOfMatcher::NonCaseSwappableValueError < Shoulda::Matchers::Error
1832
+ def attribute; end
1833
+ def attribute=(arg0); end
1834
+ def message; end
1835
+ def model; end
1836
+ def model=(arg0); end
1837
+ def value; end
1838
+ def value=(arg0); end
1839
+ end
1840
+ class Shoulda::Matchers::ActiveRecord::ValidateUniquenessOfMatcher::ExistingRecordInvalid < Shoulda::Matchers::Error
1841
+ def message; end
1842
+ def underlying_exception; end
1843
+ def underlying_exception=(arg0); end
1844
+ include Shoulda::Matchers::ActiveModel::Helpers
1845
+ end
1846
+ module Shoulda::Matchers::Routing
1847
+ def route(method, path, port: nil); end
1848
+ end