pci_proxy 1.2.2 → 1.2.3

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
  SHA256:
3
- metadata.gz: 91dcc3b1b4d3f7b715bf9b97096e309041e263839f0c98b9b605ed6fa4b652d9
4
- data.tar.gz: 10fe3831fe0b63dccfa142a21bf91983898574245c2c37ea4f62c2729a4f22ed
3
+ metadata.gz: 15c3fcaa4725e70d9e90fd5032c5b69195f238a972f01ed3e04000d63261f4b1
4
+ data.tar.gz: '080aeef98013bfbc7bb0ceb10dba0748f7ef494b37cb198ddc6f5a8b515be170'
5
5
  SHA512:
6
- metadata.gz: 8a7f74d2b7656f9227f8ead57e15ecbb1abf03ce7b6b0b1e7eedb30c5153571b55b7d7dfc13e41405ff16824ca0257600700fd1ae508c5ff7dd82d2930106f45
7
- data.tar.gz: 5246d64cea9102600e09adfe254d25ea9368e4b1d91842f7feda9f9997ef426d2377b1403e241d80d6319a2e6d29f236e933c3ca764ad341743ece1e70dff05b
6
+ metadata.gz: 5c813ade53e12719e369a1acf59877bc5007753209c8b826511d9bb6bdab08d483690b61380aa1a0b2350901df5b0457f7479efb506aedb9210552f95dd5dd4a
7
+ data.tar.gz: '09649352281a2ab57a06f0f366f2f205b50b2ca7ca55488c3dc04f56e692fd0b626d61d06c44d45263e4cb711765d0f830d2010e5168e0993fafec29cdf088f9'
@@ -2,6 +2,10 @@
2
2
 
3
3
  A simple client library for [PCI Proxy](https://pci-proxy.com)'s API
4
4
 
5
+ v1.2.3 - 26th May 2020 - Add support for masked_pan from tokenised card
6
+
7
+ v1.2.2 - 25th May 2020 - Fix bug in handling of card type where passed as a string rather than a symbol; Require rake 13.0 (CVE-2020-8130)
8
+
5
9
  v1.2.1 - 30th January 2020 - Minor tweaks; cleanups; update documentation
6
10
 
7
11
  v1.2.0 - 30th January 2020 - Add support for the [Check API](https://docs.pci-proxy.com/use-stored-cards/check)
@@ -2,12 +2,13 @@ module PciProxy
2
2
  module Model
3
3
  class TokenisedCard
4
4
 
5
- attr_reader :response, :pan_token, :cvv_token, :type_slug
5
+ attr_reader :response, :pan_token, :cvv_token, :type_slug, :masked_pan
6
6
 
7
7
  def initialize(response)
8
8
  @response = response
9
9
  @pan_token = response["aliasCC"]
10
10
  @cvv_token = response["aliasCVV"]
11
+ @masked_pan = response["maskedCard"]
11
12
  @type_slug = slug_for(response["paymentMethod"])
12
13
  end
13
14
 
@@ -1,3 +1,3 @@
1
1
  module PciProxy
2
- VERSION = "1.2.2"
2
+ VERSION = "1.2.3"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pci_proxy
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.2.2
4
+ version: 1.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Rory Sinclair
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2020-05-25 00:00:00.000000000 Z
11
+ date: 2020-05-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler