From c7af12a8068f97a5c2be2d5a2f79ccd60be89b35 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Wed, 25 Jan 2023 23:03:26 +0000 Subject: [PATCH 1/2] Update rubocop requirement from ~> 1.43.0 to ~> 1.44.1 Updates the requirements on [rubocop](https://github.com/rubocop/rubocop) to permit the latest version. - [Release notes](https://github.com/rubocop/rubocop/releases) - [Changelog](https://github.com/rubocop/rubocop/blob/master/CHANGELOG.md) - [Commits](https://github.com/rubocop/rubocop/compare/v1.43.0...v1.44.1) --- updated-dependencies: - dependency-name: rubocop dependency-type: direct:development ... Signed-off-by: dependabot[bot] --- Gemfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Gemfile b/Gemfile index 705dab1..18147bf 100644 --- a/Gemfile +++ b/Gemfile @@ -13,7 +13,7 @@ end group :development do gem 'yard', '~> 0.9.28', require: false - gem 'rubocop', '~> 1.43.0', require: false + gem 'rubocop', '~> 1.44.1', require: false gem 'rubocop-rake', '~> 0.6.0', require: false gem 'rubocop-performance', '~> 1.15.2', require: false gem 'rubocop-rubycw', '~> 0.1.6', require: false From fb48db6ea37d3838f6c53a06761664ff683e08d3 Mon Sep 17 00:00:00 2001 From: Kenichi Kamiya Date: Thu, 26 Jan 2023 12:55:33 +0900 Subject: [PATCH 2/2] Update gemspec in examples See below issues https://github.com/rubocop/rubocop/pull/11469 https://github.com/rubygems/rubygems/discussions/5065 https://github.com/kachick/times_kachick/issues/75#issuecomment-1401846971 https://koic.hatenablog.com/entry/gemspec-vs-gemfile-for-development-dependency-gems --- example/in_rake/Gemfile | 14 ++++++++++++++ example/in_rake/example.gemspec | 3 --- 2 files changed, 14 insertions(+), 3 deletions(-) create mode 100644 example/in_rake/Gemfile diff --git a/example/in_rake/Gemfile b/example/in_rake/Gemfile new file mode 100644 index 0000000..0c43cc7 --- /dev/null +++ b/example/in_rake/Gemfile @@ -0,0 +1,14 @@ +# coding: us-ascii +# frozen_string_literal: true + +source 'https://rubygems.org' + +gemspec + +group :development, :test do + gem 'rake' +end + +group :test do + gem 'declare' +end diff --git a/example/in_rake/example.gemspec b/example/in_rake/example.gemspec index c539129..cbeb932 100644 --- a/example/in_rake/example.gemspec +++ b/example/in_rake/example.gemspec @@ -16,7 +16,4 @@ Gem::Specification.new do |gem| } gem.required_ruby_version = '>= 2.7' - - gem.add_development_dependency 'declare' - gem.add_development_dependency 'rake' end