getaround-rubocop 0.1.6 → 0.2.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.rubocop-rspec.yml +2 -0
- data/.rubocop.yml +6 -7
- data/Gemfile.lock +20 -16
- data/exemples/spec/dummy_class_spec.rb +7 -0
- data/getaround-rubocop.gemspec +13 -12
- metadata +10 -9
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 874541b6ed5d1a488c7da55e1abd3bbce05e1183c6111d325e2a5a6c1996364c
|
4
|
+
data.tar.gz: b8205900d3926b7a13590b12e168db36f355fe18de1bb4779531bc9a1b88267c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 741af37575b58f75e673fa14f0cd9a474a09a138d680455e2c8c6dbf5ac77583887772ff546e10feddcc7192d419c2aca5b22111213c78fd1dd4f6a735f55dd4
|
7
|
+
data.tar.gz: baf105339de6957966a7150df1ea9a0ac24eab6f39fefaca3bc7b40195ab2ff78ca1c388508ef766121e5ea74b5a8875b1a7d00d0f90623fb090e6fcbce09be7
|
data/.rubocop-rspec.yml
CHANGED
data/.rubocop.yml
CHANGED
@@ -1,13 +1,16 @@
|
|
1
1
|
inherit_gem:
|
2
2
|
relaxed-rubocop: .rubocop.yml
|
3
3
|
|
4
|
+
AllCops:
|
5
|
+
Exclude:
|
6
|
+
- vendor/**/* # Prevent validation of bundler gems
|
7
|
+
NewCops: disable # Ignore "pending" cops
|
8
|
+
|
4
9
|
Metrics/BlockLength:
|
5
10
|
Enabled: false # Length is an unreliable metric.
|
6
11
|
|
7
12
|
Style/ClassAndModuleChildren:
|
8
|
-
#
|
9
|
-
# "nested" syle promotes deep scopes which needs a lot of unnecessary indentation
|
10
|
-
Enabled: false
|
13
|
+
Enabled: false # Neither styles are satisfying in all cases
|
11
14
|
|
12
15
|
Layout/SpaceInsideArrayLiteralBrackets:
|
13
16
|
EnforcedStyle: no_space # Similar to prettier's config.
|
@@ -23,7 +26,3 @@ Layout/MultilineMethodCallIndentation:
|
|
23
26
|
|
24
27
|
Layout/ArgumentAlignment:
|
25
28
|
EnforcedStyle: with_fixed_indentation # Consistent with Rails style
|
26
|
-
|
27
|
-
AllCops:
|
28
|
-
Exclude:
|
29
|
-
- vendor/**/* # Prevent validation of bundler gems
|
data/Gemfile.lock
CHANGED
@@ -1,40 +1,44 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
getaround-rubocop (0.1
|
4
|
+
getaround-rubocop (0.2.1)
|
5
5
|
relaxed-rubocop (= 2.5)
|
6
|
-
rubocop (=
|
6
|
+
rubocop (= 1.3.1)
|
7
|
+
rubocop-rspec (= 2.0.0)
|
7
8
|
|
8
9
|
GEM
|
9
10
|
remote: https://rubygems.org/
|
10
11
|
specs:
|
11
|
-
ast (2.4.
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
ast (~> 2.4.0)
|
12
|
+
ast (2.4.1)
|
13
|
+
parallel (1.20.0)
|
14
|
+
parser (2.7.2.0)
|
15
|
+
ast (~> 2.4.1)
|
16
16
|
rainbow (3.0.0)
|
17
|
+
regexp_parser (1.8.2)
|
17
18
|
relaxed-rubocop (2.5)
|
18
19
|
rexml (3.2.4)
|
19
|
-
rubocop (
|
20
|
-
jaro_winkler (~> 1.5.1)
|
20
|
+
rubocop (1.3.1)
|
21
21
|
parallel (~> 1.10)
|
22
|
-
parser (>= 2.7.
|
22
|
+
parser (>= 2.7.1.5)
|
23
23
|
rainbow (>= 2.2.2, < 4.0)
|
24
|
+
regexp_parser (>= 1.8)
|
24
25
|
rexml
|
26
|
+
rubocop-ast (>= 1.1.1)
|
25
27
|
ruby-progressbar (~> 1.7)
|
26
|
-
unicode-display_width (>= 1.4.0, <
|
27
|
-
rubocop-
|
28
|
-
|
28
|
+
unicode-display_width (>= 1.4.0, < 2.0)
|
29
|
+
rubocop-ast (1.1.1)
|
30
|
+
parser (>= 2.7.1.5)
|
31
|
+
rubocop-rspec (2.0.0)
|
32
|
+
rubocop (~> 1.0)
|
33
|
+
rubocop-ast (>= 1.1.0)
|
29
34
|
ruby-progressbar (1.10.1)
|
30
|
-
unicode-display_width (1.
|
35
|
+
unicode-display_width (1.7.0)
|
31
36
|
|
32
37
|
PLATFORMS
|
33
38
|
ruby
|
34
39
|
|
35
40
|
DEPENDENCIES
|
36
41
|
getaround-rubocop!
|
37
|
-
rubocop-rspec (= 1.38)
|
38
42
|
|
39
43
|
BUNDLED WITH
|
40
|
-
2.1.
|
44
|
+
2.1.4
|
data/getaround-rubocop.gemspec
CHANGED
@@ -1,20 +1,21 @@
|
|
1
1
|
# frozen_string_literal: true
|
2
2
|
|
3
3
|
Gem::Specification.new do |gem|
|
4
|
-
gem.name
|
5
|
-
gem.version
|
6
|
-
gem.summary
|
7
|
-
gem.description
|
8
|
-
gem.authors
|
9
|
-
gem.email
|
10
|
-
gem.homepage
|
11
|
-
gem.license
|
4
|
+
gem.name = "getaround-rubocop"
|
5
|
+
gem.version = '0.2.2'
|
6
|
+
gem.summary = "Backend configuration files"
|
7
|
+
gem.description = "Shared base configuration for Getaround Backend Applications."
|
8
|
+
gem.authors = ["Drivy", "Laurent Humez"]
|
9
|
+
gem.email = ["oss@drivy.com"]
|
10
|
+
gem.homepage = "https://github.com/drivy"
|
11
|
+
gem.license = "MIT"
|
12
|
+
gem.required_ruby_version = '~> 2.6'
|
12
13
|
|
13
|
-
gem.files
|
14
|
+
gem.files = Dir.chdir(File.expand_path(__dir__)) do
|
14
15
|
`git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(spec)/}) }
|
15
16
|
end
|
16
17
|
|
17
|
-
gem.add_runtime_dependency
|
18
|
-
gem.add_runtime_dependency
|
19
|
-
gem.
|
18
|
+
gem.add_runtime_dependency 'relaxed-rubocop', '= 2.5'
|
19
|
+
gem.add_runtime_dependency 'rubocop', '= 1.3.1'
|
20
|
+
gem.add_runtime_dependency 'rubocop-rspec', '= 2.0.0'
|
20
21
|
end
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: getaround-rubocop
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Drivy
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2020-
|
12
|
+
date: 2020-11-18 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: relaxed-rubocop
|
@@ -31,28 +31,28 @@ dependencies:
|
|
31
31
|
requirements:
|
32
32
|
- - '='
|
33
33
|
- !ruby/object:Gem::Version
|
34
|
-
version:
|
34
|
+
version: 1.3.1
|
35
35
|
type: :runtime
|
36
36
|
prerelease: false
|
37
37
|
version_requirements: !ruby/object:Gem::Requirement
|
38
38
|
requirements:
|
39
39
|
- - '='
|
40
40
|
- !ruby/object:Gem::Version
|
41
|
-
version:
|
41
|
+
version: 1.3.1
|
42
42
|
- !ruby/object:Gem::Dependency
|
43
43
|
name: rubocop-rspec
|
44
44
|
requirement: !ruby/object:Gem::Requirement
|
45
45
|
requirements:
|
46
46
|
- - '='
|
47
47
|
- !ruby/object:Gem::Version
|
48
|
-
version:
|
49
|
-
type: :
|
48
|
+
version: 2.0.0
|
49
|
+
type: :runtime
|
50
50
|
prerelease: false
|
51
51
|
version_requirements: !ruby/object:Gem::Requirement
|
52
52
|
requirements:
|
53
53
|
- - '='
|
54
54
|
- !ruby/object:Gem::Version
|
55
|
-
version:
|
55
|
+
version: 2.0.0
|
56
56
|
description: Shared base configuration for Getaround Backend Applications.
|
57
57
|
email:
|
58
58
|
- oss@drivy.com
|
@@ -66,6 +66,7 @@ files:
|
|
66
66
|
- Gemfile.lock
|
67
67
|
- README.md
|
68
68
|
- exemples/dummy_class.rb
|
69
|
+
- exemples/spec/dummy_class_spec.rb
|
69
70
|
- getaround-rubocop.gemspec
|
70
71
|
homepage: https://github.com/drivy
|
71
72
|
licenses:
|
@@ -77,9 +78,9 @@ require_paths:
|
|
77
78
|
- lib
|
78
79
|
required_ruby_version: !ruby/object:Gem::Requirement
|
79
80
|
requirements:
|
80
|
-
- - "
|
81
|
+
- - "~>"
|
81
82
|
- !ruby/object:Gem::Version
|
82
|
-
version: '
|
83
|
+
version: '2.6'
|
83
84
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
84
85
|
requirements:
|
85
86
|
- - ">="
|