fincop 0.53.0.1 → 0.54.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/config/rspec.yml +4 -0
- data/config/rubocop.yml +12 -0
- data/fincop.gemspec +1 -1
- data/lib/fincop/version.rb +1 -1
- data/templates/.rubocop.yml +1 -3
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6c3ecd559a6ebf1a458a1b41c579080e0133ee4ea153b7095feed32f90f52420
|
4
|
+
data.tar.gz: 02f2cd3bc1d3307f98aac572fc0e0bcb0c3eec09addc6200d43b4d56cc88817d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8435477c90b0da26f0418ba8cb0441cefa87518e4ea0a8c594c014023df9e6255270c6170b017abfa10954bb0a41867ac5cb4d6965c60ab4c01545f5b900ec26
|
7
|
+
data.tar.gz: 87134803ac4a27d3d892dad3c2555ac4427607e718a402603a790bb571862ae2cedf7e4f1aed6bbb8b6b60fcb7f53c1202facc9dd0207e8bd102674021349316
|
data/config/rspec.yml
CHANGED
data/config/rubocop.yml
CHANGED
@@ -8,6 +8,7 @@ AllCops:
|
|
8
8
|
- "db/schema.rb"
|
9
9
|
- "node_modules/**/*"
|
10
10
|
- "tmp/**/*"
|
11
|
+
- "bin/*"
|
11
12
|
DisplayCopNames: true
|
12
13
|
DisplayStyleGuide: true
|
13
14
|
|
@@ -274,6 +275,11 @@ Style/WordArray:
|
|
274
275
|
Style/ZeroLengthPredicate:
|
275
276
|
Enabled: false
|
276
277
|
|
278
|
+
# Matzが is_a? は非推奨なので kind_of? を使うように明言している。
|
279
|
+
# https://twitter.com/yukihiro_matz/status/921365048710139904
|
280
|
+
Style/ClassCheck:
|
281
|
+
EnforcedStyle: kind_of?
|
282
|
+
|
277
283
|
#################### Lint ##################################
|
278
284
|
|
279
285
|
# spec 内では
|
@@ -370,3 +376,9 @@ Security/YAMLLoad:
|
|
370
376
|
# extendとかをどこに書くか迷いやすいのでON、ただし問題が多そうなら即OFFにする
|
371
377
|
Layout/ClassStructure:
|
372
378
|
Enabled: true
|
379
|
+
|
380
|
+
#################### Others ################################
|
381
|
+
|
382
|
+
# 参考 https://tech.drecom.co.jp/gemfile-style/
|
383
|
+
Bundler/OrderedGems:
|
384
|
+
Enabled: true
|
data/fincop.gemspec
CHANGED
@@ -21,7 +21,7 @@ Gem::Specification.new do |spec|
|
|
21
21
|
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
|
22
22
|
spec.require_paths = ['lib']
|
23
23
|
|
24
|
-
spec.add_dependency 'rubocop', '>= 0.
|
24
|
+
spec.add_dependency 'rubocop', '>= 0.54.0'
|
25
25
|
spec.add_dependency 'rubocop-rspec', '>= 1.22.0'
|
26
26
|
spec.add_development_dependency 'bundler', '~> 1.13'
|
27
27
|
spec.add_development_dependency 'rake', '~> 10.0'
|
data/lib/fincop/version.rb
CHANGED
data/templates/.rubocop.yml
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fincop
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.54.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- FiNC, Inc
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-04-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rubocop
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 0.54.0
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 0.
|
26
|
+
version: 0.54.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: rubocop-rspec
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -128,7 +128,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
128
128
|
version: '0'
|
129
129
|
requirements: []
|
130
130
|
rubyforge_project:
|
131
|
-
rubygems_version: 2.7.
|
131
|
+
rubygems_version: 2.7.6
|
132
132
|
signing_key:
|
133
133
|
specification_version: 4
|
134
134
|
summary: FinCop is a RuboCop configuration gem.
|