foxy_sync 0.3.1 → 0.3.2
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/foxy_sync/api/customer.rb +2 -4
- metadata +2 -2
@@ -28,12 +28,10 @@ module FoxySync::Api
|
|
28
28
|
# Sends the customer_save command to the FoxyCart API.
|
29
29
|
# Returns a FoxySync::Xml::Document
|
30
30
|
def save
|
31
|
-
salt = user.password_salt
|
32
|
-
hash = OpenSSL::HMAC.hexdigest 'sha256', salt, user.encrypted_password + salt
|
33
31
|
messenger.customer_save(
|
34
32
|
:customer_email => user.email,
|
35
|
-
:customer_password_hash =>
|
36
|
-
:customer_password_salt =>
|
33
|
+
:customer_password_hash => user.encrypted_password,
|
34
|
+
:customer_password_salt => user.password_salt
|
37
35
|
)
|
38
36
|
end
|
39
37
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: foxy_sync
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.3.
|
4
|
+
version: 0.3.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -9,7 +9,7 @@ authors:
|
|
9
9
|
autorequire:
|
10
10
|
bindir: bin
|
11
11
|
cert_chain: []
|
12
|
-
date: 2013-
|
12
|
+
date: 2013-04-21 00:00:00.000000000 Z
|
13
13
|
dependencies:
|
14
14
|
- !ruby/object:Gem::Dependency
|
15
15
|
name: nokogiri
|