cognito-client 0.5.3 → 0.5.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0131065ce58c573d482b4a8c3771c67b724ebc90
4
- data.tar.gz: 42a45e5669377f73b1d8cf611a88904ca222f7f0
3
+ metadata.gz: 35c44fd920029319fb043a566e96e96c64b254f9
4
+ data.tar.gz: 130ea2779bad84eb50eb9a8bccb2e68c2ae83238
5
5
  SHA512:
6
- metadata.gz: 2c89dc6b126beba347a3f80df29421bf78d86be7191e0b96333570cb9d25a4e007d310235cdad1a2279e4b1601e22d2c34a5633722b6da17acfc289afeabe1d0
7
- data.tar.gz: f6d1e1338c882e078e493c48df5129b4c9f241aec273708f3640c8d51b4400ebce8ee43ddb6a8bf960171da2939cfe0b1a6c3c56a644c3ee3b8e0817ec74ed43
6
+ metadata.gz: ab43cc1589e13e7407f6492777c8a9561ddda7507a1a21fbbc40ef68892b3875d46b9529f03a4b40b5e3abd1b1bd3e06f14785fa83035644587a60ed77cd02d0
7
+ data.tar.gz: dd70f03bd821bf2e81d8b6cac5b2545fe9f01d2babb6c93aa3ba5f33590defed69eadc24630016919912a2db98a6a73b0bb76de48b869d1b506889f8501d3455
@@ -1,5 +1,5 @@
1
1
  ---
2
- threshold: 16
3
- total_score: 232
2
+ threshold: 18
3
+ total_score: 234
4
4
  lib_dirs:
5
5
  - lib
@@ -6,16 +6,18 @@ class Cognito
6
6
  class CreateIdentity < self
7
7
  include Mixins::CreateBehavior,
8
8
  AbstractType,
9
- Anima.new(:connection, :name, :phone_number, :ssn, :birth)
9
+ Anima.new(:connection, :name, :phone_number, :ssn, :birth, :us_address)
10
10
 
11
- private :name, :phone_number, :ssn, :birth
11
+ private :name, :phone_number, :ssn, :birth, :us_address
12
12
 
13
13
  OMITTED = Params::Omitted.new
14
14
 
15
- # ignores :reek:FeatureEnvy:
16
- def initialize(name: OMITTED, phone_number: OMITTED, ssn: OMITTED, birth: OMITTED, **params)
17
- super(params.merge(name: name, phone_number: phone_number, ssn: ssn, birth: birth))
15
+ # ignores :reek:FeatureEnvy:, :reek:LongParameterList:
16
+ # rubocop:disable ParameterLists, LineLength
17
+ def initialize(name: OMITTED, phone_number: OMITTED, ssn: OMITTED, birth: OMITTED, us_address: OMITTED, **params)
18
+ super(params.merge(name: name, phone_number: phone_number, ssn: ssn, birth: birth, us_address: us_address))
18
19
  end
20
+ # rubocop:enable ParameterLists, LineLength
19
21
  end # CreateIdentity
20
22
  end # Command
21
23
  end # Client
@@ -15,7 +15,8 @@ class Cognito
15
15
  name: name,
16
16
  phone_number: phone_number,
17
17
  ssn: ssn,
18
- birth: birth
18
+ birth: birth,
19
+ us_address: us_address
19
20
  )
20
21
  end
21
22
 
@@ -5,7 +5,7 @@ class Cognito
5
5
  class CreateIdentitySearch < CreateIdentity
6
6
  include Mixins::CreateBehavior, anima.add(:profile_id)
7
7
 
8
- private :profile_id, :name, :phone_number, :ssn, :birth
8
+ private :profile_id, :name, :phone_number, :ssn, :birth, :us_address
9
9
 
10
10
  ENDPOINT = '/identity_searches'
11
11
 
@@ -17,7 +17,8 @@ class Cognito
17
17
  name: name,
18
18
  phone_number: phone_number,
19
19
  ssn: ssn,
20
- birth: birth
20
+ birth: birth,
21
+ us_address: us_address
21
22
  )
22
23
  end
23
24
 
@@ -4,7 +4,7 @@ class Cognito
4
4
  class Client
5
5
  class Params
6
6
  class Identity < self
7
- include AbstractType, Anima.new(:name, :phone_number, :ssn, :birth)
7
+ include AbstractType, Anima.new(:name, :phone_number, :ssn, :birth, :us_address)
8
8
 
9
9
  abstract_method :relationships
10
10
 
@@ -32,10 +32,11 @@ class Cognito
32
32
 
33
33
  def full_attributes
34
34
  {
35
- name: name,
36
- phone: phone,
37
- ssn: ssn,
38
- birth: birth
35
+ name: name,
36
+ phone: phone,
37
+ ssn: ssn,
38
+ birth: birth,
39
+ us_address: us_address
39
40
  }
40
41
  end
41
42
 
@@ -1,4 +1,4 @@
1
1
  # frozen_string_literal: true
2
2
  class Cognito
3
- VERSION = '0.5.3'
3
+ VERSION = '0.5.4'
4
4
  end # Cognito
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cognito-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.3
4
+ version: 0.5.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Connor Jacobsen
@@ -10,7 +10,7 @@ authors:
10
10
  autorequire:
11
11
  bindir: exe
12
12
  cert_chain: []
13
- date: 2017-03-24 00:00:00.000000000 Z
13
+ date: 2017-04-14 00:00:00.000000000 Z
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
16
16
  name: bundler
@@ -242,7 +242,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
242
242
  version: '0'
243
243
  requirements: []
244
244
  rubyforge_project:
245
- rubygems_version: 2.5.1
245
+ rubygems_version: 2.4.5.1
246
246
  signing_key:
247
247
  specification_version: 4
248
248
  summary: Unofficial Ruby client for the BlockScore Cognito API