rubocop-configuration_cleaner 0.1.0 → 0.1.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/LICENSE +21 -0
- data/README.md +12 -3
- data/lib/rubocop/configuration_cleaner/version.rb +1 -1
- data/rubocop-configuration_cleaner.gemspec +2 -1
- metadata +5 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1e6c775f682b60c345690d3dea5787bfa39284c928c8b9c5983aabbbfa88977f
|
4
|
+
data.tar.gz: ade26a8f569eb557c6344ee30c732adeefdc69345026a949b6fcddb8eb6872fe
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 8cd1836de16658b1a314a1eeff0f87485513e74d7672e057f93a5d6d409edb5861a45e5e726e5cfd30f4072e97ed314249f44d3ed67983545cee66067240e9b9
|
7
|
+
data.tar.gz: 775d7bbda47307422dc38951545607c690c4a357030ae1532b7a61f55d860d9fc114238044a86f4f4352a6a567a29d0509603996488eec5b3c02fe528bed4027
|
data/LICENSE
ADDED
@@ -0,0 +1,21 @@
|
|
1
|
+
MIT License
|
2
|
+
|
3
|
+
Copyright (c) 2020 Masataka Kuwabara
|
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
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
# RuboCop::ConfigurationCleaner
|
2
2
|
|
3
|
-
|
3
|
+
`.rubocop.yml` cleaner.
|
4
4
|
|
5
|
-
|
5
|
+
It cleans cop configuration if it is the same as the default.
|
6
6
|
|
7
7
|
## Installation
|
8
8
|
|
@@ -22,7 +22,16 @@ Or install it yourself as:
|
|
22
22
|
|
23
23
|
## Usage
|
24
24
|
|
25
|
-
|
25
|
+
```bash
|
26
|
+
# It displays cleaned `.rubocop.yml`.
|
27
|
+
$ rubocop-configuration_cleaner path/to/.rubocop.yml
|
28
|
+
|
29
|
+
# Write cleaned .rubocop.yml to the given path.
|
30
|
+
$ rubocop-configuration_cleaner path/to/.rubocop.yml --write
|
31
|
+
|
32
|
+
# Preview the diff
|
33
|
+
$ rubocop-configuration_cleaner path/to/.rubocop.yml --diff
|
34
|
+
```
|
26
35
|
|
27
36
|
## Development
|
28
37
|
|
@@ -9,7 +9,8 @@ Gem::Specification.new do |spec|
|
|
9
9
|
spec.summary = %q{.rubocop.yml cleaner}
|
10
10
|
spec.description = %q{.rubocop.yml cleaner}
|
11
11
|
spec.homepage = "https://github.com/pocke/rubocop-configuration_cleaner"
|
12
|
-
spec.
|
12
|
+
spec.license = 'MIT'
|
13
|
+
spec.required_ruby_version = Gem::Requirement.new(">= 2.4.0")
|
13
14
|
|
14
15
|
spec.metadata["homepage_uri"] = spec.homepage
|
15
16
|
spec.metadata["source_code_uri"] = spec.homepage
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rubocop-configuration_cleaner
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Masataka Pocke Kuwabara
|
@@ -34,6 +34,7 @@ extra_rdoc_files: []
|
|
34
34
|
files:
|
35
35
|
- ".gitignore"
|
36
36
|
- Gemfile
|
37
|
+
- LICENSE
|
37
38
|
- README.md
|
38
39
|
- Rakefile
|
39
40
|
- bin/console
|
@@ -46,7 +47,8 @@ files:
|
|
46
47
|
- smoke/bad-rubocop.yml
|
47
48
|
- smoke/good-rubocop.yml
|
48
49
|
homepage: https://github.com/pocke/rubocop-configuration_cleaner
|
49
|
-
licenses:
|
50
|
+
licenses:
|
51
|
+
- MIT
|
50
52
|
metadata:
|
51
53
|
homepage_uri: https://github.com/pocke/rubocop-configuration_cleaner
|
52
54
|
source_code_uri: https://github.com/pocke/rubocop-configuration_cleaner
|
@@ -58,7 +60,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
58
60
|
requirements:
|
59
61
|
- - ">="
|
60
62
|
- !ruby/object:Gem::Version
|
61
|
-
version: 2.
|
63
|
+
version: 2.4.0
|
62
64
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
63
65
|
requirements:
|
64
66
|
- - ">="
|