rubocop-extension-generator 0.5.0 → 0.5.2

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: 22dc9c349f7159ec86a9a0dfd23518e2ee021ef11ed1c131d4059104874e98cb
4
- data.tar.gz: c7b743785f75beb3300319e556332dcd80daff60951cbbe4542c0932fb156df7
3
+ metadata.gz: 9817fe0f1ec5cb61766b2cb585c374339cad9c6cb90d3c2be5f432e9b9bb5dea
4
+ data.tar.gz: 7158dde99e78d20b70ecc796e6334b7db50ed11a00f8fffea44f56ba4d4b4716
5
5
  SHA512:
6
- metadata.gz: 181566fe35ac83b94a044c154b75c2759624c7adc3c3fce7e8d9c52b8826afc23f61a7924b90e3b693085de6dc2ad97ed7f9ca59ed179b7e6855a47ffbc4f1c4
7
- data.tar.gz: 9f253b5f7c85fb4674ce13a035741e27ee1b5111a395bd4c811a164d44d3fbd967e56d862dea9586ad65b9109a8c14bcfbfc4071e8886cd3b340b5538fcb8262
6
+ metadata.gz: 24a44f37e06a8ae312bc67e20b31a232571388a133b58943f03967c6f4d1fb243a53c0ec0ee913585c43465cd5127eca959bf852ea1c8273ba7231022e38f32a
7
+ data.tar.gz: 58e05d81e271e00d7d18f199ae4a283671a263e557552e279565c15f70634819646fbdd1d78ad416694c294ae1c615056a53ca729dd1dd71864a92cf0a38519a
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # master (unreleased)
2
2
 
3
+ ## v0.5.2
4
+
5
+ * [#19](https://github.com/rubocop/rubocop-extension-generator/pull/19): Support `bundle gem` gem name placeholder.
6
+
7
+ ## v0.5.1
8
+
9
+ * [#17](https://github.com/rubocop/rubocop-extension-generator/pull/17): Add missing `require bundler`.
10
+
3
11
  ## v0.5.0
4
12
 
5
13
  * [#16](https://github.com/rubocop/rubocop-extension-generator/pull/16): Fix CLI error caused by bundler newer than v2.3.9.
@@ -138,7 +138,7 @@ module RuboCop
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"
141
+ patch 'README.md', /\$ bundle add (.*)$/, '$ bundle add \1 --require=false'
142
142
  else
143
143
  patch 'README.md', /^gem '#{name}'$/, "gem '#{name}', require: false"
144
144
  end
@@ -1,7 +1,7 @@
1
1
  module RuboCop
2
2
  module Extension
3
3
  module Generator
4
- VERSION = "0.5.0"
4
+ VERSION = "0.5.2"
5
5
  end
6
6
  end
7
7
  end
@@ -5,6 +5,8 @@ require "rubocop/extension/generator/generator"
5
5
  require 'active_support'
6
6
  require 'active_support/core_ext/string/inflections'
7
7
 
8
+ require 'bundler'
9
+
8
10
  require 'optparse'
9
11
  require 'pathname'
10
12
  require 'fileutils'
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.5.0
4
+ version: 0.5.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: 2022-05-06 00:00:00.000000000 Z
11
+ date: 2023-02-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rubocop