genderize-io 1.2.0 → 1.2.1

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: 1c70aa532119519cef8bccf2bef58bbdb9afdcba8abd4f88fe0b6a8621eaef4c
4
- data.tar.gz: 466736b3a9127dd5260914a80a46ddf91e670603105fbb79077fc16f2d07eed2
3
+ metadata.gz: b0bfa131c7e48eac55e7da3fbf184540049514a3a9fc5970f26d2a9ab175f51c
4
+ data.tar.gz: 989d8c9470a4dfc4a8120b1d3f382228b10d0da50eaa7cbd03c9d9fb571920a2
5
5
  SHA512:
6
- metadata.gz: 3dd1223fd6f72fac667d2c1a5d1cbb33655bf7831b6b6dbb0c0fa3e702fcda45efbe872f50144467b55b1b7618934ab5c20e35df0686019b8486735423fefe88
7
- data.tar.gz: 55a29a8e3ddb9044de27ec9dfe1e4b23bea78f96f0fa08bcae0159332a9324cc7e2cb529cdad01cd8a09735f6855c7960ec726c6de3f3f636a6ab8052db7dcd7
6
+ metadata.gz: a671f5c4202a3cf3fc8f98f0ce8416f71b3998622bba16db0bff2b38666275163c39a46ff584a7c9485b3bbf6e0f3e7ab2e7c9b94cdd8758cc75bb20907dcdf8
7
+ data.tar.gz: '086e6e570cb4b80b6d3f64834faabaea63967a9c1d68f73c1debc70d862db896392dc4af815db463d3ec955250ff78a17944b2a2f9d934efcda99fe69869fd99'
@@ -2,9 +2,12 @@ require:
2
2
  - rubocop-performance
3
3
  - rubocop-rspec
4
4
  AllCops:
5
- TargetRubyVersion: 2.6
5
+ TargetRubyVersion: 2.7
6
+ NewCops: enable
6
7
  DisplayCopNames: true
7
8
  DisplayStyleGuide: true
9
+ Layout/EmptyLinesAroundAttributeAccessor:
10
+ Enabled: true
8
11
  Layout/EmptyLinesAroundBlockBody:
9
12
  Exclude:
10
13
  - 'spec/**/**/*'
@@ -12,12 +15,18 @@ Layout/EmptyLinesAroundClassBody:
12
15
  EnforcedStyle: empty_lines_except_namespace
13
16
  Layout/EmptyLinesAroundModuleBody:
14
17
  EnforcedStyle: empty_lines_except_namespace
18
+ Layout/LineLength:
19
+ Max: 100
20
+ Layout/SpaceAroundMethodCallOperator:
21
+ Enabled: true
22
+ Lint/RaiseException:
23
+ Enabled: true
24
+ Lint/StructNewOverride:
25
+ Enabled: true
15
26
  Metrics/BlockLength:
16
27
  Exclude:
17
28
  - 'spec/**/**/*'
18
29
  - '*.gemspec'
19
- Metrics/LineLength:
20
- Max: 100
21
30
  RSpec/ExampleLength:
22
31
  Enabled: false
23
32
  RSpec/MultipleExpectations:
@@ -4,6 +4,7 @@ cache: bundler
4
4
  rvm:
5
5
  - 2.5
6
6
  - 2.6
7
+ - 2.7
7
8
  - ruby-head
8
9
  matrix:
9
10
  fast_finish: true
@@ -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.1] - 2020-07-03
10
+ ### Added
11
+ - Added Ruby 2.7 support
12
+
9
13
  ## [1.2.0] - 2019-11-17
10
14
  ### Added
11
15
  - Added CHANGELOG.md
data/Gemfile CHANGED
@@ -2,5 +2,5 @@
2
2
 
3
3
  source 'https://rubygems.org'
4
4
 
5
- # Specify your gem's dependencies in lite-ruby.gemspec
5
+ # Specify your gem's dependencies in genderize-io.gemspec
6
6
  gemspec
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- genderize-io (1.2.0)
4
+ genderize-io (1.2.1)
5
5
  agents
6
6
  typhoeus
7
7
 
@@ -11,59 +11,64 @@ 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.0)
14
+ ast (2.4.1)
15
15
  colorize (0.8.1)
16
16
  crack (0.4.3)
17
17
  safe_yaml (~> 1.0.0)
18
- diff-lcs (1.3)
18
+ diff-lcs (1.4.4)
19
19
  ethon (0.12.0)
20
20
  ffi (>= 1.3.0)
21
- fasterer (0.8.0)
21
+ fasterer (0.8.3)
22
22
  colorize (~> 0.7)
23
23
  ruby_parser (>= 3.14.1)
24
- ffi (1.11.2)
25
- hashdiff (1.0.0)
26
- jaro_winkler (1.5.4)
27
- parallel (1.19.0)
28
- parser (2.6.5.0)
29
- ast (~> 2.4.0)
30
- public_suffix (4.0.1)
24
+ ffi (1.13.1)
25
+ hashdiff (1.0.1)
26
+ parallel (1.19.2)
27
+ parser (2.7.1.4)
28
+ ast (~> 2.4.1)
29
+ public_suffix (4.0.5)
31
30
  rainbow (3.0.0)
32
31
  rake (13.0.1)
