rubopirate 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/.gitignore +9 -0
- data/.rubocop.yml +15 -0
- data/.ruby-version +1 -0
- data/Gemfile +4 -0
- data/LICENSE.txt +21 -0
- data/README.md +43 -0
- data/Rakefile +1 -0
- data/bin/setup +8 -0
- data/lib/disabled_cops.yml +44 -0
- data/lib/mad_rubocop.rb +5 -0
- data/lib/modified_cops.yml +48 -0
- data/lib/rubopirate/version.rb +3 -0
- data/rubopirate.gemspec +25 -0
- metadata +86 -0
checksums.yaml
ADDED
@@ -0,0 +1,7 @@
|
|
1
|
+
---
|
2
|
+
SHA256:
|
3
|
+
metadata.gz: d53bb1f55c3bf2196fd685655fd2f28fb50577f485a4955b07bb985f7e08bb12
|
4
|
+
data.tar.gz: 9ef9843db6ef93d57f00a7f8555356615a310301f435fb72a3762ca50c9d87e1
|
5
|
+
SHA512:
|
6
|
+
metadata.gz: 17b973693de8394d22d6da0ce66dc50734a3dd9471e7104455efb0657d97406dc73f83c44be58a4fb5f9403609d3e7b4478d3d59a495ebcd5685ca712dd9d0eb
|
7
|
+
data.tar.gz: a39e5c4c27fb2a0f23a47a5f096885e18f6b325daafd868ea0abb1b1367cfdceca9d2423fb8e985a7780a13ebdbdb5d08e545546856c90c4a09fb097eecd8acb
|
data/.gitignore
ADDED
data/.rubocop.yml
ADDED
data/.ruby-version
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
ruby-2.6.4
|
data/Gemfile
ADDED
data/LICENSE.txt
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
The MIT License (MIT)
|
2
|
+
|
3
|
+
Copyright (c) 2016 Zach Toolson
|
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
|
13
|
+
all 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
|
21
|
+
THE SOFTWARE.
|
data/README.md
ADDED
@@ -0,0 +1,43 @@
|
|
1
|
+
# RuboPirate
|
2
|
+
|
3
|
+
Custom RuboCop yml files to modify the cops enforced by RuboCop.
|
4
|
+
|
5
|
+
## Installation
|
6
|
+
|
7
|
+
Add this line to your application's Gemfile:
|
8
|
+
|
9
|
+
```ruby
|
10
|
+
gem 'rubopirate'
|
11
|
+
```
|
12
|
+
|
13
|
+
And then execute:
|
14
|
+
|
15
|
+
$ bundle
|
16
|
+
|
17
|
+
Or install it yourself as:
|
18
|
+
|
19
|
+
$ gem install rubopirate
|
20
|
+
|
21
|
+
Add this to your project .rubocop.yml file:
|
22
|
+
|
23
|
+
```yml
|
24
|
+
inherit_gem:
|
25
|
+
rubopirate: .rubocop.yml
|
26
|
+
```
|
27
|
+
|
28
|
+
|
29
|
+
## Development
|
30
|
+
|
31
|
+
After checking out the repo, run `bin/setup` to install dependencies.
|
32
|
+
|
33
|
+
To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
|
34
|
+
|
35
|
+
## Contributing
|
36
|
+
|
37
|
+
Bug reports and pull requests are welcome on GitHub at https://github.com/ienetwork/rubypirate.
|
38
|
+
|
39
|
+
|
40
|
+
## License
|
41
|
+
|
42
|
+
The gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).
|
43
|
+
|
data/Rakefile
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
require "bundler/gem_tasks"
|
data/bin/setup
ADDED
@@ -0,0 +1,44 @@
|
|
1
|
+
Layout/LineLength:
|
2
|
+
Enabled: false
|
3
|
+
|
4
|
+
Lint/BooleanSymbol:
|
5
|
+
Enabled: false
|
6
|
+
|
7
|
+
Metrics/AbcSize:
|
8
|
+
Enabled: false
|
9
|
+
Metrics/MethodLength:
|
10
|
+
Enabled: false
|
11
|
+
Metrics/ClassLength:
|
12
|
+
Enabled: false
|
13
|
+
Metrics/CyclomaticComplexity:
|
14
|
+
Enabled: false
|
15
|
+
Metrics/PerceivedComplexity:
|
16
|
+
Enabled: false
|
17
|
+
Metrics/BlockLength:
|
18
|
+
Enabled: false
|
19
|
+
Metrics/BlockNesting:
|
20
|
+
Enabled: false
|
21
|
+
Metrics/ModuleLength:
|
22
|
+
Enabled: false
|
23
|
+
|
24
|
+
Naming/AccessorMethodName:
|
25
|
+
Enabled: false
|
26
|
+
Naming/VariableNumber:
|
27
|
+
Enabled: false
|
28
|
+
Naming/MemoizedInstanceVariableName:
|
29
|
+
Enabled: false
|
30
|
+
Naming/PredicateName:
|
31
|
+
Enabled: false
|
32
|
+
|
33
|
+
Style/SoleNestedConditional:
|
34
|
+
Enabled: false
|
35
|
+
Style/CommentedKeyword:
|
36
|
+
Enabled: false
|
37
|
+
Style/HashAsLastArrayItem:
|
38
|
+
Enabled: false
|
39
|
+
Style/NumericLiterals:
|
40
|
+
Enabled: false
|
41
|
+
Style/Documentation:
|
42
|
+
Enabled: false
|
43
|
+
Style/GuardClause:
|
44
|
+
Enabled: false
|
data/lib/mad_rubocop.rb
ADDED
@@ -0,0 +1,48 @@
|
|
1
|
+
Lint/DuplicateBranch: # (new in 1.3)
|
2
|
+
Enabled: true
|
3
|
+
Lint/DuplicateRegexpCharacterClassElement: # (new in 1.1)
|
4
|
+
Enabled: true
|
5
|
+
Lint/EmptyBlock: # (new in 1.1)
|
6
|
+
Enabled: true
|
7
|
+
Lint/EmptyClass: # (new in 1.3)
|
8
|
+
Enabled: true
|
9
|
+
Lint/NoReturnInBeginEndBlocks: # (new in 1.2)
|
10
|
+
Enabled: true
|
11
|
+
Lint/ToEnumArguments: # (new in 1.1)
|
12
|
+
Enabled: true
|
13
|
+
Lint/UnmodifiedReduceAccumulator: # (new in 1.1)
|
14
|
+
Enabled: true
|
15
|
+
|
16
|
+
Style/ArgumentsForwarding: # (new in 1.1)
|
17
|
+
Enabled: true
|
18
|
+
Style/CollectionCompact: # (new in 1.2)
|
19
|
+
Enabled: true
|
20
|
+
Style/DocumentDynamicEvalDefinition: # (new in 1.1)
|
21
|
+
Enabled: true
|
22
|
+
Style/NegatedIfElseCondition: # (new in 1.2)
|
23
|
+
Enabled: true
|
24
|
+
Style/NilLambda: # (new in 1.3)
|
25
|
+
Enabled: true
|
26
|
+
Style/RedundantArgument: # (new in 1.4)
|
27
|
+
Enabled: true
|
28
|
+
Style/SwapValues: # (new in 1.1)
|
29
|
+
Enabled: true
|
30
|
+
Style/EmptyMethod:
|
31
|
+
EnforcedStyle: expanded
|
32
|
+
Style/PercentLiteralDelimiters:
|
33
|
+
Enabled: true
|
34
|
+
PreferredDelimiters:
|
35
|
+
default: '()'
|
36
|
+
'%i': '()'
|
37
|
+
'%I': '()'
|
38
|
+
'%r': '{}'
|
39
|
+
'%w': '()'
|
40
|
+
'%W': '()'
|
41
|
+
Style/SymbolArray:
|
42
|
+
Enabled: true
|
43
|
+
EnforcedStyle: brackets
|
44
|
+
MinSize: 1
|
45
|
+
Style/WordArray:
|
46
|
+
Enabled: true
|
47
|
+
EnforcedStyle: brackets
|
48
|
+
MinSize: 1
|
data/rubopirate.gemspec
ADDED
@@ -0,0 +1,25 @@
|
|
1
|
+
# coding: utf-8
|
2
|
+
|
3
|
+
lib = File.expand_path("../lib", __FILE__)
|
4
|
+
$LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
|
5
|
+
require "rubopirate/version"
|
6
|
+
|
7
|
+
Gem::Specification.new do |spec|
|
8
|
+
spec.name = "rubopirate"
|
9
|
+
spec.version = RuboPirate::VERSION
|
10
|
+
spec.authors = ["Brandon Beeks"]
|
11
|
+
spec.email = ["brandonb@ixn.tech"]
|
12
|
+
|
13
|
+
spec.summary = "Wrapper for IXN specific RuboCop settings."
|
14
|
+
spec.description = "Wrapper for IXN specific RuboCop settings for managing custom settings across many projects."
|
15
|
+
spec.homepage = "https://github.com/ienetwork/rubopirate"
|
16
|
+
spec.license = "MIT"
|
17
|
+
|
18
|
+
spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
|
19
|
+
spec.bindir = "bin"
|
20
|
+
spec.executables = spec.files.grep(%r{^bin/}) { |f| File.basename(f) }
|
21
|
+
spec.require_paths = ["lib"]
|
22
|
+
|
23
|
+
spec.add_dependency "rubocop", "~> 1.4"
|
24
|
+
spec.add_dependency "rake"
|
25
|
+
end
|
metadata
ADDED
@@ -0,0 +1,86 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: rubopirate
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 1.0.0
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Brandon Beeks
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2020-11-27 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: '1.4'
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - "~>"
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: '1.4'
|
27
|
+
- !ruby/object:Gem::Dependency
|
28
|
+
name: rake
|
29
|
+
requirement: !ruby/object:Gem::Requirement
|
30
|
+
requirements:
|
31
|
+
- - ">="
|
32
|
+
- !ruby/object:Gem::Version
|
33
|
+
version: '0'
|
34
|
+
type: :runtime
|
35
|
+
prerelease: false
|
36
|
+
version_requirements: !ruby/object:Gem::Requirement
|
37
|
+
requirements:
|
38
|
+
- - ">="
|
39
|
+
- !ruby/object:Gem::Version
|
40
|
+
version: '0'
|
41
|
+
description: Wrapper for IXN specific RuboCop settings for managing custom settings
|
42
|
+
across many projects.
|
43
|
+
email:
|
44
|
+
- brandonb@ixn.tech
|
45
|
+
executables:
|
46
|
+
- setup
|
47
|
+
extensions: []
|
48
|
+
extra_rdoc_files: []
|
49
|
+
files:
|
50
|
+
- ".gitignore"
|
51
|
+
- ".rubocop.yml"
|
52
|
+
- ".ruby-version"
|
53
|
+
- Gemfile
|
54
|
+
- LICENSE.txt
|
55
|
+
- README.md
|
56
|
+
- Rakefile
|
57
|
+
- bin/setup
|
58
|
+
- lib/disabled_cops.yml
|
59
|
+
- lib/mad_rubocop.rb
|
60
|
+
- lib/modified_cops.yml
|
61
|
+
- lib/rubopirate/version.rb
|
62
|
+
- rubopirate.gemspec
|
63
|
+
homepage: https://github.com/ienetwork/rubopirate
|
64
|
+
licenses:
|
65
|
+
- MIT
|
66
|
+
metadata: {}
|
67
|
+
post_install_message:
|
68
|
+
rdoc_options: []
|
69
|
+
require_paths:
|
70
|
+
- lib
|
71
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
72
|
+
requirements:
|
73
|
+
- - ">="
|
74
|
+
- !ruby/object:Gem::Version
|
75
|
+
version: '0'
|
76
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
77
|
+
requirements:
|
78
|
+
- - ">="
|
79
|
+
- !ruby/object:Gem::Version
|
80
|
+
version: '0'
|
81
|
+
requirements: []
|
82
|
+
rubygems_version: 3.0.3
|
83
|
+
signing_key:
|
84
|
+
specification_version: 4
|
85
|
+
summary: Wrapper for IXN specific RuboCop settings.
|
86
|
+
test_files: []
|