armitage-rubocop 0.74.0 → 0.74.0.129

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: 6f938ac5a18c77dc234cdde491ede1057de6f6f39a4b7f42714c6706cf9e7434
4
- data.tar.gz: d1ce140d4cf3fe8aa23b56504424ca55050b9ee5d3f7d63809996a6304b902b1
3
+ metadata.gz: 253361436392211e00fa1400d6eb63948e249c5d9ece89b8c5351731e62071af
4
+ data.tar.gz: e76ab4a7b003bf18c6d7a6237001e197133de5261241c8f53f524f9a3c2d9cdf
5
5
  SHA512:
6
- metadata.gz: bc87a4703a30bc0c02451d5fe99ad2c94e02c56828d310f7788309825ebf296fd92134202e359b3064529bd0530cb59399edcfdbb4332939a2aeabbdb568f286
7
- data.tar.gz: bfc9d8a2ff393235955fced4ba9cc8c5e0098f61a01ddb68105cd354a93512fd3175695f5ff7e30bea78cce28f757911de5304cd7145e6e8a1cfb2267a0d7e79
6
+ metadata.gz: 610b5a0e3950f59682c065b2d98afd3c6df90099c661be4ae1da9c18d344dc9de3f819e9bef9a257b24e5b7a49993f0828bf1d5ef32801366ef869792c9eab59
7
+ data.tar.gz: e47f228969aef156b24b47fab131095f44b9e2c1f1ed32740e34a8f94f140d78765184139132a576e04dfcd2699d2e590615b398b218a861a2de2b0c41f14414
@@ -1 +1,4 @@
1
1
  inherit_from: ./lib/rubocop.general.yml
2
+
3
+ AllCops:
4
+ TargetRubyVersion: 2.6.3
data/Rakefile CHANGED
@@ -59,13 +59,7 @@ namespace :armitage_rubocop do
59
59
 
60
60
  # NOTE: try to load without Psych exceptions
61
61
  invalid_yamls = yamls.each_with_object([]) do |file_name, invalid_files|
62
- # rubocop:disable Style/RedundantBegin
63
- begin
64
- YAML.safe_load(File.read(file_name))
65
- rescue StandardError
66
- (invalid_files << "- \e[33m#{file_name}\e[0m")
67
- end
68
- # rubocop:enable Style/RedundantBegin
62
+ YAML.safe_load(File.read(file_name)) rescue (invalid_files << "- \e[33m#{file_name}\e[0m")
69
63
  end
70
64
 
71
65
  if invalid_yamls.empty?
@@ -25,7 +25,7 @@ Gem::Specification.new do |spec|
25
25
 
26
26
  spec.add_dependency 'rubocop', '= 0.74.0'
27
27
  spec.add_dependency 'rubocop-performance', '= 1.4.1'
28
- spec.add_dependency 'rubocop-rails', '= 2.2.1'
28
+ spec.add_dependency 'rubocop-rails', '= 2.3.0'
29
29
  spec.add_dependency 'rubocop-rspec', '= 1.35.0'
30
30
 
31
31
  spec.add_development_dependency 'bundler'
@@ -48,6 +48,11 @@ Rails/DelegateAllowBlank:
48
48
  Rails/DynamicFindBy:
49
49
  Enabled: true
50
50
 
51
+ Rails/EnumHash:
52
+ Enabled: true
53
+ Include:
54
+ - app/models/**/*.rb
55
+
51
56
  Rails/EnumUniqueness:
52
57
  Enabled: true
53
58
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: armitage-rubocop
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.74.0
4
+ version: 0.74.0.129
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rustam Ibragimov
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-08-12 00:00:00.000000000 Z
11
+ date: 2019-08-14 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop
@@ -44,14 +44,14 @@ dependencies:
44
44
  requirements:
45
45
  - - '='
46
46
  - !ruby/object:Gem::Version
47
- version: 2.2.1
47
+ version: 2.3.0
48
48
  type: :runtime
49
49
  prerelease: false
50
50
  version_requirements: !ruby/object:Gem::Requirement
51
51
  requirements:
52
52
  - - '='
53
53
  - !ruby/object:Gem::Version
54
- version: 2.2.1
54
+ version: 2.3.0
55
55
  - !ruby/object:Gem::Dependency
56
56
  name: rubocop-rspec
57
57
  requirement: !ruby/object:Gem::Requirement
@@ -161,7 +161,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
161
161
  - !ruby/object:Gem::Version
162
162
  version: '0'
163
163
  requirements: []
164
- rubygems_version: 3.0.3
164
+ rubyforge_project:
165
+ rubygems_version: 2.7.7
165
166
  signing_key:
166
167
  specification_version: 4
167
168
  summary: A set of rubocop settings