rubocop-rubomatic-rails 1.3.0.pre.rc.1 → 1.3.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 20c588780db1c7015a283cc6d1b000ddb598b197d6b333e9b9d8045e1e09120f
4
- data.tar.gz: 32914cc5841c8f29177deea68a7f24c6bc5982a9ea3f5bb481b8f838d17e02c3
3
+ metadata.gz: d5cce80e9928070496e970357c66b8f894e2b6a2907e6ca41b3ab2f6d19e5a5b
4
+ data.tar.gz: 2471f433c39a7293ed5e402ab8a18690244f9fdf597db65fd0a47b17e8ae86b2
5
5
  SHA512:
6
- metadata.gz: 5d87f4d8ac8a751f5734e3752670ded256fbc0d7dc22b79b25917ece096b657185d725c86342ec0789930f82b119b0819e9f7df0ae76b54a72bcfb0b5609746b
7
- data.tar.gz: e65b4ae0fded2405444dab176fbff8c0b5661c3162c02bad96d936fda47ae1a67637a5e591daed15ca66d418582aae574e8c55d5c57db5287ac9c620a6b34a28
6
+ metadata.gz: c95580cca49c23828b409852e58205f78428d99ebe32862efb758d6c487d58ff9dfa88055034cef69e7e789ca9f08862493aa5157e1d9818e7bccd0b6f817af4
7
+ data.tar.gz: 222e7d792fe3602836868654a366a743b150cf4704017df8f4bc6e66fdbe02e466cb092bcde9ffd75217df4435763f588553bd17c06f22bfad3f19cb2bc26523
data/config/rails.yml CHANGED
@@ -5,7 +5,6 @@ Rails/ActionControllerFlashBeforeRender:
5
5
  StyleGuide: 'https://rails.rubystyle.guide/#flash-before-render'
6
6
  Reference: 'https://api.rubyonrails.org/classes/ActionController/FlashBeforeRender.html'
7
7
  Enabled: true
8
- SafeAutoCorrect: false
9
8
  VersionAdded: '2.16'
10
9
 
11
10
  Rails/ActionControllerTestCase:
@@ -13,7 +12,6 @@ Rails/ActionControllerTestCase:
13
12
  StyleGuide: 'https://rails.rubystyle.guide/#integration-testing'
14
13
  Reference: 'https://api.rubyonrails.org/classes/ActionController/TestCase.html'
15
14
  Enabled: true
16
- SafeAutoCorrect: false
17
15
  VersionAdded: '2.14'
18
16
  Include:
19
17
  - '**/test/**/*.rb'
@@ -52,7 +50,6 @@ Rails/ActiveRecordAliases:
52
50
  Use `update!` instead of `update_attributes!`.
53
51
  Enabled: true
54
52
  VersionAdded: '0.53'
55
- SafeAutoCorrect: false
56
53
 
57
54
  Rails/ActiveRecordCallbacksOrder:
58
55
  Description: 'Order callback declarations in the order in which they will be executed.'
@@ -85,7 +82,6 @@ Rails/ActiveSupportOnLoad:
85
82
  Reference:
86
83
  - 'https://api.rubyonrails.org/classes/ActiveSupport/LazyLoadHooks.html'
87
84
  - 'https://guides.rubyonrails.org/engines.html#available-load-hooks'
88
- SafeAutoCorrect: false
89
85
  VersionAdded: '2.16'
90
86
 
91
87
  Rails/AddColumnIndex:
@@ -109,35 +105,30 @@ Rails/AfterCommitOverride:
109
105
  Rails/ApplicationController:
110
106
  Description: 'Check that controllers subclass ApplicationController.'
111
107
  Enabled: true
112
- SafeAutoCorrect: false
113
108
  VersionAdded: '2.4'
114
109
  VersionChanged: '2.5'
115
110
 
116
111
  Rails/ApplicationJob:
117
112
  Description: 'Check that jobs subclass ApplicationJob.'
118
113
  Enabled: true
119
- SafeAutoCorrect: false
120
114
  VersionAdded: '0.49'
121
115
  VersionChanged: '2.5'
