workarea-stripe 1.1.1 → 1.1.2

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: c548c14087d3f422af51e43a8aa5fdb7cdf2eac8e055cfcdd0ac0501151e72c0
4
- data.tar.gz: c8015bcc4bf37364b4d35f44cd1a8058ad2b892d215503946e07bd39fd04c0b8
3
+ metadata.gz: 170d58c7507ed8bd3b9eff4432a0bc398e1872f3c1383b65e17f27ff3e5a7948
4
+ data.tar.gz: 3eabb0f181851a09ceeaab87ab30c6c6eda874bcf3859145b6844ba688d1847c
5
5
  SHA512:
6
- metadata.gz: a0055fe6dbffe45317e395db2bf536752e72a99e1afa0891ce1838eee71053e5e2154e7b677d105b31f4526753db25d7705e1383adb5f9d0058bc6a3d1b30d2e
7
- data.tar.gz: e4d26ed4a625d1a98ae4dfcf8a460652ee72ed0e39083fe449a3b2d9303edbddf9e4ab4f3fb2baa3f92909311be3b12dfb6064b0ea12fb8ecfe6ee943d0b695a
6
+ metadata.gz: 7e4c3852476a8b0b0e36b378dafef2f6e8a18dd0ea1240c74ae2b5ecb3386a687195086e10d59b8c771585cb38dca704d87b7672b72fe56f4f8d31f8c427991d
7
+ data.tar.gz: 0b3024080e0f1ef012eddb09df891ac2733a807603a54962e786870c64047ac478291e386de10c947155fc26840cccdd8603bf5b121e8bf6320d7713ceb35d62
@@ -1,3 +1,13 @@
1
+ Workarea Stripe 1.1.2 (2020-02-05)
2
+ --------------------------------------------------------------------------------
3
+
4
+ * Fix bogus gateway response data
5
+
6
+ Update date returned by store operation to be the current year plus 1
7
+ Jason Hummel
8
+
9
+
10
+
1
11
  Workarea Stripe 1.1.1 (2020-01-21)
2
12
  --------------------------------------------------------------------------------
3
13
 
@@ -17,7 +17,7 @@ module ActiveMerchant
17
17
  def store(paysource, options = {})
18
18
  case normalize(paysource)
19
19
  when /1$/, /^tok/, ""
20
- Response.new(true, SUCCESS_MESSAGE, { "id" => "cus_5678", "sources" => { "data" => [{ "id" => 'card_1111', "last4" => '1111', "exp_month" => "1", "exp_year" => "2020", "brand" => "Test Card" }] } }, test: true)
20
+ Response.new(true, SUCCESS_MESSAGE, { "id" => "cus_5678", "sources" => { "data" => [{ "id" => 'card_1111', "last4" => '1111', "exp_month" => "1", "exp_year" => (Time.current.year + 1).to_s, "brand" => "Test Card" }] } }, test: true)
21
21
  when /2$/
22
22
  Response.new(false, FAILURE_MESSAGE, { billingid: nil, error: FAILURE_MESSAGE }, test: true, error_code: STANDARD_ERROR_CODE[:processing_error])
23
23
  else
@@ -1,5 +1,5 @@
1
1
  module Workarea
2
2
  module Stripe
3
- VERSION = '1.1.1'
3
+ VERSION = '1.1.2'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: workarea-stripe
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.1
4
+ version: 1.1.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jeff Yucis
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-01-22 00:00:00.000000000 Z
11
+ date: 2020-02-05 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: workarea
@@ -160,7 +160,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
160
160
  - !ruby/object:Gem::Version
161
161
  version: '0'
162
162
  requirements: []
163
- rubygems_version: 3.0.3
163
+ rubygems_version: 3.0.6
164
164
  signing_key:
165
165
  specification_version: 4
166
166
  summary: Stripe payment processor integration for the Workarea Commerce Platform