workarea-storefront 3.4.21 → 3.4.22

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: 991d9a057a2f2566243d1011745ffbfc16922966384c3d6af22506533ff8125d
4
- data.tar.gz: f98c3df30453014f6317d25f6fa708c009d3fdcaaad0a7fa145b145b50adf76f
3
+ metadata.gz: 0fe4a1dce9f39427191f3aa105ce5fdcb3d931c1fc90f93f257d182de9dc22ed
4
+ data.tar.gz: 8a07748c2bb30bc1b94491098eeefb37f345d0ade9d169cc63f3756def6671ee
5
5
  SHA512:
6
- metadata.gz: 49814bf2c99fa5dda0f231a724f2253778bccb0a9b6ec8f193b4414c50e30ccd39b87fffdf469ad90c4075bfb1f38c240c4464bc158988e9b82526eb12fcfd03
7
- data.tar.gz: 8b4dd05cb6c8ca683b2d876faf6391d2b2937769cc1aed503ff9e19b6b1ff6e85b2cbe8a6443618ff2cb64b9f41e636c4710acd6f1454a490228a2ce1abf58cf
6
+ metadata.gz: c49f458d4cd609471c319f08bdd91e7e1213bb727ee865b52a126fe5db641d70c158ea24aa471abc76629be91c82d0925984ee085c562115820e5df455ccd779
7
+ data.tar.gz: 74c7e42f48a73d6a151ff0a031b4208adda412c6cea3a77b686bfada28826523bb8c8eb1afb588d0dc71dc6d96bb2c4f2ae2a0bc87a8ef45f1bce70f13cf51bb
@@ -74,7 +74,7 @@ module Workarea
74
74
  assert_equal('Crouse', credit_card.last_name)
75
75
  assert_equal('XXXX-XXXX-XXXX-1', credit_card.display_number)
76
76
  assert_equal(1, credit_card.month)
77
- assert_equal(2020, credit_card.year)
77
+ assert_equal(next_year, credit_card.year)
78
78
  refute(credit_card.token.blank?)
79
79
 
80
80
  complete_checkout('bcrouse@workarea.com', 'W3bl1nc!')
@@ -181,7 +181,7 @@ module Workarea
181
181
  credit_card: {
182
182
  number: '2',
183
183
  month: 1,
184
- year: 2020,
184
+ year: next_year,
185
185
  cvv: '999'
186
186
  }
187
187
  }
@@ -69,7 +69,7 @@ module Workarea
69
69
  credit_card: {
70
70
  number: '1',
71
71
  month: 1,
72
- year: 2020,
72
+ year: next_year,
73
73
  cvv: '999'
74
74
  }
75
75
  }
@@ -108,7 +108,7 @@ module Workarea
108
108
  assert_equal('Test Card', payment.credit_card.issuer)
109
109
  assert_equal('XXXX-XXXX-XXXX-1', payment.credit_card.display_number)
110
110
  assert_equal(1, payment.credit_card.month)
111
- assert_equal(2020, payment.credit_card.year)
111
+ assert_equal(next_year, payment.credit_card.year)
112
112
  refute(payment.credit_card.token.blank?)
113
113
  assert(payment.credit_card.saved_card_id.blank?)
114
114
 
@@ -66,7 +66,7 @@ module Workarea
66
66
  credit_card: {
67
67
  number: '1',
68
68
  month: 1,
69
- year: 2020,
69
+ year: next_year,
70
70
  cvv: '999'
71
71
  }
72
72
  }
@@ -81,7 +81,7 @@ module Workarea
81
81
  credit_card: {
82
82
  number: '2',
83
83
  month: 1,
84
- year: 2020,
84
+ year: next_year,
85
85
  cvv: '999'
86
86
  }
87
87
  }
@@ -97,7 +97,7 @@ module Workarea
97
97
  credit_card: {
98
98
  number: '1',
99
99
  month: 1,
100
- year: 2020,
100
+ year: next_year,
101
101
  cvv: '999'
102
102
  }
103
103
  }
@@ -117,7 +117,7 @@ module Workarea
117
117
  credit_card: {
118
118
  number: '1',
119
119
  month: 1,
120
- year: 2020,
120
+ year: next_year,
121
121
  cvv: '999'
122
122
  }
123
123
  }
@@ -76,7 +76,7 @@ module Workarea
76
76
  credit_card: {
77
77
  number: '1',
78
78
  month: 1,
79
- year: 2020,
79
+ year: next_year,
80
80
  cvv: '999'
81
81
  }
82
82
  }
@@ -98,7 +98,7 @@ module Workarea
98
98
  assert_equal('Test Card', payment.credit_card.issuer)
99
99
  assert_equal('XXXX-XXXX-XXXX-1', payment.credit_card.display_number)
100
100
  assert_equal(1, payment.credit_card.month)
101
- assert_equal(2020, payment.credit_card.year)
101
+ assert_equal(next_year, payment.credit_card.year)
102
102
  assert_equal(13.19.to_m, payment.credit_card.amount)
103
103
  refute(payment.credit_card.token.blank?)
104
104
  assert_equal(1, payment.credit_card.transactions.length)
@@ -49,14 +49,14 @@ module Workarea
49
49
  params: {
50
50
  credit_card: {
51
51
  month: '2',
52
- year: '2020',
52
+ year: next_year.to_s,
53
53
  cvv: '999'
54
54
  }
55
55
  }
56
56
 
57
57
  credit_card.reload
58
58
  assert_equal(2, credit_card.month)
59
- assert_equal(2020, credit_card.year)
59
+ assert_equal(next_year, credit_card.year)
60
60
  end
61
61
 
62
62
  def test_removes_credit_cards
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: workarea-storefront
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.4.21
4
+ version: 3.4.22
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ben Crouse
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-11-12 00:00:00.000000000 Z
11
+ date: 2019-11-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: workarea-core
@@ -16,14 +16,14 @@ dependencies:
16
16
  requirements:
17
17
  - - '='
18
18
  - !ruby/object:Gem::Version
19
- version: 3.4.21
19
+ version: 3.4.22
20
20
  type: :runtime
21
21
  prerelease: false
22
22
  version_requirements: !ruby/object:Gem::Requirement
23
23
  requirements:
24
24
  - - '='
25
25
  - !ruby/object:Gem::Version
26
- version: 3.4.21
26
+ version: 3.4.22
27
27
  description: Provides user-facing ecommerce storefront functionality for the Workarea
28
28
  Commerce Platform.
29
29
  email: