barcoop 0.2.8 → 0.3.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: 82f0f2617ff0b7892293b75835d627f264388a1a1eb624ed8275e32556cb0ebf
4
- data.tar.gz: f25841dff18f057e7da75f78884f954c931c85d035bd711d3ad8c837269e9a34
3
+ metadata.gz: 88263707756ce46055905b556ac84afb45a1f4b398a66816d9397a0446116d58
4
+ data.tar.gz: fdb36e8065571300f7c1f57656e3b2a21d004c9fd30fd1f7b674379993a606c8
5
5
  SHA512:
6
- metadata.gz: 0d99b7f24c62222555a92206a8234546b63511dcefbe1c0e9ce48de4a26c01d57734a5965c1891fa4dbbd33b57470b8e69522e370c4ccf38ae148b9f920d59fa
7
- data.tar.gz: e200a1d29e4dcccccd73afb1236a9d35579a08c30a94732ba6eee07ac4779ea70fefcd45e45f74232dbaf6a38c22df6e6736ac23761a408806a919a4e2494ab3
6
+ metadata.gz: ae2f9939bad235fde71c1c824d041187647c8ec6b250be1e058e1650c3749bfd3222dc4ef6984b5376b38c575ac90e21d145c88d83e5d18dc2c1398e8c796104
7
+ data.tar.gz: 2578f41a36284be1eba8862d39a16a4a275b1d04ad977796b1ef3468b683faa2b656e4fe15c08f27637a9ebe466ad44f2a8b08e4f1e3aeb209ae16d56b59ea52
@@ -21,8 +21,9 @@ Gem::Specification.new do |spec|
21
21
 
22
22
  spec.require_paths = ['lib']
23
23
 
24
- spec.add_runtime_dependency 'rubocop', '~> 0.49.1'
24
+ spec.add_runtime_dependency 'rubocop', '~> 0.74.0'#
25
+ spec.add_runtime_dependency 'rubocop-rails', '~> 2.3.0'
25
26
 
26
- spec.add_development_dependency 'bundler', '~> 1.14'
27
+ spec.add_development_dependency 'bundler', '~> 2.0'
27
28
  spec.add_development_dependency 'rake', '~> 10.0'
28
29
  end
@@ -31,11 +31,9 @@ Metrics/BlockLength:
31
31
  Metrics/MethodLength:
32
32
  Max: 40
33
33
 
34
- Metrics/ModuleLength:
35
- Max: 500
36
-
37
34
  Metrics/ModuleLength:
38
35
  Enabled: true
36
+ Max: 500
39
37
  Exclude:
40
38
  - 'test/factories/**/*'
41
39
 
@@ -64,10 +62,10 @@ Style/RedundantReturn:
64
62
  Style/GuardClause:
65
63
  Enabled: false
66
64
 
67
- Layout/IndentHash:
65
+ Layout/IndentFirstHashElement:
68
66
  EnforcedStyle: consistent
69
67
 
70
- Layout/IndentArray:
68
+ Layout/IndentFirstArrayElement:
71
69
  EnforcedStyle: consistent
72
70
 
73
71
  Metrics/ClassLength:
@@ -94,16 +92,13 @@ Style/SingleLineBlockParams:
94
92
  Style/FrozenStringLiteralComment:
95
93
  Enabled: true
96
94
 
97
- Lint/EndAlignment:
95
+ Layout/EndAlignment:
98
96
  EnforcedStyleAlignWith: variable
99
97
 
100
98
  CaseIndentation:
101
99
  EnforcedStyle: end
102
100
  IndentOneStep: false
103
101
 
104
- Style/FrozenStringLiteralComment:
105
- Enabled: false
106
-
107
102
  # Creating an array for just two comparisions is just too much of an
108
103
  # overhead and also not very readable. Unfortunately there's no setting
109
104
  # for how many repetitions are allowed
@@ -2,6 +2,7 @@ inherit_from:
2
2
  - rubocop.yml
3
3
 
4
4
  require:
5
+ - rubocop-rails
5
6
  - barcoop/cop/barcoo/avoid_rails_env.rb
6
7
  - barcoop/cop/barcoo/avoid_fixtures.rb
7
8
 
@@ -1,3 +1,5 @@
1
+ # frozen_string_literal: true
2
+
1
3
  require 'barcoop/version'
2
4
 
3
5
  module Barcoop; end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Barcoop
4
- VERSION = '0.2.8'
4
+ VERSION = '0.3.0'
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: barcoop
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.8
4
+ version: 0.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Sergio Medina
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-03-18 00:00:00.000000000 Z
11
+ date: 2019-08-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop
@@ -16,28 +16,42 @@ dependencies:
16
16
  requirements:
17
17
  - - "~>"
18
18
  - !ruby/object:Gem::Version
19
- version: 0.49.1
19
+ version: 0.74.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.49.1
26
+ version: 0.74.0
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: 2.3.0
34
+ type: :runtime
35
+ prerelease: false
36
+ version_requirements: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: 2.3.0
27
41
  - !ruby/object:Gem::Dependency
28
42
  name: bundler
29
43
  requirement: !ruby/object:Gem::Requirement
30
44
  requirements:
31
45
  - - "~>"
32
46
  - !ruby/object:Gem::Version
33
- version: '1.14'
47
+ version: '2.0'
34
48
  type: :development
35
49
  prerelease: false
36
50
  version_requirements: !ruby/object:Gem::Requirement
37
51
  requirements:
38
52
  - - "~>"
39
53
  - !ruby/object:Gem::Version
40
- version: '1.14'
54
+ version: '2.0'
41
55
  - !ruby/object:Gem::Dependency
42
56
  name: rake
43
57
  requirement: !ruby/object:Gem::Requirement
@@ -91,7 +105,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
91
105
  version: '0'
92
106
  requirements: []
93
107
  rubyforge_project:
94
- rubygems_version: 2.7.8
108
+ rubygems_version: 2.7.6
95
109
  signing_key:
96
110
  specification_version: 4
97
111
  summary: barcoo's rubocop config and cops