sync_attr_with_auth0 0.0.6 → 0.0.7

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
  SHA1:
3
- metadata.gz: 0f78fea4bf1417505d3b73c70ad644c4212367c3
4
- data.tar.gz: 55a1aa522cbec79250f8ab37a4e34bafb8243031
3
+ metadata.gz: 05bef5bfbb97159ccc9c30c6ea45f7cc2c6052ef
4
+ data.tar.gz: 8b709d48e142151979345675971542d9b9892765
5
5
  SHA512:
6
- metadata.gz: c35c07f5eaacf78e446c4ddb29eb9eff9d9d79b85370067000a49784ae3b474ed249ed94a2201505abd4624561e42d4d1289d66b278845330fddc0fab43822c9
7
- data.tar.gz: dda365bf97ff710f4d27fdf40fee1e6029583493ae779f9da8fcbdc1f6059c89cf00f020b89f6c63c6d0d58040a9d8f07b0198dce6c8d88167a8404d6510e7ad
6
+ metadata.gz: 1656c5409b04e8d47121e481d4726007b09e060e5bfa014576df1d83d8b9459748eb89f783a38050b5631c44ca91bddaa6598980c45c7c715906c44b4e67a2cc
7
+ data.tar.gz: 6360ac624bd0ca8eb33fe3d6690c692d99aebf7a207e7515de23602731232de237ed9b508535b6b57596515dc535ad015009d5edab5e1307b6fb0b4c5f8aff6c
@@ -99,17 +99,21 @@ module SyncAttrWithAuth0
99
99
 
100
100
  password = auth0_user_password
101
101
  email_verified = auth0_email_verified?
102
+ args = {
103
+ 'email' => self.send(email_att),
104
+ 'password' => password,
105
+ 'connection' => connection_name,
106
+ 'email_verified' => email_verified
107
+ }.merge(changes)
102
108
 
103
109
  response = SyncAttrWithAuth0::Auth0.make_request(
104
110
  access_token,
105
111
  'post',
106
112
  "/api/users",
107
- {
108
- 'email' => self.send(email_att),
109
- 'password' => password,
110
- 'connection' => connection_name,
111
- 'email_verified' => email_verified
112
- }.merge(changes))
113
+ args)
114
+
115
+ puts email_verified.inspect
116
+ puts args.inspect
113
117
 
114
118
  response = JSON.parse(response)
115
119
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sync_attr_with_auth0
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Patrick McGraw