lifen-ruby-style 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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 548b57257fd22c143635e55184cb0e91a2e77e11fac35dade956b76c44aa3b65
4
- data.tar.gz: 3133553e6e0ba5fe93aa67ded5fa43efade1cb995c3ac25ad7be915bb065737b
3
+ metadata.gz: 3374ee51e9eee20e43a1c54a4241aebe4b20d66d2f490a8cfee3c76a8445321b
4
+ data.tar.gz: 83ae89fe92da78cfe5ae1c343b97de2410b5d852068c8e8c7af34b5179bef4b6
5
5
  SHA512:
6
- metadata.gz: ec9fb30668346cbf2a655b847b2a308a346528dd3a1cc7731b73c5829cc143828da6ed4aba8bca7c9d2d8139be3988b04ed71146531760881cf1e29f802024fe
7
- data.tar.gz: 23710ab43cec2fa7bf5545bfba728e3aef5bc0c0ea747a42fc9fa5e97363bfb72a3faca22bcb657c679fb48c10b54a2aa89451eb918b2ef35cbdf7882435456b
6
+ metadata.gz: 8005cebbe5c14bd4921e6835a8ab0c4bad2ed59a88818108cc0143626c0bc299b892f39aaf57cadcadbbfd4508e56a98c6744625e14db6755ceda3de8ae417e5
7
+ data.tar.gz: 0f32bd0d3f114e7a09b1cb4f79070b80650f7718522b019cc460017d7a562d7585e4a8c6c7e43d2cf7e7387075e5508f2909159b3e3f48a895f06f1e8e511245
@@ -69,7 +69,7 @@ Metrics/CyclomaticComplexity:
69
69
  Enabled: false
70
70
 
71
71
  Metrics/MethodLength:
72
- Max: 40
72
+ Enabled: false
73
73
 
74
74
  Metrics/ModuleLength:
75
75
  Max: 250
@@ -98,6 +98,16 @@ Style/ExplicitBlockArgument:
98
98
  Style/Documentation:
99
99
  Enabled: false
100
100
 
101
+ Style/FrozenStringLiteralComment:
102
+ Exclude:
103
+ - spec/lib/tasks/deployment/**/*
104
+
105
+ Style/IfUnlessModifier:
106
+ Enabled: false
107
+
108
+ Style/NumericLiterals:
109
+ Strict: true
110
+
101
111
  Style/TrailingCommaInArguments:
102
112
  Enabled: true
103
113
  EnforcedStyleForMultiline: comma
@@ -110,12 +120,6 @@ Style/TrailingCommaInHashLiteral:
110
120
  Enabled: true
111
121
  EnforcedStyleForMultiline: comma
112
122
 
113
- Style/IfUnlessModifier:
114
- Enabled: true
115
- AutoCorrect: false
116
-
117
- Style/NumericLiterals:
118
- Strict: true
119
123
 
120
124
  Style/RegexpLiteral:
121
125
  AllowInnerSlashes: true
@@ -135,14 +139,19 @@ Rails/DynamicFindBy:
135
139
 
136
140
  Rails/UnknownEnv:
137
141
  Environments:
138
- - production
139
142
  - development
140
- - test
143
+ - production
144
+ - review
141
145
  - staging
146
+ - test
142
147
 
143
148
  RSpec/AnyInstance:
144
149
  Enabled: false
145
150
 
151
+ RSpec/DescribeClass:
152
+ Exclude:
153
+ - spec/lib/tasks/deployment/**/*
154
+
146
155
  RSpec/DescribedClass:
147
156
  EnforcedStyle: explicit
148
157
  Exclude:
@@ -157,6 +166,10 @@ RSpec/ExampleLength:
157
166
  RSpec/HookArgument:
158
167
  EnforcedStyle: each
159
168
 
169
+ RSpec/LeadingSubject:
170
+ Exclude:
171
+ - spec/support/pundit.rb
172
+
160
173
  RSpec/LetSetup:
161
174
  Enabled: false
162
175
 
@@ -3,7 +3,7 @@
3
3
  module Lifen
4
4
  module RubyStyle
5
5
 
6
- VERSION = '1.1.2'
6
+ VERSION = '1.1.3'
7
7
 
8
8
  end
9
9
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lifen-ruby-style
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.2
4
+ version: 1.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Team Lifen