genderize-io 1.2.1 → 1.2.2

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: b0bfa131c7e48eac55e7da3fbf184540049514a3a9fc5970f26d2a9ab175f51c
4
- data.tar.gz: 989d8c9470a4dfc4a8120b1d3f382228b10d0da50eaa7cbd03c9d9fb571920a2
3
+ metadata.gz: d97f694cd9d6f26d8263dc23af8766af0b11af488455a680c147d08dc86dc7f0
4
+ data.tar.gz: e01d99a26df53237e73cc7f606103d3e90277743c994af2e9d5598450babbc86
5
5
  SHA512:
6
- metadata.gz: a671f5c4202a3cf3fc8f98f0ce8416f71b3998622bba16db0bff2b38666275163c39a46ff584a7c9485b3bbf6e0f3e7ab2e7c9b94cdd8758cc75bb20907dcdf8
7
- data.tar.gz: '086e6e570cb4b80b6d3f64834faabaea63967a9c1d68f73c1debc70d862db896392dc4af815db463d3ec955250ff78a17944b2a2f9d934efcda99fe69869fd99'
6
+ metadata.gz: 8909ce34c5924cd23df28c586da27ee31af03893bceeca81b37c72ed3aefe691cfcb949b8cf6cdc847a416f5c43a45f26b24e0b968663efc53b796f3fae13dac
7
+ data.tar.gz: 7264b5770065ca8676c7ddb21321048bbfd161d6622d75337e878120748f9690655a266332337f480e6fbd60d4e48bd8ef0d5d6d4fc2aee6b7abce0f802ab617
data/.rubocop.yml CHANGED
@@ -6,6 +6,8 @@ AllCops:
6
6
  NewCops: enable
7
7
  DisplayCopNames: true
8
8
  DisplayStyleGuide: true
9
+ Gemspec/RequiredRubyVersion:
10
+ Enabled: false
9
11
  Layout/EmptyLinesAroundAttributeAccessor:
10
12
  Enabled: true
11
13
  Layout/EmptyLinesAroundBlockBody:
data/CHANGELOG.md CHANGED
@@ -6,6 +6,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
6
6
 
7
7
  ## [Unreleased]
8
8
 
9
+ ## [1.2.2] - 2020-07-05
10
+ ### Changed
11
+ - Linter fixes
12
+
9
13
  ## [1.2.1] - 2020-07-03
10
14
  ### Added
11
15
  - Added Ruby 2.7 support
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- genderize-io (1.2.1)
4
+ genderize-io (1.2.2)
5
5
  agents
6
6
  typhoeus
7
7
 
@@ -11,64 +11,65 @@ GEM
11
11
  addressable (2.7.0)
12
12
  public_suffix (>= 2.0.2, < 5.0)
13
13
  agents (0.1.4)
14
- ast (2.4.1)
14
+ ast (2.4.2)
15
15
  colorize (0.8.1)
16
- crack (0.4.3)
17
- safe_yaml (~> 1.0.0)
16
+ crack (0.4.5)
17
+ rexml
18
18
  diff-lcs (1.4.4)
19
- ethon (0.12.0)
20
- ffi (>= 1.3.0)
21
- fasterer (0.8.3)
19
+ ethon (0.14.0)
20
+ ffi (>= 1.15.0)
21
+ fasterer (0.9.0)
22
22
  colorize (~> 0.7)
23
23
  ruby_parser (>= 3.14.1)
24
- ffi (1.13.1)
24
+ ffi (1.15.0)
25
25
  hashdiff (1.0.1)
26
- parallel (1.19.2)
27
- parser (2.7.1.4)
26
+ parallel (1.20.1)
27
+ parser (3.0.1.1)
28
28
  ast (~> 2.4.1)
29
- public_suffix (4.0.5)
29
+ public_suffix (4.0.6)
30
30
  rainbow (3.0.0)
31
- rake (13.0.1)
32
- regexp_parser (1.7.1)
33
- rexml (3.2.4)
34
- rspec (3.9.0)
35
- rspec-core (~> 3.9.0)
36
- rspec-expectations (~> 3.9.0)
37
- rspec-mocks (~> 3.9.0)
38
- rspec-core (3.9.2)
39
- rspec-support (~> 3.9.3)
40
- rspec-expectations (3.9.2)
31
+ rake (13.0.3)
32
+ regexp_parser (2.1.1)
33
+ rexml (3.2.5)
34
+ rspec (3.10.0)
35
+ rspec-core (~> 3.10.0)
36
+ rspec-expectations (~> 3.10.0)
37
+ rspec-mocks (~> 3.10.0)
38
+ rspec-core (3.10.1)
39
+ rspec-support (~> 3.10.0)
40
+ rspec-expectations (3.10.1)
41
41
  diff-lcs (>= 1.2.0, < 2.0)
