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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 074f364173f5b4c3bc0c14bcdbd2a965d4aa6aa682b456080e85ea9010689592
4
- data.tar.gz: e537c18a1e4ed735146d12b03f6fda1a863831500eb535293bd0b6a3a390420f
3
+ metadata.gz: 1e6c775f682b60c345690d3dea5787bfa39284c928c8b9c5983aabbbfa88977f
4
+ data.tar.gz: ade26a8f569eb557c6344ee30c732adeefdc69345026a949b6fcddb8eb6872fe
5
5
  SHA512:
6
- metadata.gz: 1974b1aedad47e0dfff95ab9ed6c37c43b37ab1ea9132ec73df0bcae37c09fff99457d76bd06b2175c0731b777538158c48db19c83a0933eaf706610f7e50812
7
- data.tar.gz: 9ffdb6c7ad33714c925147c8f17b607b8c70ed2d5abcbb67b8d1c7040deebaa7cc5118f0ab9922bad33e7c838d37ef70ac2c074869404a18b782bbc01e5921a3
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
- Welcome to your new gem! In this directory, you'll find the files you need to be able to package up your Ruby library into a gem. Put your Ruby code in the file `lib/rubocop/configuration_cleaner`. To experiment with that code, run `bin/console` for an interactive prompt.
3
+ `.rubocop.yml` cleaner.
4
4
 
5
- TODO: Delete this and the text above, and describe your gem
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
- TODO: Write usage instructions here
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
 
@@ -1,5 +1,5 @@
1
1
  module RuboCop
2
2
  module ConfigurationCleaner
3
- VERSION = "0.1.0"
3
+ VERSION = "0.1.1"
4
4
  end
5
5
  end
@@ -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.required_ruby_version = Gem::Requirement.new(">= 2.3.0")
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.0
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.3.0
63
+ version: 2.4.0
62
64
  required_rubygems_version: !ruby/object:Gem::Requirement
63
65
  requirements:
64
66
  - - ">="