32
+ regexp_parser (1.7.1)
33
+ rexml (3.2.4)
33
34
  rspec (3.9.0)
34
35
  rspec-core (~> 3.9.0)
35
36
  rspec-expectations (~> 3.9.0)
36
37
  rspec-mocks (~> 3.9.0)
37
- rspec-core (3.9.0)
38
- rspec-support (~> 3.9.0)
39
- rspec-expectations (3.9.0)
38
+ rspec-core (3.9.2)
39
+ rspec-support (~> 3.9.3)
40
+ rspec-expectations (3.9.2)
40
41
  diff-lcs (>= 1.2.0, < 2.0)
41
42
  rspec-support (~> 3.9.0)
42
- rspec-mocks (3.9.0)
43
+ rspec-mocks (3.9.1)
43
44
  diff-lcs (>= 1.2.0, < 2.0)
44
45
  rspec-support (~> 3.9.0)
45
- rspec-support (3.9.0)
46
- rubocop (0.76.0)
47
- jaro_winkler (~> 1.5.1)
46
+ rspec-support (3.9.3)
47
+ rubocop (0.86.0)
48
48
  parallel (~> 1.10)
49
- parser (>= 2.6)
49
+ parser (>= 2.7.0.1)
50
50
  rainbow (>= 2.2.2, < 4.0)
51
+ regexp_parser (>= 1.7)
52
+ rexml
53
+ rubocop-ast (>= 0.0.3, < 1.0)
51
54
  ruby-progressbar (~> 1.7)
52
- unicode-display_width (>= 1.4.0, < 1.7)
53
- rubocop-performance (1.5.1)
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)
54
59
  rubocop (>= 0.71.0)
55
- rubocop-rspec (1.36.0)
60
+ rubocop-rspec (1.41.0)
56
61
  rubocop (>= 0.68.1)
57
62
  ruby-progressbar (1.10.1)
58
- ruby_parser (3.14.1)
63
+ ruby_parser (3.14.2)
59
64
  sexp_processor (~> 4.9)
60
65
  safe_yaml (1.0.5)
61
- sexp_processor (4.13.0)
62
- typhoeus (1.3.1)
66
+ sexp_processor (4.15.0)
67
+ typhoeus (1.4.0)
63
68
  ethon (>= 0.9.0)
64
- unicode-display_width (1.6.0)
65
- vcr (5.0.0)
66
- webmock (3.7.6)
69
+ unicode-display_width (1.7.0)
70
+ vcr (6.0.0)
71
+ webmock (3.8.3)
67
72
  addressable (>= 2.3.6)
68
73
  crack (>= 0.3.2)
69
74
  hashdiff (>= 0.4.0, < 2.0.0)
@@ -84,4 +89,4 @@ DEPENDENCIES
84
89
  webmock
85
90
 
86
91
  BUNDLED WITH
87
- 1.17.3
92
+ 2.1.4
data/README.md CHANGED
@@ -22,13 +22,6 @@ Or install it yourself as:
22
22
 
23
23
  $ gem install genderize-io
24
24
 
25
- ## Table of Contents
26
-
27
- * [Simple Lookup](#simple-lookup)
28
- * [Simple Response](#simple-response)
29
- * [Batch Lookup](#batch-lookup)
30
- * [Batch Response](#batch-response)
31
-
32
25
  ## Usage
33
26
 
34
27
  ### Simple Lookup
@@ -54,7 +54,7 @@ module Genderize
54
54
 
55
55
  def value_from(tag)
56
56
  val = tag.split(/:\s+/)[1]
57
- val =~ /^\"(.*)\"$/ ? Regexp.last_match(1) : val
57
+ val =~ /^"(.*)"$/ ? Regexp.last_match(1) : val
58
58
  end
59
59
 
60
60
  end
@@ -3,7 +3,7 @@
3
3
  module Genderize
4
4
  module Io
5
5
 
6
- VERSION ||= '1.2.0'
6
+ VERSION ||= '1.2.1'
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.0
4
+ version: 1.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Juan Gomez
8
- autorequire:
8
+ autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-11-17 00:00:00.000000000 Z
11
+ date: 2020-07-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: agents
@@ -164,7 +164,7 @@ dependencies:
164
164
  - - ">="
165
165
  - !ruby/object:Gem::Version
166
166
  version: '0'
167
- description:
167
+ description:
168
168
  email:
169
169
  - j.gomez@drexed.com
170
170
  executables: []
@@ -197,7 +197,7 @@ homepage: http://drexed.github.io/genderize-io
197
197
  licenses:
198
198
  - MIT
199
199
  metadata: {}
200
- post_install_message:
200
+ post_install_message:
201
201
  rdoc_options: []
202
202
  require_paths:
203
203
  - lib
@@ -212,8 +212,8 @@ required_rubygems_version: !ruby/object:Gem::Requirement
212
212
  - !ruby/object:Gem::Version
213
213
  version: '0'
214
214
  requirements: []
215
- rubygems_version: 3.0.6
216
- signing_key:
215
+ rubygems_version: 3.1.4
216
+ signing_key:
217
217
  specification_version: 4
218
218
  summary: Genderize.io Ruby SDK for interacting with the Genderize.io API.
219
219
  test_files: []