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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f3c330aa44efa7895f962c779c3cce0beecfa92e9d79ae589ffecd12fc8492ad
4
- data.tar.gz: 5df3674bf68a9d16bbbb2fe3814f83698b43d1fb0f3607473143220e47531779
3
+ metadata.gz: 22dc9c349f7159ec86a9a0dfd23518e2ee021ef11ed1c131d4059104874e98cb
4
+ data.tar.gz: c7b743785f75beb3300319e556332dcd80daff60951cbbe4542c0932fb156df7
5
5
  SHA512:
6
- metadata.gz: cb8cf264c9986b2e86821cee13e718aa766ab529ba1b9643824662b7bc0745874af1a28a3097c9003b9b663feb3b608ee9d7737b67800ae81cdde59907a961de
7
- data.tar.gz: 8c39677e988be2c140e7046ef7251c8031ab63621ef1fe865e2b1fe7de26b5de72966fab2ff43fddf3572a808291de0e259e72800a3ea83d3b6446f3c4720f65
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
- patch 'README.md', /^gem '#{name}'$/, "gem '#{name}', require: false"
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
@@ -1,7 +1,7 @@
1
1
  module RuboCop
2
2
  module Extension
3
3
  module Generator
4
- VERSION = "0.4.0"
4
+ VERSION = "0.5.0"
5
5
  end
6
6
  end
7
7
  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.4.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-01-03 00:00:00.000000000 Z
11
+ date: 2022-05-06 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop