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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 94f91e8625cfaaac6e7fc4e31bb94f63937306a253beb67015ce563cfb871fc6
4
- data.tar.gz: dfbdd435572019365d4b4a505340547f40979335c8a96817cd565f2087ca75be
3
+ metadata.gz: 6c3ecd559a6ebf1a458a1b41c579080e0133ee4ea153b7095feed32f90f52420
4
+ data.tar.gz: 02f2cd3bc1d3307f98aac572fc0e0bcb0c3eec09addc6200d43b4d56cc88817d
5
5
  SHA512:
6
- metadata.gz: d4d0dc48545e86ac1055984f3ef5853372ef9ca823fa058edfd4f263cf5fcbd1809194346bf84292cbd2bde0ae1daa8f9dbcc636b5cedf76dbfb77ec9f020b05
7
- data.tar.gz: 0070c5d97f64e37ff7da5a2d5b1f0f676933f88f62ffa27891aaeb2f503c35a8ddff9d1e8d2868079277db78effa0d19b9b60d833b42898f45cce50300a040f4
6
+ metadata.gz: 8435477c90b0da26f0418ba8cb0441cefa87518e4ea0a8c594c014023df9e6255270c6170b017abfa10954bb0a41867ac5cb4d6965c60ab4c01545f5b900ec26
7
+ data.tar.gz: 87134803ac4a27d3d892dad3c2555ac4427607e718a402603a790bb571862ae2cedf7e4f1aed6bbb8b6b60fcb7f53c1202facc9dd0207e8bd102674021349316
data/config/rspec.yml CHANGED
@@ -38,3 +38,7 @@ RSpec/NamedSubject:
38
38
 
39
39
  RSpec/NestedGroups:
40
40
  Enabled: false
41
+
42
+ # 英語力が本当に高くないとつらいので強制はむずい
43
+ RSpec/ContextWording:
44
+ Enabled: false
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.53.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'
@@ -1,3 +1,3 @@
1
1
  module Fincop
2
- VERSION = '0.53.0.1'.freeze
2
+ VERSION = '0.54.0.0'.freeze
3
3
  end
@@ -7,6 +7,4 @@ inherit_gem:
7
7
  # - 'config/disabled_for_rails_4.yml'
8
8
 
9
9
  AllCops:
10
- TargetRubyVersion: 2.4
11
-
12
- DisplayStyleGuide: true
10
+ TargetRubyVersion: 2.5
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.53.0.1
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-03-29 00:00:00.000000000 Z
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.53.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.53.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.5
131
+ rubygems_version: 2.7.6
132
132
  signing_key:
133
133
  specification_version: 4
134
134
  summary: FinCop is a RuboCop configuration gem.