Skip to content

Commit

Permalink
Merge pull request #48 from truemail-rb/develop
Browse files Browse the repository at this point in the history
truemail-client v0.5.1
  • Loading branch information
bestwebua authored Aug 14, 2023
2 parents 372f305 + 878971e commit 8450137
Show file tree
Hide file tree
Showing 9 changed files with 23 additions and 11 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ defaults: &defaults
- image: cimg/ruby:<< parameters.ruby-version >>

orbs:
ruby: circleci/ruby@2.0.0
ruby: circleci/ruby@2.1.0

references:
bundle_install: &bundle_install
Expand Down
8 changes: 4 additions & 4 deletions .circleci/gemspecs/latest
Original file line number Diff line number Diff line change
Expand Up @@ -27,16 +27,16 @@ Gem::Specification.new do |spec|
spec.require_paths = %w[lib]

spec.add_development_dependency 'bundler-audit', '~> 0.9.1'
spec.add_development_dependency 'fasterer', '~> 0.10.0'
spec.add_development_dependency 'fasterer', '~> 0.10.1'
spec.add_development_dependency 'ffaker', '~> 2.21'
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.4'
spec.add_development_dependency 'rspec', '~> 3.12'
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 'rubocop', '~> 1.56'
spec.add_development_dependency 'rubocop-performance', '~> 1.19'
spec.add_development_dependency 'rubocop-rspec', '~> 2.23', '>= 2.23.2'
spec.add_development_dependency 'simplecov', '~> 0.22.0'
spec.add_development_dependency 'webmock', '~> 3.18', '>= 3.18.1'
end
3 changes: 3 additions & 0 deletions .circleci/linter_configs/.rubocop.yml
Original file line number Diff line number Diff line change
Expand Up @@ -110,6 +110,9 @@ Gemspec/RequireMFA:
Gemspec/RubyVersionGlobalsUsage:
Enabled: false

Gemspec/DevelopmentDependencies:
Enabled: false

# RSpec -----------------------------------------------------------------------

RSpec/ExampleLength:
Expand Down
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-45
channel: rubocop-1-56
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).

## [0.5.1] - 2023-08-14

### Updated

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

## [0.5.0] - 2023-02-18

### Added
Expand Down
4 changes: 2 additions & 2 deletions CODE_OF_CONDUCT.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ include:
Examples of unacceptable behavior by participants include:

* The use of sexualized language or imagery and unwelcome sexual attention or
advances
advances
* Trolling, insulting/derogatory comments, and personal or political attacks
* Public or private harassment
* Publishing others' private information, such as a physical or electronic
Expand Down Expand Up @@ -55,7 +55,7 @@ further defined and clarified by project maintainers.
## Enforcement

Instances of abusive, harassing, or otherwise unacceptable behavior may be
reported by contacting the project team at [email protected]. All
reported by contacting the project team at <[email protected]>. All
complaints will be reviewed and investigated and will result in a response that
is deemed necessary and appropriate to the circumstances. The project team is
obligated to maintain confidentiality with regard to the reporter of an incident.
Expand Down
2 changes: 1 addition & 1 deletion LICENSE.txt
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
The MIT License (MIT)

Copyright (c) 2020-2022 Vladislav Trotsenko
Copyright (c) 2020-2023 Vladislav Trotsenko

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand Down
2 changes: 1 addition & 1 deletion lib/truemail/client/version.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

module Truemail
module Client
VERSION = '0.5.0'
VERSION = '0.5.1'
end
end
2 changes: 1 addition & 1 deletion spec/support/helpers/request_helper_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def request(secure_connection:, host:, port:, token:, accept:, content_type:, us
path = ::URI::HTTP.build(
path: endpoint,
query: params.empty? ? nil : ::URI.encode_www_form(params)
).request_uri.gsub(/%40/, '@')
).request_uri.gsub('%40', '@')
request = ::Net::HTTP::Get.new(URI("#{secure_connection ? 'https' : 'http'}://#{host}:#{port}#{path}"))
request['User-Agent'] = user_agent
request['Accept'] = accept
Expand Down

0 comments on commit 8450137

Please sign in to comment.