122
116
 
123
117
  Rails/ApplicationMailer:
124
118
  Description: 'Check that mailers subclass ApplicationMailer.'
125
119
  Enabled: true
126
- SafeAutoCorrect: false
127
120
  VersionAdded: '2.4'
128
121
  VersionChanged: '2.5'
129
122
 
130
123
  Rails/ApplicationRecord:
131
124
  Description: 'Check that models subclass ApplicationRecord.'
132
125
  Enabled: true
133
- SafeAutoCorrect: false
134
126
  VersionAdded: '0.49'
135
127
  VersionChanged: '2.5'
136
128
 
137
129
  Rails/ArelStar:
138
130
  Description: 'Enforces `Arel.star` instead of `"*"` for expanded columns.'
139
131
  Enabled: true
140
- SafeAutoCorrect: false
141
132
  VersionAdded: '2.9'
142
133
 
143
134
  Rails/AssertNot:
@@ -164,7 +155,6 @@ Rails/BelongsTo:
164
155
  Rails/Blank:
165
156
  Description: 'Enforces use of `blank?`.'
166
157
  Enabled: true
167
- SafeAutoCorrect: false
168
158
  VersionAdded: '0.48'
169
159
  VersionChanged: '2.10'
170
160
  # Convert usages of `nil? || empty?` to `blank?`
@@ -415,7 +405,6 @@ Rails/FreezeTime:
415
405
  StyleGuide: 'https://rails.rubystyle.guide/#freeze-time'
416
406
  Enabled: false
417
407
  VersionAdded: '2.16'
418
- SafeAutoCorrect: false
419
408
 
420
409
  Rails/HasAndBelongsToMany:
421
410
  Description: 'Prefer has_many :through to has_and_belongs_to_many.'
@@ -487,7 +476,6 @@ Rails/IgnoredColumnsAssignment:
487
476
  Description: 'Looks for assignments of `ignored_columns` that override previous assignments.'
488
477
  StyleGuide: 'https://rails.rubystyle.guide/#append-ignored-columns'
489
478
  Enabled: true
490
- SafeAutoCorrect: false
491
479
  VersionAdded: '2.17'
492
480
 
493
481
  Rails/IgnoredSkipActionFilterOption:
@@ -548,7 +536,6 @@ Rails/MailerName:
548
536
  Description: 'Mailer should end with `Mailer` suffix.'
549
537
  StyleGuide: 'https://rails.rubystyle.guide/#mailer-name'
550
538
  Enabled: true
551
- SafeAutoCorrect: false
552
539
  VersionAdded: '2.7'
553
540
  Include:
554
541
  - app/mailers/**/*.rb
@@ -597,7 +584,6 @@ Rails/OrderById:
597
584
  Rails/Output:
598
585
  Description: 'Checks for calls to puts, print, etc.'
599
586
  Enabled: true
600
- SafeAutoCorrect: false
601
587
  VersionAdded: '0.15'
602
588
  VersionChanged: '0.19'
603
589
  Include:
@@ -706,7 +692,6 @@ Rails/RedundantForeignKey:
706
692
  Rails/RedundantPresenceValidationOnBelongsTo:
707
693
  Description: 'Checks for redundant presence validation on belongs_to association.'
708
694
  Enabled: true
709
- SafeAutoCorrect: false
710
695
  VersionAdded: '2.13'
711
696
 
712
697
  Rails/RedundantReceiverInWithOptions:
@@ -743,7 +728,6 @@ Rails/RefuteMethods:
743
728
  Rails/RelativeDateConstant:
744
729
  Description: 'Do not assign relative date to constants.'
745
730
  Enabled: true
746
- SafeAutoCorrect: false
747
731
  VersionAdded: '0.48'
748
732
  VersionChanged: '2.13'
749
733
 
@@ -779,7 +763,6 @@ Rails/RequireDependency:
779
763
  Rails/ResponseParsedBody:
780
764
  Description: Prefer `response.parsed_body` to `JSON.parse(response.body)`.
781
765
  Enabled: true
782
- SafeAutoCorrect: false
783
766
  VersionAdded: '2.18'
