sphinx-oauth 1.0.3 → 1.0.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: 820bfd10be3e8015537fec6c1795b8904195a56f
4
- data.tar.gz: c01429a77be3fe0276ff8ee16c235e8d8ab74fc6
3
+ metadata.gz: c0dacc229c5006c0fe2b648c70784933b9af45a8
4
+ data.tar.gz: f01091ad55c85ff8f3645b6d755e617f4b69814b
5
5
  SHA512:
6
- metadata.gz: 5910fada1e662d9e00ffc1e879ec3bd0687ca8fcc9c82693c36f08131c3238f923d3ee1527bbc8d2c2411aa10bc170eff6f0e5e3a019aab51eb1b559b0e45157
7
- data.tar.gz: 6c3a6b8632f4f989f8ff98fa0875601546fbd8f7baefbc41a83984857befd473ba78713639da45c1fda77d34a6e2a121d06a174358c01ba56988dc477b2d8cb2
6
+ metadata.gz: 74952cadbf18b649324d45503b77cf103af7fec6211407eb1dd3c4a9cda6d6f7566ab018933a10492bc39a2210f263108fffa22bb0894b9e72332dd42cad5283
7
+ data.tar.gz: 26a8372e1f860826129040b4688a57cb4d83f04d391b857a6246adb9de457995332cd5a85bd6305eef4d8ddd56129bdf409bcff534471d06e6aacd0adb0c5e86
@@ -73,7 +73,7 @@ module Sphinx
73
73
 
74
74
  private
75
75
  def self.comparePassword(crypt, userPassword, password)
76
- user_password = crypt.encrypt_and_sign(userPassword)
76
+ user_password = crypt.decrypt_and_verify(userPassword)
77
77
  return user_password == password
78
78
  end
79
79
 
@@ -1,5 +1,5 @@
1
1
  module Sphinx
2
2
  module Oauth
3
- VERSION = "1.0.3"
3
+ VERSION = "1.0.4"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sphinx-oauth
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.3
4
+ version: 1.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Roshan