workarea-gift_cards 3.4.8 → 3.4.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +13 -0
- data/Rakefile +4 -5
- data/lib/workarea/gift_cards/version.rb +1 -1
- data/test/integration/workarea/storefront/gift_card_integration_test.rb +3 -3
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: aa37a378f39896cbf645c5f1e685063a9fb0d841094e513bb09c2a0045cdb153
|
4
|
+
data.tar.gz: 6f18732444f3eee6ab068378de1e79200cbde8f79eb2d95cad2b1d94be08e29c
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 83e84100e694ecde878b6e4fbd31d6b8c6c47072f855c8753cb5df35b4b111daed844a9ca2910abd888bf4f779a8f736ae28c3526fcf9894ee63236b04a2e2bc
|
7
|
+
data.tar.gz: b1d4735c284e9688c14d5061ffc9bd0da2bc7d5e629fb0b64929f80e6aae81d4f81028ec10a98de9c8688974d9b254bed05394d69d0bc8a3c831ebbc71631403
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,16 @@
|
|
1
|
+
Workarea Gift Cards 3.4.9 (2020-01-21)
|
2
|
+
--------------------------------------------------------------------------------
|
3
|
+
|
4
|
+
* Fix Tests for 2020
|
5
|
+
|
6
|
+
Update all tests so that they no longer depend on the year 2020 as an
|
7
|
+
expiration year. Instead, use the method provided by Workarea.
|
8
|
+
|
9
|
+
GIFTCARDS-6
|
10
|
+
Tom Scott
|
11
|
+
|
12
|
+
|
13
|
+
|
1
14
|
Workarea Gift Cards 3.4.7 (2019-09-04)
|
2
15
|
--------------------------------------------------------------------------------
|
3
16
|
|
data/Rakefile
CHANGED
@@ -38,13 +38,12 @@ desc "Release version #{Workarea::GiftCards::VERSION} of the gem"
|
|
38
38
|
task :release do
|
39
39
|
host = "https://#{ENV['BUNDLE_GEMS__WEBLINC__COM']}@gems.weblinc.com"
|
40
40
|
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
#system 'git push origin HEAD'
|
41
|
+
Rake::Task['workarea:changelog'].execute
|
42
|
+
system 'git add CHANGELOG.md'
|
43
|
+
system 'git commit -m "Update CHANGELOG"'
|
45
44
|
|
46
45
|
system "git tag -a v#{Workarea::GiftCards::VERSION} -m 'Tagging #{Workarea::GiftCards::VERSION}'"
|
47
|
-
system 'git push --tags'
|
46
|
+
system 'git push origin HEAD --follow-tags'
|
48
47
|
|
49
48
|
system 'gem build workarea-gift_cards.gemspec'
|
50
49
|
system "gem push workarea-gift_cards-#{Workarea::GiftCards::VERSION}.gem"
|
@@ -80,7 +80,7 @@ module Workarea
|
|
80
80
|
credit_card: {
|
81
81
|
number: '1',
|
82
82
|
month: 1,
|
83
|
-
year:
|
83
|
+
year: next_year,
|
84
84
|
cvv: '999'
|
85
85
|
}
|
86
86
|
}
|
@@ -121,7 +121,7 @@ module Workarea
|
|
121
121
|
assert_equal('Test Card', payment.credit_card.issuer)
|
122
122
|
assert_equal('XXXX-XXXX-XXXX-1', payment.credit_card.display_number)
|
123
123
|
assert_equal(1, payment.credit_card.month)
|
124
|
-
assert_equal(
|
124
|
+
assert_equal(next_year, payment.credit_card.year)
|
125
125
|
assert_equal(13.19.to_m, payment.credit_card.amount)
|
126
126
|
assert(payment.credit_card.token.present?)
|
127
127
|
assert(payment.credit_card.saved_card_id.blank?)
|
@@ -190,7 +190,7 @@ module Workarea
|
|
190
190
|
credit_card: {
|
191
191
|
number: '1',
|
192
192
|
month: 1,
|
193
|
-
year:
|
193
|
+
year: next_year,
|
194
194
|
cvv: '999'
|
195
195
|
}
|
196
196
|
}
|