From d0a537f1cf0b90c8e16f55fe170b472a20438a8a Mon Sep 17 00:00:00 2001 From: Colin Bendell Date: Mon, 27 Mar 2023 15:42:26 -0400 Subject: [PATCH] bump gem version and dependencies --- .rubocop.yml | 2 +- Gemfile | 3 ++- Gemfile.lock | 19 +++++++++---------- lib/response_bank/version.rb | 2 +- response_bank.gemspec | 9 ++++----- 5 files changed, 17 insertions(+), 18 deletions(-) diff --git a/.rubocop.yml b/.rubocop.yml index e5fad12..71559cb 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -2,6 +2,6 @@ inherit_from: - https://shopify.github.io/ruby-style-guide/rubocop.yml AllCops: - TargetRubyVersion: 2.4 + TargetRubyVersion: 2.7 Exclude: - vendor/bundle/**/* diff --git a/Gemfile b/Gemfile index a7f4441..2c58d7c 100644 --- a/Gemfile +++ b/Gemfile @@ -5,5 +5,6 @@ source "https://rubygems.org" gemspec gem 'rails', '~> 7.0.4' -gem 'rubocop', '1.48.0', require: false +gem 'rubocop', require: false, group: :test +gem 'mocha', require: false, group: :test gem 'simplecov', require: false, group: :test diff --git a/Gemfile.lock b/Gemfile.lock index 08871b8..a0ed822 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,7 +1,7 @@ PATH remote: . specs: - response_bank (1.1.0) + response_bank (1.2.0) msgpack useragent @@ -96,6 +96,7 @@ GEM marcel (1.0.2) method_source (1.0.0) mini_mime (1.1.2) + mini_portile2 (2.8.1) minitest (5.18.0) mocha (2.0.2) ruby2_keywords (>= 0.0.5) @@ -110,7 +111,8 @@ GEM net-smtp (0.3.3) net-protocol nio4r (2.5.8) - nokogiri (1.14.2-arm64-darwin) + nokogiri (1.14.2) + mini_portile2 (~> 2.8.0) racc (~> 1.4) parallel (1.22.1) parser (3.2.1.1) @@ -149,7 +151,7 @@ GEM rake (13.0.6) regexp_parser (2.7.0) rexml (3.2.5) - rubocop (1.48.0) + rubocop (1.48.1) json (~> 2.3) parallel (~> 1.10) parser (>= 3.2.0.0) @@ -173,8 +175,6 @@ GEM timeout (0.3.2) tzinfo (2.0.6) concurrent-ruby (~> 1.0) - tzinfo-data (1.2023.2) - tzinfo (>= 1.0.0) unicode-display_width (2.4.2) useragent (0.16.10) websocket-driver (0.7.5) @@ -183,17 +183,16 @@ GEM zeitwerk (2.6.7) PLATFORMS - arm64-darwin-21 + ruby DEPENDENCIES - minitest (>= 5.13.0) - mocha (>= 1.10.0) + minitest (>= 5.18.0) + mocha rails (~> 7.0.4) rake response_bank! - rubocop (= 1.48.0) + rubocop simplecov - tzinfo-data (>= 1.2019.3) BUNDLED WITH 2.3.11 diff --git a/lib/response_bank/version.rb b/lib/response_bank/version.rb index 0bc7c22..c47b5fe 100644 --- a/lib/response_bank/version.rb +++ b/lib/response_bank/version.rb @@ -1,4 +1,4 @@ # frozen_string_literal: true module ResponseBank - VERSION = "1.1.0" + VERSION = "1.2.0" end diff --git a/response_bank.gemspec b/response_bank.gemspec index 1af2ad9..7fe5c45 100644 --- a/response_bank.gemspec +++ b/response_bank.gemspec @@ -15,16 +15,15 @@ Gem::Specification.new do |s| s.files = Dir["lib/**/*.rb", "README.md", "LICENSE.txt"] s.require_paths = ["lib"] - s.required_ruby_version = ">= 2.4.0" + s.required_ruby_version = ">= 2.7.0" s.metadata["allowed_push_host"] = "https://rubygems.org" s.add_runtime_dependency("useragent") s.add_runtime_dependency("msgpack") - s.add_development_dependency("minitest", ">= 5.13.0") - s.add_development_dependency("mocha", ">= 1.10.0") + s.add_development_dependency("minitest", ">= 5.18.0") + s.add_development_dependency("mocha", ">= 2.0.0") s.add_development_dependency("rake") - s.add_development_dependency("rails", ">= 5.0") - s.add_development_dependency("tzinfo-data", ">= 1.2019.3") + s.add_development_dependency("rails", ">= 6.1") end