42
- rspec-support (~> 3.9.0)
43
- rspec-mocks (3.9.1)
42
+ rspec-support (~> 3.10.0)
43
+ rspec-mocks (3.10.2)
44
44
  diff-lcs (>= 1.2.0, < 2.0)
45
- rspec-support (~> 3.9.0)
46
- rspec-support (3.9.3)
47
- rubocop (0.86.0)
45
+ rspec-support (~> 3.10.0)
46
+ rspec-support (3.10.2)
47
+ rubocop (1.14.0)
48
48
  parallel (~> 1.10)
49
- parser (>= 2.7.0.1)
49
+ parser (>= 3.0.0.0)
50
50
  rainbow (>= 2.2.2, < 4.0)
51
- regexp_parser (>= 1.7)
51
+ regexp_parser (>= 1.8, < 3.0)
52
52
  rexml
53
- rubocop-ast (>= 0.0.3, < 1.0)
53
+ rubocop-ast (>= 1.5.0, < 2.0)
54
54
  ruby-progressbar (~> 1.7)
55
- unicode-display_width (>= 1.4.0, < 2.0)
56
- rubocop-ast (0.1.0)
57
- parser (>= 2.7.0.1)
58
- rubocop-performance (1.6.1)
59
- rubocop (>= 0.71.0)
60
- rubocop-rspec (1.41.0)
61
- rubocop (>= 0.68.1)
62
- ruby-progressbar (1.10.1)
63
- ruby_parser (3.14.2)
55
+ unicode-display_width (>= 1.4.0, < 3.0)
56
+ rubocop-ast (1.5.0)
57
+ parser (>= 3.0.1.1)
58
+ rubocop-performance (1.11.3)
59
+ rubocop (>= 1.7.0, < 2.0)
60
+ rubocop-ast (>= 0.4.0)
61
+ rubocop-rspec (2.3.0)
62
+ rubocop (~> 1.0)
63
+ rubocop-ast (>= 1.1.0)
64
+ ruby-progressbar (1.11.0)
65
+ ruby_parser (3.15.1)
64
66
  sexp_processor (~> 4.9)
65
- safe_yaml (1.0.5)
66
- sexp_processor (4.15.0)
67
+ sexp_processor (4.15.2)
67
68
  typhoeus (1.4.0)
68
69
  ethon (>= 0.9.0)
69
- unicode-display_width (1.7.0)
70
+ unicode-display_width (2.0.0)
70
71
  vcr (6.0.0)
71
- webmock (3.8.3)
72
+ webmock (3.12.2)
72
73
  addressable (>= 2.3.6)
73
74
  crack (>= 0.3.2)
74
75
  hashdiff (>= 0.4.0, < 2.0.0)
@@ -89,4 +90,4 @@ DEPENDENCIES
89
90
  webmock
90
91
 
91
92
  BUNDLED WITH
92
- 2.1.4
93
+ 2.2.17
@@ -7,8 +7,8 @@ module Genderize
7
7
  module Io
8
8
  class Base
9
9
 
10
- DEFAULT_HOST ||= 'https://api.genderize.io'
11
- HEADER_KEYS ||= %w[
10
+ DEFAULT_HOST = 'https://api.genderize.io'
11
+ HEADER_KEYS = %w[
12
12
  x_rate_limit_limit x_rate_limit_remaining x_rate_reset
13
13
  ].freeze
14
14
 
@@ -4,7 +4,7 @@ module Genderize
4
4
  module Io
5
5
  class Lookup < Genderize::Io::Base
6
6
 
7
- RESPONSE_KEYS ||= %w[
7
+ RESPONSE_KEYS = %w[
8
8
  count country_id error language_id gender probability
9
9
  ].freeze
10
10
 
@@ -3,7 +3,7 @@
3
3
  module Genderize
4
4
  module Io
5
5
 
6
- VERSION ||= '1.2.1'
6
+ VERSION = '1.2.2'
7
7
 
8
8
  end
9
9
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: genderize-io
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.1
4
+ version: 1.2.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Juan Gomez
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-07-03 00:00:00.000000000 Z
11
+ date: 2021-05-07 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: agents
@@ -212,7 +212,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
212
212
  - !ruby/object:Gem::Version
213
213
  version: '0'
214
214
  requirements: []
215
- rubygems_version: 3.1.4
215
+ rubygems_version: 3.2.17
216
216
  signing_key:
217
217
  specification_version: 4
218
218
  summary: Genderize.io Ruby SDK for interacting with the Genderize.io API.