Skip to content

Commit

Permalink
Technical/Update gem development dependencies (#179)
Browse files Browse the repository at this point in the history
* Updated gem development dependencies
* Updated root namespace for base stdlib classes
* Updated rubocop/codeclimate configs
* Updated gem version, documentation, changelog
  • Loading branch information
bestwebua authored Oct 1, 2021
1 parent d662b70 commit 36060cd
Show file tree
Hide file tree
Showing 8 changed files with 61 additions and 28 deletions.
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-19
channel: rubocop-1-22

reek:
enabled: true
27 changes: 27 additions & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -169,6 +169,15 @@ Style/QuotedSymbols:
Style/RedundantSelfAssignmentBranch:
Enabled: true

Style/NumberedParameters:
Enabled: true

Style/NumberedParametersLimit:
Enabled: true

Style/SelectByRegexp:
Enabled: true

Layout/LineLength:
Max: 140

Expand Down Expand Up @@ -332,9 +341,21 @@ Lint/EmptyInPattern:
Lint/AmbiguousRange:
Enabled: true

Lint/AmbiguousOperatorPrecedence:
Enabled: true

Lint/IncompatibleIoSelectWithFiberScheduler:
Enabled: true

Lint/RequireRelativeSelfPath:
Enabled: true

Gemspec/DateAssignment:
Enabled: true

Security/IoMethods:
Enabled: true

Performance/AncestorsInclude:
Enabled: true

Expand Down Expand Up @@ -418,3 +439,9 @@ RSpec/IdenticalEqualityAssertion:

RSpec/Rails/AvoidSetupHook:
Enabled: true

RSpec/ExcessiveDocstringSpacing:
Enabled: true

RSpec/SubjectDeclaration:
Enabled: true
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,13 @@

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).

## [2.5.1] - 2021.10.01

### Updated

- Updated gem development dependencies
- Updated gem version

## [2.5.0] - 2021.09.01

### Updated
Expand Down
35 changes: 17 additions & 18 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
truemail (2.5.0)
truemail (2.5.1)
simpleidn (~> 0.2.1)

GEM
Expand All @@ -10,7 +10,7 @@ GEM
addressable (2.8.0)
public_suffix (>= 2.0.2, < 5.0)
ast (2.4.2)
bundler-audit (0.8.0)
bundler-audit (0.9.0.1)
bundler (>= 1.2.0, < 3)
thor (~> 1.0)
byebug (11.1.3)
Expand All @@ -20,7 +20,7 @@ GEM
crack (0.4.5)
rexml
diff-lcs (1.4.4)
dns_mock (1.4.1)
dns_mock (1.4.2)
simpleidn (~> 0.2.1)
docile (1.4.0)
fasterer (0.9.0)
Expand All @@ -39,7 +39,7 @@ GEM
childprocess (>= 0.6.3, < 5)
iniparse (~> 1.4)
rexml (~> 3.2)
parallel (1.20.1)
parallel (1.21.0)
parser (3.0.2.0)
ast (~> 2.4.1)
pry (0.13.1)
Expand Down Expand Up @@ -70,23 +70,22 @@ GEM
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.10.0)
rspec-support (3.10.2)
rubocop (1.19.1)
rubocop (1.22.0)
parallel (~> 1.10)
parser (>= 3.0.0.0)
rainbow (>= 2.2.2, < 4.0)
regexp_parser (>= 1.8, < 3.0)
rexml
rubocop-ast (>= 1.9.1, < 2.0)
rubocop-ast (>= 1.12.0, < 2.0)
ruby-progressbar (~> 1.7)
unicode-display_width (>= 1.4.0, < 3.0)
rubocop-ast (1.10.0)
rubocop-ast (1.12.0)
parser (>= 3.0.1.1)
rubocop-performance (1.11.5)
rubocop (>= 1.7.0, < 2.0)
rubocop-ast (>= 0.4.0)
rubocop-rspec (2.4.0)
rubocop (~> 1.0)
rubocop-ast (>= 1.1.0)
rubocop-rspec (2.5.0)
rubocop (~> 1.19)
ruby-progressbar (1.11.0)
ruby_parser (3.17.0)
sexp_processor (~> 4.15, >= 4.15.1)
Expand All @@ -105,8 +104,8 @@ GEM
truemail (>= 2.4)
unf (0.1.4)
unf_ext
unf_ext (0.0.7.7)
unicode-display_width (2.0.0)
unf_ext (0.0.8)
unicode-display_width (2.1.0)
webmock (3.14.0)
addressable (>= 2.8.0)
crack (>= 0.3.2)
Expand All @@ -116,9 +115,9 @@ PLATFORMS
x86_64-darwin-20

