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 +4 -4
- data/barcoop.gemspec +3 -2
- data/conf/rubocop.yml +4 -9
- data/conf/rubocop_rails.yml +1 -0
- data/lib/barcoop.rb +2 -0
- data/lib/barcoop/version.rb +1 -1
- metadata +21 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 88263707756ce46055905b556ac84afb45a1f4b398a66816d9397a0446116d58
|
4
|
+
data.tar.gz: fdb36e8065571300f7c1f57656e3b2a21d004c9fd30fd1f7b674379993a606c8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ae2f9939bad235fde71c1c824d041187647c8ec6b250be1e058e1650c3749bfd3222dc4ef6984b5376b38c575ac90e21d145c88d83e5d18dc2c1398e8c796104
|
7
|
+
data.tar.gz: 2578f41a36284be1eba8862d39a16a4a275b1d04ad977796b1ef3468b683faa2b656e4fe15c08f27637a9ebe466ad44f2a8b08e4f1e3aeb209ae16d56b59ea52
|
data/barcoop.gemspec
CHANGED
@@ -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.
|
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', '~>
|
27
|
+
spec.add_development_dependency 'bundler', '~> 2.0'
|
27
28
|
spec.add_development_dependency 'rake', '~> 10.0'
|
28
29
|
end
|
data/conf/rubocop.yml
CHANGED
@@ -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/
|
65
|
+
Layout/IndentFirstHashElement:
|
68
66
|
EnforcedStyle: consistent
|
69
67
|
|
70
|
-
Layout/
|
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
|
-
|
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
|
data/conf/rubocop_rails.yml
CHANGED
data/lib/barcoop.rb
CHANGED
data/lib/barcoop/version.rb
CHANGED
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.
|
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-
|
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.
|
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.
|
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: '
|
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: '
|
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.
|
108
|
+
rubygems_version: 2.7.6
|
95
109
|
signing_key:
|
96
110
|
specification_version: 4
|
97
111
|
summary: barcoo's rubocop config and cops
|