From 1e3b2fcbffa65fab29d11a172fcac5d19f15d4b3 Mon Sep 17 00:00:00 2001 From: Peter Boling Date: Fri, 10 Nov 2023 16:45:02 +0700 Subject: [PATCH] =?UTF-8?q?=E2=AC=86=EF=B8=8F=20Upgrade=20dependencies?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Gemfile | 37 +------ Gemfile.lock | 211 +++++++++++++--------------------------- rubocop-ruby1_8.gemspec | 41 ++++++-- 3 files changed, 101 insertions(+), 188 deletions(-) diff --git a/Gemfile b/Gemfile index f48ee73..fd3d4a0 100644 --- a/Gemfile +++ b/Gemfile @@ -1,41 +1,6 @@ -# frozen_string_literal: true - source "https://rubygems.org" -git_source(:github) { |repo_name| "https://github.com/#{repo_name}" } -git_source(:gitlab) { |repo_name| "https://gitlab.com/#{repo_name}" } - # Include dependencies from .gemspec gemspec -# rubocop:disable Layout/LeadingCommentSpace -#noinspection RbsMissingTypeSignature -RUBY_VER = Gem::Version.new(RUBY_VERSION) -#noinspection RbsMissingTypeSignature -IS_CI = ENV.fetch("CI", "false") == "true" -#noinspection RbsMissingTypeSignature -DEBUG_IDE = ENV.fetch("DEBUG_IDE", "false") == "true" -#noinspection RbsMissingTypeSignature -LOCAL_SUPPORTED = !IS_CI && Gem::Version.new("2.7") <= RUBY_VER && RUBY_ENGINE == "ruby" -# rubocop:enable Layout/LeadingCommentSpace - -if LOCAL_SUPPORTED || IS_CI - # Coverage - eval_gemfile "./gemfiles/contexts/coverage.gemfile" - - # Linting - eval_gemfile "./gemfiles/contexts/style.gemfile" - - # Testing - eval_gemfile "./gemfiles/contexts/testing.gemfile" - - # Documentation - eval_gemfile "./gemfiles/contexts/docs.gemfile" -end - -# Debugging code should never run in CI -unless IS_CI - eval_gemfile "./gemfiles/contexts/debug.gemfile" -end - -eval_gemfile "./gemfiles/contexts/core.gemfile" +gem "byebug", platform: :mri diff --git a/Gemfile.lock b/Gemfile.lock index 52442f3..9eda5d9 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,118 +1,48 @@ -GIT - remote: https://github.com/pboling/simplecov-rcov - revision: 7a54f35d04e2bdb1052be698f00d6c7cc35ea529 - branch: patch-1 - specs: - simplecov-rcov (0.3.1) - simplecov (>= 0.4.1) - PATH remote: . specs: rubocop-ruby1_8 (1.0.7) - rubocop-gradual (~> 0.3, >= 0.3.1) - rubocop-md (~> 1.2) + rubocop-gradual (~> 0.3, >= 0.3.4) + rubocop-md (~> 1.2, >= 1.2.1) rubocop-rake (~> 0.6) rubocop-shopify (~> 2.14) rubocop-thread_safety (~> 0.5, >= 0.5.1) - standard-rubocop-lts (~> 1.0, >= 1.0.7) + standard-rubocop-lts (~> 1.0, >= 1.0.9) version_gem (>= 1.1.3, < 3) GEM remote: https://rubygems.org/ specs: - activesupport (7.0.5) - concurrent-ruby (~> 1.0, >= 1.0.2) - i18n (>= 1.6, < 2) - minitest (>= 5.1) - tzinfo (~> 2.0) + ansi (1.5.0) ast (2.4.2) backports (3.24.1) - betterlint (1.4.7) - rubocop (> 1.0) - rubocop-performance - rubocop-rails - rubocop-rake - rubocop-rspec (>= 2.22) byebug (11.1.3) - coderay (1.1.3) - concurrent-ruby (1.2.2) diff-lcs (1.5.0) diffy (3.4.2) docile (1.4.0) - gist (6.0.0) - grit (2.5.0) - diff-lcs (~> 1.1) - mime-types (~> 1.15) - posix-spawn (~> 0.3.6) - highline (2.1.0) - i18n (1.14.1) - concurrent-ruby (~> 1.0) - interception (0.5) json (2.6.3) + kettle-soup-cover (1.0.2) + simplecov (~> 0.22) + simplecov-cobertura (~> 2.1) + simplecov-console (~> 0.9, >= 0.9.1) + simplecov-html (~> 0.12) + simplecov-lcov (~> 0.8) + simplecov-rcov (~> 0.3, >= 0.3.3) + simplecov_json_formatter (~> 0.1, >= 0.1.4) + version_gem (~> 1.1, >= 1.1.3) + kramdown (2.4.0) + rexml language_server-protocol (3.17.0.3) - lint_roller (1.0.0) - method_source (1.0.0) - mime-types (1.25.1) - minitest (5.18.0) - nokogiri (1.15.2-arm64-darwin) - racc (~> 1.4) - nokogiri (1.15.2-x86_64-darwin) - racc (~> 1.4) - nokogiri (1.15.2-x86_64-linux) - racc (~> 1.4) + lint_roller (1.1.0) parallel (1.23.0) - parser (3.2.2.3) + parser (3.2.2.4) ast (~> 2.4.1) racc - posix-spawn (0.3.15) - pry (0.14.2) - coderay (~> 1.1) - method_source (~> 1.0) - pry-byebug (3.10.1) - byebug (~> 11.0) - pry (>= 0.13, < 0.15) - pry-doc (1.4.0) - pry (~> 0.11) - yard (~> 0.9.11) - pry-docmore (0.1.1) - pry - pry-doc - pry-git (0.2.3) - diffy - grit - pry (>= 0.9.8) - pry-highlight (0.1.0) - coderay - json - nokogiri - pry - pry-macro (1.0.1) - highline - pry - pry-pretty-numeric (0.1.1) - pry - pry-rescue (1.5.2) - interception (>= 0.5) - pry (>= 0.12.0) - pry-suite (1.2.0) - gist - pry - pry-byebug - pry-doc - pry-docmore - pry-git - pry-highlight - pry-macro - pry-pretty-numeric - pry-rescue - racc (1.7.1) - rack (3.0.8) + racc (1.7.3) rainbow (3.1.1) - rake (13.0.6) - redcarpet (3.6.0) - regexp_parser (2.8.1) - rexml (3.2.5) + rake (13.1.0) + regexp_parser (2.8.2) + rexml (3.2.6) rspec (3.12.0) rspec-core (~> 3.12.0) rspec-expectations (~> 3.12.0) @@ -123,47 +53,47 @@ GEM rspec-expectations (3.12.3) diff-lcs (>= 1.2.0, < 2.0) rspec-support (~> 3.12.0) - rspec-mocks (3.12.5) + rspec-mocks (3.12.6) diff-lcs (>= 1.2.0, < 2.0) rspec-support (~> 3.12.0) - rspec-support (3.12.0) - rubocop (1.52.1) + rspec-stubbed_env (1.0.1) + rspec-support (3.12.1) + rspec_junit_formatter (0.6.0) + rspec-core (>= 2, < 4, != 2.12.0) + rubocop (1.57.2) json (~> 2.3) + language_server-protocol (>= 3.17.0) parallel (~> 1.10) - parser (>= 3.2.2.3) + parser (>= 3.2.2.4) rainbow (>= 2.2.2, < 4.0) regexp_parser (>= 1.8, < 3.0) rexml (>= 3.2.5, < 4.0) - rubocop-ast (>= 1.28.0, < 2.0) + rubocop-ast (>= 1.28.1, < 2.0) ruby-progressbar (~> 1.7) unicode-display_width (>= 2.4.0, < 3.0) - rubocop-ast (1.29.0) + rubocop-ast (1.30.0) parser (>= 3.2.1.0) - rubocop-capybara (2.18.0) + rubocop-capybara (2.19.0) rubocop (~> 1.41) - rubocop-factory_bot (2.23.1) + rubocop-factory_bot (2.24.0) rubocop (~> 1.33) - rubocop-gradual (0.3.1) + rubocop-gradual (0.3.4) diff-lcs (>= 1.2.0, < 2.0) diffy (~> 3.0) parallel (~> 1.10) rainbow (>= 2.2.2, < 4.0) rubocop (~> 1.0) - rubocop-md (1.2.0) + rubocop-md (1.2.1) rubocop (>= 1.0) rubocop-packaging (0.5.2) rubocop (>= 1.33, < 2.0) - rubocop-performance (1.18.0) + rubocop-performance (1.19.1) rubocop (>= 1.7.0, < 2.0) rubocop-ast (>= 0.4.0) - rubocop-rails (2.19.1) - activesupport (>= 4.2.0) - rack (>= 1.1) - rubocop (>= 1.33.0, < 2.0) rubocop-rake (0.6.0) rubocop (~> 1.0) - rubocop-rspec (2.22.0) - rubocop (~> 1.33) + rubocop-rspec (2.25.0) + rubocop (~> 1.40) rubocop-capybara (~> 2.17) rubocop-factory_bot (~> 2.22) rubocop-shopify (2.14.0) @@ -178,34 +108,35 @@ GEM simplecov-cobertura (2.1.0) rexml simplecov (~> 0.19) - simplecov-html (0.12.3) - simplecov-json (0.2.3) - json + simplecov-console (0.9.1) + ansi simplecov + terminal-table + simplecov-html (0.12.3) simplecov-lcov (0.8.0) + simplecov-rcov (0.3.3) + simplecov (>= 0.4.1) simplecov_json_formatter (0.1.4) - standard (1.29.0) + standard (1.32.0) language_server-protocol (~> 3.17.0.2) lint_roller (~> 1.0) - rubocop (~> 1.52.0) + rubocop (~> 1.57.2) standard-custom (~> 1.0.0) - standard-performance (~> 1.1.0) - standard-custom (1.0.1) - lint_roller (~> 1.0) - standard-performance (1.1.0) - lint_roller (~> 1.0) - rubocop-performance (~> 1.18.0) - standard-rails (0.1.0) + standard-performance (~> 1.2) + standard-custom (1.0.2) lint_roller (~> 1.0) - rubocop-rails (~> 2.19.0) - standard-rubocop-lts (1.0.7) - standard (>= 1.29, < 2) + rubocop (~> 1.50) + standard-performance (1.2.1) + lint_roller (~> 1.1) + rubocop-performance (~> 1.19.1) + standard-rubocop-lts (1.0.9) + standard (>= 1.31.1, < 2) standard-custom (>= 1.0.1, < 2) - standard-performance (~> 1.1, < 2) + standard-performance (>= 1.2, < 2) version_gem (>= 1.1.3, < 4) - tzinfo (2.0.6) - concurrent-ruby (~> 1.0) - unicode-display_width (2.4.2) + terminal-table (3.0.2) + unicode-display_width (>= 1.1.1, < 3) + unicode-display_width (2.5.0) version_gem (1.1.3) yard (0.9.34) yard-junk (0.0.9) @@ -219,25 +150,19 @@ PLATFORMS x86_64-linux DEPENDENCIES - betterlint (~> 1.4, >= 1.4.7) - pry (~> 0.14) - pry-debugger-jruby (~> 2.1) - pry-suite (~> 1.2) - rake (~> 13.0) - redcarpet (~> 3.6) + byebug + kettle-soup-cover (~> 1.0, >= 1.0.2) + kramdown (~> 2.4) + rake (~> 13.1) rspec (~> 3.12) - rspec-block_is_expected (~> 1.0) + rspec-block_is_expected (~> 1.0, >= 1.0.5) + rspec-stubbed_env (~> 1.0, >= 1.0.1) + rspec_junit_formatter (~> 0.6) rubocop-packaging (~> 0.5, >= 0.5.2) - rubocop-rspec (~> 2.22) + rubocop-rspec (~> 2.25) rubocop-ruby1_8! - simplecov (~> 0.22) - simplecov-cobertura - simplecov-json (~> 0.2) - simplecov-lcov (~> 0.8) - simplecov-rcov! - standard-rails (~> 0.1) yard (~> 0.9, >= 0.9.34) - yard-junk (~> 0.0) + yard-junk (~> 0.0, >= 0.0.9) BUNDLED WITH - 2.4.13 + 2.4.22 diff --git a/rubocop-ruby1_8.gemspec b/rubocop-ruby1_8.gemspec index e753d35..e77c0a0 100644 --- a/rubocop-ruby1_8.gemspec +++ b/rubocop-ruby1_8.gemspec @@ -51,19 +51,42 @@ Gem::Specification.new do |spec| spec.executables = [] spec.require_paths = ["lib"] - # linting - spec.add_dependency("rubocop-gradual", "~> 0.3", ">= 0.3.1") # Ruby >= 2.6.0 - spec.add_dependency("rubocop-md", "~> 1.2") # Ruby >= 2.6.0 + # Utilities + spec.add_dependency("version_gem", ">= 1.1.3", "< 3") # Ruby >= 2.2.0 + + # Linting + spec.add_dependency("rubocop-gradual", "~> 0.3", ">= 0.3.4") # Ruby >= 2.6.0 + spec.add_dependency("rubocop-md", "~> 1.2", ">= 1.2.1") # Ruby >= 2.6.0 spec.add_dependency("rubocop-rake", "~> 0.6") # Ruby >= 2.5.0 spec.add_dependency("rubocop-shopify", "~> 2.14") # Ruby >= 2.7.0 spec.add_dependency("rubocop-thread_safety", "~> 0.5", ">= 0.5.1") # Ruby >= 2.5.0 - spec.add_dependency("standard-rubocop-lts", "~> 1.0", ">= 1.0.7") # Ruby >= 2.6.0 - spec.add_dependency("version_gem", ">= 1.1.3", "< 3") # Ruby >= 2.2.0 + spec.add_dependency("standard-rubocop-lts", "~> 1.0", ">= 1.0.9") # Ruby >= 2.6.0 - # Development dependencies - # Specify in Gemfile *only*. + # Internal/Private/Platform-specific development dependencies are specified in Gemfile *only*. + # External/Public development dependencies are specified in gemspec *only*. # See: - # - https://github.com/rubygems/rubygems/discussions/5065 - # - https://github.com/rubygems/rubygems/discussions/6726 + # - https://github.com/rubygems/rubygems/discussions/5065#discussioncomment-7031586 # - https://msp-greg.github.io/rubocop/RuboCop/Cop/Gemspec/DevelopmentDependencies.html + + # Utilities + spec.add_development_dependency("rake", "~> 13.1") # Ruby >= 2.3.0 + + # Code Coverage + # CodeCov + GitHub setup is not via gems: https://github.com/marketplace/actions/codecov + spec.add_development_dependency("kettle-soup-cover", "~> 1.0", ">= 1.0.2") + + # Documentation + spec.add_development_dependency("kramdown", "~> 2.4") + spec.add_development_dependency("yard", "~> 0.9", ">= 0.9.34") + spec.add_development_dependency("yard-junk", "~> 0.0", ">= 0.0.9") + + # Additional linting gems that are not packaged with rubocop-lts, but are integrated by it. + spec.add_development_dependency("rubocop-packaging", "~> 0.5", ">= 0.5.2") # Ruby >= 2.6.0 + spec.add_development_dependency("rubocop-rspec", "~> 2.25") # Ruby >= 2.7.0 + + # Testing + spec.add_development_dependency("rspec", "~> 3.12") + spec.add_development_dependency("rspec-block_is_expected", "~> 1.0", ">= 1.0.5") + spec.add_development_dependency("rspec_junit_formatter", "~> 0.6") + spec.add_development_dependency("rspec-stubbed_env", "~> 1.0", ">= 1.0.1") end