Skip to content

Commit

Permalink
Merge pull request #258 from truemail-rb/develop
Browse files Browse the repository at this point in the history
Truemail v3.0.6
  • Loading branch information
bestwebua authored Feb 17, 2023
2 parents 34b6e36 + f4d403e commit 42841c5
Show file tree
Hide file tree
Showing 6 changed files with 33 additions and 34 deletions.
41 changes: 15 additions & 26 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,29 +11,17 @@ orbs:
ruby: circleci/ruby@2.0.0

references:
restore_bundle_cache: &restore_bundle_cache
restore_cache:
keys:
- truemail-{{ checksum "truemail.gemspec" }}

bundle_install: &bundle_install
run:
name: Installing gems
command: |
bundle config set --local path '~/vendor/bundle'
bundle install
save_bundle_cache: &save_bundle_cache
save_cache:
key: truemail-{{ checksum "truemail.gemspec" }}
paths:
- ~/vendor/bundle

install_system_dependencies: &install_system_dependencies
run:
name: Installing system dependencies
command: |
bundle exec smtp_mock -s -i ~
command: bundle exec smtp_mock -s -i ~

install_linters: &install_linters
run:
Expand All @@ -53,17 +41,20 @@ references:
curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
chmod +x ./cc-test-reporter
use_latest_bundler: &use_latest_bundler
run:
name: Using latest bundler
command: gem install bundler

use_latest_gemspec: &use_latest_gemspec
run:
name: Using latest gemspec
command: |
cp .circleci/gemspecs/latest truemail.gemspec
command: cp .circleci/gemspecs/latest truemail.gemspec

use_compatible_gemspec: &use_compatible_gemspec
run:
name: Using compatible gemspec
command: |
cp .circleci/gemspecs/compatible truemail.gemspec
command: cp .circleci/gemspecs/compatible truemail.gemspec

jobs:
linters-ruby:
Expand All @@ -76,10 +67,9 @@ jobs:
steps:
- checkout

- <<: *use_latest_bundler
- <<: *use_latest_gemspec
- <<: *restore_bundle_cache
- <<: *bundle_install
- <<: *save_bundle_cache
- <<: *install_linters

- run:
Expand Down Expand Up @@ -112,10 +102,9 @@ jobs:
steps:
- checkout

- <<: *use_latest_bundler
- <<: *use_latest_gemspec
- <<: *restore_bundle_cache
- <<: *bundle_install
- <<: *save_bundle_cache
- <<: *install_system_dependencies
- <<: *install_codeclimate_reporter

Expand Down Expand Up @@ -163,7 +152,7 @@ jobs:
name: Running compatibility tests
command: bundle exec rspec

building-rubygems-dependencies-from-ruby:
rubygems-deps-ruby:
parameters:
ruby-version:
type: string
Expand All @@ -177,7 +166,7 @@ jobs:
name: Building rubygems dependencies from default gemspec on minimal Ruby version
command: bundle install

releasing-gem-from-ruby:
releasing-gem-ruby:
parameters:
ruby-version:
type: string
Expand Down Expand Up @@ -210,16 +199,16 @@ workflows:
matrix:
parameters:
ruby-version: ["2.5", "2.6", "2.7", "3.0", "3.1"]
- building-rubygems-dependencies-from-ruby:
- rubygems-deps-ruby:
matrix:
parameters:
ruby-version: ["2.5"]
- releasing-gem-from-ruby:
- releasing-gem-ruby:
requires:
- linters-ruby
- tests-ruby
- compatibility-ruby
- building-rubygems-dependencies-from-ruby
- rubygems-deps-ruby
matrix:
parameters:
ruby-version: ["2.5"]
Expand Down
10 changes: 5 additions & 5 deletions .circleci/gemspecs/latest
Original file line number Diff line number Diff line change
Expand Up @@ -26,13 +26,13 @@ Gem::Specification.new do |spec|
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.0', '>= 13.0.6'
spec.add_development_dependency 'reek', '~> 6.1', '>= 6.1.3'
spec.add_development_dependency 'reek', '~> 6.1', '>= 6.1.4'
spec.add_development_dependency 'rspec', '~> 3.12'
spec.add_development_dependency 'rubocop', '~> 1.42'
spec.add_development_dependency 'rubocop-performance', '~> 1.15', '>= 1.15.2'
spec.add_development_dependency 'rubocop-rspec', '~> 2.16'
spec.add_development_dependency 'rubocop', '~> 1.45', '>= 1.45.1'
spec.add_development_dependency 'rubocop-performance', '~> 1.16'
spec.add_development_dependency 'rubocop-rspec', '~> 2.18', '>= 2.18.1'
spec.add_development_dependency 'simplecov', '~> 0.22.0'
spec.add_development_dependency 'smtp_mock', '~> 1.3', '>= 1.3.4'
spec.add_development_dependency 'truemail-rspec', '~> 1.0'
spec.add_development_dependency 'truemail-rspec', '~> 1.1'
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 @@ -9,7 +9,7 @@ checks:
plugins:
rubocop:
enabled: true
channel: rubocop-1-42
channel: rubocop-1-45
config:
file: .circleci/linter_configs/.rubocop.yml

Expand Down
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.6] - 2023.02.17

### Updated

- Updated development dependencies
- Updated gemspecs
- Updated `rubocop`/`codeclimate`/`circleci` configs
- Updated gem version

## [3.0.5] - 2023.01.12

### Added
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.5'
VERSION = '3.0.6'
end
3 changes: 2 additions & 1 deletion truemail.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@ 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.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.15'
Expand All @@ -34,6 +35,6 @@ Gem::Specification.new do |spec|
spec.add_development_dependency 'rake', '~> 13.0', '>= 13.0.6'
spec.add_development_dependency 'rspec', '~> 3.12'
spec.add_development_dependency 'smtp_mock', '~> 1.3', '>= 1.3.4'
spec.add_development_dependency 'truemail-rspec', '~> 1.0'
spec.add_development_dependency 'truemail-rspec', '~> 1.1'
spec.add_development_dependency 'webmock', '~> 3.18', '>= 3.18.1'
end

0 comments on commit 42841c5

Please sign in to comment.