lunchmoney 1.1.2 → 1.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.github/FUNDING.yml +1 -0
- data/.mdlrc +1 -0
- data/Gemfile.lock +36 -37
- data/README.md +2 -0
- data/lib/lunchmoney/objects/crypto.rb +6 -1
- data/lib/lunchmoney/version.rb +1 -1
- data/sorbet/rbi/annotations/activesupport.rbi +11 -0
- data/sorbet/rbi/gems/{activesupport@7.1.3.rbi → activesupport@7.1.3.2.rbi} +23 -23
- data/sorbet/rbi/gems/dotenv@3.1.0.rbi +300 -0
- data/sorbet/rbi/gems/{i18n@1.14.1.rbi → i18n@1.14.4.rbi} +48 -43
- data/sorbet/rbi/gems/{minitest@5.22.2.rbi → minitest@5.22.3.rbi} +19 -18
- data/sorbet/rbi/gems/{prism@0.19.0.rbi → prism@0.24.0.rbi} +8266 -7109
- data/sorbet/rbi/gems/{rack@3.0.8.rbi → rack@3.0.10.rbi} +83 -83
- data/sorbet/rbi/gems/{rbi@0.1.6.rbi → rbi@0.1.9.rbi} +114 -13
- data/sorbet/rbi/gems/{rubocop-ast@1.30.0.rbi → rubocop-ast@1.31.2.rbi} +61 -50
- data/sorbet/rbi/gems/{rubocop-minitest@0.34.5.rbi → rubocop-minitest@0.35.0.rbi} +34 -0
- data/sorbet/rbi/gems/{rubocop-rails@2.23.1.rbi → rubocop-rails@2.24.1.rbi} +159 -147
- data/sorbet/rbi/gems/{rubocop-sorbet@0.7.7.rbi → rubocop-sorbet@0.8.0.rbi} +24 -42
- data/sorbet/rbi/gems/{rubocop@1.60.2.rbi → rubocop@1.62.1.rbi} +807 -646
- data/sorbet/rbi/gems/{tapioca@0.12.0.rbi → tapioca@0.13.1.rbi} +83 -62
- data/sorbet/rbi/gems/{thor@1.3.0.rbi → thor@1.3.1.rbi} +89 -50
- data/sorbet/rbi/gems/{webmock@3.20.0.rbi → webmock@3.23.0.rbi} +25 -25
- data/sorbet/rbi/gems/{yard@0.9.34.rbi → yard@0.9.36.rbi} +194 -58
- data/sorbet/tapioca/require.rb +1 -0
- metadata +22 -21
- data/sorbet/rbi/gems/dotenv@2.8.1.rbi +0 -234
- /data/sorbet/rbi/gems/{bigdecimal@3.1.6.rbi → bigdecimal@3.1.7.rbi} +0 -0
- /data/sorbet/rbi/gems/{drb@2.2.0.rbi → drb@2.2.1.rbi} +0 -0
- /data/sorbet/rbi/gems/{rubocop-shopify@2.14.0.rbi → rubocop-shopify@2.15.1.rbi} +0 -0
@@ -28,12 +28,12 @@ module RuboCop::Cop::ActiveRecordHelper
|
|
28
28
|
# source://rubocop-rails//lib/rubocop/cop/mixin/active_record_helper.rb#18
|
29
29
|
def find_set_table_name(param0); end
|
30
30
|
|
31
|
-
# source://rubocop-rails//lib/rubocop/cop/mixin/active_record_helper.rb#
|
31
|
+
# source://rubocop-rails//lib/rubocop/cop/mixin/active_record_helper.rb#84
|
32
32
|
def foreign_key_of(belongs_to); end
|
33
33
|
|
34
34
|
# @return [Boolean]
|
35
35
|
#
|
36
|
-
# source://rubocop-rails//lib/rubocop/cop/mixin/active_record_helper.rb#
|
36
|
+
# source://rubocop-rails//lib/rubocop/cop/mixin/active_record_helper.rb#105
|
37
37
|
def in_where?(node); end
|
38
38
|
|
39
39
|
# @return [Boolean]
|
@@ -43,7 +43,7 @@ module RuboCop::Cop::ActiveRecordHelper
|
|
43
43
|
|
44
44
|
# @return [Boolean]
|
45
45
|
#
|
46
|
-
# source://rubocop-rails//lib/rubocop/cop/mixin/active_record_helper.rb#
|
46
|
+
# source://rubocop-rails//lib/rubocop/cop/mixin/active_record_helper.rb#96
|
47
47
|
def polymorphic?(belongs_to); end
|
48
48
|
|
49
49
|
# Resolve relation into column name.
|
@@ -57,13 +57,13 @@ module RuboCop::Cop::ActiveRecordHelper
|
|
57
57
|
# @param table [RuboCop::Rails::SchemaLoader::Table]
|
58
58
|
# @return [Array, String, nil]
|
59
59
|
#
|
60
|
-
# source://rubocop-rails//lib/rubocop/cop/mixin/active_record_helper.rb#
|
60
|
+
# source://rubocop-rails//lib/rubocop/cop/mixin/active_record_helper.rb#69
|
61
61
|
def resolve_relation_into_column(name:, class_node:, table:); end
|
62
62
|
|
63
63
|
# source://rubocop-rails//lib/rubocop/cop/mixin/active_record_helper.rb#41
|
64
64
|
def schema; end
|
65
65
|
|
66
|
-
# source://rubocop-rails//lib/rubocop/cop/mixin/active_record_helper.rb#
|
66
|
+
# source://rubocop-rails//lib/rubocop/cop/mixin/active_record_helper.rb#50
|
67
67
|
def table_name(class_node); end
|
68
68
|
end
|
69
69
|
|
@@ -394,7 +394,7 @@ class RuboCop::Cop::Rails::ActionControllerFlashBeforeRender < ::RuboCop::Cop::B
|
|
394
394
|
|
395
395
|
private
|
396
396
|
|
397
|
-
# source://rubocop-rails//lib/rubocop/cop/rails/action_controller_flash_before_render.rb#
|
397
|
+
# source://rubocop-rails//lib/rubocop/cop/rails/action_controller_flash_before_render.rb#108
|
398
398
|
def find_ancestor(node, type:); end
|
399
399
|
|
400
400
|
# @return [Boolean]
|
@@ -808,7 +808,10 @@ RuboCop::Cop::Rails::ActiveSupportAliases::RESTRICT_ON_SEND = T.let(T.unsafe(nil
|
|
808
808
|
class RuboCop::Cop::Rails::ActiveSupportOnLoad < ::RuboCop::Cop::Base
|
809
809
|
extend ::RuboCop::Cop::AutoCorrector
|
810
810
|
|
811
|
-
# source://rubocop-rails//lib/rubocop/cop/rails/active_support_on_load.rb#
|
811
|
+
# source://rubocop-rails//lib/rubocop/cop/rails/active_support_on_load.rb#81
|
812
|
+
def hook_for_const(const_name); end
|
813
|
+
|
814
|
+
# source://rubocop-rails//lib/rubocop/cop/rails/active_support_on_load.rb#71
|
812
815
|
def on_send(node); end
|
813
816
|
end
|
814
817
|
|
@@ -818,6 +821,12 @@ RuboCop::Cop::Rails::ActiveSupportOnLoad::LOAD_HOOKS = T.let(T.unsafe(nil), Hash
|
|
818
821
|
# source://rubocop-rails//lib/rubocop/cop/rails/active_support_on_load.rb#23
|
819
822
|
RuboCop::Cop::Rails::ActiveSupportOnLoad::MSG = T.let(T.unsafe(nil), String)
|
820
823
|
|
824
|
+
# source://rubocop-rails//lib/rubocop/cop/rails/active_support_on_load.rb#58
|
825
|
+
RuboCop::Cop::Rails::ActiveSupportOnLoad::RAILS_5_2_LOAD_HOOKS = T.let(T.unsafe(nil), Hash)
|
826
|
+
|
827
|
+
# source://rubocop-rails//lib/rubocop/cop/rails/active_support_on_load.rb#62
|
828
|
+
RuboCop::Cop::Rails::ActiveSupportOnLoad::RAILS_7_1_LOAD_HOOKS = T.let(T.unsafe(nil), Hash)
|
829
|
+
|
821
830
|
# source://rubocop-rails//lib/rubocop/cop/rails/active_support_on_load.rb#24
|
822
831
|
RuboCop::Cop::Rails::ActiveSupportOnLoad::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array)
|
823
832
|
|
@@ -1761,37 +1770,37 @@ RuboCop::Cop::Rails::CreateTableWithTimestamps::RESTRICT_ON_SEND = T.let(T.unsaf
|
|
1761
1770
|
#
|
1762
1771
|
# source://rubocop-rails//lib/rubocop/cop/rails/dangerous_column_names.rb#16
|
1763
1772
|
class RuboCop::Cop::Rails::DangerousColumnNames < ::RuboCop::Cop::Base
|
1764
|
-
# source://rubocop-rails//lib/rubocop/cop/rails/dangerous_column_names.rb#
|
1773
|
+
# source://rubocop-rails//lib/rubocop/cop/rails/dangerous_column_names.rb#413
|
1765
1774
|
def on_send(node); end
|
1766
1775
|
|
1767
1776
|
private
|
1768
1777
|
|
1769
|
-
# source://rubocop-rails//lib/rubocop/cop/rails/dangerous_column_names.rb#
|
1778
|
+
# source://rubocop-rails//lib/rubocop/cop/rails/dangerous_column_names.rb#423
|
1770
1779
|
def column_name_node_from(node); end
|
1771
1780
|
|
1772
1781
|
# @return [Boolean]
|
1773
1782
|
#
|
1774
|
-
# source://rubocop-rails//lib/rubocop/cop/rails/dangerous_column_names.rb#
|
1783
|
+
# source://rubocop-rails//lib/rubocop/cop/rails/dangerous_column_names.rb#440
|
1775
1784
|
def dangerous_column_name?(column_name); end
|
1776
1785
|
|
1777
1786
|
# @return [Boolean]
|
1778
1787
|
#
|
1779
|
-
# source://rubocop-rails//lib/rubocop/cop/rails/dangerous_column_names.rb#
|
1788
|
+
# source://rubocop-rails//lib/rubocop/cop/rails/dangerous_column_names.rb#434
|
1780
1789
|
def dangerous_column_name_node?(node); end
|
1781
1790
|
end
|
1782
1791
|
|
1783
1792
|
# source://rubocop-rails//lib/rubocop/cop/rails/dangerous_column_names.rb#17
|
1784
1793
|
RuboCop::Cop::Rails::DangerousColumnNames::COLUMN_TYPE_METHOD_NAMES = T.let(T.unsafe(nil), Set)
|
1785
1794
|
|
1786
|
-
# Generated from `ActiveRecord::AttributeMethods.dangerous_attribute_methods` on activerecord 7.1.
|
1795
|
+
# Generated from `ActiveRecord::AttributeMethods.dangerous_attribute_methods` on activerecord 7.1.3.
|
1787
1796
|
#
|
1788
1797
|
# source://rubocop-rails//lib/rubocop/cop/rails/dangerous_column_names.rb#36
|
1789
1798
|
RuboCop::Cop::Rails::DangerousColumnNames::DANGEROUS_COLUMN_NAMES = T.let(T.unsafe(nil), Array)
|
1790
1799
|
|
1791
|
-
# source://rubocop-rails//lib/rubocop/cop/rails/dangerous_column_names.rb#
|
1800
|
+
# source://rubocop-rails//lib/rubocop/cop/rails/dangerous_column_names.rb#409
|
1792
1801
|
RuboCop::Cop::Rails::DangerousColumnNames::MSG = T.let(T.unsafe(nil), String)
|
1793
1802
|
|
1794
|
-
# source://rubocop-rails//lib/rubocop/cop/rails/dangerous_column_names.rb#
|
1803
|
+
# source://rubocop-rails//lib/rubocop/cop/rails/dangerous_column_names.rb#411
|
1795
1804
|
RuboCop::Cop::Rails::DangerousColumnNames::RESTRICT_ON_SEND = T.let(T.unsafe(nil), Array)
|
1796
1805
|
|
1797
1806
|
# Checks for the correct use of Date methods,
|
@@ -6344,7 +6353,7 @@ RuboCop::Cop::Rails::ResponseParsedBody::RESTRICT_ON_SEND = T.let(T.unsafe(nil),
|
|
6344
6353
|
# # good
|
6345
6354
|
# def change
|
6346
6355
|
# change_table :users do |t|
|
6347
|
-
# t.remove :name, :string
|
6356
|
+
# t.remove :name, type: :string
|
6348
6357
|
# end
|
6349
6358
|
# end
|
6350
6359
|
#
|
@@ -7006,18 +7015,18 @@ class RuboCop::Cop::Rails::SaveBang < ::RuboCop::Cop::Base
|
|
7006
7015
|
|
7007
7016
|
# @return [Boolean]
|
7008
7017
|
#
|
7009
|
-
# source://rubocop-rails//lib/rubocop/cop/rails/save_bang.rb#
|
7018
|
+
# source://rubocop-rails//lib/rubocop/cop/rails/save_bang.rb#263
|
7010
7019
|
def allowed_receiver?(node); end
|
7011
7020
|
|
7012
7021
|
# @return [Boolean]
|
7013
7022
|
#
|
7014
|
-
# source://rubocop-rails//lib/rubocop/cop/rails/save_bang.rb#
|
7023
|
+
# source://rubocop-rails//lib/rubocop/cop/rails/save_bang.rb#321
|
7015
7024
|
def argument?(node); end
|
7016
7025
|
|
7017
|
-
# source://rubocop-rails//lib/rubocop/cop/rails/save_bang.rb#
|
7026
|
+
# source://rubocop-rails//lib/rubocop/cop/rails/save_bang.rb#223
|
7018
7027
|
def array_parent(node); end
|
7019
7028
|
|
7020
|
-
# source://rubocop-rails//lib/rubocop/cop/rails/save_bang.rb#
|
7029
|
+
# source://rubocop-rails//lib/rubocop/cop/rails/save_bang.rb#204
|
7021
7030
|
def assignable_node(node); end
|
7022
7031
|
|
7023
7032
|
# @return [Boolean]
|
@@ -7025,17 +7034,17 @@ class RuboCop::Cop::Rails::SaveBang < ::RuboCop::Cop::Base
|
|
7025
7034
|
# source://rubocop-rails//lib/rubocop/cop/rails/save_bang.rb#198
|
7026
7035
|
def call_to_persisted?(node); end
|
7027
7036
|
|
7028
|
-
# source://rubocop-rails//lib/rubocop/cop/rails/save_bang.rb#
|
7037
|
+
# source://rubocop-rails//lib/rubocop/cop/rails/save_bang.rb#230
|
7029
7038
|
def check_used_in_condition_or_compound_boolean(node); end
|
7030
7039
|
|
7031
7040
|
# @return [Boolean]
|
7032
7041
|
#
|
7033
|
-
# source://rubocop-rails//lib/rubocop/cop/rails/save_bang.rb#
|
7042
|
+
# source://rubocop-rails//lib/rubocop/cop/rails/save_bang.rb#259
|
7034
7043
|
def checked_immediately?(node); end
|
7035
7044
|
|
7036
7045
|
# @return [Boolean]
|
7037
7046
|
#
|
7038
|
-
# source://rubocop-rails//lib/rubocop/cop/rails/save_bang.rb#
|
7047
|
+
# source://rubocop-rails//lib/rubocop/cop/rails/save_bang.rb#250
|
7039
7048
|
def conditional?(parent); end
|
7040
7049
|
|
7041
7050
|
# Const == Const
|
@@ -7049,48 +7058,48 @@ class RuboCop::Cop::Rails::SaveBang < ::RuboCop::Cop::Base
|
|
7049
7058
|
#
|
7050
7059
|
# @return [Boolean]
|
7051
7060
|
#
|
7052
|
-
# source://rubocop-rails//lib/rubocop/cop/rails/save_bang.rb#
|
7061
|
+
# source://rubocop-rails//lib/rubocop/cop/rails/save_bang.rb#296
|
7053
7062
|
def const_matches?(const, allowed_const); end
|
7054
7063
|
|
7055
|
-
# source://rubocop-rails//lib/rubocop/cop/rails/save_bang.rb#
|
7064
|
+
# source://rubocop-rails//lib/rubocop/cop/rails/save_bang.rb#254
|
7056
7065
|
def deparenthesize(node); end
|
7057
7066
|
|
7058
7067
|
# Check argument signature as no arguments or one hash
|
7059
7068
|
#
|
7060
7069
|
# @return [Boolean]
|
7061
7070
|
#
|
7062
|
-
# source://rubocop-rails//lib/rubocop/cop/rails/save_bang.rb#
|
7071
|
+
# source://rubocop-rails//lib/rubocop/cop/rails/save_bang.rb#340
|
7063
7072
|
def expected_signature?(node); end
|
7064
7073
|
|
7065
7074
|
# @return [Boolean]
|
7066
7075
|
#
|
7067
|
-
# source://rubocop-rails//lib/rubocop/cop/rails/save_bang.rb#
|
7076
|
+
# source://rubocop-rails//lib/rubocop/cop/rails/save_bang.rb#325
|
7068
7077
|
def explicit_return?(node); end
|
7069
7078
|
|
7070
|
-
# source://rubocop-rails//lib/rubocop/cop/rails/save_bang.rb#
|
7079
|
+
# source://rubocop-rails//lib/rubocop/cop/rails/save_bang.rb#313
|
7071
7080
|
def find_method_with_sibling_index(node, sibling_index = T.unsafe(nil)); end
|
7072
7081
|
|
7073
|
-
# source://rubocop-rails//lib/rubocop/cop/rails/save_bang.rb#
|
7082
|
+
# source://rubocop-rails//lib/rubocop/cop/rails/save_bang.rb#213
|
7074
7083
|
def hash_parent(node); end
|
7075
7084
|
|
7076
7085
|
# @return [Boolean]
|
7077
7086
|
#
|
7078
|
-
# source://rubocop-rails//lib/rubocop/cop/rails/save_bang.rb#
|
7087
|
+
# source://rubocop-rails//lib/rubocop/cop/rails/save_bang.rb#303
|
7079
7088
|
def implicit_return?(node); end
|
7080
7089
|
|
7081
7090
|
# @return [Boolean]
|
7082
7091
|
#
|
7083
|
-
# source://rubocop-rails//lib/rubocop/cop/rails/save_bang.rb#
|
7092
|
+
# source://rubocop-rails//lib/rubocop/cop/rails/save_bang.rb#238
|
7084
7093
|
def in_condition_or_compound_boolean?(node); end
|
7085
7094
|
|
7086
7095
|
# @return [Boolean]
|
7087
7096
|
#
|
7088
|
-
# source://rubocop-rails//lib/rubocop/cop/rails/save_bang.rb#
|
7097
|
+
# source://rubocop-rails//lib/rubocop/cop/rails/save_bang.rb#246
|
7089
7098
|
def operator_or_single_negative?(node); end
|
7090
7099
|
|
7091
7100
|
# @return [Boolean]
|
7092
7101
|
#
|
7093
|
-
# source://rubocop-rails//lib/rubocop/cop/rails/save_bang.rb#
|
7102
|
+
# source://rubocop-rails//lib/rubocop/cop/rails/save_bang.rb#335
|
7094
7103
|
def persist_method?(node, methods = T.unsafe(nil)); end
|
7095
7104
|
|
7096
7105
|
# @return [Boolean]
|
@@ -7100,7 +7109,7 @@ class RuboCop::Cop::Rails::SaveBang < ::RuboCop::Cop::Base
|
|
7100
7109
|
|
7101
7110
|
# @return [Boolean]
|
7102
7111
|
#
|
7103
|
-
# source://rubocop-rails//lib/rubocop/cop/rails/save_bang.rb#
|
7112
|
+
# source://rubocop-rails//lib/rubocop/cop/rails/save_bang.rb#273
|
7104
7113
|
def receiver_chain_matches?(node, allowed_receiver); end
|
7105
7114
|
|
7106
7115
|
# source://rubocop-rails//lib/rubocop/cop/rails/save_bang.rb#171
|
@@ -7108,7 +7117,7 @@ class RuboCop::Cop::Rails::SaveBang < ::RuboCop::Cop::Base
|
|
7108
7117
|
|
7109
7118
|
# @return [Boolean]
|
7110
7119
|
#
|
7111
|
-
# source://rubocop-rails//lib/rubocop/cop/rails/save_bang.rb#
|
7120
|
+
# source://rubocop-rails//lib/rubocop/cop/rails/save_bang.rb#330
|
7112
7121
|
def return_value_assigned?(node); end
|
7113
7122
|
|
7114
7123
|
# source://rubocop-rails//lib/rubocop/cop/rails/save_bang.rb#182
|
@@ -7646,43 +7655,46 @@ class RuboCop::Cop::Rails::TimeZone < ::RuboCop::Cop::Base
|
|
7646
7655
|
# source://rubocop-rails//lib/rubocop/cop/rails/time_zone.rb#59
|
7647
7656
|
def on_const(node); end
|
7648
7657
|
|
7658
|
+
# source://rubocop-rails//lib/rubocop/cop/rails/time_zone.rb#68
|
7659
|
+
def on_csend(node); end
|
7660
|
+
|
7649
7661
|
# source://rubocop-rails//lib/rubocop/cop/rails/time_zone.rb#68
|
7650
7662
|
def on_send(node); end
|
7651
7663
|
|
7652
7664
|
private
|
7653
7665
|
|
7654
|
-
# source://rubocop-rails//lib/rubocop/cop/rails/time_zone.rb#
|
7666
|
+
# source://rubocop-rails//lib/rubocop/cop/rails/time_zone.rb#229
|
7655
7667
|
def acceptable_methods(klass, method_name, node); end
|
7656
7668
|
|
7657
7669
|
# @return [Boolean]
|
7658
7670
|
#
|
7659
|
-
# source://rubocop-rails//lib/rubocop/cop/rails/time_zone.rb#
|
7671
|
+
# source://rubocop-rails//lib/rubocop/cop/rails/time_zone.rb#136
|
7660
7672
|
def attach_timezone_specifier?(date); end
|
7661
7673
|
|
7662
|
-
# source://rubocop-rails//lib/rubocop/cop/rails/time_zone.rb#
|
7674
|
+
# source://rubocop-rails//lib/rubocop/cop/rails/time_zone.rb#79
|
7663
7675
|
def autocorrect(corrector, node); end
|
7664
7676
|
|
7665
|
-
# source://rubocop-rails//lib/rubocop/cop/rails/time_zone.rb#
|
7677
|
+
# source://rubocop-rails//lib/rubocop/cop/rails/time_zone.rb#96
|
7666
7678
|
def autocorrect_time_new(node, corrector); end
|
7667
7679
|
|
7668
|
-
# source://rubocop-rails//lib/rubocop/cop/rails/time_zone.rb#
|
7680
|
+
# source://rubocop-rails//lib/rubocop/cop/rails/time_zone.rb#140
|
7669
7681
|
def build_message(klass, method_name, node); end
|
7670
7682
|
|
7671
|
-
# source://rubocop-rails//lib/rubocop/cop/rails/time_zone.rb#
|
7683
|
+
# source://rubocop-rails//lib/rubocop/cop/rails/time_zone.rb#189
|
7672
7684
|
def check_localtime(node); end
|
7673
7685
|
|
7674
|
-
# source://rubocop-rails//lib/rubocop/cop/rails/time_zone.rb#
|
7686
|
+
# source://rubocop-rails//lib/rubocop/cop/rails/time_zone.rb#118
|
7675
7687
|
def check_time_node(klass, node); end
|
7676
7688
|
|
7677
|
-
# source://rubocop-rails//lib/rubocop/cop/rails/time_zone.rb#
|
7689
|
+
# source://rubocop-rails//lib/rubocop/cop/rails/time_zone.rb#153
|
7678
7690
|
def extract_method_chain(node); end
|
7679
7691
|
|
7680
7692
|
# @return [Boolean]
|
7681
7693
|
#
|
7682
|
-
# source://rubocop-rails//lib/rubocop/cop/rails/time_zone.rb#
|
7694
|
+
# source://rubocop-rails//lib/rubocop/cop/rails/time_zone.rb#213
|
7683
7695
|
def flexible?; end
|
7684
7696
|
|
7685
|
-
# source://rubocop-rails//lib/rubocop/cop/rails/time_zone.rb#
|
7697
|
+
# source://rubocop-rails//lib/rubocop/cop/rails/time_zone.rb#221
|
7686
7698
|
def good_methods; end
|
7687
7699
|
|
7688
7700
|
# Only add the method to the chain if the method being
|
@@ -7690,7 +7702,7 @@ class RuboCop::Cop::Rails::TimeZone < ::RuboCop::Cop::Base
|
|
7690
7702
|
#
|
7691
7703
|
# @return [Boolean]
|
7692
7704
|
#
|
7693
|
-
# source://rubocop-rails//lib/rubocop/cop/rails/time_zone.rb#
|
7705
|
+
# source://rubocop-rails//lib/rubocop/cop/rails/time_zone.rb#164
|
7694
7706
|
def method_from_time_class?(node); end
|
7695
7707
|
|
7696
7708
|
# checks that parent node of send_type
|
@@ -7698,22 +7710,22 @@ class RuboCop::Cop::Rails::TimeZone < ::RuboCop::Cop::Base
|
|
7698
7710
|
#
|
7699
7711
|
# @return [Boolean]
|
7700
7712
|
#
|
7701
|
-
# source://rubocop-rails//lib/rubocop/cop/rails/time_zone.rb#
|
7713
|
+
# source://rubocop-rails//lib/rubocop/cop/rails/time_zone.rb#175
|
7702
7714
|
def method_send?(node); end
|
7703
7715
|
|
7704
7716
|
# @return [Boolean]
|
7705
7717
|
#
|
7706
|
-
# source://rubocop-rails//lib/rubocop/cop/rails/time_zone.rb#
|
7718
|
+
# source://rubocop-rails//lib/rubocop/cop/rails/time_zone.rb#209
|
7707
7719
|
def need_check_localtime?(chain); end
|
7708
7720
|
|
7709
7721
|
# @return [Boolean]
|
7710
7722
|
#
|
7711
|
-
# source://rubocop-rails//lib/rubocop/cop/rails/time_zone.rb#
|
7723
|
+
# source://rubocop-rails//lib/rubocop/cop/rails/time_zone.rb#205
|
7712
7724
|
def not_danger_chain?(chain); end
|
7713
7725
|
|
7714
7726
|
# @return [Boolean]
|
7715
7727
|
#
|
7716
|
-
# source://rubocop-rails//lib/rubocop/cop/rails/time_zone.rb#
|
7728
|
+
# source://rubocop-rails//lib/rubocop/cop/rails/time_zone.rb#252
|
7717
7729
|
def offset_option_provided?(node); end
|
7718
7730
|
|
7719
7731
|
# Time.new, Time.at, and Time.now can be called with a time zone offset
|
@@ -7723,20 +7735,20 @@ class RuboCop::Cop::Rails::TimeZone < ::RuboCop::Cop::Base
|
|
7723
7735
|
#
|
7724
7736
|
# @return [Boolean]
|
7725
7737
|
#
|
7726
|
-
# source://rubocop-rails//lib/rubocop/cop/rails/time_zone.rb#
|
7738
|
+
# source://rubocop-rails//lib/rubocop/cop/rails/time_zone.rb#243
|
7727
7739
|
def offset_provided?(node); end
|
7728
7740
|
|
7729
7741
|
# remove redundant `.in_time_zone` from `Time.zone.now.in_time_zone`
|
7730
7742
|
#
|
7731
|
-
# source://rubocop-rails//lib/rubocop/cop/rails/time_zone.rb#
|
7743
|
+
# source://rubocop-rails//lib/rubocop/cop/rails/time_zone.rb#105
|
7732
7744
|
def remove_redundant_in_time_zone(corrector, node); end
|
7733
7745
|
|
7734
|
-
# source://rubocop-rails//lib/rubocop/cop/rails/time_zone.rb#
|
7746
|
+
# source://rubocop-rails//lib/rubocop/cop/rails/time_zone.rb#181
|
7735
7747
|
def safe_method(method_name, node); end
|
7736
7748
|
|
7737
7749
|
# @return [Boolean]
|
7738
7750
|
#
|
7739
|
-
# source://rubocop-rails//lib/rubocop/cop/rails/time_zone.rb#
|
7751
|
+
# source://rubocop-rails//lib/rubocop/cop/rails/time_zone.rb#217
|
7740
7752
|
def strict?; end
|
7741
7753
|
end
|
7742
7754
|
|
@@ -8067,10 +8079,13 @@ class RuboCop::Cop::Rails::UniqBeforePluck < ::RuboCop::Cop::Base
|
|
8067
8079
|
|
8068
8080
|
private
|
8069
8081
|
|
8070
|
-
# source://rubocop-rails//lib/rubocop/cop/rails/uniq_before_pluck.rb#
|
8082
|
+
# source://rubocop-rails//lib/rubocop/cop/rails/uniq_before_pluck.rb#77
|
8083
|
+
def autocorrect(corrector, node); end
|
8084
|
+
|
8085
|
+
# source://rubocop-rails//lib/rubocop/cop/rails/uniq_before_pluck.rb#92
|
8071
8086
|
def dot_method_begin_pos(method, node); end
|
8072
8087
|
|
8073
|
-
# source://rubocop-rails//lib/rubocop/cop/rails/uniq_before_pluck.rb#
|
8088
|
+
# source://rubocop-rails//lib/rubocop/cop/rails/uniq_before_pluck.rb#88
|
8074
8089
|
def dot_method_with_whitespace(method, node); end
|
8075
8090
|
end
|
8076
8091
|
|
@@ -8523,7 +8538,7 @@ class RuboCop::Cop::Rails::WhereExists < ::RuboCop::Cop::Base
|
|
8523
8538
|
private
|
8524
8539
|
|
8525
8540
|
# source://rubocop-rails//lib/rubocop/cop/rails/where_exists.rb#112
|
8526
|
-
def build_good_method(args,
|
8541
|
+
def build_good_method(args, dot:); end
|
8527
8542
|
|
8528
8543
|
# source://rubocop-rails//lib/rubocop/cop/rails/where_exists.rb#120
|
8529
8544
|
def build_good_method_exists(args); end
|
@@ -8587,18 +8602,18 @@ class RuboCop::Cop::Rails::WhereMissing < ::RuboCop::Cop::Base
|
|
8587
8602
|
|
8588
8603
|
private
|
8589
8604
|
|
8590
|
-
# source://rubocop-rails//lib/rubocop/cop/rails/where_missing.rb#
|
8605
|
+
# source://rubocop-rails//lib/rubocop/cop/rails/where_missing.rb#115
|
8591
8606
|
def message(node, where_argument); end
|
8592
8607
|
|
8593
8608
|
# @return [Boolean]
|
8594
8609
|
#
|
8595
|
-
# source://rubocop-rails//lib/rubocop/cop/rails/where_missing.rb#
|
8610
|
+
# source://rubocop-rails//lib/rubocop/cop/rails/where_missing.rb#111
|
8596
8611
|
def multi_condition?(where_arg); end
|
8597
8612
|
|
8598
8613
|
# source://rubocop-rails//lib/rubocop/cop/rails/where_missing.rb#67
|
8599
8614
|
def register_offense(node, where_node, where_argument, range); end
|
8600
8615
|
|
8601
|
-
# source://rubocop-rails//lib/rubocop/cop/rails/where_missing.rb#
|
8616
|
+
# source://rubocop-rails//lib/rubocop/cop/rails/where_missing.rb#93
|
8602
8617
|
def remove_where_method(corrector, node, where_node); end
|
8603
8618
|
|
8604
8619
|
# source://rubocop-rails//lib/rubocop/cop/rails/where_missing.rb#84
|
@@ -8612,7 +8627,7 @@ class RuboCop::Cop::Rails::WhereMissing < ::RuboCop::Cop::Base
|
|
8612
8627
|
|
8613
8628
|
# @return [Boolean]
|
8614
8629
|
#
|
8615
|
-
# source://rubocop-rails//lib/rubocop/cop/rails/where_missing.rb#
|
8630
|
+
# source://rubocop-rails//lib/rubocop/cop/rails/where_missing.rb#107
|
8616
8631
|
def same_line?(left_joins_node, where_node); end
|
8617
8632
|
|
8618
8633
|
# @return [Boolean]
|
@@ -8749,63 +8764,66 @@ RuboCop::Cop::Rails::WhereNotWithMultipleConditions::RESTRICT_ON_SEND = T.let(T.
|
|
8749
8764
|
module RuboCop::Cop::Style; end
|
8750
8765
|
|
8751
8766
|
class RuboCop::Cop::Style::InverseMethods < ::RuboCop::Cop::Base
|
8752
|
-
# source://rubocop/1.
|
8767
|
+
# source://rubocop/1.62.1/lib/rubocop/cop/style/inverse_methods.rb#70
|
8753
8768
|
def inverse_block?(param0 = T.unsafe(nil)); end
|
8754
8769
|
|
8755
|
-
# source://rubocop/1.
|
8770
|
+
# source://rubocop/1.62.1/lib/rubocop/cop/style/inverse_methods.rb#61
|
8756
8771
|
def inverse_candidate?(param0 = T.unsafe(nil)); end
|
8757
8772
|
|
8758
|
-
# source://rubocop/1.
|
8773
|
+
# source://rubocop/1.62.1/lib/rubocop/cop/style/inverse_methods.rb#92
|
8759
8774
|
def on_block(node); end
|
8760
8775
|
|
8761
|
-
# source://rubocop/1.
|
8776
|
+
# source://rubocop/1.62.1/lib/rubocop/cop/style/inverse_methods.rb#78
|
8762
8777
|
def on_csend(node); end
|
8763
8778
|
|
8764
|
-
# source://rubocop/1.
|
8779
|
+
# source://rubocop/1.62.1/lib/rubocop/cop/style/inverse_methods.rb#92
|
8765
8780
|
def on_numblock(node); end
|
8766
8781
|
|
8767
|
-
# source://rubocop/1.
|
8782
|
+
# source://rubocop/1.62.1/lib/rubocop/cop/style/inverse_methods.rb#78
|
8768
8783
|
def on_send(node); end
|
8769
8784
|
|
8770
8785
|
private
|
8771
8786
|
|
8772
|
-
# source://rubocop/1.
|
8787
|
+
# source://rubocop/1.62.1/lib/rubocop/cop/style/inverse_methods.rb#177
|
8773
8788
|
def camel_case_constant?(node); end
|
8774
8789
|
|
8775
|
-
# source://rubocop/1.
|
8790
|
+
# source://rubocop/1.62.1/lib/rubocop/cop/style/inverse_methods.rb#121
|
8776
8791
|
def correct_inverse_block(corrector, node); end
|
8777
8792
|
|
8778
|
-
# source://rubocop/1.
|
8793
|
+
# source://rubocop/1.62.1/lib/rubocop/cop/style/inverse_methods.rb#112
|
8779
8794
|
def correct_inverse_method(corrector, node); end
|
8780
8795
|
|
8781
|
-
# source://rubocop/1.
|
8796
|
+
# source://rubocop/1.62.1/lib/rubocop/cop/style/inverse_methods.rb#128
|
8782
8797
|
def correct_inverse_selector(block, corrector); end
|
8783
8798
|
|
8784
|
-
# source://rubocop/1.
|
8799
|
+
# source://rubocop/1.62.1/lib/rubocop/cop/style/inverse_methods.rb#181
|
8785
8800
|
def dot_range(loc); end
|
8786
8801
|
|
8787
|
-
# source://rubocop/1.
|
8802
|
+
# source://rubocop/1.62.1/lib/rubocop/cop/style/inverse_methods.rb#166
|
8788
8803
|
def end_parentheses(node, method_call); end
|
8789
8804
|
|
8790
|
-
# source://rubocop/1.
|
8805
|
+
# source://rubocop/1.62.1/lib/rubocop/cop/style/inverse_methods.rb#150
|
8791
8806
|
def inverse_blocks; end
|
8792
8807
|
|
8793
|
-
# source://rubocop/1.
|
8808
|
+
# source://rubocop/1.62.1/lib/rubocop/cop/style/inverse_methods.rb#145
|
8794
8809
|
def inverse_methods; end
|
8795
8810
|
|
8796
|
-
# source://rubocop/1.
|
8811
|
+
# source://rubocop/1.62.1/lib/rubocop/cop/style/inverse_methods.rb#191
|
8797
8812
|
def message(method, inverse); end
|
8798
8813
|
|
8799
|
-
# source://rubocop/1.
|
8814
|
+
# source://rubocop/1.62.1/lib/rubocop/cop/style/inverse_methods.rb#154
|
8800
8815
|
def negated?(node); end
|
8801
8816
|
|
8802
|
-
# source://rubocop/1.
|
8817
|
+
# source://rubocop/1.62.1/lib/rubocop/cop/style/inverse_methods.rb#162
|
8803
8818
|
def not_to_receiver(node, method_call); end
|
8804
8819
|
|
8805
|
-
# source://rubocop/1.
|
8820
|
+
# source://rubocop/1.62.1/lib/rubocop/cop/style/inverse_methods.rb#172
|
8806
8821
|
def possible_class_hierarchy_check?(lhs, rhs, method); end
|
8807
8822
|
|
8808
|
-
# source://rubocop/1.
|
8823
|
+
# source://rubocop/1.62.1/lib/rubocop/cop/style/inverse_methods.rb#158
|
8824
|
+
def relational_comparison_with_safe_navigation?(node); end
|
8825
|
+
|
8826
|
+
# source://rubocop/1.62.1/lib/rubocop/cop/style/inverse_methods.rb#185
|
8809
8827
|
def remove_end_parenthesis(corrector, node, method, method_call); end
|
8810
8828
|
|
8811
8829
|
class << self
|
@@ -8815,27 +8833,24 @@ class RuboCop::Cop::Style::InverseMethods < ::RuboCop::Cop::Base
|
|
8815
8833
|
end
|
8816
8834
|
|
8817
8835
|
class RuboCop::Cop::Style::MethodCallWithArgsParentheses < ::RuboCop::Cop::Base
|
8818
|
-
# source://rubocop/1.
|
8836
|
+
# source://rubocop/1.62.1/lib/rubocop/cop/style/method_call_with_args_parentheses.rb#217
|
8819
8837
|
def on_csend(node); end
|
8820
8838
|
|
8821
|
-
# source://rubocop/1.
|
8839
|
+
# source://rubocop/1.62.1/lib/rubocop/cop/style/method_call_with_args_parentheses.rb#217
|
8822
8840
|
def on_send(node); end
|
8823
8841
|
|
8824
|
-
# source://rubocop/1.
|
8825
|
-
def on_super(node); end
|
8826
|
-
|
8827
|
-
# source://rubocop/1.59.0/lib/rubocop/cop/style/method_call_with_args_parentheses.rb#217
|
8842
|
+
# source://rubocop/1.62.1/lib/rubocop/cop/style/method_call_with_args_parentheses.rb#217
|
8828
8843
|
def on_yield(node); end
|
8829
8844
|
|
8830
8845
|
private
|
8831
8846
|
|
8832
|
-
# source://rubocop/1.
|
8847
|
+
# source://rubocop/1.62.1/lib/rubocop/cop/style/method_call_with_args_parentheses.rb#225
|
8833
8848
|
def args_begin(node); end
|
8834
8849
|
|
8835
|
-
# source://rubocop/1.
|
8850
|
+
# source://rubocop/1.62.1/lib/rubocop/cop/style/method_call_with_args_parentheses.rb#233
|
8836
8851
|
def args_end(node); end
|
8837
8852
|
|
8838
|
-
# source://rubocop/1.
|
8853
|
+
# source://rubocop/1.62.1/lib/rubocop/cop/style/method_call_with_args_parentheses.rb#237
|
8839
8854
|
def args_parenthesized?(node); end
|
8840
8855
|
|
8841
8856
|
class << self
|
@@ -8845,84 +8860,84 @@ class RuboCop::Cop::Style::MethodCallWithArgsParentheses < ::RuboCop::Cop::Base
|
|
8845
8860
|
end
|
8846
8861
|
|
8847
8862
|
class RuboCop::Cop::Style::RedundantSelf < ::RuboCop::Cop::Base
|
8848
|
-
# source://rubocop/1.
|
8863
|
+
# source://rubocop/1.62.1/lib/rubocop/cop/style/redundant_self.rb#60
|
8849
8864
|
def initialize(config = T.unsafe(nil), options = T.unsafe(nil)); end
|
8850
8865
|
|
8851
|
-
# source://rubocop/1.
|
8866
|
+
# source://rubocop/1.62.1/lib/rubocop/cop/style/redundant_self.rb#68
|
8852
8867
|
def on_and_asgn(node); end
|
8853
8868
|
|
8854
|
-
# source://rubocop/1.
|
8869
|
+
# source://rubocop/1.62.1/lib/rubocop/cop/style/redundant_self.rb#86
|
8855
8870
|
def on_args(node); end
|
8856
8871
|
|
8857
|
-
# source://rubocop/1.
|
8872
|
+
# source://rubocop/1.62.1/lib/rubocop/cop/style/redundant_self.rb#120
|
8858
8873
|
def on_block(node); end
|
8859
8874
|
|
8860
|
-
# source://rubocop/1.
|
8875
|
+
# source://rubocop/1.62.1/lib/rubocop/cop/style/redundant_self.rb#90
|
8861
8876
|
def on_blockarg(node); end
|
8862
8877
|
|
8863
|
-
# source://rubocop/1.
|
8878
|
+
# source://rubocop/1.62.1/lib/rubocop/cop/style/redundant_self.rb#81
|
8864
8879
|
def on_def(node); end
|
8865
8880
|
|
8866
|
-
# source://rubocop/1.
|
8881
|
+
# source://rubocop/1.62.1/lib/rubocop/cop/style/redundant_self.rb#81
|
8867
8882
|
def on_defs(node); end
|
8868
8883
|
|
8869
|
-
# source://rubocop/1.
|
8884
|
+
# source://rubocop/1.62.1/lib/rubocop/cop/style/redundant_self.rb#126
|
8870
8885
|
def on_if(node); end
|
8871
8886
|
|
8872
|
-
# source://rubocop/1.
|
8887
|
+
# source://rubocop/1.62.1/lib/rubocop/cop/style/redundant_self.rb#104
|
8873
8888
|
def on_in_pattern(node); end
|
8874
8889
|
|
8875
|
-
# source://rubocop/1.
|
8890
|
+
# source://rubocop/1.62.1/lib/rubocop/cop/style/redundant_self.rb#99
|
8876
8891
|
def on_lvasgn(node); end
|
8877
8892
|
|
8878
|
-
# source://rubocop/1.
|
8893
|
+
# source://rubocop/1.62.1/lib/rubocop/cop/style/redundant_self.rb#94
|
8879
8894
|
def on_masgn(node); end
|
8880
8895
|
|
8881
|
-
# source://rubocop/1.
|
8896
|
+
# source://rubocop/1.62.1/lib/rubocop/cop/style/redundant_self.rb#120
|
8882
8897
|
def on_numblock(node); end
|
8883
8898
|
|
8884
|
-
# source://rubocop/1.
|
8899
|
+
# source://rubocop/1.62.1/lib/rubocop/cop/style/redundant_self.rb#74
|
8885
8900
|
def on_op_asgn(node); end
|
8886
8901
|
|
8887
|
-
# source://rubocop/1.
|
8902
|
+
# source://rubocop/1.62.1/lib/rubocop/cop/style/redundant_self.rb#68
|
8888
8903
|
def on_or_asgn(node); end
|
8889
8904
|
|
8890
|
-
# source://rubocop/1.
|
8905
|
+
# source://rubocop/1.62.1/lib/rubocop/cop/style/redundant_self.rb#108
|
8891
8906
|
def on_send(node); end
|
8892
8907
|
|
8893
|
-
# source://rubocop/1.
|
8908
|
+
# source://rubocop/1.62.1/lib/rubocop/cop/style/redundant_self.rb#126
|
8894
8909
|
def on_until(node); end
|
8895
8910
|
|
8896
|
-
# source://rubocop/1.
|
8911
|
+
# source://rubocop/1.62.1/lib/rubocop/cop/style/redundant_self.rb#126
|
8897
8912
|
def on_while(node); end
|
8898
8913
|
|
8899
8914
|
private
|
8900
8915
|
|
8901
|
-
# source://rubocop/1.
|
8916
|
+
# source://rubocop/1.62.1/lib/rubocop/cop/style/redundant_self.rb#196
|
8902
8917
|
def add_lhs_to_local_variables_scopes(rhs, lhs); end
|
8903
8918
|
|
8904
|
-
# source://rubocop/1.
|
8919
|
+
# source://rubocop/1.62.1/lib/rubocop/cop/style/redundant_self.rb#204
|
8905
8920
|
def add_masgn_lhs_variables(rhs, lhs); end
|
8906
8921
|
|
8907
|
-
# source://rubocop/1.
|
8922
|
+
# source://rubocop/1.62.1/lib/rubocop/cop/style/redundant_self.rb#210
|
8908
8923
|
def add_match_var_scopes(in_pattern_node); end
|
8909
8924
|
|
8910
|
-
# source://rubocop/1.
|
8925
|
+
# source://rubocop/1.62.1/lib/rubocop/cop/style/redundant_self.rb#144
|
8911
8926
|
def add_scope(node, local_variables = T.unsafe(nil)); end
|
8912
8927
|
|
8913
|
-
# source://rubocop/1.
|
8928
|
+
# source://rubocop/1.62.1/lib/rubocop/cop/style/redundant_self.rb#190
|
8914
8929
|
def allow_self(node); end
|
8915
8930
|
|
8916
|
-
# source://rubocop/1.
|
8931
|
+
# source://rubocop/1.62.1/lib/rubocop/cop/style/redundant_self.rb#150
|
8917
8932
|
def allowed_send_node?(node); end
|
8918
8933
|
|
8919
|
-
# source://rubocop/1.
|
8934
|
+
# source://rubocop/1.62.1/lib/rubocop/cop/style/redundant_self.rb#165
|
8920
8935
|
def it_method_in_block?(node); end
|
8921
8936
|
|
8922
|
-
# source://rubocop/1.
|
8937
|
+
# source://rubocop/1.62.1/lib/rubocop/cop/style/redundant_self.rb#181
|
8923
8938
|
def on_argument(node); end
|
8924
8939
|
|
8925
|
-
# source://rubocop/1.
|
8940
|
+
# source://rubocop/1.62.1/lib/rubocop/cop/style/redundant_self.rb#173
|
8926
8941
|
def regular_method_call?(node); end
|
8927
8942
|
|
8928
8943
|
class << self
|
@@ -8986,7 +9001,7 @@ module RuboCop::Rails::SchemaLoader
|
|
8986
9001
|
# @return [Schema, nil]
|
8987
9002
|
#
|
8988
9003
|
# source://rubocop-rails//lib/rubocop/rails/schema_loader.rb#15
|
8989
|
-
def load(target_ruby_version); end
|
9004
|
+
def load(target_ruby_version, parser_engine); end
|
8990
9005
|
|
8991
9006
|
# source://rubocop-rails//lib/rubocop/rails/schema_loader.rb#21
|
8992
9007
|
def reset!; end
|
@@ -8994,92 +9009,89 @@ module RuboCop::Rails::SchemaLoader
|
|
8994
9009
|
private
|
8995
9010
|
|
8996
9011
|
# source://rubocop-rails//lib/rubocop/rails/schema_loader.rb#41
|
8997
|
-
def load!(target_ruby_version); end
|
8998
|
-
|
8999
|
-
# source://rubocop-rails//lib/rubocop/rails/schema_loader.rb#49
|
9000
|
-
def parse(path, target_ruby_version); end
|
9012
|
+
def load!(target_ruby_version, parser_engine); end
|
9001
9013
|
end
|
9002
9014
|
|
9003
9015
|
# Represent an `add_index`
|
9004
9016
|
#
|
9005
|
-
# source://rubocop-rails//lib/rubocop/rails/schema_loader/schema.rb#
|
9017
|
+
# source://rubocop-rails//lib/rubocop/rails/schema_loader/schema.rb#177
|
9006
9018
|
class RuboCop::Rails::SchemaLoader::AddIndex < ::RuboCop::Rails::SchemaLoader::Index
|
9007
9019
|
# @return [AddIndex] a new instance of AddIndex
|
9008
9020
|
#
|
9009
|
-
# source://rubocop-rails//lib/rubocop/rails/schema_loader/schema.rb#
|
9021
|
+
# source://rubocop-rails//lib/rubocop/rails/schema_loader/schema.rb#180
|
9010
9022
|
def initialize(node); end
|
9011
9023
|
|
9012
9024
|
# Returns the value of attribute table_name.
|
9013
9025
|
#
|
9014
|
-
# source://rubocop-rails//lib/rubocop/rails/schema_loader/schema.rb#
|
9026
|
+
# source://rubocop-rails//lib/rubocop/rails/schema_loader/schema.rb#178
|
9015
9027
|
def table_name; end
|
9016
9028
|
end
|
9017
9029
|
|
9018
9030
|
# Represent a column
|
9019
9031
|
#
|
9020
|
-
# source://rubocop-rails//lib/rubocop/rails/schema_loader/schema.rb#
|
9032
|
+
# source://rubocop-rails//lib/rubocop/rails/schema_loader/schema.rb#117
|
9021
9033
|
class RuboCop::Rails::SchemaLoader::Column
|
9022
9034
|
# @return [Column] a new instance of Column
|
9023
9035
|
#
|
9024
|
-
# source://rubocop-rails//lib/rubocop/rails/schema_loader/schema.rb#
|
9036
|
+
# source://rubocop-rails//lib/rubocop/rails/schema_loader/schema.rb#120
|
9025
9037
|
def initialize(node); end
|
9026
9038
|
|
9027
9039
|
# Returns the value of attribute name.
|
9028
9040
|
#
|
9029
|
-
# source://rubocop-rails//lib/rubocop/rails/schema_loader/schema.rb#
|
9041
|
+
# source://rubocop-rails//lib/rubocop/rails/schema_loader/schema.rb#118
|
9030
9042
|
def name; end
|
9031
9043
|
|
9032
9044
|
# Returns the value of attribute not_null.
|
9033
9045
|
#
|
9034
|
-
# source://rubocop-rails//lib/rubocop/rails/schema_loader/schema.rb#
|
9046
|
+
# source://rubocop-rails//lib/rubocop/rails/schema_loader/schema.rb#118
|
9035
9047
|
def not_null; end
|
9036
9048
|
|
9037
9049
|
# Returns the value of attribute type.
|
9038
9050
|
#
|
9039
|
-
# source://rubocop-rails//lib/rubocop/rails/schema_loader/schema.rb#
|
9051
|
+
# source://rubocop-rails//lib/rubocop/rails/schema_loader/schema.rb#118
|
9040
9052
|
def type; end
|
9041
9053
|
|
9042
9054
|
private
|
9043
9055
|
|
9044
|
-
# source://rubocop-rails//lib/rubocop/rails/schema_loader/schema.rb#
|
9056
|
+
# source://rubocop-rails//lib/rubocop/rails/schema_loader/schema.rb#130
|
9045
9057
|
def analyze_keywords!(node); end
|
9046
9058
|
end
|
9047
9059
|
|
9048
9060
|
# Represent an index
|
9049
9061
|
#
|
9050
|
-
# source://rubocop-rails//lib/rubocop/rails/schema_loader/schema.rb#
|
9062
|
+
# source://rubocop-rails//lib/rubocop/rails/schema_loader/schema.rb#141
|
9051
9063
|
class RuboCop::Rails::SchemaLoader::Index
|
9052
9064
|
# @return [Index] a new instance of Index
|
9053
9065
|
#
|
9054
|
-
# source://rubocop-rails//lib/rubocop/rails/schema_loader/schema.rb#
|
9066
|
+
# source://rubocop-rails//lib/rubocop/rails/schema_loader/schema.rb#144
|
9055
9067
|
def initialize(node); end
|
9056
9068
|
|
9057
9069
|
# Returns the value of attribute columns.
|
9058
9070
|
#
|
9059
|
-
# source://rubocop-rails//lib/rubocop/rails/schema_loader/schema.rb#
|
9071
|
+
# source://rubocop-rails//lib/rubocop/rails/schema_loader/schema.rb#142
|
9060
9072
|
def columns; end
|
9061
9073
|
|
9062
9074
|
# Returns the value of attribute expression.
|
9063
9075
|
#
|
9064
|
-
# source://rubocop-rails//lib/rubocop/rails/schema_loader/schema.rb#
|
9076
|
+
# source://rubocop-rails//lib/rubocop/rails/schema_loader/schema.rb#142
|
9065
9077
|
def expression; end
|
9066
9078
|
|
9067
9079
|
# Returns the value of attribute name.
|
9068
9080
|
#
|
9069
|
-
# source://rubocop-rails//lib/rubocop/rails/schema_loader/schema.rb#
|
9081
|
+
# source://rubocop-rails//lib/rubocop/rails/schema_loader/schema.rb#142
|
9070
9082
|
def name; end
|
9071
9083
|
|
9072
9084
|
# Returns the value of attribute unique.
|
9073
9085
|
#
|
9074
|
-
# source://rubocop-rails//lib/rubocop/rails/schema_loader/schema.rb#
|
9086
|
+
# source://rubocop-rails//lib/rubocop/rails/schema_loader/schema.rb#142
|
9075
9087
|
def unique; end
|
9076
9088
|
|
9077
9089
|
private
|
9078
9090
|
|
9079
|
-
# source://rubocop-rails//lib/rubocop/rails/schema_loader/schema.rb#
|
9091
|
+
# source://rubocop-rails//lib/rubocop/rails/schema_loader/schema.rb#161
|
9080
9092
|
def analyze_keywords!(node); end
|
9081
9093
|
|
9082
|
-
# source://rubocop-rails//lib/rubocop/rails/schema_loader/schema.rb#
|
9094
|
+
# source://rubocop-rails//lib/rubocop/rails/schema_loader/schema.rb#153
|
9083
9095
|
def build_columns_or_expr(columns); end
|
9084
9096
|
end
|
9085
9097
|
|
@@ -9113,51 +9125,51 @@ class RuboCop::Rails::SchemaLoader::Schema
|
|
9113
9125
|
# source://rubocop-rails//lib/rubocop/rails/schema_loader/schema.rb#31
|
9114
9126
|
def build!(ast); end
|
9115
9127
|
|
9116
|
-
# source://rubocop-rails//lib/rubocop/rails/schema_loader/schema.rb#
|
9128
|
+
# source://rubocop-rails//lib/rubocop/rails/schema_loader/schema.rb#60
|
9117
9129
|
def each_add_index(ast); end
|
9118
9130
|
|
9119
|
-
# source://rubocop-rails//lib/rubocop/rails/schema_loader/schema.rb#
|
9131
|
+
# source://rubocop-rails//lib/rubocop/rails/schema_loader/schema.rb#47
|
9120
9132
|
def each_table(ast); end
|
9121
9133
|
end
|
9122
9134
|
|
9123
9135
|
# Represent a table
|
9124
9136
|
#
|
9125
|
-
# source://rubocop-rails//lib/rubocop/rails/schema_loader/schema.rb#
|
9137
|
+
# source://rubocop-rails//lib/rubocop/rails/schema_loader/schema.rb#71
|
9126
9138
|
class RuboCop::Rails::SchemaLoader::Table
|
9127
9139
|
# @return [Table] a new instance of Table
|
9128
9140
|
#
|
9129
|
-
# source://rubocop-rails//lib/rubocop/rails/schema_loader/schema.rb#
|
9141
|
+
# source://rubocop-rails//lib/rubocop/rails/schema_loader/schema.rb#74
|
9130
9142
|
def initialize(node); end
|
9131
9143
|
|
9132
9144
|
# Returns the value of attribute columns.
|
9133
9145
|
#
|
9134
|
-
# source://rubocop-rails//lib/rubocop/rails/schema_loader/schema.rb#
|
9146
|
+
# source://rubocop-rails//lib/rubocop/rails/schema_loader/schema.rb#72
|
9135
9147
|
def columns; end
|
9136
9148
|
|
9137
9149
|
# Returns the value of attribute indices.
|
9138
9150
|
#
|
9139
|
-
# source://rubocop-rails//lib/rubocop/rails/schema_loader/schema.rb#
|
9151
|
+
# source://rubocop-rails//lib/rubocop/rails/schema_loader/schema.rb#72
|
9140
9152
|
def indices; end
|
9141
9153
|
|
9142
9154
|
# Returns the value of attribute name.
|
9143
9155
|
#
|
9144
|
-
# source://rubocop-rails//lib/rubocop/rails/schema_loader/schema.rb#
|
9156
|
+
# source://rubocop-rails//lib/rubocop/rails/schema_loader/schema.rb#72
|
9145
9157
|
def name; end
|
9146
9158
|
|
9147
9159
|
# @return [Boolean]
|
9148
9160
|
#
|
9149
|
-
# source://rubocop-rails//lib/rubocop/rails/schema_loader/schema.rb#
|
9161
|
+
# source://rubocop-rails//lib/rubocop/rails/schema_loader/schema.rb#80
|
9150
9162
|
def with_column?(name:); end
|
9151
9163
|
|
9152
9164
|
private
|
9153
9165
|
|
9154
|
-
# source://rubocop-rails//lib/rubocop/rails/schema_loader/schema.rb#
|
9166
|
+
# source://rubocop-rails//lib/rubocop/rails/schema_loader/schema.rb#86
|
9155
9167
|
def build_columns(node); end
|
9156
9168
|
|
9157
|
-
# source://rubocop-rails//lib/rubocop/rails/schema_loader/schema.rb#
|
9169
|
+
# source://rubocop-rails//lib/rubocop/rails/schema_loader/schema.rb#95
|
9158
9170
|
def build_indices(node); end
|
9159
9171
|
|
9160
|
-
# source://rubocop-rails//lib/rubocop/rails/schema_loader/schema.rb#
|
9172
|
+
# source://rubocop-rails//lib/rubocop/rails/schema_loader/schema.rb#104
|
9161
9173
|
def each_content(node, &block); end
|
9162
9174
|
end
|
9163
9175
|
|