From dc903cd9169e8f1724d0f62c8560579c80e868b0 Mon Sep 17 00:00:00 2001 From: Vladislav Trotsenko Date: Mon, 22 Apr 2024 17:31:47 +0200 Subject: [PATCH 1/2] Technical/Update gem dependencies (#295) * Updated gemspecs * Updated rubocop/codeclimate configs --- .circleci/gemspecs/compatible | 2 +- .circleci/gemspecs/latest | 16 ++++++++-------- .circleci/linter_configs/.rubocop.yml | 3 +++ .codeclimate.yml | 2 +- truemail.gemspec | 10 +++++----- 5 files changed, 18 insertions(+), 15 deletions(-) diff --git a/.circleci/gemspecs/compatible b/.circleci/gemspecs/compatible index c1dc16c..be25121 100644 --- a/.circleci/gemspecs/compatible +++ b/.circleci/gemspecs/compatible @@ -16,7 +16,7 @@ Gem::Specification.new do |spec| spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) } spec.require_paths = %w[lib] - spec.add_runtime_dependency 'net-smtp', '~> 0.4.0.1' if ::Gem::Version.new(::RUBY_VERSION) >= ::Gem::Version.new('3.1.0') + spec.add_runtime_dependency 'net-smtp', '~> 0.5.0' if ::Gem::Version.new(::RUBY_VERSION) >= ::Gem::Version.new('3.1.0') spec.add_runtime_dependency 'simpleidn', '~> 0.2.1' spec.add_development_dependency 'dns_mock' diff --git a/.circleci/gemspecs/latest b/.circleci/gemspecs/latest index c28f4a7..1276981 100644 --- a/.circleci/gemspecs/latest +++ b/.circleci/gemspecs/latest @@ -16,23 +16,23 @@ Gem::Specification.new do |spec| spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) } spec.require_paths = %w[lib] - spec.add_runtime_dependency 'net-smtp', '~> 0.4.0.1' + spec.add_runtime_dependency 'net-smtp', '~> 0.5.0' spec.add_runtime_dependency 'simpleidn', '~> 0.2.1' spec.add_development_dependency 'bundler-audit', '~> 0.9.1' - spec.add_development_dependency 'dns_mock', '~> 1.6', '>= 1.6.2' + spec.add_development_dependency 'dns_mock', '~> 1.7', '>= 1.7.1' spec.add_development_dependency 'fasterer', '~> 0.11.0' spec.add_development_dependency 'ffaker', '~> 2.23' spec.add_development_dependency 'json_matchers', '~> 0.11.1' spec.add_development_dependency 'pry-byebug', '~> 3.10', '>= 3.10.1' - spec.add_development_dependency 'rake', '~> 13.1' + spec.add_development_dependency 'rake', '~> 13.2', '>= 13.2.1' spec.add_development_dependency 'reek', '~> 6.3' spec.add_development_dependency 'rspec', '~> 3.13' - spec.add_development_dependency 'rubocop', '~> 1.60', '>= 1.60.2' - spec.add_development_dependency 'rubocop-performance', '~> 1.20', '>= 1.20.2' - spec.add_development_dependency 'rubocop-rspec', '~> 2.26', '>= 2.26.1' + spec.add_development_dependency 'rubocop', '~> 1.63', '>= 1.63.2' + spec.add_development_dependency 'rubocop-performance', '~> 1.21' + spec.add_development_dependency 'rubocop-rspec', '~> 2.29', '>= 2.29.1' spec.add_development_dependency 'simplecov', '~> 0.22.0' - spec.add_development_dependency 'smtp_mock', '~> 1.4' + spec.add_development_dependency 'smtp_mock', '~> 1.4', '>= 1.4.1' spec.add_development_dependency 'truemail-rspec', '~> 1.3', '>= 1.3.1' - spec.add_development_dependency 'webmock', '~> 3.22' + spec.add_development_dependency 'webmock', '~> 3.23' end diff --git a/.circleci/linter_configs/.rubocop.yml b/.circleci/linter_configs/.rubocop.yml index 1c13781..d04d04f 100644 --- a/.circleci/linter_configs/.rubocop.yml +++ b/.circleci/linter_configs/.rubocop.yml @@ -142,3 +142,6 @@ RSpec/VerifiedDoubleReference: RSpec/IndexedLet: Enabled: false + +RSpec/IsExpectedSpecify: + Enabled: false diff --git a/.codeclimate.yml b/.codeclimate.yml index 0ca156c..9ad6043 100644 --- a/.codeclimate.yml +++ b/.codeclimate.yml @@ -9,7 +9,7 @@ checks: plugins: rubocop: enabled: true - channel: rubocop-1-60 + channel: rubocop-1-63 config: file: .circleci/linter_configs/.rubocop.yml diff --git a/truemail.gemspec b/truemail.gemspec index a6e04eb..be96ced 100644 --- a/truemail.gemspec +++ b/truemail.gemspec @@ -29,15 +29,15 @@ Gem::Specification.new do |spec| spec.files = `git ls-files -z`.split("\x0").select { |f| f.match(%r{^(bin|lib)/|.ruby-version|truemail.gemspec|LICENSE}) } spec.require_paths = %w[lib] - spec.add_runtime_dependency 'net-smtp', '~> 0.4.0.1' if current_ruby_version >= ::Gem::Version.new('3.1.0') + spec.add_runtime_dependency 'net-smtp', '~> 0.5.0' if current_ruby_version >= ::Gem::Version.new('3.1.0') spec.add_runtime_dependency 'simpleidn', '~> 0.2.1' - spec.add_development_dependency 'dns_mock', '~> 1.6', '>= 1.6.2' + spec.add_development_dependency 'dns_mock', '~> 1.7', '>= 1.7.1' spec.add_development_dependency 'ffaker', ffaker_version spec.add_development_dependency 'json_matchers', '~> 0.11.1' - spec.add_development_dependency 'rake', '~> 13.1' + spec.add_development_dependency 'rake', '~> 13.2', '>= 13.2.1' spec.add_development_dependency 'rspec', '~> 3.13' - spec.add_development_dependency 'smtp_mock', '~> 1.4' + spec.add_development_dependency 'smtp_mock', '~> 1.4', '>= 1.4.1' spec.add_development_dependency 'truemail-rspec', '~> 1.3', '>= 1.3.1' - spec.add_development_dependency 'webmock', '~> 3.20' + spec.add_development_dependency 'webmock', '~> 3.23' end From 8c205433235a5e810f921cbd6ffb73c913993e81 Mon Sep 17 00:00:00 2001 From: Vladislav Trotsenko Date: Tue, 23 Apr 2024 10:55:17 +0200 Subject: [PATCH 2/2] Technical/Update gem version (#296) * Updated gem version * Updated gem changelog --- CHANGELOG.md | 8 ++++++++ lib/truemail/version.rb | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index a4b635a..6c34118 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,14 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [3.3.1] - 2024.04.23 + +### Updated + +- Updated runtime/development dependencies +- Updated `codeclimate`/`reek` configs +- Updated gem version + ## [3.3.0] - 2024.02.26 ### Added diff --git a/lib/truemail/version.rb b/lib/truemail/version.rb index c793413..b771ecc 100644 --- a/lib/truemail/version.rb +++ b/lib/truemail/version.rb @@ -1,5 +1,5 @@ # frozen_string_literal: true module Truemail - VERSION = '3.3.0' + VERSION = '3.3.1' end