workarea-storefront 3.5.1 → 3.5.2

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: 10d1560bc37495c900cd98a35bfadb0778fa09dcbaf745f8a5b0155bd23f4c1e
4
- data.tar.gz: 21247a0aea79b35933942f6b6f5f15be91a99095a8426e691b0259290794bf16
3
+ metadata.gz: a6a88aab1749e94ea5f5d984f11fc3a2716f289ed0bba05be6092c46bf42f28a
4
+ data.tar.gz: 7a6dd6dbdabd212f08d8ccd869d2eba529398d0abe28c9d246982c30d3ccce66
5
5
  SHA512:
6
- metadata.gz: c0e52dc36c58bd4fe812f8e379b1d91c5aae5e9ce44a251b0c681e3a4bc78dc8af1440c09462753c3d1441581123f490bf666c4760920a6bc8930f47b1051853
7
- data.tar.gz: b71b44ef924c66a9776d88e3218136d7aa83290730c661558ae5d000c0d9cc33f86fcac2523304a9705296fed58eb66673c0129c7aa8dd080b66babb7a633e22
6
+ metadata.gz: 22d5b75a13d7ec9658566793a40c93e5b5fb0acb34ebe568a697d184e2079f001ff6e4bf10d35704ed466146852c29a8c96a9751ba732fc374241dae3c6f46b2
7
+ data.tar.gz: 55e0744a6905fa8a7e5b9938345f733ae0759b229f64238d2729ae31a4dd0aa921ed69795117ce97f5f83305202a68616e58ce7d8ca86a647708061b0a09dbc5
@@ -11,7 +11,7 @@ module Workarea
11
11
 
12
12
  assert_equal(1, Metrics::ProductByDay.first.views)
13
13
  user = Metrics::User.first
14
- assert_equal(session.id, user.id)
14
+ assert_equal(session.id.cookie_value, user.id)
15
15
  assert_equal(['foo'], user.viewed.product_ids)
16
16
  end
17
17
 
@@ -26,7 +26,7 @@ module Workarea
26
26
  assert_equal(5, metrics.total_results)
27
27
 
28
28
  user = Metrics::User.first
29
- assert_equal(session.id, user.id)
29
+ assert_equal(session.id.cookie_value, user.id)
30
30
  assert_equal(['food'], user.viewed.search_ids)
31
31
  end
32
32
 
@@ -38,7 +38,7 @@ module Workarea
38
38
 
39
39
  assert_equal(1, Metrics::CategoryByDay.first.views)
40
40
  user = Metrics::User.first
41
- assert_equal(session.id, user.id)
41
+ assert_equal(session.id.cookie_value, user.id)
42
42
  assert_equal(['foo'], user.viewed.category_ids)
43
43
  end
44
44
 
@@ -57,7 +57,7 @@ module Workarea
57
57
  login_metrics = Metrics::User.find('bcrouse@workarea.com')
58
58
 
59
59
  post storefront.analytics_product_view_path(product_id: 'foo')
60
- session_metrics = Metrics::User.find(session.id)
60
+ session_metrics = Metrics::User.find(session.id.cookie_value)
61
61
  assert_equal(['foo'], session_metrics.viewed.product_ids)
62
62
 
63
63
  post storefront.login_path,
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.1
4
+ version: 3.5.2
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-12-18 00:00:00.000000000 Z
11
+ date: 2019-12-19 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.1
19
+ version: 3.5.2
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.1
26
+ version: 3.5.2
27
27
  description: Provides user-facing ecommerce storefront functionality for the Workarea
28
28
  Commerce Platform.
29
29
  email: