rubocop-scc 1.0.0 → 1.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. checksums.yaml +4 -4
  2. data/config/rails.yml +10 -10
  3. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f00c8d00c7989c4142a2127787fbdd4563f9cfb9ce599f4acae514a41fa341b9
4
- data.tar.gz: 37e75c158ee38448769e28d1b4b51d2bbcb41cb9194034b5467a793ed170eef3
3
+ metadata.gz: 1cd0d3e782b23df6b4b807a4aa30a9a6e7022917135a471c250fd38e9fd974b0
4
+ data.tar.gz: d4d21c94f327202467be80f8d92836c96d41c53da28a5d41f5894671e9ec7107
5
5
  SHA512:
6
- metadata.gz: 5b31efdd916434ac19a15058ebf1e22998f5915d4b617a8c99f2df1ed211b41e0ac929a5206b28947eb32a4a09aea72a22ead324477a06ca3e36d54c181340b5
7
- data.tar.gz: 72ef8bc1f2949688b254b1db56c32bd907e9d327722f5534d1e0aab3378468bb181e82d4b660aa7ca3ade30bed853d85c739448f9af046321204c95245836996
6
+ metadata.gz: 976a5e464b343e1a59dd9112fc5ef7fdf0a2c1191c9c908f692b5016671e173e4e41d77de699261141bb49d674f864bdd789a44a295293c9f55e21391fe5b5b9
7
+ data.tar.gz: b8364a5a0120f9b901cde0eee04c2e40184d05b9f484b57f429d811e9e45eb0843bd29cb38a5401aacf9afd3949b248957494f758e1621611fb84ef453910350
@@ -1,4 +1,4 @@
1
- require: rubocop/cop/sequoiacap
1
+ require: rubocop/cop/Sequoiacap
2
2
 
3
3
  Rails:
4
4
  Enabled: true
@@ -98,47 +98,47 @@ Rails/Validation:
98
98
  Rails/UniqBeforePluck:
99
99
  Enabled: true
100
100
 
101
- sequoiacap/RailsControllerRenderActionSymbol:
101
+ Sequoiacap/RailsControllerRenderActionSymbol:
102
102
  Enabled: true
103
103
  Include:
104
104
  - 'app/controllers/**/*.rb'
105
105
 
106
- sequoiacap/RailsControllerRenderLiteral:
106
+ Sequoiacap/RailsControllerRenderLiteral:
107
107
  Enabled: true
108
108
  StyleGuide: https://github.com/github/rubocop-github/blob/master/guides/rails-render-literal.md
109
109
  Include:
110
110
  - 'app/controllers/**/*.rb'
111
111
 
112
- sequoiacap/RailsControllerRenderPathsExist:
112
+ Sequoiacap/RailsControllerRenderPathsExist:
113
113
  Enabled: false
114
114
  ViewPath:
115
115
  - 'app/views'
116
116
  Include:
117
117
  - 'app/controllers/**/*.rb'
118
118
 
119
- sequoiacap/RailsControllerRenderShorthand:
119
+ Sequoiacap/RailsControllerRenderShorthand:
120
120
  Enabled: true
121
121
  StyleGuide: https://github.com/github/rubocop-github/blob/master/guides/rails-controller-render-shorthand.md
122
122
  Include:
123
123
  - 'app/controllers/**/*.rb'
124
124
 
125
- sequoiacap/ClassName:
125
+ Sequoiacap/ClassName:
126
126
  Description: Use :class_name => "Model" instead of :class_name => Model.name
127
127
  to avoid a long cascade of autoloading.
128
128
  Enabled: true
129
129
 
130
- sequoiacap/DefaultScope:
130
+ Sequoiacap/DefaultScope:
131
131
  Description: Avoid `default_scope`. Default scopes make it difficult to
132
132
  refactor data access patterns since the scope becomes part of every query unless
133
133
  explicitly excluded, even when it is unnecessary or incidental to the desired logic.
134
134
  Enabled: true
135
135
 
136
- sequoiacap/FactoryClassUseString:
136
+ Sequoiacap/FactoryClassUseString:
137
137
  Description: Cop to tell developers to use :class => "MyClass" instead of :class => MyClass,
138
138
  because the latter slows down reloading zeus.
139
139
  Enabled: true
140
140
 
141
- sequoiacap/NoTimeout:
141
+ Sequoiacap/NoTimeout:
142
142
  Description: Do not use Timeout.timeout. In combination with Rails autoloading,
143
143
  timeout can cause Segmentation Faults in version of Ruby we use.
144
144
  It can also cause logic errors since it can raise in
@@ -146,7 +146,7 @@ sequoiacap/NoTimeout:
146
146
  ensure proper timing behavior for web requests.
147
147
  Enabled: true
148
148
 
149
- sequoiacap/SimpleModifierConditional:
149
+ Sequoiacap/SimpleModifierConditional:
150
150
  Enabled: true
151
151
  StyleGuide: https://github.com/airbnb/ruby#only-simple-if-unless
152
152
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubocop-scc
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.1.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - borisding