packwerk 1.1.2 → 1.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/workflows/ci.yml +14 -5
- data/.ruby-version +1 -1
- data/Gemfile +1 -1
- data/Gemfile.lock +127 -110
- data/README.md +7 -0
- data/dev.yml +1 -1
- data/gemfiles/Gemfile-rails-6-0 +22 -0
- data/lib/packwerk.rb +1 -0
- data/lib/packwerk/application_validator.rb +5 -5
- data/lib/packwerk/node_processor.rb +2 -1
- data/lib/packwerk/node_visitor.rb +1 -1
- data/lib/packwerk/version.rb +1 -1
- data/library.yml +1 -1
- data/service.yml +2 -2
- data/shipit.rubygems.yml +5 -1
- data/sorbet/rbi/gems/{actioncable@6.1.0.alpha-d80c18a391e33552ae2d943e68af56946f883f65.rbi → actioncable@7.0.0.alpha-d612542336d9a61381311c95a27d801bb4094779.rbi} +56 -36
- data/sorbet/rbi/gems/{actionmailbox@6.1.0.alpha-d80c18a391e33552ae2d943e68af56946f883f65.rbi → actionmailbox@7.0.0.alpha-d612542336d9a61381311c95a27d801bb4094779.rbi} +25 -28
- data/sorbet/rbi/gems/{actionmailer@6.1.0.alpha-d80c18a391e33552ae2d943e68af56946f883f65.rbi → actionmailer@7.0.0.alpha-d612542336d9a61381311c95a27d801bb4094779.rbi} +43 -24
- data/sorbet/rbi/gems/{actionpack@6.1.0.alpha-d80c18a391e33552ae2d943e68af56946f883f65.rbi → actionpack@7.0.0.alpha-d612542336d9a61381311c95a27d801bb4094779.rbi} +382 -284
- data/sorbet/rbi/gems/{actiontext@6.1.0.alpha-d80c18a391e33552ae2d943e68af56946f883f65.rbi → actiontext@7.0.0.alpha-d612542336d9a61381311c95a27d801bb4094779.rbi} +76 -40
- data/sorbet/rbi/gems/{actionview@6.1.0.alpha-d80c18a391e33552ae2d943e68af56946f883f65.rbi → actionview@7.0.0.alpha-d612542336d9a61381311c95a27d801bb4094779.rbi} +206 -195
- data/sorbet/rbi/gems/{activejob@6.1.0.alpha-d80c18a391e33552ae2d943e68af56946f883f65.rbi → activejob@7.0.0.alpha-d612542336d9a61381311c95a27d801bb4094779.rbi} +64 -75
- data/sorbet/rbi/gems/{activemodel@6.1.0.alpha-d80c18a391e33552ae2d943e68af56946f883f65.rbi → activemodel@7.0.0.alpha-d612542336d9a61381311c95a27d801bb4094779.rbi} +103 -56
- data/sorbet/rbi/gems/{activerecord@6.1.0.alpha-d80c18a391e33552ae2d943e68af56946f883f65.rbi → activerecord@7.0.0.alpha-d612542336d9a61381311c95a27d801bb4094779.rbi} +1250 -898
- data/sorbet/rbi/gems/{activestorage@6.1.0.alpha-d80c18a391e33552ae2d943e68af56946f883f65.rbi → activestorage@7.0.0.alpha-d612542336d9a61381311c95a27d801bb4094779.rbi} +92 -120
- data/sorbet/rbi/gems/{activesupport@6.1.0.alpha-d80c18a391e33552ae2d943e68af56946f883f65.rbi → activesupport@7.0.0.alpha-d612542336d9a61381311c95a27d801bb4094779.rbi} +292 -193
- data/sorbet/rbi/gems/{ast@2.4.1.rbi → ast@2.4.2.rbi} +2 -1
- data/sorbet/rbi/gems/{better_html@1.0.15.rbi → better_html@1.0.16.rbi} +2 -2
- data/sorbet/rbi/gems/{concurrent-ruby@1.1.6.rbi → concurrent-ruby@1.1.8.rbi} +12 -9
- data/sorbet/rbi/gems/{erubi@1.9.0.rbi → erubi@1.10.0.rbi} +3 -1
- data/sorbet/rbi/gems/{i18n@1.8.2.rbi → i18n@1.8.10.rbi} +19 -52
- data/sorbet/rbi/gems/{loofah@2.5.0.rbi → loofah@2.9.0.rbi} +3 -1
- data/sorbet/rbi/gems/marcel@1.0.0.rbi +70 -0
- data/sorbet/rbi/gems/{mini_mime@1.0.2.rbi → mini_mime@1.0.3.rbi} +6 -6
- data/sorbet/rbi/gems/{mini_portile2@2.4.0.rbi → minitest-focus@1.2.1.rbi} +2 -2
- data/sorbet/rbi/gems/{minitest@5.14.0.rbi → minitest@5.14.4.rbi} +31 -29
- data/sorbet/rbi/gems/{mocha@1.11.2.rbi → mocha@1.12.0.rbi} +25 -36
- data/sorbet/rbi/gems/{nio4r@2.5.2.rbi → nio4r@2.5.7.rbi} +21 -20
- data/sorbet/rbi/gems/{nokogiri@1.10.9.rbi → nokogiri@1.11.2.rbi} +193 -154
- data/sorbet/rbi/gems/{parallel@1.19.1.rbi → parallel@1.20.1.rbi} +1 -1
- data/sorbet/rbi/gems/parlour@6.0.0.rbi +1272 -0
- data/sorbet/rbi/gems/{parser@2.7.1.4.rbi → parser@3.0.0.0.rbi} +287 -174
- data/sorbet/rbi/gems/{pry@0.13.1.rbi → pry@0.14.0.rbi} +1 -1
- data/sorbet/rbi/gems/racc@1.5.2.rbi +57 -0
- data/sorbet/rbi/gems/{rack@2.2.2.rbi → rack@2.2.3.rbi} +23 -35
- data/sorbet/rbi/gems/{rails@6.1.0.alpha-d80c18a391e33552ae2d943e68af56946f883f65.rbi → rails@7.0.0.alpha-d612542336d9a61381311c95a27d801bb4094779.rbi} +1 -1
- data/sorbet/rbi/gems/{railties@6.1.0.alpha-d80c18a391e33552ae2d943e68af56946f883f65.rbi → railties@7.0.0.alpha-d612542336d9a61381311c95a27d801bb4094779.rbi} +132 -121
- data/sorbet/rbi/gems/{rake@13.0.1.rbi → rake@13.0.3.rbi} +16 -20
- data/sorbet/rbi/gems/regexp_parser@2.1.1.rbi +8 -0
- data/sorbet/rbi/gems/rubocop-ast@1.4.1.rbi +8 -0
- data/sorbet/rbi/gems/{rubocop-performance@1.5.2.rbi → rubocop-performance@1.10.2.rbi} +1 -1
- data/sorbet/rbi/gems/{rubocop-shopify@1.0.2.rbi → rubocop-shopify@2.0.1.rbi} +1 -1
- data/sorbet/rbi/gems/{rubocop-sorbet@0.3.7.rbi → rubocop-sorbet@0.6.1.rbi} +1 -1
- data/sorbet/rbi/gems/{rubocop@0.82.0.rbi → rubocop@1.12.0.rbi} +1 -1
- data/sorbet/rbi/gems/{ruby-progressbar@1.10.1.rbi → ruby-progressbar@1.11.0.rbi} +1 -1
- data/sorbet/rbi/gems/spoom@1.1.0.rbi +1061 -0
- data/sorbet/rbi/gems/{spring@2.1.0.rbi → spring@2.1.1.rbi} +7 -7
- data/sorbet/rbi/gems/{sprockets-rails@3.2.1.rbi → sprockets-rails@3.2.2.rbi} +88 -68
- data/sorbet/rbi/gems/{sprockets@4.0.0.rbi → sprockets@4.0.2.rbi} +8 -7
- data/sorbet/rbi/gems/{tapioca@0.4.5.rbi → tapioca@0.4.19.rbi} +109 -24
- data/sorbet/rbi/gems/{thor@1.0.1.rbi → thor@1.1.0.rbi} +16 -15
- data/sorbet/rbi/gems/{tzinfo@2.0.2.rbi → tzinfo@2.0.4.rbi} +21 -2
- data/sorbet/rbi/gems/{unicode-display_width@1.7.0.rbi → unicode-display_width@2.0.0.rbi} +1 -1
- data/sorbet/rbi/gems/{websocket-driver@0.7.1.rbi → websocket-driver@0.7.3.rbi} +29 -29
- data/sorbet/rbi/gems/{websocket-extensions@0.1.4.rbi → websocket-extensions@0.1.5.rbi} +2 -2
- data/sorbet/rbi/gems/zeitwerk@2.4.2.rbi +177 -0
- metadata +54 -52
- data/sorbet/rbi/gems/jaro_winkler@1.5.4.rbi +0 -8
- data/sorbet/rbi/gems/marcel@0.3.3.rbi +0 -30
- data/sorbet/rbi/gems/mimemagic@0.3.5.rbi +0 -47
- data/sorbet/rbi/gems/parlour@4.0.1.rbi +0 -561
- data/sorbet/rbi/gems/spoom@1.0.4.rbi +0 -418
- data/sorbet/rbi/gems/zeitwerk@2.3.0.rbi +0 -8
@@ -1,6 +1,6 @@
|
|
1
1
|
# DO NOT EDIT MANUALLY
|
2
2
|
# This is an autogenerated file for types exported from the `mocha` gem.
|
3
|
-
# Please instead update this file by running `
|
3
|
+
# Please instead update this file by running `bin/tapioca sync`.
|
4
4
|
|
5
5
|
# typed: true
|
6
6
|
|
@@ -76,32 +76,30 @@ class Mocha::BlockMatchers::OptionalBlock
|
|
76
76
|
end
|
77
77
|
|
78
78
|
class Mocha::Cardinality
|
79
|
-
def initialize(required, maximum); end
|
79
|
+
def initialize(required = T.unsafe(nil), maximum = T.unsafe(nil)); end
|
80
80
|
|
81
81
|
def <<(invocation); end
|
82
82
|
def actual_invocations; end
|
83
83
|
def allowed_any_number_of_times?; end
|
84
84
|
def anticipated_times; end
|
85
|
+
def at_least(count); end
|
86
|
+
def at_most(count); end
|
87
|
+
def exactly(count); end
|
85
88
|
def invocations_allowed?; end
|
86
89
|
def invoked_times; end
|
87
90
|
def needs_verifying?; end
|
88
91
|
def satisfied?; end
|
92
|
+
def times(range_or_count); end
|
89
93
|
def used?; end
|
90
94
|
def verified?; end
|
91
95
|
|
92
96
|
protected
|
93
97
|
|
98
|
+
def count(number); end
|
94
99
|
def infinite?(number); end
|
95
100
|
def maximum; end
|
96
101
|
def required; end
|
97
|
-
def
|
98
|
-
|
99
|
-
class << self
|
100
|
-
def at_least(count); end
|
101
|
-
def at_most(count); end
|
102
|
-
def exactly(count); end
|
103
|
-
def times(range_or_count); end
|
104
|
-
end
|
102
|
+
def update(required, maximum); end
|
105
103
|
end
|
106
104
|
|
107
105
|
Mocha::Cardinality::INFINITY = T.let(T.unsafe(nil), Float)
|
@@ -111,7 +109,7 @@ class Mocha::Central
|
|
111
109
|
|
112
110
|
def stub(method); end
|
113
111
|
def stubba_methods; end
|
114
|
-
def stubba_methods=(
|
112
|
+
def stubba_methods=(_arg0); end
|
115
113
|
def unstub(method); end
|
116
114
|
def unstub_all; end
|
117
115
|
end
|
@@ -119,8 +117,8 @@ end
|
|
119
117
|
class Mocha::Central::Null < ::Mocha::Central
|
120
118
|
def initialize(&block); end
|
121
119
|
|
122
|
-
def stub(*
|
123
|
-
def unstub(*
|
120
|
+
def stub(*_arg0); end
|
121
|
+
def unstub(*_arg0); end
|
124
122
|
end
|
125
123
|
|
126
124
|
class Mocha::ChangeStateSideEffect
|
@@ -216,9 +214,9 @@ end
|
|
216
214
|
class Mocha::Deprecation
|
217
215
|
class << self
|
218
216
|
def messages; end
|
219
|
-
def messages=(
|
217
|
+
def messages=(_arg0); end
|
220
218
|
def mode; end
|
221
|
-
def mode=(
|
219
|
+
def mode=(_arg0); end
|
222
220
|
def warning(*messages); end
|
223
221
|
end
|
224
222
|
end
|
@@ -270,7 +268,7 @@ class Mocha::Expectation
|
|
270
268
|
def raises(exception = T.unsafe(nil), message = T.unsafe(nil)); end
|
271
269
|
def returns(*values); end
|
272
270
|
def satisfied?; end
|
273
|
-
def then(
|
271
|
+
def then(state = T.unsafe(nil)); end
|
274
272
|
def throws(tag, object = T.unsafe(nil)); end
|
275
273
|
def times(range); end
|
276
274
|
def twice; end
|
@@ -290,7 +288,7 @@ class Mocha::ExpectationErrorFactory
|
|
290
288
|
class << self
|
291
289
|
def build(message = T.unsafe(nil), backtrace = T.unsafe(nil)); end
|
292
290
|
def exception_class; end
|
293
|
-
def exception_class=(
|
291
|
+
def exception_class=(_arg0); end
|
294
292
|
end
|
295
293
|
end
|
296
294
|
|
@@ -591,7 +589,7 @@ end
|
|
591
589
|
|
592
590
|
class Mocha::Mockery
|
593
591
|
def logger; end
|
594
|
-
def logger=(
|
592
|
+
def logger=(_arg0); end
|
595
593
|
def mocha_inspect; end
|
596
594
|
def mock_impersonating(object); end
|
597
595
|
def mock_impersonating_any_instance_of(klass); end
|
@@ -599,7 +597,6 @@ class Mocha::Mockery
|
|
599
597
|
def named_mock(name); end
|
600
598
|
def new_state_machine(name); end
|
601
599
|
def on_stubbing(object, method); end
|
602
|
-
def on_stubbing_method_unnecessarily(expectation); end
|
603
600
|
def state_machines; end
|
604
601
|
def stubba; end
|
605
602
|
def teardown; end
|
@@ -621,16 +618,12 @@ class Mocha::Mockery
|
|
621
618
|
def setup; end
|
622
619
|
def teardown; end
|
623
620
|
def verify(*args); end
|
624
|
-
|
625
|
-
private
|
626
|
-
|
627
|
-
def instances; end
|
628
621
|
end
|
629
622
|
end
|
630
623
|
|
631
624
|
class Mocha::Mockery::Null < ::Mocha::Mockery
|
632
|
-
def add_mock(*
|
633
|
-
def add_state_machine(*
|
625
|
+
def add_mock(*_arg0); end
|
626
|
+
def add_state_machine(*_arg0); end
|
634
627
|
def stubba; end
|
635
628
|
|
636
629
|
private
|
@@ -648,7 +641,7 @@ class Mocha::NotInitializedError < ::Mocha::ErrorWithFilteredBacktrace
|
|
648
641
|
end
|
649
642
|
|
650
643
|
module Mocha::ObjectMethods
|
651
|
-
def _method(
|
644
|
+
def _method(_arg0); end
|
652
645
|
def expects(expected_methods_vs_return_values); end
|
653
646
|
def mocha(instantiate = T.unsafe(nil)); end
|
654
647
|
def reset_mocha; end
|
@@ -853,7 +846,7 @@ class Mocha::ReturnValues
|
|
853
846
|
def +(other); end
|
854
847
|
def next(invocation); end
|
855
848
|
def values; end
|
856
|
-
def values=(
|
849
|
+
def values=(_arg0); end
|
857
850
|
|
858
851
|
class << self
|
859
852
|
def build(*values); end
|
@@ -886,24 +879,20 @@ class Mocha::StateMachine
|
|
886
879
|
|
887
880
|
def become(next_state_name); end
|
888
881
|
def current_state; end
|
889
|
-
def current_state=(
|
882
|
+
def current_state=(_arg0); end
|
890
883
|
def is(state_name); end
|
891
|
-
def is_not(
|
884
|
+
def is_not(unexpected_state_name); end
|
892
885
|
def mocha_inspect; end
|
893
886
|
def name; end
|
894
887
|
def starts_as(initial_state_name); end
|
895
888
|
end
|
896
889
|
|
897
|
-
class Mocha::StateMachine::State
|
898
|
-
def initialize(state_machine, state); end
|
899
|
-
|
890
|
+
class Mocha::StateMachine::State < ::Mocha::StateMachine::StatePredicate
|
900
891
|
def activate; end
|
901
|
-
def active?; end
|
902
|
-
def mocha_inspect; end
|
903
892
|
end
|
904
893
|
|
905
894
|
class Mocha::StateMachine::StatePredicate
|
906
|
-
def initialize(state_machine, state); end
|
895
|
+
def initialize(state_machine, state, description, &active_check); end
|
907
896
|
|
908
897
|
def active?; end
|
909
898
|
def mocha_inspect; end
|
@@ -912,7 +901,7 @@ end
|
|
912
901
|
class Mocha::StubbedMethod
|
913
902
|
def initialize(stubbee, method_name); end
|
914
903
|
|
915
|
-
def ==(
|
904
|
+
def ==(_arg0); end
|
916
905
|
def define_new_method; end
|
917
906
|
def hide_original_method; end
|
918
907
|
def matches?(other); end
|
@@ -1,41 +1,42 @@
|
|
1
1
|
# DO NOT EDIT MANUALLY
|
2
2
|
# This is an autogenerated file for types exported from the `nio4r` gem.
|
3
|
-
# Please instead update this file by running `
|
3
|
+
# Please instead update this file by running `bin/tapioca sync`.
|
4
4
|
|
5
5
|
# typed: true
|
6
6
|
|
7
7
|
module NIO
|
8
8
|
class << self
|
9
9
|
def engine; end
|
10
|
+
def pure?(env = T.unsafe(nil)); end
|
10
11
|
end
|
11
12
|
end
|
12
13
|
|
13
14
|
class NIO::ByteBuffer
|
14
15
|
include(::Enumerable)
|
15
16
|
|
16
|
-
def initialize(
|
17
|
+
def initialize(_arg0); end
|
17
18
|
|
18
|
-
def <<(
|
19
|
-
def [](
|
19
|
+
def <<(_arg0); end
|
20
|
+
def [](_arg0); end
|
20
21
|
def capacity; end
|
21
22
|
def clear; end
|
22
23
|
def compact; end
|
23
24
|
def each; end
|
24
25
|
def flip; end
|
25
26
|
def full?; end
|
26
|
-
def get(*
|
27
|
+
def get(*_arg0); end
|
27
28
|
def inspect; end
|
28
29
|
def limit; end
|
29
|
-
def limit=(
|
30
|
+
def limit=(_arg0); end
|
30
31
|
def mark; end
|
31
32
|
def position; end
|
32
|
-
def position=(
|
33
|
-
def read_from(
|
33
|
+
def position=(_arg0); end
|
34
|
+
def read_from(_arg0); end
|
34
35
|
def remaining; end
|
35
36
|
def reset; end
|
36
37
|
def rewind; end
|
37
38
|
def size; end
|
38
|
-
def write_to(
|
39
|
+
def write_to(_arg0); end
|
39
40
|
end
|
40
41
|
|
41
42
|
class NIO::ByteBuffer::MarkUnsetError < ::IOError
|
@@ -50,35 +51,35 @@ end
|
|
50
51
|
NIO::ENGINE = T.let(T.unsafe(nil), String)
|
51
52
|
|
52
53
|
class NIO::Monitor
|
53
|
-
def initialize(
|
54
|
+
def initialize(_arg0, _arg1, _arg2); end
|
54
55
|
|
55
|
-
def add_interest(
|
56
|
-
def close(*
|
56
|
+
def add_interest(_arg0); end
|
57
|
+
def close(*_arg0); end
|
57
58
|
def closed?; end
|
58
59
|
def interests; end
|
59
|
-
def interests=(
|
60
|
+
def interests=(_arg0); end
|
60
61
|
def io; end
|
61
62
|
def readable?; end
|
62
63
|
def readiness; end
|
63
|
-
def remove_interest(
|
64
|
+
def remove_interest(_arg0); end
|
64
65
|
def selector; end
|
65
66
|
def value; end
|
66
|
-
def value=(
|
67
|
+
def value=(_arg0); end
|
67
68
|
def writable?; end
|
68
69
|
def writeable?; end
|
69
70
|
end
|
70
71
|
|
71
72
|
class NIO::Selector
|
72
|
-
def initialize(*
|
73
|
+
def initialize(*_arg0); end
|
73
74
|
|
74
75
|
def backend; end
|
75
76
|
def close; end
|
76
77
|
def closed?; end
|
77
|
-
def deregister(
|
78
|
+
def deregister(_arg0); end
|
78
79
|
def empty?; end
|
79
|
-
def register(
|
80
|
-
def registered?(
|
81
|
-
def select(*
|
80
|
+
def register(_arg0, _arg1); end
|
81
|
+
def registered?(_arg0); end
|
82
|
+
def select(*_arg0); end
|
82
83
|
def wakeup; end
|
83
84
|
|
84
85
|
class << self
|
@@ -1,6 +1,6 @@
|
|
1
1
|
# DO NOT EDIT MANUALLY
|
2
2
|
# This is an autogenerated file for types exported from the `nokogiri` gem.
|
3
|
-
# Please instead update this file by running `
|
3
|
+
# Please instead update this file by running `bin/tapioca sync`.
|
4
4
|
|
5
5
|
# typed: true
|
6
6
|
|
@@ -14,7 +14,7 @@ module Nokogiri
|
|
14
14
|
def jruby?; end
|
15
15
|
def make(input = T.unsafe(nil), opts = T.unsafe(nil), &blk); end
|
16
16
|
def parse(string, url = T.unsafe(nil), encoding = T.unsafe(nil), options = T.unsafe(nil)); end
|
17
|
-
def uses_libxml
|
17
|
+
def uses_libxml?(requirement = T.unsafe(nil)); end
|
18
18
|
end
|
19
19
|
end
|
20
20
|
|
@@ -34,9 +34,9 @@ class Nokogiri::CSS::Node
|
|
34
34
|
def to_type; end
|
35
35
|
def to_xpath(prefix = T.unsafe(nil), visitor = T.unsafe(nil)); end
|
36
36
|
def type; end
|
37
|
-
def type=(
|
37
|
+
def type=(_arg0); end
|
38
38
|
def value; end
|
39
|
-
def value=(
|
39
|
+
def value=(_arg0); end
|
40
40
|
end
|
41
41
|
|
42
42
|
Nokogiri::CSS::Node::ALLOW_COMBINATOR_ON_SELF = T.let(T.unsafe(nil), Array)
|
@@ -111,16 +111,15 @@ class Nokogiri::CSS::Parser < ::Racc::Parser
|
|
111
111
|
class << self
|
112
112
|
def [](string); end
|
113
113
|
def []=(string, value); end
|
114
|
-
def cache_on; end
|
115
|
-
def cache_on=(_); end
|
116
114
|
def cache_on?; end
|
117
|
-
def clear_cache; end
|
118
|
-
def
|
119
|
-
def set_cache(_); end
|
115
|
+
def clear_cache(create_new_object = T.unsafe(nil)); end
|
116
|
+
def set_cache(value); end
|
120
117
|
def without_cache(&block); end
|
121
118
|
end
|
122
119
|
end
|
123
120
|
|
121
|
+
Nokogiri::CSS::Parser::CACHE_SWITCH_NAME = T.let(T.unsafe(nil), Symbol)
|
122
|
+
|
124
123
|
Nokogiri::CSS::Parser::Racc_arg = T.let(T.unsafe(nil), Array)
|
125
124
|
|
126
125
|
Nokogiri::CSS::Parser::Racc_token_to_s_table = T.let(T.unsafe(nil), Array)
|
@@ -140,7 +139,7 @@ class Nokogiri::CSS::Tokenizer
|
|
140
139
|
def scan_setup(str); end
|
141
140
|
def scan_str(str); end
|
142
141
|
def state; end
|
143
|
-
def state=(
|
142
|
+
def state=(_arg0); end
|
144
143
|
end
|
145
144
|
|
146
145
|
class Nokogiri::CSS::Tokenizer::ScanError < ::StandardError
|
@@ -164,11 +163,28 @@ class Nokogiri::CSS::XPathVisitor
|
|
164
163
|
|
165
164
|
private
|
166
165
|
|
166
|
+
def css_class(hay, needle); end
|
167
|
+
def css_class_builtin(hay, needle); end
|
168
|
+
def css_class_standard(hay, needle); end
|
167
169
|
def is_of_type_pseudo_class?(node); end
|
168
170
|
def nth(node, options = T.unsafe(nil)); end
|
169
171
|
def read_a_and_positive_b(values); end
|
170
172
|
end
|
171
173
|
|
174
|
+
class Nokogiri::CSS::XPathVisitorAlwaysUseBuiltins < ::Nokogiri::CSS::XPathVisitor
|
175
|
+
|
176
|
+
private
|
177
|
+
|
178
|
+
def css_class(hay, needle); end
|
179
|
+
end
|
180
|
+
|
181
|
+
class Nokogiri::CSS::XPathVisitorOptimallyUseBuiltins < ::Nokogiri::CSS::XPathVisitor
|
182
|
+
|
183
|
+
private
|
184
|
+
|
185
|
+
def css_class(hay, needle); end
|
186
|
+
end
|
187
|
+
|
172
188
|
module Nokogiri::Decorators
|
173
189
|
end
|
174
190
|
|
@@ -186,10 +202,10 @@ class Nokogiri::EncodingHandler
|
|
186
202
|
def name; end
|
187
203
|
|
188
204
|
class << self
|
189
|
-
def [](
|
190
|
-
def alias(
|
205
|
+
def [](_arg0); end
|
206
|
+
def alias(_arg0, _arg1); end
|
191
207
|
def clear_aliases!; end
|
192
|
-
def delete(
|
208
|
+
def delete(_arg0); end
|
193
209
|
end
|
194
210
|
end
|
195
211
|
|
@@ -219,10 +235,10 @@ class Nokogiri::HTML::Document < ::Nokogiri::XML::Document
|
|
219
235
|
def set_metadata_element(element); end
|
220
236
|
|
221
237
|
class << self
|
222
|
-
def new(*
|
238
|
+
def new(*_arg0); end
|
223
239
|
def parse(string_or_io, url = T.unsafe(nil), encoding = T.unsafe(nil), options = T.unsafe(nil)); end
|
224
|
-
def read_io(
|
225
|
-
def read_memory(
|
240
|
+
def read_io(_arg0, _arg1, _arg2, _arg3); end
|
241
|
+
def read_memory(_arg0, _arg1, _arg2, _arg3); end
|
226
242
|
end
|
227
243
|
end
|
228
244
|
|
@@ -240,8 +256,6 @@ class Nokogiri::HTML::Document::EncodingReader
|
|
240
256
|
|
241
257
|
class << self
|
242
258
|
def detect_encoding(chunk); end
|
243
|
-
def detect_encoding_for_jruby_without_fix(chunk); end
|
244
|
-
def is_jruby_without_fix?; end
|
245
259
|
end
|
246
260
|
end
|
247
261
|
|
@@ -289,7 +303,7 @@ class Nokogiri::HTML::ElementDescription
|
|
289
303
|
def default_desc; end
|
290
304
|
|
291
305
|
class << self
|
292
|
-
def [](
|
306
|
+
def [](_arg0); end
|
293
307
|
end
|
294
308
|
end
|
295
309
|
|
@@ -516,7 +530,7 @@ end
|
|
516
530
|
|
517
531
|
class Nokogiri::HTML::EntityLookup
|
518
532
|
def [](name); end
|
519
|
-
def get(
|
533
|
+
def get(_arg0); end
|
520
534
|
end
|
521
535
|
|
522
536
|
Nokogiri::HTML::NamedCharacters = T.let(T.unsafe(nil), Nokogiri::HTML::EntityLookup)
|
@@ -531,11 +545,11 @@ class Nokogiri::HTML::SAX::Parser < ::Nokogiri::XML::SAX::Parser
|
|
531
545
|
end
|
532
546
|
|
533
547
|
class Nokogiri::HTML::SAX::ParserContext < ::Nokogiri::XML::SAX::ParserContext
|
534
|
-
def parse_with(
|
548
|
+
def parse_with(_arg0); end
|
535
549
|
|
536
550
|
class << self
|
537
|
-
def file(
|
538
|
-
def memory(
|
551
|
+
def file(_arg0, _arg1); end
|
552
|
+
def memory(_arg0, _arg1); end
|
539
553
|
def new(thing, encoding = T.unsafe(nil)); end
|
540
554
|
end
|
541
555
|
end
|
@@ -545,78 +559,93 @@ class Nokogiri::HTML::SAX::PushParser < ::Nokogiri::XML::SAX::PushParser
|
|
545
559
|
|
546
560
|
def <<(chunk, last_chunk = T.unsafe(nil)); end
|
547
561
|
def document; end
|
548
|
-
def document=(
|
562
|
+
def document=(_arg0); end
|
549
563
|
def finish; end
|
550
564
|
def write(chunk, last_chunk = T.unsafe(nil)); end
|
551
565
|
|
552
566
|
private
|
553
567
|
|
554
|
-
def initialize_native(
|
555
|
-
def native_write(
|
568
|
+
def initialize_native(_arg0, _arg1, _arg2); end
|
569
|
+
def native_write(_arg0, _arg1); end
|
556
570
|
end
|
557
571
|
|
572
|
+
Nokogiri::LIBXML2_PATCHES = T.let(T.unsafe(nil), Array)
|
573
|
+
|
574
|
+
Nokogiri::LIBXML_COMPILED_VERSION = T.let(T.unsafe(nil), String)
|
575
|
+
|
558
576
|
Nokogiri::LIBXML_ICONV_ENABLED = T.let(T.unsafe(nil), TrueClass)
|
559
577
|
|
560
|
-
Nokogiri::
|
578
|
+
Nokogiri::LIBXML_LOADED_VERSION = T.let(T.unsafe(nil), String)
|
561
579
|
|
562
|
-
Nokogiri::
|
580
|
+
Nokogiri::LIBXSLT_COMPILED_VERSION = T.let(T.unsafe(nil), String)
|
563
581
|
|
564
|
-
Nokogiri::
|
582
|
+
Nokogiri::LIBXSLT_LOADED_VERSION = T.let(T.unsafe(nil), String)
|
565
583
|
|
566
|
-
Nokogiri::
|
584
|
+
Nokogiri::LIBXSLT_PATCHES = T.let(T.unsafe(nil), Array)
|
567
585
|
|
568
|
-
Nokogiri::
|
586
|
+
Nokogiri::OTHER_LIBRARY_VERSIONS = T.let(T.unsafe(nil), String)
|
569
587
|
|
570
|
-
Nokogiri::
|
588
|
+
Nokogiri::PACKAGED_LIBRARIES = T.let(T.unsafe(nil), TrueClass)
|
571
589
|
|
572
|
-
Nokogiri::
|
590
|
+
Nokogiri::PRECOMPILED_LIBRARIES = T.let(T.unsafe(nil), TrueClass)
|
573
591
|
|
574
592
|
class Nokogiri::SyntaxError < ::StandardError
|
575
593
|
end
|
576
594
|
|
595
|
+
module Nokogiri::Test
|
596
|
+
class << self
|
597
|
+
def __foreign_error_handler; end
|
598
|
+
end
|
599
|
+
end
|
600
|
+
|
577
601
|
Nokogiri::VERSION = T.let(T.unsafe(nil), String)
|
578
602
|
|
579
603
|
Nokogiri::VERSION_INFO = T.let(T.unsafe(nil), Hash)
|
580
604
|
|
581
605
|
class Nokogiri::VersionInfo
|
582
|
-
|
606
|
+
include(::Singleton)
|
607
|
+
extend(::Singleton::SingletonClassMethods)
|
608
|
+
|
609
|
+
def compiled_libxml_version; end
|
610
|
+
def compiled_libxslt_version; end
|
583
611
|
def engine; end
|
584
612
|
def jruby?; end
|
585
613
|
def libxml2?; end
|
614
|
+
def libxml2_has_iconv?; end
|
615
|
+
def libxml2_precompiled?; end
|
586
616
|
def libxml2_using_packaged?; end
|
587
617
|
def libxml2_using_system?; end
|
588
|
-
def
|
618
|
+
def loaded_libxml_version; end
|
619
|
+
def loaded_libxslt_version; end
|
620
|
+
def ruby_minor; end
|
589
621
|
def to_hash; end
|
590
622
|
def to_markdown; end
|
591
623
|
def warnings; end
|
592
|
-
|
593
|
-
class << self
|
594
|
-
def instance; end
|
595
|
-
end
|
624
|
+
def windows?; end
|
596
625
|
end
|
597
626
|
|
598
627
|
module Nokogiri::XML
|
599
628
|
class << self
|
600
629
|
def Reader(string_or_io, url = T.unsafe(nil), encoding = T.unsafe(nil), options = T.unsafe(nil)); end
|
601
|
-
def RelaxNG(string_or_io); end
|
602
|
-
def Schema(string_or_io); end
|
630
|
+
def RelaxNG(string_or_io, options = T.unsafe(nil)); end
|
631
|
+
def Schema(string_or_io, options = T.unsafe(nil)); end
|
603
632
|
def fragment(string); end
|
604
633
|
def parse(thing, url = T.unsafe(nil), encoding = T.unsafe(nil), options = T.unsafe(nil), &block); end
|
605
634
|
end
|
606
635
|
end
|
607
636
|
|
608
637
|
class Nokogiri::XML::Attr < ::Nokogiri::XML::Node
|
609
|
-
def content=(
|
638
|
+
def content=(_arg0); end
|
610
639
|
def to_s; end
|
611
640
|
def value; end
|
612
|
-
def value=(
|
641
|
+
def value=(_arg0); end
|
613
642
|
|
614
643
|
private
|
615
644
|
|
616
645
|
def inspect_attributes; end
|
617
646
|
|
618
647
|
class << self
|
619
|
-
def new(*
|
648
|
+
def new(*_arg0); end
|
620
649
|
end
|
621
650
|
end
|
622
651
|
|
@@ -633,16 +662,16 @@ class Nokogiri::XML::Builder
|
|
633
662
|
def <<(string); end
|
634
663
|
def [](ns); end
|
635
664
|
def arity; end
|
636
|
-
def arity=(
|
665
|
+
def arity=(_arg0); end
|
637
666
|
def cdata(string); end
|
638
667
|
def comment(string); end
|
639
668
|
def context; end
|
640
|
-
def context=(
|
669
|
+
def context=(_arg0); end
|
641
670
|
def doc; end
|
642
|
-
def doc=(
|
671
|
+
def doc=(_arg0); end
|
643
672
|
def method_missing(method, *args, &block); end
|
644
673
|
def parent; end
|
645
|
-
def parent=(
|
674
|
+
def parent=(_arg0); end
|
646
675
|
def text(string); end
|
647
676
|
def to_xml(*args); end
|
648
677
|
|
@@ -667,7 +696,7 @@ class Nokogiri::XML::CDATA < ::Nokogiri::XML::Text
|
|
667
696
|
def name; end
|
668
697
|
|
669
698
|
class << self
|
670
|
-
def new(*
|
699
|
+
def new(*_arg0); end
|
671
700
|
end
|
672
701
|
end
|
673
702
|
|
@@ -677,7 +706,7 @@ end
|
|
677
706
|
|
678
707
|
class Nokogiri::XML::Comment < ::Nokogiri::XML::CharacterData
|
679
708
|
class << self
|
680
|
-
def new(*
|
709
|
+
def new(*_arg0); end
|
681
710
|
end
|
682
711
|
end
|
683
712
|
|
@@ -692,7 +721,7 @@ class Nokogiri::XML::DTD < ::Nokogiri::XML::Node
|
|
692
721
|
def keys; end
|
693
722
|
def notations; end
|
694
723
|
def system_id; end
|
695
|
-
def validate(
|
724
|
+
def validate(_arg0); end
|
696
725
|
end
|
697
726
|
|
698
727
|
class Nokogiri::XML::Document < ::Nokogiri::XML::Node
|
@@ -700,30 +729,29 @@ class Nokogiri::XML::Document < ::Nokogiri::XML::Node
|
|
700
729
|
|
701
730
|
def <<(node_or_tags); end
|
702
731
|
def add_child(node_or_tags); end
|
703
|
-
def canonicalize(*
|
704
|
-
def clone(*
|
732
|
+
def canonicalize(*_arg0); end
|
733
|
+
def clone(*_arg0); end
|
705
734
|
def collect_namespaces; end
|
706
735
|
def create_cdata(string, &block); end
|
707
736
|
def create_comment(string, &block); end
|
708
737
|
def create_element(name, *args, &block); end
|
709
|
-
def create_entity(*
|
738
|
+
def create_entity(*_arg0); end
|
710
739
|
def create_text_node(string, &block); end
|
711
740
|
def decorate(node); end
|
712
741
|
def decorators(key); end
|
713
742
|
def document; end
|
714
|
-
def dup(*
|
743
|
+
def dup(*_arg0); end
|
715
744
|
def encoding; end
|
716
|
-
def encoding=(
|
745
|
+
def encoding=(_arg0); end
|
717
746
|
def errors; end
|
718
|
-
def errors=(
|
747
|
+
def errors=(_arg0); end
|
719
748
|
def fragment(tags = T.unsafe(nil)); end
|
720
749
|
def name; end
|
721
750
|
def namespaces; end
|
722
751
|
def remove_namespaces!; end
|
723
752
|
def root; end
|
724
|
-
def root=(
|
753
|
+
def root=(_arg0); end
|
725
754
|
def slop!; end
|
726
|
-
def to_java; end
|
727
755
|
def to_xml(*args, &block); end
|
728
756
|
def url; end
|
729
757
|
def validate; end
|
@@ -735,11 +763,10 @@ class Nokogiri::XML::Document < ::Nokogiri::XML::Node
|
|
735
763
|
|
736
764
|
class << self
|
737
765
|
def empty_doc?(string_or_io); end
|
738
|
-
def new(*
|
766
|
+
def new(*_arg0); end
|
739
767
|
def parse(string_or_io, url = T.unsafe(nil), encoding = T.unsafe(nil), options = T.unsafe(nil)); end
|
740
|
-
def read_io(
|
741
|
-
def read_memory(
|
742
|
-
def wrap(document); end
|
768
|
+
def read_io(_arg0, _arg1, _arg2, _arg3); end
|
769
|
+
def read_memory(_arg0, _arg1, _arg2, _arg3); end
|
743
770
|
end
|
744
771
|
end
|
745
772
|
|
@@ -758,6 +785,7 @@ class Nokogiri::XML::DocumentFragment < ::Nokogiri::XML::Node
|
|
758
785
|
def dup; end
|
759
786
|
def errors; end
|
760
787
|
def errors=(things); end
|
788
|
+
def fragment(data); end
|
761
789
|
def name; end
|
762
790
|
def search(*rules); end
|
763
791
|
def serialize; end
|
@@ -768,11 +796,10 @@ class Nokogiri::XML::DocumentFragment < ::Nokogiri::XML::Node
|
|
768
796
|
|
769
797
|
private
|
770
798
|
|
771
|
-
def coerce(data); end
|
772
799
|
def namespace_declarations(ctx); end
|
773
800
|
|
774
801
|
class << self
|
775
|
-
def new(*
|
802
|
+
def new(*_arg0); end
|
776
803
|
def parse(tags); end
|
777
804
|
end
|
778
805
|
end
|
@@ -847,7 +874,7 @@ class Nokogiri::XML::EntityReference < ::Nokogiri::XML::Node
|
|
847
874
|
def inspect_attributes; end
|
848
875
|
|
849
876
|
class << self
|
850
|
-
def new(*
|
877
|
+
def new(*_arg0); end
|
851
878
|
end
|
852
879
|
end
|
853
880
|
|
@@ -878,18 +905,18 @@ class Nokogiri::XML::Node
|
|
878
905
|
def []=(name, value); end
|
879
906
|
def accept(visitor); end
|
880
907
|
def add_child(node_or_tags); end
|
881
|
-
def add_class(
|
882
|
-
def add_namespace(
|
883
|
-
def add_namespace_definition(
|
908
|
+
def add_class(names); end
|
909
|
+
def add_namespace(_arg0, _arg1); end
|
910
|
+
def add_namespace_definition(_arg0, _arg1); end
|
884
911
|
def add_next_sibling(node_or_tags); end
|
885
912
|
def add_previous_sibling(node_or_tags); end
|
886
913
|
def after(node_or_tags); end
|
887
914
|
def ancestors(selector = T.unsafe(nil)); end
|
888
|
-
def append_class(
|
915
|
+
def append_class(names); end
|
889
916
|
def attr(name); end
|
890
|
-
def attribute(
|
917
|
+
def attribute(_arg0); end
|
891
918
|
def attribute_nodes; end
|
892
|
-
def attribute_with_ns(
|
919
|
+
def attribute_with_ns(_arg0, _arg1); end
|
893
920
|
def attributes; end
|
894
921
|
def before(node_or_tags); end
|
895
922
|
def blank?; end
|
@@ -899,12 +926,12 @@ class Nokogiri::XML::Node
|
|
899
926
|
def children; end
|
900
927
|
def children=(node_or_tags); end
|
901
928
|
def classes; end
|
902
|
-
def clone(*
|
929
|
+
def clone(*_arg0); end
|
903
930
|
def comment?; end
|
904
931
|
def content; end
|
905
932
|
def content=(string); end
|
906
|
-
def create_external_subset(
|
907
|
-
def create_internal_subset(
|
933
|
+
def create_external_subset(_arg0, _arg1, _arg2); end
|
934
|
+
def create_internal_subset(_arg0, _arg1, _arg2); end
|
908
935
|
def css_path; end
|
909
936
|
def decorate!; end
|
910
937
|
def default_namespace=(url); end
|
@@ -913,46 +940,51 @@ class Nokogiri::XML::Node
|
|
913
940
|
def do_xinclude(options = T.unsafe(nil)); end
|
914
941
|
def document; end
|
915
942
|
def document?; end
|
916
|
-
def dup(*
|
943
|
+
def dup(*_arg0); end
|
917
944
|
def each; end
|
918
945
|
def elem?; end
|
919
946
|
def element?; end
|
920
947
|
def element_children; end
|
921
948
|
def elements; end
|
922
|
-
def encode_special_chars(
|
949
|
+
def encode_special_chars(_arg0); end
|
923
950
|
def external_subset; end
|
924
951
|
def first_element_child; end
|
925
952
|
def fragment(tags); end
|
926
953
|
def fragment?; end
|
927
954
|
def get_attribute(name); end
|
928
|
-
def has_attribute?(
|
955
|
+
def has_attribute?(_arg0); end
|
929
956
|
def html?; end
|
930
957
|
def inner_html(*args); end
|
931
958
|
def inner_html=(node_or_tags); end
|
932
959
|
def inner_text; end
|
933
960
|
def internal_subset; end
|
934
|
-
def key?(
|
961
|
+
def key?(_arg0); end
|
935
962
|
def keys; end
|
963
|
+
def kwattr_add(attribute_name, keywords); end
|
964
|
+
def kwattr_append(attribute_name, keywords); end
|
965
|
+
def kwattr_remove(attribute_name, keywords); end
|
966
|
+
def kwattr_values(attribute_name); end
|
936
967
|
def lang; end
|
937
|
-
def lang=(
|
968
|
+
def lang=(_arg0); end
|
938
969
|
def last_element_child; end
|
939
970
|
def line; end
|
971
|
+
def line=(_arg0); end
|
940
972
|
def matches?(selector); end
|
941
973
|
def name; end
|
942
|
-
def name=(
|
974
|
+
def name=(_arg0); end
|
943
975
|
def namespace; end
|
944
976
|
def namespace=(ns); end
|
945
977
|
def namespace_definitions; end
|
946
978
|
def namespace_scopes; end
|
947
|
-
def namespaced_key?(
|
979
|
+
def namespaced_key?(_arg0, _arg1); end
|
948
980
|
def namespaces; end
|
949
|
-
def native_content=(
|
981
|
+
def native_content=(_arg0); end
|
950
982
|
def next; end
|
951
983
|
def next=(node_or_tags); end
|
952
984
|
def next_element; end
|
953
985
|
def next_sibling; end
|
954
986
|
def node_name; end
|
955
|
-
def node_name=(
|
987
|
+
def node_name=(_arg0); end
|
956
988
|
def node_type; end
|
957
989
|
def parent; end
|
958
990
|
def parent=(parent_node); end
|
@@ -968,7 +1000,7 @@ class Nokogiri::XML::Node
|
|
968
1000
|
def read_only?; end
|
969
1001
|
def remove; end
|
970
1002
|
def remove_attribute(name); end
|
971
|
-
def remove_class(
|
1003
|
+
def remove_class(names = T.unsafe(nil)); end
|
972
1004
|
def replace(node_or_tags); end
|
973
1005
|
def serialize(*args, &block); end
|
974
1006
|
def set_attribute(name, value); end
|
@@ -983,6 +1015,7 @@ class Nokogiri::XML::Node
|
|
983
1015
|
def traverse(&block); end
|
984
1016
|
def type; end
|
985
1017
|
def unlink; end
|
1018
|
+
def value?(value); end
|
986
1019
|
def values; end
|
987
1020
|
def wrap(html); end
|
988
1021
|
def write_html_to(io, options = T.unsafe(nil)); end
|
@@ -991,29 +1024,33 @@ class Nokogiri::XML::Node
|
|
991
1024
|
def write_xml_to(io, options = T.unsafe(nil)); end
|
992
1025
|
def xml?; end
|
993
1026
|
|
1027
|
+
protected
|
1028
|
+
|
1029
|
+
def coerce(data); end
|
1030
|
+
|
994
1031
|
private
|
995
1032
|
|
996
|
-
def add_child_node(
|
1033
|
+
def add_child_node(_arg0); end
|
997
1034
|
def add_child_node_and_reparent_attrs(node); end
|
998
|
-
def add_next_sibling_node(
|
999
|
-
def add_previous_sibling_node(
|
1035
|
+
def add_next_sibling_node(_arg0); end
|
1036
|
+
def add_previous_sibling_node(_arg0); end
|
1000
1037
|
def add_sibling(next_or_previous, node_or_tags); end
|
1001
|
-
def
|
1002
|
-
def compare(_); end
|
1038
|
+
def compare(_arg0); end
|
1003
1039
|
def dump_html; end
|
1004
|
-
def get(
|
1005
|
-
def in_context(
|
1040
|
+
def get(_arg0); end
|
1041
|
+
def in_context(_arg0, _arg1); end
|
1006
1042
|
def inspect_attributes; end
|
1007
|
-
def
|
1008
|
-
def
|
1009
|
-
def
|
1010
|
-
def
|
1011
|
-
def
|
1043
|
+
def keywordify(keywords); end
|
1044
|
+
def native_write_to(_arg0, _arg1, _arg2, _arg3); end
|
1045
|
+
def process_xincludes(_arg0); end
|
1046
|
+
def replace_node(_arg0); end
|
1047
|
+
def set(_arg0, _arg1); end
|
1048
|
+
def set_namespace(_arg0); end
|
1012
1049
|
def to_format(save_option, options); end
|
1013
1050
|
def write_format_to(save_option, io, options); end
|
1014
1051
|
|
1015
1052
|
class << self
|
1016
|
-
def new(*
|
1053
|
+
def new(*_arg0); end
|
1017
1054
|
end
|
1018
1055
|
end
|
1019
1056
|
|
@@ -1115,13 +1152,13 @@ class Nokogiri::XML::NodeSet
|
|
1115
1152
|
def initialize(document, list = T.unsafe(nil)); end
|
1116
1153
|
|
1117
1154
|
def %(*args); end
|
1118
|
-
def &(
|
1119
|
-
def +(
|
1120
|
-
def -(
|
1121
|
-
def <<(
|
1155
|
+
def &(_arg0); end
|
1156
|
+
def +(_arg0); end
|
1157
|
+
def -(_arg0); end
|
1158
|
+
def <<(_arg0); end
|
1122
1159
|
def ==(other); end
|
1123
1160
|
def >(selector); end
|
1124
|
-
def [](*
|
1161
|
+
def [](*_arg0); end
|
1125
1162
|
def add_class(name); end
|
1126
1163
|
def after(datum); end
|
1127
1164
|
def append_class(name); end
|
@@ -1132,15 +1169,15 @@ class Nokogiri::XML::NodeSet
|
|
1132
1169
|
def children; end
|
1133
1170
|
def clone; end
|
1134
1171
|
def css(*args); end
|
1135
|
-
def delete(
|
1172
|
+
def delete(_arg0); end
|
1136
1173
|
def document; end
|
1137
|
-
def document=(
|
1174
|
+
def document=(_arg0); end
|
1138
1175
|
def dup; end
|
1139
1176
|
def each; end
|
1140
1177
|
def empty?; end
|
1141
1178
|
def filter(expr); end
|
1142
1179
|
def first(n = T.unsafe(nil)); end
|
1143
|
-
def include?(
|
1180
|
+
def include?(_arg0); end
|
1144
1181
|
def index(node = T.unsafe(nil)); end
|
1145
1182
|
def inner_html(*args); end
|
1146
1183
|
def inner_text; end
|
@@ -1148,7 +1185,7 @@ class Nokogiri::XML::NodeSet
|
|
1148
1185
|
def last; end
|
1149
1186
|
def length; end
|
1150
1187
|
def pop; end
|
1151
|
-
def push(
|
1188
|
+
def push(_arg0); end
|
1152
1189
|
def remove; end
|
1153
1190
|
def remove_attr(name); end
|
1154
1191
|
def remove_attribute(name); end
|
@@ -1157,7 +1194,7 @@ class Nokogiri::XML::NodeSet
|
|
1157
1194
|
def set(key, value = T.unsafe(nil), &block); end
|
1158
1195
|
def shift; end
|
1159
1196
|
def size; end
|
1160
|
-
def slice(*
|
1197
|
+
def slice(*_arg0); end
|
1161
1198
|
def text; end
|
1162
1199
|
def to_a; end
|
1163
1200
|
def to_ary; end
|
@@ -1168,7 +1205,7 @@ class Nokogiri::XML::NodeSet
|
|
1168
1205
|
def unlink; end
|
1169
1206
|
def wrap(html); end
|
1170
1207
|
def xpath(*args); end
|
1171
|
-
def |(
|
1208
|
+
def |(_arg0); end
|
1172
1209
|
end
|
1173
1210
|
|
1174
1211
|
Nokogiri::XML::NodeSet::IMPLIED_XPATH_CONTEXTS = T.let(T.unsafe(nil), Array)
|
@@ -1192,10 +1229,13 @@ end
|
|
1192
1229
|
class Nokogiri::XML::ParseOptions
|
1193
1230
|
def initialize(options = T.unsafe(nil)); end
|
1194
1231
|
|
1232
|
+
def ==(other); end
|
1195
1233
|
def compact; end
|
1196
1234
|
def compact?; end
|
1197
1235
|
def default_html; end
|
1198
1236
|
def default_html?; end
|
1237
|
+
def default_schema; end
|
1238
|
+
def default_schema?; end
|
1199
1239
|
def default_xml; end
|
1200
1240
|
def default_xml?; end
|
1201
1241
|
def dtdattr; end
|
@@ -1215,6 +1255,7 @@ class Nokogiri::XML::ParseOptions
|
|
1215
1255
|
def nocdata?; end
|
1216
1256
|
def nocompact; end
|
1217
1257
|
def nodefault_html; end
|
1258
|
+
def nodefault_schema; end
|
1218
1259
|
def nodefault_xml; end
|
1219
1260
|
def nodict; end
|
1220
1261
|
def nodict?; end
|
@@ -1252,7 +1293,7 @@ class Nokogiri::XML::ParseOptions
|
|
1252
1293
|
def old10; end
|
1253
1294
|
def old10?; end
|
1254
1295
|
def options; end
|
1255
|
-
def options=(
|
1296
|
+
def options=(_arg0); end
|
1256
1297
|
def pedantic; end
|
1257
1298
|
def pedantic?; end
|
1258
1299
|
def recover; end
|
@@ -1270,6 +1311,8 @@ Nokogiri::XML::ParseOptions::COMPACT = T.let(T.unsafe(nil), Integer)
|
|
1270
1311
|
|
1271
1312
|
Nokogiri::XML::ParseOptions::DEFAULT_HTML = T.let(T.unsafe(nil), Integer)
|
1272
1313
|
|
1314
|
+
Nokogiri::XML::ParseOptions::DEFAULT_SCHEMA = T.let(T.unsafe(nil), Integer)
|
1315
|
+
|
1273
1316
|
Nokogiri::XML::ParseOptions::DEFAULT_XML = T.let(T.unsafe(nil), Integer)
|
1274
1317
|
|
1275
1318
|
Nokogiri::XML::ParseOptions::DTDATTR = T.let(T.unsafe(nil), Integer)
|
@@ -1316,7 +1359,7 @@ class Nokogiri::XML::ProcessingInstruction < ::Nokogiri::XML::Node
|
|
1316
1359
|
def initialize(document, name, content); end
|
1317
1360
|
|
1318
1361
|
class << self
|
1319
|
-
def new(*
|
1362
|
+
def new(*_arg0); end
|
1320
1363
|
end
|
1321
1364
|
end
|
1322
1365
|
|
@@ -1325,8 +1368,8 @@ class Nokogiri::XML::Reader
|
|
1325
1368
|
|
1326
1369
|
def initialize(source, url = T.unsafe(nil), encoding = T.unsafe(nil)); end
|
1327
1370
|
|
1328
|
-
def attribute(
|
1329
|
-
def attribute_at(
|
1371
|
+
def attribute(_arg0); end
|
1372
|
+
def attribute_at(_arg0); end
|
1330
1373
|
def attribute_count; end
|
1331
1374
|
def attribute_nodes; end
|
1332
1375
|
def attributes; end
|
@@ -1338,7 +1381,7 @@ class Nokogiri::XML::Reader
|
|
1338
1381
|
def empty_element?; end
|
1339
1382
|
def encoding; end
|
1340
1383
|
def errors; end
|
1341
|
-
def errors=(
|
1384
|
+
def errors=(_arg0); end
|
1342
1385
|
def inner_xml; end
|
1343
1386
|
def lang; end
|
1344
1387
|
def local_name; end
|
@@ -1356,13 +1399,9 @@ class Nokogiri::XML::Reader
|
|
1356
1399
|
def value?; end
|
1357
1400
|
def xml_version; end
|
1358
1401
|
|
1359
|
-
private
|
1360
|
-
|
1361
|
-
def attr_nodes; end
|
1362
|
-
|
1363
1402
|
class << self
|
1364
|
-
def from_io(*
|
1365
|
-
def from_memory(*
|
1403
|
+
def from_io(*_arg0); end
|
1404
|
+
def from_memory(*_arg0); end
|
1366
1405
|
end
|
1367
1406
|
end
|
1368
1407
|
|
@@ -1406,11 +1445,11 @@ class Nokogiri::XML::RelaxNG < ::Nokogiri::XML::Schema
|
|
1406
1445
|
|
1407
1446
|
private
|
1408
1447
|
|
1409
|
-
def validate_document(
|
1448
|
+
def validate_document(_arg0); end
|
1410
1449
|
|
1411
1450
|
class << self
|
1412
|
-
def from_document(
|
1413
|
-
def read_memory(
|
1451
|
+
def from_document(*_arg0); end
|
1452
|
+
def read_memory(*_arg0); end
|
1414
1453
|
end
|
1415
1454
|
end
|
1416
1455
|
|
@@ -1437,9 +1476,9 @@ class Nokogiri::XML::SAX::Parser
|
|
1437
1476
|
def initialize(doc = T.unsafe(nil), encoding = T.unsafe(nil)); end
|
1438
1477
|
|
1439
1478
|
def document; end
|
1440
|
-
def document=(
|
1479
|
+
def document=(_arg0); end
|
1441
1480
|
def encoding; end
|
1442
|
-
def encoding=(
|
1481
|
+
def encoding=(_arg0); end
|
1443
1482
|
def parse(thing, &block); end
|
1444
1483
|
def parse_file(filename); end
|
1445
1484
|
def parse_io(io, encoding = T.unsafe(nil)); end
|
@@ -1458,16 +1497,16 @@ Nokogiri::XML::SAX::Parser::ENCODINGS = T.let(T.unsafe(nil), Hash)
|
|
1458
1497
|
class Nokogiri::XML::SAX::ParserContext
|
1459
1498
|
def column; end
|
1460
1499
|
def line; end
|
1461
|
-
def parse_with(
|
1500
|
+
def parse_with(_arg0); end
|
1462
1501
|
def recovery; end
|
1463
|
-
def recovery=(
|
1502
|
+
def recovery=(_arg0); end
|
1464
1503
|
def replace_entities; end
|
1465
|
-
def replace_entities=(
|
1504
|
+
def replace_entities=(_arg0); end
|
1466
1505
|
|
1467
1506
|
class << self
|
1468
|
-
def file(
|
1469
|
-
def io(
|
1470
|
-
def memory(
|
1507
|
+
def file(_arg0); end
|
1508
|
+
def io(_arg0, _arg1); end
|
1509
|
+
def memory(_arg0); end
|
1471
1510
|
def new(thing, encoding = T.unsafe(nil)); end
|
1472
1511
|
end
|
1473
1512
|
end
|
@@ -1477,35 +1516,37 @@ class Nokogiri::XML::SAX::PushParser
|
|
1477
1516
|
|
1478
1517
|
def <<(chunk, last_chunk = T.unsafe(nil)); end
|
1479
1518
|
def document; end
|
1480
|
-
def document=(
|
1519
|
+
def document=(_arg0); end
|
1481
1520
|
def finish; end
|
1482
1521
|
def options; end
|
1483
|
-
def options=(
|
1522
|
+
def options=(_arg0); end
|
1484
1523
|
def replace_entities; end
|
1485
|
-
def replace_entities=(
|
1524
|
+
def replace_entities=(_arg0); end
|
1486
1525
|
def write(chunk, last_chunk = T.unsafe(nil)); end
|
1487
1526
|
|
1488
1527
|
private
|
1489
1528
|
|
1490
|
-
def initialize_native(
|
1491
|
-
def native_write(
|
1529
|
+
def initialize_native(_arg0, _arg1); end
|
1530
|
+
def native_write(_arg0, _arg1); end
|
1492
1531
|
end
|
1493
1532
|
|
1494
1533
|
class Nokogiri::XML::Schema
|
1495
1534
|
def errors; end
|
1496
|
-
def errors=(
|
1535
|
+
def errors=(_arg0); end
|
1536
|
+
def parse_options; end
|
1537
|
+
def parse_options=(_arg0); end
|
1497
1538
|
def valid?(thing); end
|
1498
1539
|
def validate(thing); end
|
1499
1540
|
|
1500
1541
|
private
|
1501
1542
|
|
1502
|
-
def validate_document(
|
1503
|
-
def validate_file(
|
1543
|
+
def validate_document(_arg0); end
|
1544
|
+
def validate_file(_arg0); end
|
1504
1545
|
|
1505
1546
|
class << self
|
1506
|
-
def from_document(
|
1507
|
-
def new(string_or_io); end
|
1508
|
-
def read_memory(
|
1547
|
+
def from_document(*_arg0); end
|
1548
|
+
def new(string_or_io, options = T.unsafe(nil)); end
|
1549
|
+
def read_memory(*_arg0); end
|
1509
1550
|
end
|
1510
1551
|
end
|
1511
1552
|
|
@@ -1559,7 +1600,7 @@ class Nokogiri::XML::Text < ::Nokogiri::XML::CharacterData
|
|
1559
1600
|
def content=(string); end
|
1560
1601
|
|
1561
1602
|
class << self
|
1562
|
-
def new(*
|
1603
|
+
def new(*_arg0); end
|
1563
1604
|
end
|
1564
1605
|
end
|
1565
1606
|
|
@@ -1569,9 +1610,7 @@ Nokogiri::XML::XML_C14N_1_1 = T.let(T.unsafe(nil), Integer)
|
|
1569
1610
|
|
1570
1611
|
Nokogiri::XML::XML_C14N_EXCLUSIVE_1_0 = T.let(T.unsafe(nil), Integer)
|
1571
1612
|
|
1572
|
-
|
1573
|
-
def document; end
|
1574
|
-
def document=(_); end
|
1613
|
+
module Nokogiri::XML::XPath
|
1575
1614
|
end
|
1576
1615
|
|
1577
1616
|
class Nokogiri::XML::XPath::SyntaxError < ::Nokogiri::XML::SyntaxError
|
@@ -1579,13 +1618,13 @@ class Nokogiri::XML::XPath::SyntaxError < ::Nokogiri::XML::SyntaxError
|
|
1579
1618
|
end
|
1580
1619
|
|
1581
1620
|
class Nokogiri::XML::XPathContext
|
1582
|
-
def evaluate(*
|
1621
|
+
def evaluate(*_arg0); end
|
1583
1622
|
def register_namespaces(namespaces); end
|
1584
|
-
def register_ns(
|
1585
|
-
def register_variable(
|
1623
|
+
def register_ns(_arg0, _arg1); end
|
1624
|
+
def register_variable(_arg0, _arg1); end
|
1586
1625
|
|
1587
1626
|
class << self
|
1588
|
-
def new(
|
1627
|
+
def new(_arg0); end
|
1589
1628
|
end
|
1590
1629
|
end
|
1591
1630
|
|
@@ -1593,16 +1632,16 @@ module Nokogiri::XSLT
|
|
1593
1632
|
class << self
|
1594
1633
|
def parse(string, modules = T.unsafe(nil)); end
|
1595
1634
|
def quote_params(params); end
|
1596
|
-
def register(
|
1635
|
+
def register(_arg0, _arg1); end
|
1597
1636
|
end
|
1598
1637
|
end
|
1599
1638
|
|
1600
1639
|
class Nokogiri::XSLT::Stylesheet
|
1601
1640
|
def apply_to(document, params = T.unsafe(nil)); end
|
1602
|
-
def serialize(
|
1603
|
-
def transform(*
|
1641
|
+
def serialize(_arg0); end
|
1642
|
+
def transform(*_arg0); end
|
1604
1643
|
|
1605
1644
|
class << self
|
1606
|
-
def parse_stylesheet_doc(
|
1645
|
+
def parse_stylesheet_doc(_arg0); end
|
1607
1646
|
end
|
1608
1647
|
end
|