Skip to content

Commit

Permalink
Technical/Update gem dependencies (#124)
Browse files Browse the repository at this point in the history
* Updated gem development dependencies
* Updated rubocop config
* Refactored Truemail::Validator tests
  • Loading branch information
bestwebua authored Dec 30, 2020
1 parent 235e2e8 commit c358845
Show file tree
Hide file tree
Showing 6 changed files with 36 additions and 20 deletions.
9 changes: 9 additions & 0 deletions .rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -139,6 +139,9 @@ Style/SwapValues:
Style/RedundantArgument:
Enabled: true

Style/HashExcept:
Enabled: true

Layout/LineLength:
Max: 140

Expand Down Expand Up @@ -170,6 +173,9 @@ Layout/EmptyLinesAroundAttributeAccessor:
Layout/BeginEndAlignment:
Enabled: true

Layout/SpaceBeforeBrackets:
Enabled: true

Lint/NonDeterministicRequireOrder:
Enabled: false

Expand Down Expand Up @@ -266,6 +272,9 @@ Lint/UnmodifiedReduceAccumulator:
Lint/UnexpectedBlockArity:
Enabled: true

Lint/AmbiguousAssignment:
Enabled: true

Performance/AncestorsInclude:
Enabled: true

Expand Down
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.2.2] - 2020.12.30

### Changed

- Updated gem development dependencies
- Updated rubocop config

## [2.2.1] - 2020.12.06

### Fixed
Expand Down
30 changes: 15 additions & 15 deletions Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: .
specs:
truemail (2.2.1)
truemail (2.2.2)
simpleidn (~> 0.1.1)

GEM
Expand All @@ -17,7 +17,7 @@ GEM
colorize (0.8.1)
concurrent-ruby (1.1.7)
diff-lcs (1.4.4)
docile (1.3.2)
docile (1.3.4)
faker (2.15.1)
i18n (>= 1.6, < 2)
fasterer (0.8.3)
Expand All @@ -26,7 +26,7 @@ GEM
i18n (1.8.5)
concurrent-ruby (~> 1.0)
iniparse (1.5.0)
json (2.3.1)
json (2.5.1)
json_matchers (0.11.1)
json_schema
json_schema (0.20.9)
Expand All @@ -44,30 +44,30 @@ GEM
pry-byebug (3.9.0)
byebug (~> 11.0)
pry (~> 0.13.0)
psych (3.2.0)
psych (3.3.0)
rainbow (3.0.0)
rake (13.0.1)
rake (13.0.3)
reek (6.0.2)
kwalify (~> 0.7.0)
parser (>= 2.5.0.0, < 2.8, != 2.5.1.1)
psych (~> 3.1)
rainbow (>= 2.0, < 4.0)
regexp_parser (2.0.0)
regexp_parser (2.0.3)
rexml (3.2.4)
rspec (3.10.0)
rspec-core (~> 3.10.0)
rspec-expectations (~> 3.10.0)
rspec-mocks (~> 3.10.0)
rspec-core (3.10.0)
rspec-core (3.10.1)
rspec-support (~> 3.10.0)
rspec-expectations (3.10.0)
rspec-expectations (3.10.1)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.10.0)
rspec-mocks (3.10.0)
rspec-mocks (3.10.1)
diff-lcs (>= 1.2.0, < 2.0)
rspec-support (~> 3.10.0)
rspec-support (3.10.0)
rubocop (1.5.2)
rspec-support (3.10.1)
rubocop (1.7.0)
parallel (~> 1.10)
parser (>= 2.7.1.5)
rainbow (>= 2.2.2, < 4.0)
Expand All @@ -81,7 +81,7 @@ GEM
rubocop-performance (1.9.1)
rubocop (>= 0.90.0, < 2.0)
rubocop-ast (>= 0.4.0)
rubocop-rspec (2.0.1)
rubocop-rspec (2.1.0)
rubocop (~> 1.0)
rubocop-ast (>= 1.1.0)
ruby-progressbar (1.10.1)
Expand Down Expand Up @@ -116,12 +116,12 @@ DEPENDENCIES
json_matchers (~> 0.11.1)
overcommit (~> 0.57.0)
pry-byebug (~> 3.9)
rake (~> 13.0, >= 13.0.1)
rake (~> 13.0, >= 13.0.3)
reek (~> 6.0, >= 6.0.2)
rspec (~> 3.10)
rubocop (~> 1.5, >= 1.5.2)
rubocop (~> 1.7)
rubocop-performance (~> 1.9, >= 1.9.1)
rubocop-rspec (~> 2.0, >= 2.0.1)
rubocop-rspec (~> 2.1)
simplecov (~> 0.17.1)
truemail!
truemail-rspec (~> 0.3.3)
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.2.1'
VERSION = '2.2.2'
end
2 changes: 1 addition & 1 deletion spec/truemail/validator_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@

describe 'works with logs' do
context 'when logger configured' do
let(:logger_instance) { true }
let(:logger_instance) { instance_double('LoggerInstance') }

it 'pushes logs' do
expect(logger_instance).to receive(:push).with(validator_instance)
Expand Down
6 changes: 3 additions & 3 deletions truemail.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -40,12 +40,12 @@ Gem::Specification.new do |spec|
spec.add_development_dependency 'json_matchers', '~> 0.11.1'
spec.add_development_dependency 'overcommit', '~> 0.57.0'
spec.add_development_dependency 'pry-byebug', '~> 3.9'
spec.add_development_dependency 'rake', '~> 13.0', '>= 13.0.1'
spec.add_development_dependency 'rake', '~> 13.0', '>= 13.0.3'
spec.add_development_dependency 'reek', '~> 6.0', '>= 6.0.2'
spec.add_development_dependency 'rspec', '~> 3.10'
spec.add_development_dependency 'rubocop', '~> 1.5', '>= 1.5.2'
spec.add_development_dependency 'rubocop', '~> 1.7'
spec.add_development_dependency 'rubocop-performance', '~> 1.9', '>= 1.9.1'
spec.add_development_dependency 'rubocop-rspec', '~> 2.0', '>= 2.0.1'
spec.add_development_dependency 'rubocop-rspec', '~> 2.1'
spec.add_development_dependency 'simplecov', '~> 0.17.1'
spec.add_development_dependency 'truemail-rspec', '~> 0.3.3'
end

0 comments on commit c358845

Please sign in to comment.