784
767
  Include:
785
768
  - spec/controllers/**/*.rb
@@ -813,7 +796,6 @@ Rails/RootJoinChain:
813
796
  Rails/RootPathnameMethods:
814
797
  Description: 'Use `Rails.root` IO methods instead of passing it to `File`.'
815
798
  Enabled: true
816
- SafeAutoCorrect: false
817
799
  VersionAdded: '2.16'
818
800
 
819
801
  Rails/RootPublicPath:
@@ -841,7 +823,6 @@ Rails/SafeNavigationWithBlank:
841
823
  #
842
824
  # foo&.blank? #=> nil
843
825
  # foo.blank? #=> true
844
- SafeAutoCorrect: false
845
826
 
846
827
  Rails/SaveBang:
847
828
  Description: 'Identifies possible cases where Active Record save! or related should be used.'
@@ -851,7 +832,6 @@ Rails/SaveBang:
851
832
  VersionChanged: '0.59'
852
833
  AllowImplicitReturn: true
853
834
  AllowedReceivers: [ ]# Project specific
854
- SafeAutoCorrect: false
855
835
 
856
836
  Rails/SchemaComment:
857
837
  Description: >-
@@ -915,7 +895,6 @@ Rails/SquishedSQLHeredocs:
915
895
  VersionChanged: '2.9'
916
896
  # Some SQL syntax (e.g. PostgreSQL comments and functions) requires newlines
917
897
  # to be preserved in order to work, thus autocorrection is not safe.
918
- SafeAutoCorrect: false
919
898
 
920
899
  Rails/StripHeredoc:
921
900
  Description: 'Enforces the use of squiggly heredoc over `strip_heredoc`.'
@@ -937,7 +916,6 @@ Rails/TimeZone:
937
916
  StyleGuide: 'https://rails.rubystyle.guide#time'
938
917
  Reference: 'http://danilenko.org/2012/7/6/rails_timezones'
939
918
  Enabled: true
940
- SafeAutoCorrect: false
941
919
  VersionAdded: '0.30'
942
920
  VersionChanged: '2.13'
943
921
  # The value `strict` means that `Time` should be used with `zone`.
@@ -1002,7 +980,6 @@ Rails/UniqBeforePluck:
1002
980
  SupportedStyles:
1003
981
  - conservative
1004
982
  - aggressive
1005
- SafeAutoCorrect: false
1006
983
 
1007
984
  Rails/UniqueValidationWithoutIndex:
1008
985
  Description: 'Uniqueness validation should have a unique index on the database column.'
@@ -1040,14 +1017,12 @@ Rails/WhereEquals:
1040
1017
  Description: 'Pass conditions to `where` as a hash instead of manually constructing SQL.'
1041
1018
  StyleGuide: 'https://rails.rubystyle.guide/#hash-conditions'
1042
1019
  Enabled: true
1043
- SafeAutoCorrect: false
1044
1020
  VersionAdded: '2.9'
1045
1021
  VersionChanged: '2.10'
1046
1022
 
1047
1023
  Rails/WhereExists:
1048
1024
  Description: 'Prefer `exists?(...)` over `where(...).exists?`.'
1049
1025
  Enabled: true
1050
- SafeAutoCorrect: false
1051
1026
  EnforcedStyle: exists
1052
1027
  SupportedStyles:
1053
1028
  - exists
@@ -2,6 +2,6 @@
2
2
 
3
3
  module RuboCop
4
4
  module RubomaticRails
5
- VERSION = '1.3.0-rc.1'
5
+ VERSION = '1.3.0'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubocop-rubomatic-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.3.0.pre.rc.1
4
+ version: 1.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brands Insurance
@@ -84,9 +84,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
84
84
  version: 3.0.1
85
85
  required_rubygems_version: !ruby/object:Gem::Requirement
86
86
  requirements:
87
- - - ">"
87
+ - - ">="
88
88
  - !ruby/object:Gem::Version
89
- version: 1.3.1
89
+ version: '0'
90
90
  requirements: []
91
91
  rubygems_version: 3.2.15
92
92
  signing_key: