xtj 0.1.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +11 -0
- data/.rspec +3 -0
- data/.rubocop.yml +10 -0
- data/.travis.yml +11 -0
- data/CODE_OF_CONDUCT.md +74 -0
- data/Gemfile +13 -0
- data/Gemfile.lock +57 -0
- data/LICENSE.txt +21 -0
- data/README.md +54 -0
- data/Rakefile +8 -0
- data/bin/console +15 -0
- data/bin/setup +8 -0
- data/lib/xtj/handlers/xml_handler.rb +47 -0
- data/lib/xtj/tags/xml_tag.rb +29 -0
- data/lib/xtj/version.rb +6 -0
- data/lib/xtj.rb +39 -0
- data/sorbet/config +2 -0
- data/sorbet/rbi/gems/rake.rbi +643 -0
- data/sorbet/rbi/gems/rspec-core.rbi +1686 -0
- data/sorbet/rbi/gems/rspec-expectations.rbi +387 -0
- data/sorbet/rbi/gems/rspec-mocks.rbi +818 -0
- data/sorbet/rbi/gems/rspec-support.rbi +268 -0
- data/sorbet/rbi/gems/rspec.rbi +14 -0
- data/sorbet/rbi/hidden-definitions/errors.txt +2477 -0
- data/sorbet/rbi/hidden-definitions/hidden.rbi +5274 -0
- data/sorbet/rbi/sorbet-typed/lib/bundler/all/bundler.rbi +8682 -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/xtj.gemspec +27 -0
- metadata +115 -0
@@ -0,0 +1,268 @@
|
|
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-support/all/rspec-support.rbi
|
9
|
+
#
|
10
|
+
# rspec-support-3.8.2
|
11
|
+
module RSpec
|
12
|
+
extend RSpec::Support::Warnings
|
13
|
+
end
|
14
|
+
module RSpec::Support
|
15
|
+
def self.class_of(object); end
|
16
|
+
def self.define_optimized_require_for_rspec(lib, &require_relative); end
|
17
|
+
def self.deregister_matcher_definition(&block); end
|
18
|
+
def self.failure_notifier; end
|
19
|
+
def self.failure_notifier=(callable); end
|
20
|
+
def self.is_a_matcher?(object); end
|
21
|
+
def self.matcher_definitions; end
|
22
|
+
def self.method_handle_for(object, method_name); end
|
23
|
+
def self.notify_failure(failure, options = nil); end
|
24
|
+
def self.register_matcher_definition(&block); end
|
25
|
+
def self.require_rspec_support(f); end
|
26
|
+
def self.rspec_description_for_object(object); end
|
27
|
+
def self.thread_local_data; end
|
28
|
+
def self.warning_notifier; end
|
29
|
+
def self.warning_notifier=(arg0); end
|
30
|
+
def self.with_failure_notifier(callable); end
|
31
|
+
end
|
32
|
+
module RSpec::Support::Version
|
33
|
+
end
|
34
|
+
class RSpec::Support::ComparableVersion
|
35
|
+
def <=>(other); end
|
36
|
+
def initialize(string); end
|
37
|
+
def segments; end
|
38
|
+
def string; end
|
39
|
+
include Comparable
|
40
|
+
end
|
41
|
+
module RSpec::Support::OS
|
42
|
+
def self.windows?; end
|
43
|
+
def self.windows_file_path?; end
|
44
|
+
def windows?; end
|
45
|
+
def windows_file_path?; end
|
46
|
+
end
|
47
|
+
module RSpec::Support::Ruby
|
48
|
+
def jruby?; end
|
49
|
+
def jruby_9000?; end
|
50
|
+
def jruby_version; end
|
51
|
+
def mri?; end
|
52
|
+
def non_mri?; end
|
53
|
+
def rbx?; end
|
54
|
+
def self.jruby?; end
|
55
|
+
def self.jruby_9000?; end
|
56
|
+
def self.jruby_version; end
|
57
|
+
def self.mri?; end
|
58
|
+
def self.non_mri?; end
|
59
|
+
def self.rbx?; end
|
60
|
+
end
|
61
|
+
module RSpec::Support::RubyFeatures
|
62
|
+
def caller_locations_supported?; end
|
63
|
+
def fork_supported?; end
|
64
|
+
def kw_args_supported?; end
|
65
|
+
def module_prepends_supported?; end
|
66
|
+
def module_refinement_supported?; end
|
67
|
+
def optional_and_splat_args_supported?; end
|
68
|
+
def required_kw_args_supported?; end
|
69
|
+
def ripper_supported?; end
|
70
|
+
def self.caller_locations_supported?; end
|
71
|
+
def self.fork_supported?; end
|
72
|
+
def self.kw_args_supported?; end
|
73
|
+
def self.module_prepends_supported?; end
|
74
|
+
def self.module_refinement_supported?; end
|
75
|
+
def self.optional_and_splat_args_supported?; end
|
76
|
+
def self.required_kw_args_supported?; end
|
77
|
+
def self.ripper_supported?; end
|
78
|
+
def self.supports_exception_cause?; end
|
79
|
+
def self.supports_rebinding_module_methods?; end
|
80
|
+
def supports_exception_cause?; end
|
81
|
+
def supports_rebinding_module_methods?; end
|
82
|
+
end
|
83
|
+
module RSpec::Support::AllExceptionsExceptOnesWeMustNotRescue
|
84
|
+
def self.===(exception); end
|
85
|
+
end
|
86
|
+
class RSpec::CallerFilter
|
87
|
+
def self.first_non_rspec_line(skip_frames = nil, increment = nil); end
|
88
|
+
end
|
89
|
+
module RSpec::Support::Warnings
|
90
|
+
def deprecate(deprecated, options = nil); end
|
91
|
+
def warn_deprecation(message, options = nil); end
|
92
|
+
def warn_with(message, options = nil); end
|
93
|
+
def warning(text, options = nil); end
|
94
|
+
end
|
95
|
+
class RSpec::Support::EncodedString
|
96
|
+
def <<(string); end
|
97
|
+
def ==(*args, &block); end
|
98
|
+
def detect_source_encoding(string); end
|
99
|
+
def empty?(*args, &block); end
|
100
|
+
def encoding(*args, &block); end
|
101
|
+
def eql?(*args, &block); end
|
102
|
+
def initialize(string, encoding = nil); end
|
103
|
+
def lines(*args, &block); end
|
104
|
+
def matching_encoding(string); end
|
105
|
+
def remove_invalid_bytes(string); end
|
106
|
+
def self.pick_encoding(source_a, source_b); end
|
107
|
+
def source_encoding; end
|
108
|
+
def split(regex_or_string); end
|
109
|
+
def to_s; end
|
110
|
+
def to_str; end
|
111
|
+
end
|
112
|
+
class RSpec::Support::ReentrantMutex
|
113
|
+
def enter; end
|
114
|
+
def exit; end
|
115
|
+
def initialize; end
|
116
|
+
def synchronize; end
|
117
|
+
end
|
118
|
+
class RSpec::Support::DirectoryMaker
|
119
|
+
def self.directory_exists?(dirname); end
|
120
|
+
def self.generate_path(stack, part); end
|
121
|
+
def self.generate_stack(path); end
|
122
|
+
def self.mkdir_p(path); end
|
123
|
+
end
|
124
|
+
module RSpec::Support::RecursiveConstMethods
|
125
|
+
def const_defined_on?(mod, const_name); end
|
126
|
+
def constants_defined_on(mod); end
|
127
|
+
def get_const_defined_on(mod, const_name); end
|
128
|
+
def normalize_const_name(const_name); end
|
129
|
+
def recursive_const_defined?(const_name); end
|
130
|
+
def recursive_const_get(const_name); end
|
131
|
+
end
|
132
|
+
class RSpec::Support::ObjectFormatter
|
133
|
+
def format(object); end
|
134
|
+
def initialize(max_formatted_output_length = nil); end
|
135
|
+
def max_formatted_output_length; end
|
136
|
+
def max_formatted_output_length=(arg0); end
|
137
|
+
def prepare_array(array); end
|
138
|
+
def prepare_element(element); end
|
139
|
+
def prepare_for_inspection(object); end
|
140
|
+
def prepare_hash(input_hash); end
|
141
|
+
def recursive_structure?(object); end
|
142
|
+
def self.default_instance; end
|
143
|
+
def self.format(object); end
|
144
|
+
def self.prepare_for_inspection(object); end
|
145
|
+
def sort_hash_keys(input_hash); end
|
146
|
+
def truncate_string(str, start_index, end_index); end
|
147
|
+
def with_entering_structure(structure); end
|
148
|
+
end
|
149
|
+
class RSpec::Support::ObjectFormatter::InspectableItem < Struct
|
150
|
+
def inspect; end
|
151
|
+
def pretty_print(pp); end
|
152
|
+
def self.[](*arg0); end
|
153
|
+
def self.inspect; end
|
154
|
+
def self.members; end
|
155
|
+
def self.new(*arg0); end
|
156
|
+
def text; end
|
157
|
+
def text=(_); end
|
158
|
+
end
|
159
|
+
class RSpec::Support::ObjectFormatter::BaseInspector < Struct
|
160
|
+
def formatter; end
|
161
|
+
def formatter=(_); end
|
162
|
+
def inspect; end
|
163
|
+
def object; end
|
164
|
+
def object=(_); end
|
165
|
+
def pretty_print(pp); end
|
166
|
+
def self.[](*arg0); end
|
167
|
+
def self.can_inspect?(_object); end
|
168
|
+
def self.inspect; end
|
169
|
+
def self.members; end
|
170
|
+
def self.new(*arg0); end
|
171
|
+
end
|
172
|
+
class RSpec::Support::ObjectFormatter::TimeInspector < RSpec::Support::ObjectFormatter::BaseInspector
|
173
|
+
def inspect; end
|
174
|
+
def self.can_inspect?(object); end
|
175
|
+
end
|
176
|
+
class RSpec::Support::ObjectFormatter::DateTimeInspector < RSpec::Support::ObjectFormatter::BaseInspector
|
177
|
+
def inspect; end
|
178
|
+
def self.can_inspect?(object); end
|
179
|
+
end
|
180
|
+
class RSpec::Support::ObjectFormatter::BigDecimalInspector < RSpec::Support::ObjectFormatter::BaseInspector
|
181
|
+
def inspect; end
|
182
|
+
def self.can_inspect?(object); end
|
183
|
+
end
|
184
|
+
class RSpec::Support::ObjectFormatter::DescribableMatcherInspector < RSpec::Support::ObjectFormatter::BaseInspector
|
185
|
+
def inspect; end
|
186
|
+
def self.can_inspect?(object); end
|
187
|
+
end
|
188
|
+
class RSpec::Support::ObjectFormatter::UninspectableObjectInspector < RSpec::Support::ObjectFormatter::BaseInspector
|
189
|
+
def inspect; end
|
190
|
+
def klass; end
|
191
|
+
def native_object_id; end
|
192
|
+
def self.can_inspect?(object); end
|
193
|
+
end
|
194
|
+
class RSpec::Support::ObjectFormatter::DelegatorInspector < RSpec::Support::ObjectFormatter::BaseInspector
|
195
|
+
def inspect; end
|
196
|
+
def self.can_inspect?(object); end
|
197
|
+
end
|
198
|
+
class RSpec::Support::ObjectFormatter::InspectableObjectInspector < RSpec::Support::ObjectFormatter::BaseInspector
|
199
|
+
def inspect; end
|
200
|
+
def self.can_inspect?(object); end
|
201
|
+
end
|
202
|
+
module RSpec::Support::FuzzyMatcher
|
203
|
+
def self.arrays_match?(expected_list, actual_list); end
|
204
|
+
def self.hashes_match?(expected_hash, actual_hash); end
|
205
|
+
def self.values_match?(expected, actual); end
|
206
|
+
end
|
207
|
+
class RSpec::Support::MethodSignature
|
208
|
+
def arbitrary_kw_args?; end
|
209
|
+
def classify_arity(arity = nil); end
|
210
|
+
def classify_parameters; end
|
211
|
+
def could_contain_kw_args?(args); end
|
212
|
+
def description; end
|
213
|
+
def has_kw_args_in?(args); end
|
214
|
+
def initialize(method); end
|
215
|
+
def invalid_kw_args_from(given_kw_args); end
|
216
|
+
def max_non_kw_args; end
|
217
|
+
def min_non_kw_args; end
|
218
|
+
def missing_kw_args_from(given_kw_args); end
|
219
|
+
def non_kw_args_arity_description; end
|
220
|
+
def optional_kw_args; end
|
221
|
+
def required_kw_args; end
|
222
|
+
def unlimited_args?; end
|
223
|
+
def valid_non_kw_args?(positional_arg_count, optional_max_arg_count = nil); end
|
224
|
+
end
|
225
|
+
class RSpec::Support::MethodSignatureExpectation
|
226
|
+
def empty?; end
|
227
|
+
def expect_arbitrary_keywords; end
|
228
|
+
def expect_arbitrary_keywords=(arg0); end
|
229
|
+
def expect_unlimited_arguments; end
|
230
|
+
def expect_unlimited_arguments=(arg0); end
|
231
|
+
def initialize; end
|
232
|
+
def keywords; end
|
233
|
+
def keywords=(values); end
|
234
|
+
def max_count; end
|
235
|
+
def max_count=(number); end
|
236
|
+
def min_count; end
|
237
|
+
def min_count=(number); end
|
238
|
+
end
|
239
|
+
class RSpec::Support::BlockSignature < RSpec::Support::MethodSignature
|
240
|
+
def classify_parameters; end
|
241
|
+
end
|
242
|
+
class RSpec::Support::MethodSignatureVerifier
|
243
|
+
def arbitrary_kw_args?; end
|
244
|
+
def error_message; end
|
245
|
+
def initialize(signature, args = nil); end
|
246
|
+
def invalid_kw_args; end
|
247
|
+
def kw_args; end
|
248
|
+
def max_non_kw_args; end
|
249
|
+
def min_non_kw_args; end
|
250
|
+
def missing_kw_args; end
|
251
|
+
def non_kw_args; end
|
252
|
+
def split_args(*args); end
|
253
|
+
def unlimited_args?; end
|
254
|
+
def valid?; end
|
255
|
+
def valid_non_kw_args?; end
|
256
|
+
def with_expectation(expectation); end
|
257
|
+
end
|
258
|
+
class RSpec::Support::LooseSignatureVerifier < RSpec::Support::MethodSignatureVerifier
|
259
|
+
def split_args(*args); end
|
260
|
+
end
|
261
|
+
class RSpec::Support::LooseSignatureVerifier::SignatureWithKeywordArgumentsMatcher
|
262
|
+
def has_kw_args_in?(args); end
|
263
|
+
def initialize(signature); end
|
264
|
+
def invalid_kw_args_from(_kw_args); end
|
265
|
+
def missing_kw_args_from(_kw_args); end
|
266
|
+
def non_kw_args_arity_description; end
|
267
|
+
def valid_non_kw_args?(*args); end
|
268
|
+
end
|
@@ -0,0 +1,14 @@
|
|
1
|
+
# This file is autogenerated. Do not edit it by hand. Regenerate it with:
|
2
|
+
# srb rbi gems
|
3
|
+
|
4
|
+
# typed: strong
|
5
|
+
#
|
6
|
+
# If you would like to make changes to this file, great! Please create the gem's shim here:
|
7
|
+
#
|
8
|
+
# https://github.com/sorbet/sorbet-typed/new/master?filename=lib/rspec/all/rspec.rbi
|
9
|
+
#
|
10
|
+
# rspec-3.8.0
|
11
|
+
module RSpec
|
12
|
+
end
|
13
|
+
module RSpec::Version
|
14
|
+
end
|