getaround-rubocop 0.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml ADDED
@@ -0,0 +1,7 @@
1
+ ---
2
+ SHA1:
3
+ metadata.gz: cbdb324580e982d9f8d7c6a461b7b59ed5a544d4
4
+ data.tar.gz: f82797edba9d2b07ff94568ce60831456e2b4983
5
+ SHA512:
6
+ metadata.gz: 858be91aeae5b1f29e073772f09bb6c0924da1f6f1ebd38fdd9be5845d268a741069b427bba070a18c97a5502e06d8ac6259aafd6597aea3ac8e50b24ca656c7
7
+ data.tar.gz: 7708c099e50a4f7dee85106917801825d64d7a65621d10bd7f47be378c153b4d7586aded52a7ebe8c20c9291568558ac5f196193b568b5c65bfce4f956c299c6
@@ -0,0 +1,18 @@
1
+ inherit_gem:
2
+ relaxed-rubocop: .rubocop.yml
3
+
4
+ RSpec/NamedSubject:
5
+ Description: No justification to why this is better.
6
+ Enabled: false
7
+
8
+ RSpec/ExampleLength:
9
+ Description: Exemple length is an unreliable metric.
10
+ Enabled: false
11
+
12
+ RSpec/MultipleExpectations:
13
+ Description: Exemple count is an unreliable metric.
14
+ Enabled: false
15
+
16
+ RSpec/MessageSpies:
17
+ Description: Induces unnecessary repetition in the expectation
18
+ Enabled: false
data/.rubocop.yml ADDED
@@ -0,0 +1,33 @@
1
+ inherit_gem:
2
+ relaxed-rubocop: .rubocop.yml
3
+
4
+ Style/FrozenStringLiteralComment:
5
+ Description: Useless in ruby > 2.3
6
+ Enabled: false
7
+
8
+ Style/ClassAndModuleChildren:
9
+ EnforcedStyle: compact
10
+
11
+ Metrics/BlockLength:
12
+ Description: Length is an unreliable metric.
13
+ Enabled: false
14
+
15
+ Layout/SpaceInsideArrayLiteralBrackets:
16
+ Description: Similar to prettier's config.
17
+ Enabled: false
18
+
19
+ Layout/IndentFirstArgument:
20
+ Description: Useless indentation is useless.
21
+ Enabled: false
22
+
23
+ Layout/IndentFirstArrayElement:
24
+ Description: Useless indentation is useless.
25
+ Enabled: false
26
+
27
+ Layout/IndentFirstHashElement:
28
+ Description: Useless indentation is useless.
29
+ Enabled: false
30
+
31
+ Layout/IndentFirstParameter:
32
+ Description: Useless indentation is useless.
33
+ Enabled: false
data/README.md ADDED
@@ -0,0 +1,34 @@
1
+ # Getaround Rubocop
2
+
3
+ Rubocop Cop base configuration for Ruby projects
4
+
5
+ ## Usage
6
+
7
+ First add to your `Gemfile`:
8
+
9
+ ```
10
+ gem "getaround-rubocop"
11
+ ```
12
+
13
+ ### Ruby Cops
14
+
15
+ In your `.rubocop.yml`:
16
+
17
+ ```
18
+ inherit_gem:
19
+ getaround-rubocop: .rubocop.yml
20
+ ```
21
+
22
+ ### With optional Cops
23
+
24
+ In your `.rubocop.yml`:
25
+
26
+ ```
27
+ require_gem
28
+ - rubocop-rspec
29
+
30
+ inherit_gem:
31
+ getaround-rubocop:
32
+ - .rubocop.yml
33
+ - .rubocop-rspec.yml
34
+ ```
data/VERSION ADDED
@@ -0,0 +1 @@
1
+ 0.1.0
@@ -0,0 +1,15 @@
1
+ Gem::Specification.new do |gem|
2
+ gem.name = "getaround-rubocop"
3
+ gem.version = File.read('./VERSION')
4
+ gem.summary = "Backend configuration files"
5
+ gem.description = "Shared base configuration for Getaround Backend Applications."
6
+ gem.authors = ["Drivy", "Laurent Humez"]
7
+ gem.email = ["oss@drivy.com"]
8
+ gem.homepage = "https://github.com/drivy"
9
+ gem.license = "MIT"
10
+
11
+ gem.files = Dir["{**/}{.*,*}"].select{ |path| File.file?(path) && path !~ /^(?:tmp)/ }
12
+
13
+ gem.add_runtime_dependency "relaxed-rubocop", '~> 2.4', '>= 2.4.0'
14
+ gem.add_runtime_dependency "rubocop", '~> 0.75', '>= 0.75.0'
15
+ end
metadata ADDED
@@ -0,0 +1,90 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: getaround-rubocop
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Drivy
8
+ - Laurent Humez
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+ date: 2019-10-31 00:00:00.000000000 Z
13
+ dependencies:
14
+ - !ruby/object:Gem::Dependency
15
+ name: relaxed-rubocop
16
+ requirement: !ruby/object:Gem::Requirement
17
+ requirements:
18
+ - - "~>"
19
+ - !ruby/object:Gem::Version
20
+ version: '2.4'
21
+ - - ">="
22
+ - !ruby/object:Gem::Version
23
+ version: 2.4.0
24
+ type: :runtime
25
+ prerelease: false
26
+ version_requirements: !ruby/object:Gem::Requirement
27
+ requirements:
28
+ - - "~>"
29
+ - !ruby/object:Gem::Version
30
+ version: '2.4'
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: 2.4.0
34
+ - !ruby/object:Gem::Dependency
35
+ name: rubocop
36
+ requirement: !ruby/object:Gem::Requirement
37
+ requirements:
38
+ - - "~>"
39
+ - !ruby/object:Gem::Version
40
+ version: '0.75'
41
+ - - ">="
42
+ - !ruby/object:Gem::Version
43
+ version: 0.75.0
44
+ type: :runtime
45
+ prerelease: false
46
+ version_requirements: !ruby/object:Gem::Requirement
47
+ requirements:
48
+ - - "~>"
49
+ - !ruby/object:Gem::Version
50
+ version: '0.75'
51
+ - - ">="
52
+ - !ruby/object:Gem::Version
53
+ version: 0.75.0
54
+ description: Shared base configuration for Getaround Backend Applications.
55
+ email:
56
+ - oss@drivy.com
57
+ executables: []
58
+ extensions: []
59
+ extra_rdoc_files: []
60
+ files:
61
+ - ".rubocop-rspec.yml"
62
+ - ".rubocop.yml"
63
+ - README.md
64
+ - VERSION
65
+ - getaround-rubocop.gemspec
66
+ homepage: https://github.com/drivy
67
+ licenses:
68
+ - MIT
69
+ metadata: {}
70
+ post_install_message:
71
+ rdoc_options: []
72
+ require_paths:
73
+ - lib
74
+ required_ruby_version: !ruby/object:Gem::Requirement
75
+ requirements:
76
+ - - ">="
77
+ - !ruby/object:Gem::Version
78
+ version: '0'
79
+ required_rubygems_version: !ruby/object:Gem::Requirement
80
+ requirements:
81
+ - - ">="
82
+ - !ruby/object:Gem::Version
83
+ version: '0'
84
+ requirements: []
85
+ rubyforge_project:
86
+ rubygems_version: 2.5.2.3
87
+ signing_key:
88
+ specification_version: 4
89
+ summary: Backend configuration files
90
+ test_files: []