gitlab-styles 2.7.0 → 2.8.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: d0799f03e956b4757345d4789923b3b88a00b6bf4220606df2e3fc32cf715c93
4
- data.tar.gz: 7b049b0ec48fc0923398c82b6b3cf15ec998c3956e052c4d04b1a3a754d614b4
3
+ metadata.gz: b698908b7841d3384bd81ca582c5bf02176a99f788ebe7fec7987f027f3f2178
4
+ data.tar.gz: d7c83ba3cc139962eb309db21378b813eccac0f7d3edba06aeb9fc7acebc321a
5
5
  SHA512:
6
- metadata.gz: 1d351ed03730b21ff4cafa3448beafe0b2f6b420620920674b5c2c47f5a4003bd930ce8e23a17d8ff529bc9abecf66d5d10828fa7d9e16537a186989bc502feb
7
- data.tar.gz: 6db6b6501ad827413a8d3fcad682ea9cfc23cd3552a60a2171715afaaec7839507353d45a175311ec5704334c878a7084d6e50c7e9b82aa90ad04e10258f2777
6
+ metadata.gz: 4025e0ff32eb334dc6ea037281093e195a7dec8c0c0ee36750e9740d70add2362f0d25a61b371cecb4d5681f7887c6ade9226c7ab9e9ad47a454111ec7421385
7
+ data.tar.gz: faab98f0317bc976f1b7d21f18d6b1989f0b4c2def58300ebeb7291b5385b6b74283337feeb14b1cc5f6931580e131a9aacdd72ca905dcb8969596ea7e2e26b8
@@ -1,5 +1,5 @@
1
1
  module Gitlab
2
2
  module Styles
3
- VERSION = '2.7.0'.freeze
3
+ VERSION = '2.8.0'.freeze
4
4
  end
5
5
  end
@@ -118,6 +118,10 @@ Lint/RequireParentheses:
118
118
  Lint/RescueException:
119
119
  Enabled: true
120
120
 
121
+ # Ensures safe navigation isn't used with empty? in a conditional
122
+ Lint/SafeNavigationWithEmpty:
123
+ Enabled: true
124
+
121
125
  # Checks for the order which exceptions are rescued to avoid rescueing a less specific exception before a more specific exception.
122
126
  Lint/ShadowedException:
123
127
  Enabled: false
@@ -157,7 +161,8 @@ Lint/UnusedMethodArgument:
157
161
 
158
162
  # Checks for useless access modifiers.
159
163
  Lint/UselessAccessModifier:
160
- Enabled: true
164
+ ContextCreatingMethods:
165
+ - class_methods
161
166
 
162
167
  # Checks for useless assignment to a local variable.
163
168
  Lint/UselessAssignment:
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: gitlab-styles
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.7.0
4
+ version: 2.8.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - GitLab
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-05-16 00:00:00.000000000 Z
11
+ date: 2019-07-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop
@@ -177,8 +177,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
177
177
  - !ruby/object:Gem::Version
178
178
  version: '0'
179
179
  requirements: []
180
- rubyforge_project:
181
- rubygems_version: 2.7.6
180
+ rubygems_version: 3.0.3
182
181
  signing_key:
183
182
  specification_version: 4
184
183
  summary: GitLab style guides and shared style configs.