workarea-storefront 3.4.36 → 3.4.37

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
- SHA1:
3
- metadata.gz: 2c08176fc6711c0ef445f52ab703a2fccf8fad36
4
- data.tar.gz: 8f76de94d90f040db1e7facc186cf810dd150433
2
+ SHA256:
3
+ metadata.gz: 91d37a60de2ee9cfd79b596d8b9780b71126d32a5e4c5275b39bf853c71637c1
4
+ data.tar.gz: 31a7393a767ca1b09237b4ea9b8e141a862c5877e90922f9556fc80a24768dab
5
5
  SHA512:
6
- metadata.gz: c841a63dab99c0b50f079a2d52a640926d0015ddf07bd7516af8b71c786e0c1fb5f448ae8e864fb49fca74fda70270a75388cb9a6acf61e80d9d7c4a5d92a03c
7
- data.tar.gz: 490e3726b2062b7bd674e1569f7b83b6c0afd1c8736636ba39fc36cff20f1bab6d543fa96209c23049e56bbcba35be8d2aaff4f733d6f7d21e8e04b47a7642ca
6
+ metadata.gz: 692bf8543e3c83d6df6921b6c24a5a8e516c8e798f6b0e4c23238e1148c3fd36d61817b6ee90ace531da74a1fcb354e6057db80da0ad6fa516405a19d08441aa
7
+ data.tar.gz: 426f30b6386053bbce70d83106fc4582214324248e05fb91191d1427d9593de54b00838e0583f32feeb46d87852389141220841f285e266e852237750f542110
@@ -61,11 +61,8 @@ module Workarea
61
61
  params[:credit_card].permit(
62
62
  :first_name,
63
63
  :last_name,
64
- :number,
65
- :month,
66
- :year,
67
- :cvv,
68
- :default
64
+ :default,
65
+ *Workarea.config.credit_card_attributes
69
66
  )
70
67
  end
71
68
 
@@ -3,7 +3,9 @@ require 'test_helper'
3
3
  module Workarea
4
4
  module Storefront
5
5
  class PlaceOrderIntegrationTest < Workarea::IntegrationTest
6
- setup do
6
+ setup :setup_checkout
7
+
8
+ def setup_checkout
7
9
  create_tax_category(
8
10
  name: 'Sales Tax',
9
11
  code: '001',
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.36
4
+ version: 3.4.37
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ben Crouse
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2020-07-07 00:00:00.000000000 Z
11
+ date: 2020-07-22 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.36
19
+ version: 3.4.37
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.36
26
+ version: 3.4.37
27
27
  description: Provides user-facing ecommerce storefront functionality for the Workarea
28
28
  Commerce Platform.
29
29
  email:
@@ -736,8 +736,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
736
736
  - !ruby/object:Gem::Version
737
737
  version: '0'
738
738
  requirements: []
739
- rubyforge_project:
740
- rubygems_version: 2.6.14.1
739
+ rubygems_version: 3.0.3
741
740
  signing_key:
742
741
  specification_version: 4
743
742
  summary: Storefront for the Workarea Commerce Platform