loqate 0.10.2 → 0.10.3

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: 8b4390ffdee4320c50814836998e21876994357d8aa511003ecfef7572284447
4
- data.tar.gz: 7301f167946099a2bdd07163b23d621da9171a0c5da09c5817cde40a04bf13f3
3
+ metadata.gz: 3858dfd8b717efbd5b6c7570cf29e14515e1c5f25d2a9a7d2957b55d5fac3da5
4
+ data.tar.gz: 5ab2ee5fa102b3d9f05076f3f7f3be6d55fca5467df23158141f288150588962
5
5
  SHA512:
6
- metadata.gz: 93e7c4f6f992b0cb3eae1cc51a98f7b8977a0b78214f1cadeaebc424c05752d6b9d2d630e7322989d197a35ad0d6b8beb9ccd129367cebb404c817b0ad16a7c1
7
- data.tar.gz: 214b9dfa4dc5a311083ce5f0f96cac69f3643d059c7c8db0bd4c60d563a85d3c218d1e6b7b2d537037ed121b67c8bc8ff655347e5c5a877eb7655af7464aaa0d
6
+ metadata.gz: 19b59d7c7a2ad31f42805c67fa9dcb38b404583f98b9efdb2adc2d4ad8514ae734e7c54fcbfcf1675b1853858babe03b35ad118c7e58b5a7ff1b94a01e5c3507
7
+ data.tar.gz: 93a1ad33d4e7ae40c7c4455c0625e6549bbef8a9b0f286ebadd8c794a4725441d4a2242626665b6714fd45f93240ed19663124f3842b93d18110ab45f5fef98b
@@ -3,6 +3,11 @@ require: rubocop-rspec
3
3
  AllCops:
4
4
  DisplayCopNames: true
5
5
 
6
+ # ---------------------- Layout -----------------------
7
+
8
+ Layout/LineLength:
9
+ Max: 120
10
+
6
11
  # ---------------------- Metrics ----------------------
7
12
 
8
13
  Metrics/BlockLength:
@@ -10,9 +15,6 @@ Metrics/BlockLength:
10
15
  - spec/**/*_spec.rb
11
16
  - loqate.gemspec
12
17
 
13
- Metrics/LineLength:
14
- Max: 120
15
-
16
18
  Naming/MethodName:
17
19
  Exclude:
18
20
  - lib/loqate/result.rb
@@ -8,7 +8,10 @@ env:
8
8
  - CC_TEST_REPORTER_ID=b25183239ab212ebe6b73b13e25fe32ff06b542836e2e1d8786fa8966954b63f
9
9
 
10
10
  rvm:
11
- - 2.5.1
11
+ - 2.5
12
+ - 2.6
13
+ - 2.7
14
+ - jruby
12
15
 
13
16
  before_install: gem install bundler -v 1.16.5
14
17
 
@@ -4,7 +4,15 @@ All notable changes to this project will be documented in this file.
4
4
  The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/)
5
5
  and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
6
6
 
7
- ## [0.10.1] - 2019-12-31
7
+ ## [0.10.3] - 2020-01-13
8
+ ### Changed
9
+ - Updated Rubocop to version `0.78`
10
+ - Fixed the keyword arguments deprecation warning introduced in Ruby `2.7`
11
+
12
+ ## Added
13
+ - Added additional build versions (`2.5`, `2.6`, `2.7` and `jruby`) on Travis CI
14
+
15
+ ## [0.10.2] - 2019-12-31
8
16
  ### Changed
9
17
  - Relaxed the dependency on `bundler` to support Bundler 2.x and later
10
18
  - Replaced `.ruby-versions` with `.tools-versions` because `asdf` is a modular package manager for all languages
@@ -87,6 +95,8 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
87
95
  - Initial core functionality
88
96
  - Codebase maintenance tools
89
97
 
98
+ [0.10.3]: https://github.com/wilsonsilva/loqate/compare/v0.10.2...v0.10.3
99
+ [0.10.2]: https://github.com/wilsonsilva/loqate/compare/v0.10.1...v0.10.2
90
100
  [0.10.1]: https://github.com/wilsonsilva/loqate/compare/v0.10.0...v0.10.1
91
101
  [0.10.0]: https://github.com/wilsonsilva/loqate/compare/v0.9.0...v0.10.0
92
102
  [0.9.0]: https://github.com/wilsonsilva/loqate/compare/v0.8.0...v0.9.0
@@ -22,8 +22,8 @@ module Loqate
22
22
  #
23
23
  # @see Configuration
24
24
  #
25
- def initialize(options)
26
- @config = Configuration.new(options)
25
+ def initialize(**options)
26
+ @config = Configuration.new(**options)
27
27
  @client = Client.new(config)
28
28
  end
29
29
 
@@ -25,7 +25,7 @@ module Loqate
25
25
  attributes = item.transform_keys { |attribute| Util.underscore(attribute) }
26
26
  attributes[:id] = attributes.delete(:error).to_i
27
27
 
28
- Loqate::Error.new(attributes)
28
+ Loqate::Error.new(**attributes)
29
29
  end
30
30
  end
31
31
  end
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module Loqate
4
- VERSION = '0.10.2'
4
+ VERSION = '0.10.3'
5
5
  end
@@ -38,7 +38,7 @@ Gem::Specification.new do |spec|
38
38
  spec.add_development_dependency 'pry', '~> 0.11'
39
39
  spec.add_development_dependency 'rake', '~> 10.0'
40
40
  spec.add_development_dependency 'rspec', '~> 3.0'
41
- spec.add_development_dependency 'rubocop', '~> 0.59'
41
+ spec.add_development_dependency 'rubocop', '~> 0.78'
42
42
  spec.add_development_dependency 'rubocop-rspec', '~> 1.29'
43
43
  spec.add_development_dependency 'simplecov', '~> 0.16'
44
44
  spec.add_development_dependency 'simplecov-console', '~> 0.4'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: loqate
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.10.2
4
+ version: 0.10.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Wilson Silva
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-12-31 00:00:00.000000000 Z
11
+ date: 2020-01-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: dry-struct
@@ -198,14 +198,14 @@ dependencies:
198
198
  requirements:
199
199
  - - "~>"
200
200
  - !ruby/object:Gem::Version
201
- version: '0.59'
201
+ version: '0.78'
202
202
  type: :development
203
203
  prerelease: false
204
204
  version_requirements: !ruby/object:Gem::Requirement
205
205
  requirements:
206
206
  - - "~>"
207
207
  - !ruby/object:Gem::Version
208
- version: '0.59'
208
+ version: '0.78'
209
209
  - !ruby/object:Gem::Dependency
210
210
  name: rubocop-rspec
211
211
  requirement: !ruby/object:Gem::Requirement