workarea-stripe 1.1.0 → 1.1.1

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: cd29764a459c7d4f9532363e3e62359a8a12fed89510e74e379dd7b69218d340
4
- data.tar.gz: 613eb162eb6fa2ed29550dd4c7860a0172a5792d9a9e1cd01b7be8b8e01726db
3
+ metadata.gz: c548c14087d3f422af51e43a8aa5fdb7cdf2eac8e055cfcdd0ac0501151e72c0
4
+ data.tar.gz: c8015bcc4bf37364b4d35f44cd1a8058ad2b892d215503946e07bd39fd04c0b8
5
5
  SHA512:
6
- metadata.gz: f59a0dbfa719242fa226214ac8a57b51b86600854130b207977dc3413a64b0afb630a60fcd21473b200966e0d5b5de153d7b34b000d09dc3e8149e9e0f1e4110
7
- data.tar.gz: e4b9d070a3900730e22de2acd0c79ab32db42e05991e0a2f26484ffeec7030492387a19d32193812dc03e977cf73077ede35b5e9c57bf85d5aed1783a416f33a
6
+ metadata.gz: a0055fe6dbffe45317e395db2bf536752e72a99e1afa0891ce1838eee71053e5e2154e7b677d105b31f4526753db25d7705e1383adb5f9d0058bc6a3d1b30d2e
7
+ data.tar.gz: e4d26ed4a625d1a98ae4dfcf8a460652ee72ed0e39083fe449a3b2d9303edbddf9e4ab4f3fb2baa3f92909311be3b12dfb6064b0ea12fb8ecfe6ee943d0b695a
data/CHANGELOG.md CHANGED
@@ -1,3 +1,16 @@
1
+ Workarea Stripe 1.1.1 (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
+ STRIPE-2
10
+ Tom Scott
11
+
12
+
13
+
1
14
  Workarea Stripe 1.1.0 (2019-11-26)
2
15
  --------------------------------------------------------------------------------
3
16
 
data/Gemfile CHANGED
@@ -3,4 +3,4 @@ git_source(:github) { |repo| "https://github.com/#{repo}.git" }
3
3
 
4
4
  gemspec
5
5
 
6
- gem 'workarea', github: 'workarea-commerce/workarea'
6
+ gem 'workarea', github: 'workarea-commerce/workarea', branch: 'v3.5-stable'
data/Rakefile CHANGED
@@ -37,10 +37,9 @@ task :release do
37
37
  Rake::Task['workarea:changelog'].execute
38
38
  system 'git add CHANGELOG.md'
39
39
  system 'git commit -m "Update CHANGELOG"'
40
- system 'git push origin HEAD'
41
40
 
42
41
  system "git tag -a v#{Workarea::Stripe::VERSION} -m 'Tagging #{Workarea::Stripe::VERSION}'"
43
- system 'git push --tags'
42
+ system 'git push origin HEAD --follow-tags'
44
43
 
45
44
  system 'gem build workarea-stripe.gemspec'
46
45
  system "gem push workarea-stripe-#{Workarea::Stripe::VERSION}.gem"
@@ -1,5 +1,5 @@
1
1
  module Workarea
2
2
  module Stripe
3
- VERSION = '1.1.0'
3
+ VERSION = '1.1.1'
4
4
  end
5
5
  end
@@ -7,7 +7,7 @@ module Workarea
7
7
  credit_card: {
8
8
  number: '2',
9
9
  month: 1,
10
- year: 2020,
10
+ year: next_year,
11
11
  cvv: '999',
12
12
  stripe_token: '2'
13
13
  }
@@ -19,7 +19,7 @@ module Workarea
19
19
  assert_equal('Ben', credit_card.first_name)
20
20
  assert_equal('Crouse', credit_card.last_name)
21
21
  assert_equal(1, credit_card.month)
22
- assert_equal(2020, credit_card.year)
22
+ assert_equal(next_year, credit_card.year)
23
23
  assert(credit_card.token.present?)
24
24
  end
25
25
  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.0
4
+ version: 1.1.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jeff Yucis
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-11-26 00:00:00.000000000 Z
11
+ date: 2020-01-22 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.6
163
+ rubygems_version: 3.0.3
164
164
  signing_key:
165
165
  specification_version: 4
166
166
  summary: Stripe payment processor integration for the Workarea Commerce Platform