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 +4 -4
- data/config/rubocop.yml +13 -12
- data/lib/pulis/version.rb +1 -1
- data/pulis.gemspec +2 -0
- metadata +30 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 29139ca4848586a2a9cfb9a3c93c2af2b2e7a0dd5021d73a114be96c29408124
|
4
|
+
data.tar.gz: 3b656be0dbe3cd7a56f0de57f639f3f8dd42f743fe2e9d6bcc483c7b83b264e8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 442166e5880416753dd6ae0c486dcf9d55845c3a863883c51bef38aea9aa9ffa722cc2a34547ba933bb45d7cc6327ce9f64940d4b9fcc1950e2c654cac33ca73
|
7
|
+
data.tar.gz: a8202826fcf12aae1a2fcb96c7fa03bb11cc91c2302dbd7ec83960776348c4d0f92e8d7b472fe5633a1329d3fe48186d255bca33f952cf27da8b200f228bddbf
|
data/config/rubocop.yml
CHANGED
@@ -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/
|
26
|
+
Layout/ParameterAlignment:
|
23
27
|
EnforcedStyle: with_fixed_indentation
|
24
28
|
|
25
29
|
Layout/CaseIndentation:
|
26
30
|
EnforcedStyle: end
|
27
31
|
|
28
|
-
Layout/
|
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/
|
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
|
-
|
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:
|
data/lib/pulis/version.rb
CHANGED
data/pulis.gemspec
CHANGED
@@ -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.
|
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:
|
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
|