rubocop-extension-generator 0.2.0 → 0.2.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +22 -0
- data/lib/rubocop/extension/generator/generator.rb +6 -0
- data/lib/rubocop/extension/generator/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8ce00b1c4ee87c6c5df795360129dff739229396becdff10de93520e049ff348
|
4
|
+
data.tar.gz: 30b0f9069c85c1adeb7b8f5ab5f7949148c89b1e59297a39a37c173052875106
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a5f0d41a6f2b78b40ff0fdc2d943659b64f90e322976c14029509700799e8c8864c74ed1e290fd0bd56ef63a41e7209e482394baf16a915d86da855a248a9a14
|
7
|
+
data.tar.gz: 5f6a490e7ea1aaa5a675dffde0cc9b8e2dda0cf0ba923bb3fb26e86edd63b0dc69e7d03f941d9bcc538d987fcc98bb5177645dc2bd67c98cee0301d45d111771
|
data/CHANGELOG.md
ADDED
@@ -0,0 +1,22 @@
|
|
1
|
+
# master (unreleased)
|
2
|
+
|
3
|
+
# v0.2.1
|
4
|
+
|
5
|
+
* [#4](https://github.com/rubocop-hq/rubocop-extension-generator/pull/4): Exclude main lib file from Naming/FileName cop
|
6
|
+
|
7
|
+
# v0.2.0
|
8
|
+
|
9
|
+
* Rename `custom_cops_generator` to `rubocop-extension-generator`
|
10
|
+
|
11
|
+
# v0.1.2
|
12
|
+
|
13
|
+
* Fix bugs
|
14
|
+
* This release is the first release that works actually.
|
15
|
+
|
16
|
+
# v0.1.1
|
17
|
+
|
18
|
+
* Specify MIT License in gemspec.
|
19
|
+
|
20
|
+
# v0.1.0
|
21
|
+
|
22
|
+
* The initial release.
|
@@ -79,6 +79,12 @@ module RuboCop
|
|
79
79
|
--require spec_helper
|
80
80
|
TEXT
|
81
81
|
|
82
|
+
put '.rubocop.yml', <<~YML
|
83
|
+
Naming/FileName:
|
84
|
+
Exclude:
|
85
|
+
- lib/#{name}.rb
|
86
|
+
YML
|
87
|
+
|
82
88
|
patch "lib/#{dirname}.rb", /^ end\nend/, <<~RUBY
|
83
89
|
PROJECT_ROOT = Pathname.new(__dir__).parent.parent.expand_path.freeze
|
84
90
|
CONFIG_DEFAULT = PROJECT_ROOT.join('config', 'default.yml').freeze
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rubocop-extension-generator
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Masataka Pocke Kuwabara
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-11-
|
11
|
+
date: 2019-11-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -47,6 +47,7 @@ extensions: []
|
|
47
47
|
extra_rdoc_files: []
|
48
48
|
files:
|
49
49
|
- ".gitignore"
|
50
|
+
- CHANGELOG.md
|
50
51
|
- Gemfile
|
51
52
|
- LICENSE
|
52
53
|
- README.md
|