Skip to content

Commit

Permalink
Technical/Update application dependencies (#52)
Browse files Browse the repository at this point in the history
* Updated runtime/development dependencies
* Updated CircleCI config
* Updated version, changelog
  • Loading branch information
bestwebua authored May 17, 2021
1 parent 51297fe commit 0b72db2
Show file tree
Hide file tree
Showing 6 changed files with 30 additions and 23 deletions.
20 changes: 9 additions & 11 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
defaults: &defaults
working_directory: ~/truemail-server
docker:
- image: circleci/ruby:2.6.6-node
- image: cimg/ruby:2.6.6
environment:
CC_TEST_REPORTER_ID: 2660931318841b527cd9d96fe9ad03e3b14f4e4f5b899d90246230120c70cffa

Expand Down Expand Up @@ -29,7 +29,7 @@ references:

install_codeclimate_reporter: &install_codeclimate_reporter
run:
name: Install Code Climate Test Reporter
name: Installing CodeClimate test reporter
command: |
curl -L https://codeclimate.com/downloads/test-reporter/test-reporter-latest-linux-amd64 > ./cc-test-reporter
chmod +x ./cc-test-reporter
Expand All @@ -48,7 +48,7 @@ jobs:
- <<: *save_bundle_cache

- run:
name: Running overcommit
name: Running Overcommit
command: |
bundle exec overcommit -s
SKIP=AuthorEmail,AuthorName bundle exec overcommit -r
Expand All @@ -66,25 +66,23 @@ jobs:
- <<: *install_codeclimate_reporter

- run:
name: Running tests
name: Running RSpec
command: |
mkdir /tmp/test-results
./cc-test-reporter before-build
bundle exec rspec
- run:
name: Code Climate Test Coverage
name: Creating CodeClimate test coverage report
command: |
./cc-test-reporter format-coverage -t simplecov -o "coverage/codeclimate.$CIRCLE_NODE_INDEX.json"
- store_test_results:
path: /tmp/test-results

- store_artifacts:
path: /tmp/test-results
destination: test-results
name: Saving Simplecov coverage artifacts
path: ~/truemail-server/coverage
destination: coverage

- deploy:
name: Uploading CodeClimate test coverage report
command: |
./cc-test-reporter sum-coverage --output - --parts $CIRCLE_NODE_TOTAL coverage/codeclimate.*.json | ./cc-test-reporter upload-coverage --debug --input -
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).

## [0.2.13] - 2021-05-17

### Changed

- Updated application dependencies (truemail 2.4.2)
- Updated development dependencies
- Updated application version
- Updated CircleCI config

## [0.2.12] - 2021-05-10

- Ability to use [MxBlacklist validation layer](https://truemail-rb.org/truemail-gem/#/validations-layers?id=mx-blacklist-validation)
Expand Down
2 changes: 1 addition & 1 deletion Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ ruby(File.read(File.join(File.dirname(__FILE__), '.ruby-version')).strip[/-(.+)/
gem 'dry-struct', '~> 1.4'
gem 'rack', '~> 2.2', '>= 2.2.3'
gem 'thin', '~> 1.8'
gem 'truemail', '~> 2.4', '>= 2.4.1'
gem 'truemail', '~> 2.4', '>= 2.4.2'

group :development, :test do
gem 'pry-byebug', '~> 3.9'
Expand Down
18 changes: 9 additions & 9 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ GEM
concurrent-ruby (1.1.8)
daemons (1.4.0)
diff-lcs (1.4.4)
docile (1.3.5)
docile (1.4.0)
dry-configurable (0.12.1)
concurrent-ruby (~> 1.0)
dry-core (~> 0.5, >= 0.5.0)
Expand Down Expand Up @@ -59,7 +59,7 @@ GEM
pry-byebug (3.9.0)
byebug (~> 11.0)
pry (~> 0.13.0)
psych (3.3.1)
psych (3.3.2)
rack (2.2.3)
rack-test (1.1.0)
rack (>= 1.0, < 3)
Expand Down Expand Up @@ -102,9 +102,9 @@ GEM
rubocop (~> 1.0)
rubocop-ast (>= 1.1.0)
ruby-progressbar (1.11.0)
ruby_parser (3.15.1)
sexp_processor (~> 4.9)
sexp_processor (4.15.2)
ruby_parser (3.16.0)
sexp_processor (~> 4.15, >= 4.15.1)
sexp_processor (4.15.3)
simplecov (0.17.1)
docile (~> 1.1)
json (>= 1.8, < 3)
Expand All @@ -117,15 +117,15 @@ GEM
eventmachine (~> 1.0, >= 1.0.4)
rack (>= 1, < 3)
thor (1.1.0)
truemail (2.4.1)
truemail (2.4.2)
simpleidn (~> 0.2.1)
unf (0.1.4)
unf_ext
unf_ext (0.0.7.7)
unicode-display_width (2.0.0)

PLATFORMS
ruby
x86_64-darwin-19

DEPENDENCIES
bundler-audit (~> 0.8.0)
Expand All @@ -143,10 +143,10 @@ DEPENDENCIES
rubocop-rspec (~> 2.3)
simplecov (~> 0.17.1)
thin (~> 1.8)
truemail (~> 2.4, >= 2.4.1)
truemail (~> 2.4, >= 2.4.2)

RUBY VERSION
ruby 2.6.6p146

BUNDLED WITH
1.17.2
2.2.17
2 changes: 1 addition & 1 deletion app/truemail_server/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# frozen_string_literal: true

module TruemailServer
VERSION = '0.2.12'
VERSION = '0.2.13'
end
2 changes: 1 addition & 1 deletion spec/support/config/simplecov.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,4 @@
require 'simplecov'

SimpleCov.minimum_coverage(100)
SimpleCov.start
SimpleCov.start { add_filter(%r{\A/spec/}) }

0 comments on commit 0b72db2

Please sign in to comment.