rubocop-extension-generator 0.2.1 → 0.2.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8ce00b1c4ee87c6c5df795360129dff739229396becdff10de93520e049ff348
4
- data.tar.gz: 30b0f9069c85c1adeb7b8f5ab5f7949148c89b1e59297a39a37c173052875106
3
+ metadata.gz: 02d60bc8930a959e217cd3cd4e52b9ed878604ada711a9dbf446b7808a9eda64
4
+ data.tar.gz: 20954cca8f4b43194d7f4b2d792db63487fcfb7c918803383e36c059bd64d416
5
5
  SHA512:
6
- metadata.gz: a5f0d41a6f2b78b40ff0fdc2d943659b64f90e322976c14029509700799e8c8864c74ed1e290fd0bd56ef63a41e7209e482394baf16a915d86da855a248a9a14
7
- data.tar.gz: 5f6a490e7ea1aaa5a675dffde0cc9b8e2dda0cf0ba923bb3fb26e86edd63b0dc69e7d03f941d9bcc538d987fcc98bb5177645dc2bd67c98cee0301d45d111771
6
+ metadata.gz: 5c5f3866dd59d11f94aa389a914cc7093cbbf0b0052e1f917685596c98de5677d7b0207a4d34007b399391348c14b3bcdeebf85538fda8bb5dcf256cdcf8752f
7
+ data.tar.gz: 7cbfff705bb6d5e33727e4e1330049adf6028fe5951ec5e269e0d72a28491d4f88fcf1a1c917adeae8abdf18ff8790c1414258d1523acf7f638fb20db0143129
@@ -1,5 +1,9 @@
1
1
  # master (unreleased)
2
2
 
3
+ # v0.2.2
4
+
5
+ * [#5](https://github.com/rubocop-hq/rubocop-extension-generator/pull/5): Add `require: false` to sample code in README
6
+
3
7
  # v0.2.1
4
8
 
5
9
  * [#4](https://github.com/rubocop-hq/rubocop-extension-generator/pull/4): Exclude main lib file from Naming/FileName cop
data/Gemfile CHANGED
@@ -3,4 +3,4 @@ source "https://rubygems.org"
3
3
  # Specify your gem's dependencies in rubocop-extension-generator.gemspec
4
4
  gemspec
5
5
 
6
- gem "rake", "~> 12.0"
6
+ gem "rake", "~> 13.0"
data/README.md CHANGED
@@ -60,6 +60,10 @@ After checking out the repo, run `bin/setup` to install dependencies. You can al
60
60
 
61
61
  To install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).
62
62
 
63
+ ### Testing
64
+
65
+ You can execute a smoke test with `ruby smoke/smoke.rb`. Check it is success before open a pull request.
66
+
63
67
  ## Contributing
64
68
 
65
69
  Bug reports and pull requests are welcome on GitHub at https://github.com/rubocop-hq/rubocop-extension-generator.
@@ -140,6 +140,8 @@ module RuboCop
140
140
  gem 'rspec'
141
141
  RUBY
142
142
 
143
+ patch 'README.md', /^gem '#{name}'$/, "gem '#{name}', require: false"
144
+
143
145
  puts
144
146
  puts <<~MESSAGE
145
147
  It's done! You can start developing a new extension of RuboCop in #{root_path}.
@@ -1,7 +1,7 @@
1
1
  module RuboCop
2
2
  module Extension
3
3
  module Generator
4
- VERSION = "0.2.1"
4
+ VERSION = "0.2.2"
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.2.1
4
+ version: 0.2.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: 2019-11-23 00:00:00.000000000 Z
11
+ date: 2020-01-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -83,7 +83,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
83
83
  - !ruby/object:Gem::Version
84
84
  version: '0'
85
85
  requirements: []
86
- rubygems_version: 3.0.3
86
+ rubygems_version: 3.1.2
87
87
  signing_key:
88
88
  specification_version: 4
89
89
  summary: A generator of RuboCop's custom cops gem