foxy_sync 0.3.1 → 0.3.2

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.
Files changed (2) hide show
  1. data/lib/foxy_sync/api/customer.rb +2 -4
  2. 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 => hash,
36
- :customer_password_salt => 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.1
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-03-31 00:00:00.000000000 Z
12
+ date: 2013-04-21 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: nokogiri