ledger_gen 0.2.0 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +0 -1
- data/ledger_gen.gemspec +4 -1
- data/lib/ledger_gen/journal.rb +20 -6
- data/lib/ledger_gen/posting.rb +14 -0
- data/lib/ledger_gen/transaction.rb +36 -12
- data/lib/ledger_gen/version.rb +2 -1
- data/lib/ledger_gen.rb +2 -0
- data/sorbet/config +2 -0
- data/sorbet/rbi/gems/rake.rbi +635 -0
- data/sorbet/rbi/gems/rspec-core.rbi +121 -0
- data/sorbet/rbi/gems/rspec-expectations.rbi +127 -0
- data/sorbet/rbi/gems/rspec-mocks.rbi +189 -0
- data/sorbet/rbi/gems/rspec-support.rbi +37 -0
- data/sorbet/rbi/gems/rspec.rbi +15 -0
- data/sorbet/rbi/hidden-definitions/errors.txt +4485 -0
- data/sorbet/rbi/hidden-definitions/hidden.rbi +8037 -0
- data/sorbet/rbi/sorbet-typed/lib/bundler/all/bundler.rbi +8684 -0
- data/sorbet/rbi/sorbet-typed/lib/ruby/all/gem.rbi +4222 -0
- data/sorbet/rbi/sorbet-typed/lib/ruby/all/open3.rbi +111 -0
- data/sorbet/rbi/sorbet-typed/lib/ruby/all/resolv.rbi +543 -0
- data/sorbet/rbi/todo.rbi +6 -0
- metadata +48 -6
@@ -0,0 +1,121 @@
|
|
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-core/all/rspec-core.rbi
|
9
|
+
#
|
10
|
+
# rspec-core-3.5.4
|
11
|
+
|
12
|
+
module RSpec::Support
|
13
|
+
def self.require_rspec_core(f); end
|
14
|
+
end
|
15
|
+
module RSpec
|
16
|
+
def self.clear_examples; end
|
17
|
+
def self.configuration; end
|
18
|
+
def self.configuration=(arg0); end
|
19
|
+
def self.configure; end
|
20
|
+
def self.const_missing(name); end
|
21
|
+
def self.current_example; end
|
22
|
+
def self.current_example=(example); end
|
23
|
+
def self.reset; end
|
24
|
+
def self.world; end
|
25
|
+
def self.world=(arg0); end
|
26
|
+
extend RSpec::Core::Warnings
|
27
|
+
end
|
28
|
+
module RSpec::Core
|
29
|
+
def self.path_to_executable; end
|
30
|
+
end
|
31
|
+
class RSpec::Core::Time
|
32
|
+
def self.now; end
|
33
|
+
end
|
34
|
+
class Module
|
35
|
+
def context(*a, &b); end
|
36
|
+
def describe(*a, &b); end
|
37
|
+
def example_group(*a, &b); end
|
38
|
+
def fcontext(*a, &b); end
|
39
|
+
def fdescribe(*a, &b); end
|
40
|
+
def shared_context(name, *args, &block); end
|
41
|
+
def shared_examples(name, *args, &block); end
|
42
|
+
def shared_examples_for(name, *args, &block); end
|
43
|
+
def xcontext(*a, &b); end
|
44
|
+
def xdescribe(*a, &b); end
|
45
|
+
end
|
46
|
+
module RSpec::Core::SharedContext
|
47
|
+
def __shared_context_recordings; end
|
48
|
+
def after(*args, &block); end
|
49
|
+
def append_after(*args, &block); end
|
50
|
+
def append_before(*args, &block); end
|
51
|
+
def around(*args, &block); end
|
52
|
+
def before(*args, &block); end
|
53
|
+
def context(*args, &block); end
|
54
|
+
def describe(*args, &block); end
|
55
|
+
def hooks(*args, &block); end
|
56
|
+
def included(group); end
|
57
|
+
def let!(*args, &block); end
|
58
|
+
def let(*args, &block); end
|
59
|
+
def prepend_after(*args, &block); end
|
60
|
+
def prepend_before(*args, &block); end
|
61
|
+
def self.record(methods); end
|
62
|
+
def subject!(*args, &block); end
|
63
|
+
def subject(*args, &block); end
|
64
|
+
end
|
65
|
+
class RSpec::Core::SharedContext::Recording < Struct
|
66
|
+
def args; end
|
67
|
+
def args=(_); end
|
68
|
+
def block; end
|
69
|
+
def block=(_); end
|
70
|
+
def method_name; end
|
71
|
+
def method_name=(_); end
|
72
|
+
def playback_onto(group); end
|
73
|
+
def self.[](*arg0); end
|
74
|
+
def self.members; end
|
75
|
+
def self.new(*arg0); end
|
76
|
+
end
|
77
|
+
class RSpec::Core::ExampleStatusPersister
|
78
|
+
def dump_statuses(unparsed_previous_runs); end
|
79
|
+
def initialize(examples, file_name); end
|
80
|
+
def persist; end
|
81
|
+
def self.load_from(file_name); end
|
82
|
+
def self.persist(examples, file_name); end
|
83
|
+
def statuses_from_this_run; end
|
84
|
+
end
|
85
|
+
class RSpec::Core::ExampleStatusMerger
|
86
|
+
def delete_previous_examples_that_no_longer_exist; end
|
87
|
+
def example_must_no_longer_exist?(ex_id); end
|
88
|
+
def hash_from(example_list); end
|
89
|
+
def initialize(this_run, from_previous_runs); end
|
90
|
+
def loaded_spec_files; end
|
91
|
+
def merge; end
|
92
|
+
def self.merge(this_run, from_previous_runs); end
|
93
|
+
def sort_value_from(example); end
|
94
|
+
def spec_file_from(ex_id); end
|
95
|
+
end
|
96
|
+
class RSpec::Core::ExampleStatusDumper
|
97
|
+
def column_widths; end
|
98
|
+
def dump; end
|
99
|
+
def formatted_header_rows; end
|
100
|
+
def formatted_row_from(row_values); end
|
101
|
+
def formatted_value_rows; end
|
102
|
+
def headers; end
|
103
|
+
def initialize(examples); end
|
104
|
+
def rows; end
|
105
|
+
def self.dump(examples); end
|
106
|
+
end
|
107
|
+
class RSpec::Core::ExampleStatusParser
|
108
|
+
def headers; end
|
109
|
+
def initialize(string); end
|
110
|
+
def parse; end
|
111
|
+
def parse_row(line); end
|
112
|
+
def self.parse(string); end
|
113
|
+
def split_line(line); end
|
114
|
+
end
|
115
|
+
class RSpec::Core::Profiler
|
116
|
+
def example_group_finished(notification); end
|
117
|
+
def example_group_started(notification); end
|
118
|
+
def example_groups; end
|
119
|
+
def example_started(notification); end
|
120
|
+
def initialize; end
|
121
|
+
end
|
@@ -0,0 +1,127 @@
|
|
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/rspec-expectations/all/rspec-expectations.rbi
|
9
|
+
#
|
10
|
+
# rspec-expectations-3.5.0
|
11
|
+
|
12
|
+
module RSpec::Support
|
13
|
+
def self.require_rspec_expectations(f); end
|
14
|
+
def self.require_rspec_matchers(f); end
|
15
|
+
end
|
16
|
+
module RSpec
|
17
|
+
end
|
18
|
+
module RSpec::Matchers
|
19
|
+
def a_block_changing(*args, &block); end
|
20
|
+
def a_block_outputting(*args, &block); end
|
21
|
+
def a_block_raising(*args, &block); end
|
22
|
+
def a_block_throwing(*args, &block); end
|
23
|
+
def a_block_yielding_control(*args, &block); end
|
24
|
+
def a_block_yielding_successive_args(*args, &block); end
|
25
|
+
def a_block_yielding_with_args(*args, &block); end
|
26
|
+
def a_block_yielding_with_no_args(*args, &block); end
|
27
|
+
def a_collection_containing_exactly(*args, &block); end
|
28
|
+
def a_collection_ending_with(*args, &block); end
|
29
|
+
def a_collection_including(*args, &block); end
|
30
|
+
def a_collection_starting_with(*args, &block); end
|
31
|
+
def a_falsey_value(*args, &block); end
|
32
|
+
def a_falsy_value(*args, &block); end
|
33
|
+
def a_hash_including(*args, &block); end
|
34
|
+
def a_kind_of(*args, &block); end
|
35
|
+
def a_nil_value(*args, &block); end
|
36
|
+
def a_range_covering(*args, &block); end
|
37
|
+
def a_string_ending_with(*args, &block); end
|
38
|
+
def a_string_including(*args, &block); end
|
39
|
+
def a_string_matching(*args, &block); end
|
40
|
+
def a_string_starting_with(*args, &block); end
|
41
|
+
def a_truthy_value(*args, &block); end
|
42
|
+
def a_value(*args, &block); end
|
43
|
+
def a_value_between(*args, &block); end
|
44
|
+
def a_value_within(*args, &block); end
|
45
|
+
def aggregate_failures(label = nil, metadata = nil, &block); end
|
46
|
+
def all(expected); end
|
47
|
+
def an_instance_of(*args, &block); end
|
48
|
+
def an_object_eq_to(*args, &block); end
|
49
|
+
def an_object_eql_to(*args, &block); end
|
50
|
+
def an_object_equal_to(*args, &block); end
|
51
|
+
def an_object_existing(*args, &block); end
|
52
|
+
def an_object_having_attributes(*args, &block); end
|
53
|
+
def an_object_matching(*args, &block); end
|
54
|
+
def an_object_responding_to(*args, &block); end
|
55
|
+
def an_object_satisfying(*args, &block); end
|
56
|
+
def be(*args); end
|
57
|
+
def be_a(klass); end
|
58
|
+
def be_a_kind_of(expected); end
|
59
|
+
def be_an(klass); end
|
60
|
+
def be_an_instance_of(expected); end
|
61
|
+
def be_between(min, max); end
|
62
|
+
def be_falsey; end
|
63
|
+
def be_falsy(*args, &block); end
|
64
|
+
def be_instance_of(expected); end
|
65
|
+
def be_kind_of(expected); end
|
66
|
+
def be_nil; end
|
67
|
+
def be_truthy; end
|
68
|
+
def be_within(delta); end
|
69
|
+
def change(receiver = nil, message = nil, &block); end
|
70
|
+
def changing(*args, &block); end
|
71
|
+
def contain_exactly(*items); end
|
72
|
+
def containing_exactly(*args, &block); end
|
73
|
+
def cover(*values); end
|
74
|
+
def covering(*args, &block); end
|
75
|
+
def end_with(*expected); end
|
76
|
+
def ending_with(*args, &block); end
|
77
|
+
def eq(expected); end
|
78
|
+
def eq_to(*args, &block); end
|
79
|
+
def eql(expected); end
|
80
|
+
def eql_to(*args, &block); end
|
81
|
+
def equal(expected); end
|
82
|
+
def equal_to(*args, &block); end
|
83
|
+
def exist(*args); end
|
84
|
+
def existing(*args, &block); end
|
85
|
+
def have_attributes(expected); end
|
86
|
+
def having_attributes(*args, &block); end
|
87
|
+
def include(*expected); end
|
88
|
+
def including(*args, &block); end
|
89
|
+
def match(expected); end
|
90
|
+
def match_array(items); end
|
91
|
+
def match_regex(*args, &block); end
|
92
|
+
def matching(*args, &block); end
|
93
|
+
def method_missing(method, *args, &block); end
|
94
|
+
def output(expected = nil); end
|
95
|
+
def raise_error(error = nil, message = nil, &block); end
|
96
|
+
def raise_exception(error = nil, message = nil, &block); end
|
97
|
+
def raising(*args, &block); end
|
98
|
+
def respond_to(*names); end
|
99
|
+
def respond_to_missing?(method, *arg1); end
|
100
|
+
def responding_to(*args, &block); end
|
101
|
+
def satisfy(description = nil, &block); end
|
102
|
+
def satisfying(*args, &block); end
|
103
|
+
def self.alias_matcher(new_name, old_name, options = nil, &description_override); end
|
104
|
+
def self.configuration; end
|
105
|
+
def self.define_negated_matcher(negated_name, base_name, &description_override); end
|
106
|
+
def self.is_a_describable_matcher?(obj); end
|
107
|
+
def self.is_a_matcher?(obj); end
|
108
|
+
def start_with(*expected); end
|
109
|
+
def starting_with(*args, &block); end
|
110
|
+
def throw_symbol(expected_symbol = nil, expected_arg = nil); end
|
111
|
+
def throwing(*args, &block); end
|
112
|
+
def within(*args, &block); end
|
113
|
+
def yield_control; end
|
114
|
+
def yield_successive_args(*args); end
|
115
|
+
def yield_with_args(*args); end
|
116
|
+
def yield_with_no_args; end
|
117
|
+
def yielding_control(*args, &block); end
|
118
|
+
def yielding_successive_args(*args, &block); end
|
119
|
+
def yielding_with_args(*args, &block); end
|
120
|
+
def yielding_with_no_args(*args, &block); end
|
121
|
+
end
|
122
|
+
module RSpec::Expectations
|
123
|
+
end
|
124
|
+
class RSpec::Expectations::ExpectationNotMetError < Exception
|
125
|
+
end
|
126
|
+
class RSpec::Expectations::MultipleExpectationsNotMetError < RSpec::Expectations::ExpectationNotMetError
|
127
|
+
end
|
@@ -0,0 +1,189 @@
|
|
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/rspec-mocks/all/rspec-mocks.rbi
|
9
|
+
#
|
10
|
+
# rspec-mocks-3.5.0
|
11
|
+
|
12
|
+
module RSpec
|
13
|
+
end
|
14
|
+
module RSpec::Mocks
|
15
|
+
def self.allow_message(subject, message, opts = nil, &block); end
|
16
|
+
def self.expect_message(subject, message, opts = nil, &block); end
|
17
|
+
def self.setup; end
|
18
|
+
def self.space; end
|
19
|
+
def self.teardown; end
|
20
|
+
def self.verify; end
|
21
|
+
def self.with_temporary_scope; end
|
22
|
+
end
|
23
|
+
module RSpec::Mocks::ArgumentMatchers
|
24
|
+
end
|
25
|
+
class RSpec::Mocks::ArgumentMatchers::SingletonMatcher
|
26
|
+
end
|
27
|
+
class RSpec::Mocks::ArgumentMatchers::AnyArgsMatcher < RSpec::Mocks::ArgumentMatchers::SingletonMatcher
|
28
|
+
end
|
29
|
+
class RSpec::Mocks::ArgumentMatchers::AnyArgMatcher < RSpec::Mocks::ArgumentMatchers::SingletonMatcher
|
30
|
+
end
|
31
|
+
class RSpec::Mocks::ArgumentMatchers::NoArgsMatcher < RSpec::Mocks::ArgumentMatchers::SingletonMatcher
|
32
|
+
end
|
33
|
+
class RSpec::Mocks::ArgumentMatchers::BooleanMatcher < RSpec::Mocks::ArgumentMatchers::SingletonMatcher
|
34
|
+
end
|
35
|
+
class RSpec::Mocks::ArgumentMatchers::BaseHashMatcher
|
36
|
+
end
|
37
|
+
class RSpec::Mocks::ArgumentMatchers::HashIncludingMatcher < RSpec::Mocks::ArgumentMatchers::BaseHashMatcher
|
38
|
+
end
|
39
|
+
class RSpec::Mocks::ArgumentMatchers::HashExcludingMatcher < RSpec::Mocks::ArgumentMatchers::BaseHashMatcher
|
40
|
+
end
|
41
|
+
class RSpec::Mocks::ArgumentMatchers::ArrayIncludingMatcher
|
42
|
+
end
|
43
|
+
class RSpec::Mocks::ArgumentMatchers::DuckTypeMatcher
|
44
|
+
end
|
45
|
+
class RSpec::Mocks::ArgumentMatchers::InstanceOf
|
46
|
+
end
|
47
|
+
class RSpec::Mocks::ArgumentMatchers::KindOf
|
48
|
+
end
|
49
|
+
module RSpec::Support
|
50
|
+
def self.require_rspec_mocks(f); end
|
51
|
+
end
|
52
|
+
module RSpec::Mocks::Matchers
|
53
|
+
end
|
54
|
+
module RSpec::Mocks::Matchers::Matcher
|
55
|
+
end
|
56
|
+
class RSpec::Mocks::MessageChain
|
57
|
+
def block; end
|
58
|
+
def chain; end
|
59
|
+
def chain_on(object, *chain, &block); end
|
60
|
+
def find_matching_expectation; end
|
61
|
+
def find_matching_stub; end
|
62
|
+
def format_chain(*chain, &blk); end
|
63
|
+
def initialize(object, *chain, &blk); end
|
64
|
+
def object; end
|
65
|
+
def setup_chain; end
|
66
|
+
end
|
67
|
+
class RSpec::Mocks::ExpectChain < RSpec::Mocks::MessageChain
|
68
|
+
def expectation(object, message, &return_block); end
|
69
|
+
def self.expect_chain_on(object, *chain, &blk); end
|
70
|
+
end
|
71
|
+
class RSpec::Mocks::StubChain < RSpec::Mocks::MessageChain
|
72
|
+
def expectation(object, message, &return_block); end
|
73
|
+
def self.stub_chain_on(object, *chain, &blk); end
|
74
|
+
end
|
75
|
+
class RSpec::Mocks::MarshalExtension
|
76
|
+
def self.patch!; end
|
77
|
+
def self.unpatch!; end
|
78
|
+
end
|
79
|
+
class RSpec::Mocks::Matchers::HaveReceived
|
80
|
+
def apply_constraints_to(expectation); end
|
81
|
+
def at_least(*args); end
|
82
|
+
def at_most(*args); end
|
83
|
+
def capture_failure_message; end
|
84
|
+
def count_constraint; end
|
85
|
+
def description; end
|
86
|
+
def disallow(type, reason = nil); end
|
87
|
+
def does_not_match?(subject); end
|
88
|
+
def ensure_count_unconstrained; end
|
89
|
+
def exactly(*args); end
|
90
|
+
def expect; end
|
91
|
+
def expected_messages_received_in_order?; end
|
92
|
+
def failure_message; end
|
93
|
+
def failure_message_when_negated; end
|
94
|
+
def initialize(method_name, &block); end
|
95
|
+
def matches?(subject, &block); end
|
96
|
+
def mock_proxy; end
|
97
|
+
def name; end
|
98
|
+
def notify_failure_message; end
|
99
|
+
def once(*args); end
|
100
|
+
def ordered(*args); end
|
101
|
+
def setup_allowance(_subject, &_block); end
|
102
|
+
def setup_any_instance_allowance(_subject, &_block); end
|
103
|
+
def setup_any_instance_expectation(_subject, &_block); end
|
104
|
+
def setup_expectation(subject, &block); end
|
105
|
+
def setup_negative_expectation(subject, &block); end
|
106
|
+
def thrice(*args); end
|
107
|
+
def times(*args); end
|
108
|
+
def twice(*args); end
|
109
|
+
def with(*args); end
|
110
|
+
include RSpec::Mocks::Matchers::Matcher
|
111
|
+
end
|
112
|
+
class RSpec::Mocks::Matchers::Receive
|
113
|
+
def and_call_original(*args, &block); end
|
114
|
+
def and_raise(*args, &block); end
|
115
|
+
def and_return(*args, &block); end
|
116
|
+
def and_throw(*args, &block); end
|
117
|
+
def and_wrap_original(*args, &block); end
|
118
|
+
def and_yield(*args, &block); end
|
119
|
+
def at_least(*args, &block); end
|
120
|
+
def at_most(*args, &block); end
|
121
|
+
def describable; end
|
122
|
+
def description; end
|
123
|
+
def does_not_match?(subject, &block); end
|
124
|
+
def exactly(*args, &block); end
|
125
|
+
def initialize(message, block); end
|
126
|
+
def matches?(subject, &block); end
|
127
|
+
def move_block_to_last_customization(block); end
|
128
|
+
def name; end
|
129
|
+
def never(*args, &block); end
|
130
|
+
def once(*args, &block); end
|
131
|
+
def ordered(*args, &block); end
|
132
|
+
def setup_allowance(subject, &block); end
|
133
|
+
def setup_any_instance_allowance(subject, &block); end
|
134
|
+
def setup_any_instance_expectation(subject, &block); end
|
135
|
+
def setup_any_instance_method_substitute(subject, method, block); end
|
136
|
+
def setup_any_instance_negative_expectation(subject, &block); end
|
137
|
+
def setup_expectation(subject, &block); end
|
138
|
+
def setup_method_substitute(host, method, block, *args); end
|
139
|
+
def setup_mock_proxy_method_substitute(subject, method, block); end
|
140
|
+
def setup_negative_expectation(subject, &block); end
|
141
|
+
def thrice(*args, &block); end
|
142
|
+
def times(*args, &block); end
|
143
|
+
def twice(*args, &block); end
|
144
|
+
def warn_if_any_instance(expression, subject); end
|
145
|
+
def with(*args, &block); end
|
146
|
+
include RSpec::Mocks::Matchers::Matcher
|
147
|
+
end
|
148
|
+
class RSpec::Mocks::Matchers::Receive::DefaultDescribable
|
149
|
+
def description_for(verb); end
|
150
|
+
def initialize(message); end
|
151
|
+
end
|
152
|
+
class RSpec::Mocks::Matchers::ReceiveMessageChain
|
153
|
+
def and_call_original(*args, &block); end
|
154
|
+
def and_raise(*args, &block); end
|
155
|
+
def and_return(*args, &block); end
|
156
|
+
def and_throw(*args, &block); end
|
157
|
+
def and_yield(*args, &block); end
|
158
|
+
def description; end
|
159
|
+
def does_not_match?(*_args); end
|
160
|
+
def formatted_chain; end
|
161
|
+
def initialize(chain, &block); end
|
162
|
+
def matches?(subject, &block); end
|
163
|
+
def name; end
|
164
|
+
def replay_customizations(chain); end
|
165
|
+
def setup_allowance(subject, &block); end
|
166
|
+
def setup_any_instance_allowance(subject, &block); end
|
167
|
+
def setup_any_instance_expectation(subject, &block); end
|
168
|
+
def setup_expectation(subject, &block); end
|
169
|
+
def setup_negative_expectation(*_args); end
|
170
|
+
def with(*args, &block); end
|
171
|
+
include RSpec::Mocks::Matchers::Matcher
|
172
|
+
end
|
173
|
+
class RSpec::Mocks::Matchers::ReceiveMessages
|
174
|
+
def any_instance_of(subject); end
|
175
|
+
def description; end
|
176
|
+
def does_not_match?(_subject); end
|
177
|
+
def each_message_on(host); end
|
178
|
+
def initialize(message_return_value_hash); end
|
179
|
+
def matches?(subject); end
|
180
|
+
def name; end
|
181
|
+
def proxy_on(subject); end
|
182
|
+
def setup_allowance(subject); end
|
183
|
+
def setup_any_instance_allowance(subject); end
|
184
|
+
def setup_any_instance_expectation(subject); end
|
185
|
+
def setup_expectation(subject); end
|
186
|
+
def setup_negative_expectation(_subject); end
|
187
|
+
def warn_about_block; end
|
188
|
+
include RSpec::Mocks::Matchers::Matcher
|
189
|
+
end
|
@@ -0,0 +1,37 @@
|
|
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/rspec-support/all/rspec-support.rbi
|
9
|
+
#
|
10
|
+
# rspec-support-3.5.0
|
11
|
+
|
12
|
+
module RSpec
|
13
|
+
extend RSpec::Support::Warnings
|
14
|
+
end
|
15
|
+
module RSpec::Support
|
16
|
+
def self.define_optimized_require_for_rspec(lib, &require_relative); end
|
17
|
+
def self.failure_notifier; end
|
18
|
+
def self.failure_notifier=(callable); end
|
19
|
+
def self.method_handle_for(object, method_name); end
|
20
|
+
def self.notify_failure(failure, options = nil); end
|
21
|
+
def self.require_rspec_support(f); end
|
22
|
+
def self.thread_local_data; end
|
23
|
+
def self.warning_notifier; end
|
24
|
+
def self.warning_notifier=(arg0); end
|
25
|
+
def self.with_failure_notifier(callable); end
|
26
|
+
end
|
27
|
+
module RSpec::Support::AllExceptionsExceptOnesWeMustNotRescue
|
28
|
+
def self.===(exception); end
|
29
|
+
end
|
30
|
+
module RSpec::Support::Warnings
|
31
|
+
def deprecate(deprecated, options = nil); end
|
32
|
+
def warn_deprecation(message, options = nil); end
|
33
|
+
def warn_with(message, options = nil); end
|
34
|
+
def warning(text, options = nil); end
|
35
|
+
end
|
36
|
+
module RSpec::Support::FuzzyMatcher
|
37
|
+
end
|
@@ -0,0 +1,15 @@
|
|
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/rspec/all/rspec.rbi
|
9
|
+
#
|
10
|
+
# rspec-3.5.0
|
11
|
+
|
12
|
+
module RSpec
|
13
|
+
end
|
14
|
+
module RSpec::Version
|
15
|
+
end
|