smtp_mock 1.2.1 → 1.2.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 70712db1d51d5327492ecb730f29e5019b68c33529c81bdacc96422917dcae1d
4
- data.tar.gz: e70d2ea9e434ee4242e5ad9317894cec1ff89afa2e49e549554c68dae1ed6828
3
+ metadata.gz: 81b2778a019cbd2da371fb35e7f13c6a00bde745f3282b37e1b3c99be6832868
4
+ data.tar.gz: cb12eb6af66cd0617696099af93f7f0cc988b2acb307c1ee99fe8e311706b0f4
5
5
  SHA512:
6
- metadata.gz: 38dd0ed89c25be25121fcfc4ddeb3261ba3cc3e75517510830b828ea895a662e273d11b2450bf1fe116f865f815ba19e59969a07cc2e44255bb8818a213adad4
7
- data.tar.gz: 4755aa41982aacac8bf45935e69928d7379185b38e8049fe377d3be2ea8769b1d3e6a019d08f5e6d7daa31e6e0b9c89b7b9139b47b24d57c8e80aa8025b6a82f
6
+ metadata.gz: 2f3d18d3d2061ae6d2b68c0fa3208771364c6bec3edef8e801374f72a73cc319081e4e8801245e9f48541b099f1087ce0ffea4038e056ae608bec97c0ce66ba8
7
+ data.tar.gz: e9eaa27cabb82d68fd988443a69fa24ac4a8111dd1d86d74da9322e3aceabb3b5fd637d6a033038e44f90df6a4904af70db41941fa1e5351d2f816deb3913755
data/.circleci/config.yml CHANGED
@@ -122,7 +122,7 @@ jobs:
122
122
  - checkout
123
123
  - <<: *use_compatible_gemspec
124
124
  - ruby/install-deps:
125
- bundler-version: "2.3.18"
125
+ bundler-version: "2.3.23"
126
126
  with-cache: false
127
127
  path: './vendor/custom_bundle'
128
128
  - <<: *system_dependencies
@@ -34,14 +34,14 @@ Gem::Specification.new do |spec|
34
34
  spec.add_development_dependency 'bundler-audit', '~> 0.9.1'
35
35
  spec.add_development_dependency 'fasterer', '~> 0.10.0'
36
36
  spec.add_development_dependency 'ffaker', '~> 2.21'
37
- spec.add_development_dependency 'net-smtp', '~> 0.3.1'
37
+ spec.add_development_dependency 'net-smtp', '~> 0.3.2'
38
38
  spec.add_development_dependency 'overcommit', '~> 0.59.1'
39
- spec.add_development_dependency 'pry-byebug', '~> 3.9'
39
+ spec.add_development_dependency 'pry-byebug', '~> 3.10', '>= 3.10.1'
40
40
  spec.add_development_dependency 'rake', '~> 13.0', '>= 13.0.6'
41
41
  spec.add_development_dependency 'reek', '~> 6.1', '>= 6.1.1'
42
42
  spec.add_development_dependency 'rspec', '~> 3.11'
43
- spec.add_development_dependency 'rubocop', '~> 1.32'
44
- spec.add_development_dependency 'rubocop-performance', '~> 1.14', '>= 1.14.3'
45
- spec.add_development_dependency 'rubocop-rspec', '~> 2.12', '>= 2.12.1'
43
+ spec.add_development_dependency 'rubocop', '~> 1.36'
44
+ spec.add_development_dependency 'rubocop-performance', '~> 1.15'
45
+ spec.add_development_dependency 'rubocop-rspec', '~> 2.13', '>= 2.13.2'
46
46
  spec.add_development_dependency 'simplecov', '~> 0.21.2'
47
47
  end
data/.codeclimate.yml CHANGED
@@ -7,7 +7,7 @@ checks:
7
7
  plugins:
8
8
  rubocop:
9
9
  enabled: true
10
- channel: rubocop-1-32
10
+ channel: rubocop-1-36
11
11
 
12
12
  reek:
13
13
  enabled: true
data/CHANGELOG.md CHANGED
@@ -2,6 +2,20 @@
2
2
 
3
3
  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).
4
4
 
5
+ ## [1.2.2] - 2022-10-05
6
+
7
+ ### Fixed
8
+
9
+ - Fixed wrong semantic version comparison in `SmtpMock::Dependency#minimal_version?`
10
+
11
+ ### Updated
12
+
13
+ - Updated gemspecs
14
+ - Updated tests
15
+ - Updated codeclimate/circleci configs
16
+ - Updated gem development dependencies
17
+ - Updated gem version
18
+
5
19
  ## [1.2.1] - 2022-07-27
6
20
 
7
21
  ### Fixed
@@ -36,7 +36,7 @@ module SmtpMock
36
36
  private
37
37
 
38
38
  def minimal_version?(current_version)
39
- !!current_version && current_version >= SmtpMock::SMTPMOCK_MIN_VERSION
39
+ !!current_version && ::Gem::Version.new(current_version) >= ::Gem::Version.new(SmtpMock::SMTPMOCK_MIN_VERSION)
40
40
  end
41
41
  end
42
42
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module SmtpMock
4
- VERSION = '1.2.1'
4
+ VERSION = '1.2.2'
5
5
  end
data/smtp_mock.gemspec CHANGED
@@ -32,7 +32,7 @@ Gem::Specification.new do |spec|
32
32
  spec.add_runtime_dependency 'dry-struct', '~> 1.4'
33
33
 
34
34
  spec.add_development_dependency 'ffaker', '~> 2.21'
35
- spec.add_development_dependency 'net-smtp', '~> 0.3.1' if ::RUBY_VERSION >= '3.1.0'
35
+ spec.add_development_dependency 'net-smtp', '~> 0.3.2' if ::RUBY_VERSION >= '3.1.0'
36
36
  spec.add_development_dependency 'rake', '~> 13.0', '>= 13.0.6'
37
37
  spec.add_development_dependency 'rspec', '~> 3.11'
38
38
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: smtp_mock
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.1
4
+ version: 1.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vladislav Trotsenko
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-07-26 00:00:00.000000000 Z
11
+ date: 2022-10-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: dry-struct