Skip to content

Commit

Permalink
Technical/Update gem dependencies (#236)
Browse files Browse the repository at this point in the history
* Updated gem runtime/development dependencies
* Updated gemspecs, circleci config
* Updated rubocop/codeclimate configs
* Updated gem version, changelog
  • Loading branch information
bestwebua authored Nov 21, 2022
1 parent db33de1 commit 0abcf82
Show file tree
Hide file tree
Showing 8 changed files with 22 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -122,7 +122,7 @@ jobs:
- checkout
- <<: *use_compatible_gemspec
- ruby/install-deps:
bundler-version: "2.3.24"
bundler-version: "2.3.26"
with-cache: false
path: './vendor/custom_bundle'
- <<: *install_system_dependencies
Expand Down
2 changes: 1 addition & 1 deletion .circleci/gemspec_compatible
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ Gem::Specification.new do |spec|
spec.add_development_dependency 'json_matchers', '~> 0.11.1'
spec.add_development_dependency 'rake', '~> 13.0', '>= 13.0.6'
spec.add_development_dependency 'rspec', '~> 3.12'
spec.add_development_dependency 'smtp_mock', '~> 1.2', '>= 1.2.2'
spec.add_development_dependency 'smtp_mock', '~> 1.3'
spec.add_development_dependency 'truemail-rspec', '~> 1.0'
spec.add_development_dependency 'webmock', '~> 3.18', '>= 3.18.1'
end
12 changes: 6 additions & 6 deletions .circleci/gemspec_latest
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ Gem::Specification.new do |spec|
spec.executables = spec.files.grep(%r{^exe/}) { |f| ::File.basename(f) }
spec.require_paths = ['lib']

spec.add_runtime_dependency 'net-smtp', '~> 0.3.2'
spec.add_runtime_dependency 'net-smtp', '~> 0.3.3'
spec.add_runtime_dependency 'simpleidn', '~> 0.2.1'

spec.add_development_dependency 'bundler-audit', '~> 0.9.1'
Expand All @@ -40,13 +40,13 @@ Gem::Specification.new do |spec|
spec.add_development_dependency 'overcommit', '~> 0.59.1'
spec.add_development_dependency 'pry-byebug', '~> 3.10', '>= 3.10.1'
spec.add_development_dependency 'rake', '~> 13.0', '>= 13.0.6'
spec.add_development_dependency 'reek', '~> 6.1', '>= 6.1.1'
spec.add_development_dependency 'reek', '~> 6.1', '>= 6.1.2'
spec.add_development_dependency 'rspec', '~> 3.12'
spec.add_development_dependency 'rubocop', '~> 1.37', '>= 1.37.1'
spec.add_development_dependency 'rubocop-performance', '~> 1.15'
spec.add_development_dependency 'rubocop-rspec', '~> 2.14', '>= 2.14.2'
spec.add_development_dependency 'rubocop', '~> 1.39'
spec.add_development_dependency 'rubocop-performance', '~> 1.15', '>= 1.15.1'
spec.add_development_dependency 'rubocop-rspec', '~> 2.15'
spec.add_development_dependency 'simplecov', '~> 0.21.2'
spec.add_development_dependency 'smtp_mock', '~> 1.2', '>= 1.2.2'
spec.add_development_dependency 'smtp_mock', '~> 1.3'
spec.add_development_dependency 'truemail-rspec', '~> 1.0'
spec.add_development_dependency 'webmock', '~> 3.18', '>= 3.18.1'
end
2 changes: 1 addition & 1 deletion .codeclimate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ checks:
plugins:
rubocop:
enabled: true
channel: rubocop-1-37
channel: rubocop-1-39

reek:
enabled: true
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,15 @@

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.0.2] - 2022.11.21

### Updated

- Updated gem runtime/development dependencies
- Updated gemspecs, circleci config
- Updated rubocop/codeclimate configs
- Updated gem version

## [3.0.1] - 2022.11.01

### Fixed
Expand Down
2 changes: 1 addition & 1 deletion lib/truemail/core.rb
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ def initialize(arg_value, arg_name)
end

module RegexConstant
REGEX_DOMAIN = /[\p{L}0-9]+([\-.]{1}[\p{L}0-9]+)*\.\p{L}{2,63}/i.freeze
REGEX_DOMAIN = /[\p{L}0-9]+([-.]{1}[\p{L}0-9]+)*\.\p{L}{2,63}/i.freeze
REGEX_SIMPLE_EMAIL_PATTERN = /\w+@\w+/.freeze
REGEX_EMAIL_PATTERN = %r{(?=\A.{6,255}\z)(\A([\p{L}0-9]+[\w\p{L}.+!~,'&%#*^`{}|\-/?=$]*)@(#{REGEX_DOMAIN})\z)}.freeze
REGEX_DOMAIN_PATTERN = /(?=\A.{4,255}\z)(\A#{REGEX_DOMAIN}\z)/.freeze
Expand Down
2 changes: 1 addition & 1 deletion lib/truemail/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# frozen_string_literal: true

module Truemail
VERSION = '3.0.1'
VERSION = '3.0.2'
end
4 changes: 2 additions & 2 deletions truemail.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -29,15 +29,15 @@ Gem::Specification.new do |spec|
spec.executables = spec.files.grep(%r{^exe/}) { |f| ::File.basename(f) }
spec.require_paths = ['lib']

spec.add_runtime_dependency 'net-smtp', '~> 0.3.2' if ::Gem::Version.new(::RUBY_VERSION) >= ::Gem::Version.new('3.1.0')
spec.add_runtime_dependency 'net-smtp', '~> 0.3.3' 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', '~> 1.5', '>= 1.5.5'
spec.add_development_dependency 'ffaker', '~> 2.21'
spec.add_development_dependency 'json_matchers', '~> 0.11.1'
spec.add_development_dependency 'rake', '~> 13.0', '>= 13.0.6'
spec.add_development_dependency 'rspec', '~> 3.12'
spec.add_development_dependency 'smtp_mock', '~> 1.2', '>= 1.2.2'
spec.add_development_dependency 'smtp_mock', '~> 1.3'
spec.add_development_dependency 'truemail-rspec', '~> 1.0'
spec.add_development_dependency 'webmock', '~> 3.18', '>= 3.18.1'
end

0 comments on commit 0abcf82

Please sign in to comment.