All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog and this project adheres to Semantic Versioning.
0.12.0 - 2021-04-26
- Set the gem development Ruby version to Ruby
3.0.1
- Ensured compatibility with Ruby
3.0
- Updated the API client to handle internal Loqate errors such as
502
:
JSON::ParserError (767: unexpected token at '<html><head>)
<meta http-equiv="content-type" content="text/html;charset=utf-8">
<title>502 Server Error</title>
</head>
<body text=#000000 bgcolor=#ffffff>
<h1>Error: Server Error</h1>
<h2>The server encountered a temporary error and could not complete your request.<p>Please try again in 30 seconds.</h2>
<h2></h2>
</body></html>
0.11.1 - 2021-04-26
- Fixed the allowed values of the enum
Phone::PhoneNumberValidation::IsValid
by addingMaybe
as a valid value.
0.11.0 - 2021-01-29
- Updated
bundler
to version2.1
- Updated
guard
to version2.16
- Updated
guard-bundler
to version3.0
- Updated
guard-rubocop
to version1.3
- Updated
overcommit
to version0.53
- Updated
pry
to version0.13
- Updated
rubocop
to version0.85
- Updated
rubocop-rspec
to version1.39
- Updated
simplecov-console
to version0.7
- Updated
vcr
to version6.0
- Updated
webmock
to version3.8
- Enabled the newest RuboCop rules
- Set the local development Ruby version to 2.7.1
- Removed the attribute
is_complainer_or_fraud_risk
fromEmailValidation
. It is no longer supported by Loqate's API and will always returnfalse
.
- Fixed the type coercion of the attribute
duration
on theEmailValidation
class:
[Loqate::Email::EmailValidation.new] 0 (Integer) has invalid type for :duration violates
constraints (type?(Float, 0) failed)
0.10.4 - 2020-05-08
- Updated
HTTP
to version4.3
- Updated
Rake
to version12.3
- Fixed an incompatibility with Ruby 2.7
0.10.3 - 2020-01-13
- Updated Rubocop to version
0.78
- Fixed the keyword arguments deprecation warning introduced in Ruby
2.7
- Added additional build versions (
2.5
,2.6
,2.7
andjruby
) on Travis CI
0.10.2 - 2019-12-31
- Relaxed the dependency on
bundler
to support Bundler 2.x and later - Replaced
.ruby-versions
with.tools-versions
becauseasdf
is a modular package manager for all languages - Set the Ruby development version to
2.6.5
- Renamed
Dry::Struct::Value
toDry::Struct
to fix a deprecation warning - Renamed
Dry::Types.module
toDry.Types()
to fix a deprecation warning
0.10.1 - 2019-04-29
- Updated
dry-struct
to version1.0
, which has a more stable API
0.10.0 - 2018-12-12
- A service to find the nearest places around a given coordinate
- Disabled the Yardstick rules
ExampleTag
,ReturnTag
andSummary::Presence
.
0.9.0 - 2018-12-11
- Geocoding service of the Geocoding API
- A service to calculate the country a given location is within
0.8.0 - 2018-12-10
- Distance service of the Geocoding API
0.7.0 - 2018-12-03
- Moved the
Address
,Email
andPhone
APIs into their own namespaces
0.6.0 - 2018-12-03
- Bank API
0.5.0 - 2018-11-20
- Email API
0.4.0 - 2018-11-14
- Updated the gem
HTTP
to version4.0.0
- Added the header
Accept: application/json
to every request - Simplified the Value Objects with Dry-Struct
- A License (MIT)
- Phone API
0.3.0 - 2018-11-10
address.retrieve
andaddress.find
return a single error, not an array with a single itemaddress.retrieve
returns a single address, not an array of addressesLoqate::Error
inherits fromStandardError
so that it can be raised as an exception- Improved the documentation of
Success
andFailure
find!
to find an address or raise an exceptionretrieve!
to retrieve the details of an address or raise an exception- Aliased
Failure#value
toFailure#error
- Fixed the documentation of
AddressGateway
0.2.0 - 2018-10-31
- VCR and WebMock to record HTTP interactions
- A file to hold a development API key (
.api_key
) - A ruby version dotfile (
.ruby-version
) - Core of the gem
- Address API
- Document the available code maintenance Rake tasks.
- Initial core functionality
- Codebase maintenance tools