pulis 0.1.17 → 0.1.31

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: 72e74f2b7833685556f6c2494c206729e0e63917b26dbfdb1a28a2527aba3c3d
4
- data.tar.gz: 721fd318f7a0cc22e55f01dc0c3c2855724c2d1052eb10b09f28fc8d06e8c462
3
+ metadata.gz: 29139ca4848586a2a9cfb9a3c93c2af2b2e7a0dd5021d73a114be96c29408124
4
+ data.tar.gz: 3b656be0dbe3cd7a56f0de57f639f3f8dd42f743fe2e9d6bcc483c7b83b264e8
5
5
  SHA512:
6
- metadata.gz: ed1e31156e2a4f82c18e37c4bcbf7c6ff51e568e54a68cb6fbd23a680fa8fa32edcd22cd2003270c4ff10b727d42dc01b055dc9f2dc2f790ef0a167116e1028c
7
- data.tar.gz: 202b4547070d9f3c1de444954f198d5e548169a07dbea1ef0b95f864679f0e1252e3c490a222a01f64d4f35d1c0e67884ae460d18a1ab909b54265768075cc06
6
+ metadata.gz: 442166e5880416753dd6ae0c486dcf9d55845c3a863883c51bef38aea9aa9ffa722cc2a34547ba933bb45d7cc6327ce9f64940d4b9fcc1950e2c654cac33ca73
7
+ data.tar.gz: a8202826fcf12aae1a2fcb96c7fa03bb11cc91c2302dbd7ec83960776348c4d0f92e8d7b472fe5633a1329d3fe48186d255bca33f952cf27da8b200f228bddbf
@@ -1,6 +1,10 @@
1
1
  # rubocop yml config example
2
2
  # https://github.com/ryshinoz/rubocop_sample
3
3
 
4
+ require:
5
+ - rubocop-rails
6
+ - rubocop-performance
7
+
4
8
  ######## Rubocop Config ########
5
9
  AllCops:
6
10
  Exclude:
@@ -13,19 +17,19 @@ AllCops:
13
17
  # NOTE 4 系を利用している場合は書き換える
14
18
  TargetRailsVersion: 5.0
15
19
 
16
- AndOr:
20
+ Style/AndOr:
17
21
  Enabled: false
18
22
 
19
- CommentAnnotation:
23
+ Style/CommentAnnotation:
20
24
  Enabled: false
21
25
 
22
- Layout/AlignParameters:
26
+ Layout/ParameterAlignment:
23
27
  EnforcedStyle: with_fixed_indentation
24
28
 
25
29
  Layout/CaseIndentation:
26
30
  EnforcedStyle: end
27
31
 
28
- Layout/IndentFirstHashElement:
32
+ Layout/FirstHashElementIndentation:
29
33
  Enabled: false
30
34
 
31
35
  Layout/IndentationWidth:
@@ -70,7 +74,7 @@ Lint/UnusedMethodArgument:
70
74
  Lint/UselessAssignment:
71
75
  Enabled: true
72
76
 
73
- Lint/UselessComparison:
77
+ Lint/BinaryOperatorWithIdenticalOperands:
74
78
  Enabled: true
75
79
 
76
80
  Lint/Void:
@@ -93,7 +97,7 @@ Metrics/ClassLength:
93
97
  Metrics/CyclomaticComplexity:
94
98
  Max: 50
95
99
 
96
- Metrics/LineLength:
100
+ Layout/LineLength:
97
101
  Enabled: false
98
102
 
99
103
  Metrics/MethodLength:
@@ -110,7 +114,7 @@ Naming/PredicateName:
110
114
  Naming/VariableNumber:
111
115
  EnforcedStyle: snake_case
112
116
 
113
- NumericLiterals:
117
+ Style/NumericLiterals:
114
118
  MinDigits: 12
115
119
 
116
120
  Performance/RedundantMatch:
@@ -131,7 +135,7 @@ Rails/HttpPositionalArguments:
131
135
  Rails/Validation:
132
136
  Enabled: true
133
137
 
134
- RedundantSelf:
138
+ Style/RedundantSelf:
135
139
  Enabled: false
136
140
 
137
141
  Style/AsciiComments:
@@ -140,9 +144,6 @@ Style/AsciiComments:
140
144
  Style/BlockDelimiters:
141
145
  Enabled: false
142
146
 
143
- Style/BracesAroundHashParameters:
144
- EnforcedStyle: no_braces
145
-
146
147
  Style/CaseEquality:
147
148
  Enabled: false
148
149
 
@@ -197,7 +198,7 @@ Style/TrailingUnderscoreVariable:
197
198
  Style/WhenThen:
198
199
  Enabled: false
199
200
 
200
- SingleLineMethods:
201
+ Style/SingleLineMethods:
201
202
  Enabled: false
202
203
 
203
204
  Style/MethodCallWithoutArgsParentheses:
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Pulis
4
- VERSION = '0.1.17'
4
+ VERSION = '0.1.31'
5
5
  end
@@ -16,6 +16,8 @@ Gem::Specification.new do |spec|
16
16
  spec.require_paths = ['lib']
17
17
 
18
18
  spec.add_dependency 'rubocop', '~> 0.48'
19
+ spec.add_dependency 'rubocop-rails'
20
+ spec.add_dependency 'rubocop-performance'
19
21
 
20
22
  spec.add_development_dependency 'bundler', '~> 1.14'
21
23
  spec.add_development_dependency 'rake', '~> 10.0'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pulis
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.17
4
+ version: 0.1.31
5
5
  platform: ruby
6
6
  authors:
7
7
  - sansan
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-05-13 00:00:00.000000000 Z
11
+ date: 2020-08-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop
@@ -24,6 +24,34 @@ dependencies:
24
24
  - - "~>"
25
25
  - !ruby/object:Gem::Version
26
26
  version: '0.48'
27
+ - !ruby/object:Gem::Dependency
28
+ name: rubocop-rails
29
+ requirement: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: '0'
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - ">="
39
+ - !ruby/object:Gem::Version
40
+ version: '0'
41
+ - !ruby/object:Gem::Dependency
42
+ name: rubocop-performance
43
+ requirement: !ruby/object:Gem::Requirement
44
+ requirements:
45
+ - - ">="
46
+ - !ruby/object:Gem::Version
47
+ version: '0'
48
+ type: :runtime
49
+ prerelease: false
50
+ version_requirements: !ruby/object:Gem::Requirement
51
+ requirements:
52
+ - - ">="
53
+ - !ruby/object:Gem::Version
54
+ version: '0'
27
55
  - !ruby/object:Gem::Dependency
28
56
  name: bundler
29
57
  requirement: !ruby/object:Gem::Requirement