offsite_payments 2.7.18 → 2.7.19

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
  SHA256:
3
- metadata.gz: 55aabff0757cb2fdfaf8140a9b30c04c299f7db11b73a2630a7856d53528f787
4
- data.tar.gz: 872ee789d71f3aa8970577aa1174337c9dcd194d4333710765d4082b8e38da0b
3
+ metadata.gz: 51cf90edf6cc8aee813514a8c228ede8e2b7b816fbc16c626453f1329b65bdc3
4
+ data.tar.gz: e31d47d8ba5e038c9f8b4d4d6212c51f417347bf63344fb54cdc7c57c4e42c78
5
5
  SHA512:
6
- metadata.gz: 1f298846423be88261b0895083a5487cc3ab113a00c55477f47ca7d8a52221da105cff8a3227907e4de1a2953db46e2fa3070138b3f58865f7690b9b30ac056b
7
- data.tar.gz: 8df5566857389d8b8badbe73e38628b8f37fc21e7c652fad8f855551f5716b6cf723784c2d80e462e50ca528108aab60400b78a4e7b1c0a5fce7ccc2e10dd0fa
6
+ metadata.gz: 1b9eb62afb3ba07284b3d6017b9f70f561c1e98470b95b718514c4b0d85e76655398e6222a14547c5eae77904f523142a857877e0f8fee44209143ef8151a76f
7
+ data.tar.gz: 1a08cdad7a12d4e4957059f601a96d0e6bff0c1a3d6a72bd4c9625efa1be4087f40e185ce159a2b60599e5c55f1ca5e8b065306c6c11799e98aeedca32c9e0be
@@ -149,11 +149,11 @@ module OffsitePayments #:nodoc:
149
149
  request = Net::HTTP::Get.new(uri.path)
150
150
  response = http.request(request)
151
151
 
152
- posted_json = comparable_data
152
+ received_attributes = [transaction_id, status]
153
+
153
154
  parse(response.body)
154
- retrieved_json = comparable_data
155
155
 
156
- posted_json == retrieved_json
156
+ received_attributes == [transaction_id, status]
157
157
  end
158
158
 
159
159
  private
@@ -163,10 +163,6 @@ module OffsitePayments #:nodoc:
163
163
 
164
164
  @params = json.key?('data') ? json['data'] : json
165
165
  end
166
-
167
- def comparable_data
168
- @params&.reject { |k, _v| k == 'currentTime' }
169
- end
170
166
  end
171
167
 
172
168
  class Return < OffsitePayments::Return
@@ -1,3 +1,3 @@
1
1
  module OffsitePayments
2
- VERSION = "2.7.18"
2
+ VERSION = "2.7.19"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: offsite_payments
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.7.18
4
+ version: 2.7.19
5
5
  platform: ruby
6
6
  authors:
7
7
  - Tobias Luetke