rubocop-salemove 0.0.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/LICENSE +21 -0
- data/README.md +31 -0
- data/config/default.yml +37 -0
- metadata +74 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA1:
|
3
|
+
metadata.gz: 1c12e06e65c191c28669112cf301fbba03e65566
|
4
|
+
data.tar.gz: 80c55240120ff84b3682bc8b6323c200cacf678f
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 0f5ee9bc2eea063cae936670fdaf67e1e98629aceb735a271c75a29ebaa94f12f17dfcc28c059d91e26f51a3e89b5debc159d3414c526201a17065bfbbdddb7e
|
7
|
+
data.tar.gz: 452c22fae65a0accedc1e206a97fe7682dc893db02f6ddd229320935d16c45839fe4b2dbd7db5c52467e757b1cdea1b0bf6953694b37eb6f0389e17388e84b56
|
data/LICENSE
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
MIT License
|
2
|
+
|
3
|
+
Copyright (c) 2017 SaleMove Inc.
|
4
|
+
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
7
|
+
in the Software without restriction, including without limitation the rights
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
10
|
+
furnished to do so, subject to the following conditions:
|
11
|
+
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
13
|
+
copies or substantial portions of the Software.
|
14
|
+
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
21
|
+
SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,31 @@
|
|
1
|
+
# rubocop-salemove
|
2
|
+
Shared RuboCop configuration for SaleMove projects
|
3
|
+
|
4
|
+
## Installation
|
5
|
+
|
6
|
+
Add this line to your application's Gemfile:
|
7
|
+
|
8
|
+
```ruby
|
9
|
+
group :development, :test do
|
10
|
+
gem 'rubocop-salemove', require: false
|
11
|
+
end
|
12
|
+
```
|
13
|
+
|
14
|
+
Or to your gem's gemspec file:
|
15
|
+
|
16
|
+
```ruby
|
17
|
+
spec.add_development_dependency 'rubocop-salemove'
|
18
|
+
```
|
19
|
+
|
20
|
+
## Configuration
|
21
|
+
|
22
|
+
To use one of the shared RuboCop configurations from this gem, you must define
|
23
|
+
a `.rubocop.yml` file at the top-level directory in your project:
|
24
|
+
|
25
|
+
```yaml
|
26
|
+
inherit_gem:
|
27
|
+
rubocop-salemove: conf/default.yml
|
28
|
+
```
|
29
|
+
|
30
|
+
Further customization of RuboCop for your local project may also be added to
|
31
|
+
this file.
|
data/config/default.yml
ADDED
@@ -0,0 +1,37 @@
|
|
1
|
+
require: rubocop-rspec
|
2
|
+
|
3
|
+
AllCops:
|
4
|
+
DisplayCopNames: yes
|
5
|
+
|
6
|
+
Style/MultilineMethodCallIndentation:
|
7
|
+
EnforcedStyle: indented
|
8
|
+
|
9
|
+
Style/MultilineOperationIndentation:
|
10
|
+
EnforcedStyle: indented
|
11
|
+
|
12
|
+
Style/AlignParameters:
|
13
|
+
EnforcedStyle: with_fixed_indentation
|
14
|
+
|
15
|
+
Style/IndentHash:
|
16
|
+
EnforcedStyle: consistent
|
17
|
+
|
18
|
+
Style/IndentArray:
|
19
|
+
EnforcedStyle: consistent
|
20
|
+
|
21
|
+
Style/FirstParameterIndentation:
|
22
|
+
EnforcedStyle: consistent
|
23
|
+
|
24
|
+
Style/SpaceInsideHashLiteralBraces:
|
25
|
+
EnforcedStyle: no_space
|
26
|
+
|
27
|
+
Style/MultilineMethodDefinitionBraceLayout:
|
28
|
+
EnforcedStyle: new_line
|
29
|
+
|
30
|
+
Style/EmptyElse:
|
31
|
+
EnforcedStyle: empty
|
32
|
+
|
33
|
+
Style/Documentation:
|
34
|
+
Enabled: no
|
35
|
+
|
36
|
+
Metrics/LineLength:
|
37
|
+
Max: 120
|
metadata
ADDED
@@ -0,0 +1,74 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: rubocop-salemove
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 0.0.1
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- SaleMove
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2017-05-04 00:00:00.000000000 Z
|
12
|
+
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: rubocop
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - "~>"
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: '0.48'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '0.48'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rubocop-rspec
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - "~>"
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '1.15'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - "~>"
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '1.15'
|
41
|
+
description: Shared RuboCop configuration for SaleMove projects
|
42
|
+
email: techmovers@salemove.com
|
43
|
+
executables: []
|
44
|
+
extensions: []
|
45
|
+
extra_rdoc_files: []
|
46
|
+
files:
|
47
|
+
- LICENSE
|
48
|
+
- README.md
|
49
|
+
- config/default.yml
|
50
|
+
homepage: https://github.com/salemove/rubocop-salemove
|
51
|
+
licenses:
|
52
|
+
- MIT
|
53
|
+
metadata: {}
|
54
|
+
post_install_message:
|
55
|
+
rdoc_options: []
|
56
|
+
require_paths:
|
57
|
+
- lib
|
58
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
59
|
+
requirements:
|
60
|
+
- - ">="
|
61
|
+
- !ruby/object:Gem::Version
|
62
|
+
version: '0'
|
63
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
64
|
+
requirements:
|
65
|
+
- - ">="
|
66
|
+
- !ruby/object:Gem::Version
|
67
|
+
version: '0'
|
68
|
+
requirements: []
|
69
|
+
rubyforge_project:
|
70
|
+
rubygems_version: 2.4.8
|
71
|
+
signing_key:
|
72
|
+
specification_version: 4
|
73
|
+
summary: RuboCop SaleMove
|
74
|
+
test_files: []
|