rubocop-extension-generator 0.6.0 → 0.6.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/rubocop/extension/generator/generator.rb +4 -1
- data/lib/rubocop/extension/generator/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 15f8e89ac6c34ff9b77540f407a71c8b0cfef695b86134ea300c4abd1f9948cd
|
4
|
+
data.tar.gz: 5985b153b4c6ee954c2055b5a7e7e5997ecb6ae28d1f3b614dd7fd260e49775a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e5f096eb6f8c44d0ccdbec8127bae1b29001d011c06cbdb4b02b633fd1800889c7e378b5001ab576dee37684305dc5285c2adc591cc129a7029db2da0621b037
|
7
|
+
data.tar.gz: 5ecdb80d28c7fff3efcce14462207c7a139114c93243e1a4a07b276ec786d43c74fc1d6fbdd1f0c91e5f58b4c86906dba735e07a469a0428d267e0d59e55a7cf
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# master (unreleased)
|
2
2
|
|
3
|
+
## v0.6.2
|
4
|
+
|
5
|
+
* [#30](https://github.com/rubocop/rubocop-extension-generator/pull/30): Handle changes to the gem install declaration in Bundler's generated README.
|
6
|
+
|
7
|
+
## v0.6.1
|
8
|
+
|
9
|
+
* [#28](https://github.com/rubocop/rubocop-extension-generator/pull/28): Prevent errors when internally using cops that rely on configuration options.
|
10
|
+
|
3
11
|
## v0.6.0
|
4
12
|
|
5
13
|
* [#27](https://github.com/rubocop/rubocop-extension-generator/pull/27): Support RuboCop extension plugin.
|
@@ -91,6 +91,7 @@ module RuboCop
|
|
91
91
|
put '.rubocop.yml', <<~YML
|
92
92
|
plugins:
|
93
93
|
- rubocop-internal_affairs
|
94
|
+
- #{name}
|
94
95
|
|
95
96
|
Naming/FileName:
|
96
97
|
Exclude:
|
@@ -144,8 +145,10 @@ module RuboCop
|
|
144
145
|
gem 'rspec'
|
145
146
|
RUBY
|
146
147
|
|
148
|
+
# Bundler's generated README.md has had 2 styles of gem declarations.
|
149
|
+
# See: https://github.com/rubygems/rubygems/commit/c805e9b558
|
147
150
|
if Gem::Version.new(Bundler::VERSION) >= Gem::Version.new('2.3.9')
|
148
|
-
patch 'README.md',
|
151
|
+
patch 'README.md', /^\s*(?:\$\s*)?bundle add[^\n]*$/, '\0 --require=false'
|
149
152
|
else
|
150
153
|
patch 'README.md', /^gem '#{name}'$/, "gem '#{name}', require: false"
|
151
154
|
end
|
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.6.
|
4
|
+
version: 0.6.2
|
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: 2025-
|
11
|
+
date: 2025-10-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rubocop
|