workarea-storefront 3.5.9 → 3.5.10
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/app/view_models/workarea/storefront/category_view_model.rb +1 -1
- data/app/views/workarea/storefront/fulfillment_mailer/shipped.html.haml +1 -1
- data/config/locales/en.yml +2 -2
- data/test/integration/workarea/storefront/categories_integration_test.rb +10 -0
- data/test/integration/workarea/storefront/search_integration_test.rb +10 -0
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f8ee66bdca09fe14b714c4593cecdd5a83f6dc256e294974e2314a480ae69c6a
|
4
|
+
data.tar.gz: '0469acdaf83ebefbfd1364dbc1d45d1b1c4cebbdebc67ca95141e730c7485487'
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d684e7669a8eff46a3cdc6ac95d778159621a93dd4341242dfd51ac6237e5a8de79edad7aeecc1aa9201744b3cbfd33bebc757bb8fc226d93a0c705f5944e1c7
|
7
|
+
data.tar.gz: 654ee0e80589bccd1cb1ef3be7b6fcdab0f9bc58610685e5883f094c96325b54caf0a5e5acfa2ca1e24da5e6c2f1282001427ede7b24ac120f192125049441a9
|
@@ -3,7 +3,7 @@
|
|
3
3
|
= render_schema_org(fulfillment_email_schema(@order, @package))
|
4
4
|
|
5
5
|
- content_for :preheader_text do
|
6
|
-
= t('workarea.storefront.email.
|
6
|
+
= t('workarea.storefront.email.order_shipped.heading', order_id: @order.id)
|
7
7
|
|
8
8
|
%tr
|
9
9
|
%td
|
data/config/locales/en.yml
CHANGED
@@ -210,14 +210,14 @@ en:
|
|
210
210
|
credit_card_update_error: There were errors updating your credit card.
|
211
211
|
credit_card_removed: Your credit card has been removed.
|
212
212
|
password_reset_expired: This password reset is expired.
|
213
|
-
password_reset_email_sent: If a valid
|
213
|
+
password_reset_email_sent: If a valid email address was entered, instructions to reset your password have been sent to "%{email}"
|
214
214
|
password_reset: Your password has been reset.
|
215
215
|
old_password_invalid: Your old password is not valid.
|
216
216
|
password_required: Password is required.
|
217
217
|
items_required: You must add an item to your cart to checkout
|
218
218
|
order_custom_pricing: Your cart has custom pricing, you cannot edit the contents of your cart.
|
219
219
|
download_unavailable: This download is no longer available. Contact customer support for more information.
|
220
|
-
no_available_shipping_options: There are no available shipping options for your shipping
|
220
|
+
no_available_shipping_options: There are no available shipping options for your shipping address.
|
221
221
|
|
222
222
|
forms:
|
223
223
|
required: '*'
|
@@ -16,6 +16,16 @@ module Workarea
|
|
16
16
|
get storefront.category_path(create_category(active: false))
|
17
17
|
assert(response.ok?)
|
18
18
|
end
|
19
|
+
|
20
|
+
def test_not_accepting_per_page_param
|
21
|
+
products = [create_product, create_product]
|
22
|
+
category = create_category(product_ids: products.map(&:id))
|
23
|
+
|
24
|
+
get storefront.category_path(category, page: 1, per_page: 1)
|
25
|
+
assert(response.ok?)
|
26
|
+
assert_includes(response.body, storefront.product_path(products.first))
|
27
|
+
assert_includes(response.body, storefront.product_path(products.second))
|
28
|
+
end
|
19
29
|
end
|
20
30
|
end
|
21
31
|
end
|
@@ -87,6 +87,16 @@ module Workarea
|
|
87
87
|
assert_includes(response.body, 'Foo A')
|
88
88
|
assert_includes(response.body, 'Foo B')
|
89
89
|
end
|
90
|
+
|
91
|
+
def test_not_accepting_per_page_param
|
92
|
+
one = create_product(name: 'Foo A')
|
93
|
+
two = create_product(name: 'Foo B')
|
94
|
+
|
95
|
+
get storefront.search_path(q: 'foo', page: 1, per_page: 1)
|
96
|
+
assert(response.ok?)
|
97
|
+
assert_includes(response.body, storefront.product_path(one))
|
98
|
+
assert_includes(response.body, storefront.product_path(two))
|
99
|
+
end
|
90
100
|
end
|
91
101
|
end
|
92
102
|
end
|
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.5.
|
4
|
+
version: 3.5.10
|
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-04-
|
11
|
+
date: 2020-04-28 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.5.
|
19
|
+
version: 3.5.10
|
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.5.
|
26
|
+
version: 3.5.10
|
27
27
|
description: Provides user-facing ecommerce storefront functionality for the Workarea
|
28
28
|
Commerce Platform.
|
29
29
|
email:
|