DEPENDENCIES
bundler (~> 2.2, >= 2.2.26)
bundler-audit (~> 0.8.0)
dns_mock (~> 1.4, >= 1.4.1)
bundler (~> 2.2, >= 2.2.28)
bundler-audit (~> 0.9.0.1)
dns_mock (~> 1.4, >= 1.4.2)
fasterer (~> 0.9.0)
ffaker (~> 2.19)
json_matchers (~> 0.11.1)
Expand All @@ -127,13 +126,13 @@ DEPENDENCIES
rake (~> 13.0, >= 13.0.6)
reek (~> 6.0, >= 6.0.6)
rspec (~> 3.10)
rubocop (~> 1.19, >= 1.19.1)
rubocop (~> 1.22)
rubocop-performance (~> 1.11, >= 1.11.5)
rubocop-rspec (~> 2.4)
rubocop-rspec (~> 2.5)
simplecov (~> 0.17.1)
truemail!
truemail-rspec (~> 0.7.0)
webmock (~> 3.14)

BUNDLED WITH
2.2.26
2.2.28
2 changes: 1 addition & 1 deletion lib/truemail/dns/punycode_representer.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

module Truemail
module Dns
PunycodeRepresenter = Class.new do
PunycodeRepresenter = ::Class.new do
require 'simpleidn'

def self.call(email)
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 = '2.5.0'
VERSION = '2.5.1'
end
2 changes: 1 addition & 1 deletion spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
require_relative '../lib/truemail'

rspec_custom = ::File.join(::File.dirname(__FILE__), 'support/**/*.rb')
::Dir[File.expand_path(rspec_custom)].each { |file| require file unless file[/\A.+_spec\.rb\z/] }
::Dir[::File.expand_path(rspec_custom)].each { |file| require file unless file[/\A.+_spec\.rb\z/] }

RSpec::Mocks.configuration.allow_message_expectations_on_nil = true
RSpec.configure do |config|
Expand Down
12 changes: 6 additions & 6 deletions truemail.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -28,14 +28,14 @@ Gem::Specification.new do |spec|

spec.files = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
spec.bindir = 'exe'
spec.executables = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
spec.executables = spec.files.grep(%r{^exe/}) { |f| ::File.basename(f) }
spec.require_paths = ['lib']

spec.add_runtime_dependency 'simpleidn', '~> 0.2.1'

spec.add_development_dependency 'bundler', '~> 2.2', '>= 2.2.26'
spec.add_development_dependency 'bundler-audit', '~> 0.8.0'
spec.add_development_dependency 'dns_mock', '~> 1.4', '>= 1.4.1'
spec.add_development_dependency 'bundler', '~> 2.2', '>= 2.2.28'
spec.add_development_dependency 'bundler-audit', '~> 0.9.0.1'
spec.add_development_dependency 'dns_mock', '~> 1.4', '>= 1.4.2'
spec.add_development_dependency 'fasterer', '~> 0.9.0'
spec.add_development_dependency 'ffaker', '~> 2.19'
spec.add_development_dependency 'json_matchers', '~> 0.11.1'
Expand All @@ -44,9 +44,9 @@ Gem::Specification.new do |spec|
spec.add_development_dependency 'rake', '~> 13.0', '>= 13.0.6'
spec.add_development_dependency 'reek', '~> 6.0', '>= 6.0.6'
spec.add_development_dependency 'rspec', '~> 3.10'
spec.add_development_dependency 'rubocop', '~> 1.19', '>= 1.19.1'
spec.add_development_dependency 'rubocop', '~> 1.22'
spec.add_development_dependency 'rubocop-performance', '~> 1.11', '>= 1.11.5'
spec.add_development_dependency 'rubocop-rspec', '~> 2.4'
spec.add_development_dependency 'rubocop-rspec', '~> 2.5'
spec.add_development_dependency 'simplecov', '~> 0.17.1'
spec.add_development_dependency 'truemail-rspec', '~> 0.7.0'
spec.add_development_dependency 'webmock', '~> 3.14'
Expand Down

0 comments on commit 36060cd

Please sign in to comment.