rubocop-extension-generator 0.4.0 → 0.5.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/rubocop/extension/generator/generator.rb +5 -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: 22dc9c349f7159ec86a9a0dfd23518e2ee021ef11ed1c131d4059104874e98cb
|
4
|
+
data.tar.gz: c7b743785f75beb3300319e556332dcd80daff60951cbbe4542c0932fb156df7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 181566fe35ac83b94a044c154b75c2759624c7adc3c3fce7e8d9c52b8826afc23f61a7924b90e3b693085de6dc2ad97ed7f9ca59ed179b7e6855a47ffbc4f1c4
|
7
|
+
data.tar.gz: 9f253b5f7c85fb4674ce13a035741e27ee1b5111a395bd4c811a164d44d3fbd967e56d862dea9586ad65b9109a8c14bcfbfc4071e8886cd3b340b5538fcb8262
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,9 @@
|
|
1
1
|
# master (unreleased)
|
2
2
|
|
3
|
+
## v0.5.0
|
4
|
+
|
5
|
+
* [#16](https://github.com/rubocop/rubocop-extension-generator/pull/16): Fix CLI error caused by bundler newer than v2.3.9.
|
6
|
+
|
3
7
|
## v0.4.0
|
4
8
|
|
5
9
|
* [#13](https://github.com/rubocop/rubocop-extension-generator/pull/13): Fix an `ArgumentError` when RuboCop 1.22.0 or higher.
|
@@ -137,7 +137,11 @@ module RuboCop
|
|
137
137
|
gem 'rspec'
|
138
138
|
RUBY
|
139
139
|
|
140
|
-
|
140
|
+
if Gem::Version.new(Bundler::VERSION) >= Gem::Version.new('2.3.9')
|
141
|
+
patch 'README.md', /\$ bundle add #{name}$/, "\$ bundle add #{name} --require=false"
|
142
|
+
else
|
143
|
+
patch 'README.md', /^gem '#{name}'$/, "gem '#{name}', require: false"
|
144
|
+
end
|
141
145
|
|
142
146
|
puts
|
143
147
|
puts <<~MESSAGE
|
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.
|
4
|
+
version: 0.5.0
|
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: 2022-
|
11
|
+
date: 2022-05-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rubocop
|