From 0e540bbc57d06b403676e7367822d11573885ed5 Mon Sep 17 00:00:00 2001 From: Dimitrij Denissenko Date: Mon, 6 Jun 2022 09:27:09 +0100 Subject: [PATCH] Bump deps --- .github/workflows/ruby.yml | 2 +- .rubocop.yml | 2 +- Gemfile.lock | 86 +++++++++++++++----------------------- timed_lru.gemspec | 6 +-- 4 files changed, 38 insertions(+), 58 deletions(-) diff --git a/.github/workflows/ruby.yml b/.github/workflows/ruby.yml index d89e336..acd16b9 100644 --- a/.github/workflows/ruby.yml +++ b/.github/workflows/ruby.yml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - ruby-version: ["2.6", "2.7", "3.0"] + ruby-version: ["2.7", "3.0", "3.1"] steps: - uses: actions/checkout@v2 - uses: ruby/setup-ruby@v1 diff --git a/.rubocop.yml b/.rubocop.yml index 10f9148..9082f84 100644 --- a/.rubocop.yml +++ b/.rubocop.yml @@ -5,6 +5,6 @@ inherit_mode: merge: - Exclude AllCops: - TargetRubyVersion: "2.6" + TargetRubyVersion: "2.7" Naming/MemoizedInstanceVariableName: Enabled: false diff --git a/Gemfile.lock b/Gemfile.lock index 44eae95..ba18b88 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,81 +1,61 @@ PATH remote: . specs: - timed_lru (0.5.0) + timed_lru (0.5.1) GEM remote: http://rubygems.org/ specs: - activesupport (6.1.3) - concurrent-ruby (~> 1.0, >= 1.0.2) - i18n (>= 1.6, < 2) - minitest (>= 5.1) - tzinfo (~> 2.0) - zeitwerk (~> 2.3) ast (2.4.2) - concurrent-ruby (1.1.8) - diff-lcs (1.4.4) - i18n (1.8.9) - concurrent-ruby (~> 1.0) - minitest (5.14.4) - parallel (1.20.1) - parser (3.0.0.0) + diff-lcs (1.5.0) + parallel (1.22.1) + parser (3.1.2.0) ast (~> 2.4.1) - rack (2.2.3) - rainbow (3.0.0) - rake (13.0.3) - regexp_parser (2.1.1) + rainbow (3.1.1) + rake (13.0.6) + regexp_parser (2.5.0) rexml (3.2.5) - rspec (3.10.0) - rspec-core (~> 3.10.0) - rspec-expectations (~> 3.10.0) - rspec-mocks (~> 3.10.0) - rspec-core (3.10.1) - rspec-support (~> 3.10.0) - rspec-expectations (3.10.1) + rspec (3.11.0) + rspec-core (~> 3.11.0) + rspec-expectations (~> 3.11.0) + rspec-mocks (~> 3.11.0) + rspec-core (3.11.0) + rspec-support (~> 3.11.0) + rspec-expectations (3.11.0) diff-lcs (>= 1.2.0, < 2.0) - rspec-support (~> 3.10.0) - rspec-mocks (3.10.2) + rspec-support (~> 3.11.0) + rspec-mocks (3.11.1) diff-lcs (>= 1.2.0, < 2.0) - rspec-support (~> 3.10.0) - rspec-support (3.10.2) - rubocop (1.11.0) + rspec-support (~> 3.11.0) + rspec-support (3.11.0) + rubocop (1.30.1) parallel (~> 1.10) - parser (>= 3.0.0.0) + parser (>= 3.1.0.0) rainbow (>= 2.2.2, < 4.0) regexp_parser (>= 1.8, < 3.0) - rexml - rubocop-ast (>= 1.2.0, < 2.0) + rexml (>= 3.2.5, < 4.0) + rubocop-ast (>= 1.18.0, < 2.0) ruby-progressbar (~> 1.7) unicode-display_width (>= 1.4.0, < 3.0) - rubocop-ast (1.4.1) - parser (>= 2.7.1.5) - rubocop-bsm (0.5.4) + rubocop-ast (1.18.0) + parser (>= 3.1.1.0) + rubocop-bsm (0.6.0) rubocop (~> 1.0) rubocop-performance - rubocop-rails rubocop-rake rubocop-rspec - rubocop-performance (1.10.1) - rubocop (>= 0.90.0, < 2.0) + rubocop-performance (1.14.1) + rubocop (>= 1.7.0, < 2.0) rubocop-ast (>= 0.4.0) - rubocop-rails (2.9.1) - activesupport (>= 4.2.0) - rack (>= 1.1) - rubocop (>= 0.90.0, < 2.0) - rubocop-rake (0.5.1) - rubocop - rubocop-rspec (2.2.0) + rubocop-rake (0.6.0) rubocop (~> 1.0) - rubocop-ast (>= 1.1.0) + rubocop-rspec (2.11.1) + rubocop (~> 1.19) ruby-progressbar (1.11.0) - tzinfo (2.0.4) - concurrent-ruby (~> 1.0) - unicode-display_width (2.0.0) - zeitwerk (2.4.2) + unicode-display_width (2.1.0) PLATFORMS - ruby + x86_64-linux DEPENDENCIES bundler @@ -85,4 +65,4 @@ DEPENDENCIES timed_lru! BUNDLED WITH - 2.1.4 + 2.3.9 diff --git a/timed_lru.gemspec b/timed_lru.gemspec index 5c5e7c2..ffdd8ef 100644 --- a/timed_lru.gemspec +++ b/timed_lru.gemspec @@ -1,10 +1,10 @@ Gem::Specification.new do |s| - s.required_ruby_version = '>= 2.6.0' + s.required_ruby_version = '>= 2.7' s.name = File.basename(__FILE__, '.gemspec') s.summary = 'Timed LRU' s.description = 'Thread-safe LRU implementation with (optional) TTL and constant time operations' - s.version = '0.5.0' + s.version = '0.5.1' s.authors = ['Black Square Media'] s.email = 'info@blacksquaremedia.com' @@ -13,10 +13,10 @@ Gem::Specification.new do |s| s.require_path = 'lib' s.files = `git ls-files`.split("\n") - s.test_files = `git ls-files -- {test,spec,features}/*`.split("\n") s.add_development_dependency 'bundler' s.add_development_dependency 'rake' s.add_development_dependency 'rspec' s.add_development_dependency 'rubocop-bsm' + s.metadata['rubygems_mfa_required'] = 'true' end