workarea-storefront 3.5.4 → 3.5.5

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: ff2f940dbcbab3d2936fc7faa5fb63924f7e18fea5b31a80d83401cbb95b1947
4
- data.tar.gz: 6947a3f035e933d112d665eaecdf75dd1180374fa755d5c7f41c7964fbe4b88f
3
+ metadata.gz: 88320b47f1b6a3783e479d0a4d96bb63a3fdb793abeb394c2ccc2b01917aa32c
4
+ data.tar.gz: 1c71e6d1a45db23b6deb003babfcbda3d059e8f41ed815f8eede1b00d9ead854
5
5
  SHA512:
6
- metadata.gz: 85eaa6b6b089eace32a5ee7552ffc2b150e6afbab871d2d18eab76f8786abc62f8a7c5bebf17346aa2026a3718c9052cd3647bff12c08099e4cab4dcf3721ff7
7
- data.tar.gz: 50e0997a6a8b217b25fcc172fe19ed5aa5e2ddda0f2689eeca9636c7750e8af93581942953b6a78705b39ecab5ca12e8d6dabdcb97a619e17b621f5188ad90b9
6
+ metadata.gz: 1865a249d3c95d4ec77aa42df432ee244cdf36afcf7dc229c47acbe5404d3052c8de9507f0d510fe536fee118415f3db88d497836c99d4d5f1eeaf4de12cfe75
7
+ data.tar.gz: ae7af7c1091a1f64b1d724c26cb6e2b9ceae76f0e63acc0d5f97c25886aeffa9c0ba7570a976898d0c53d60931b27bd0263f41f9553055be64036d41faa6b68f
@@ -13,7 +13,7 @@ module Workarea
13
13
 
14
14
  content = Content.for('home_page')
15
15
 
16
- Workarea.config.content_block_types.each do |block_type|
16
+ Configuration::ContentBlocks.types.each do |block_type|
17
17
  content.blocks.build(
18
18
  type: block_type.slug,
19
19
  data: block_type.defaults
@@ -15,7 +15,7 @@
15
15
  });
16
16
 
17
17
  it('does not set a cookie when host matches referrer', function () {
18
- WORKAREA.trafficReferrer.setReferrer('http://127.0.0.1');
18
+ WORKAREA.trafficReferrer.setReferrer(window.location.origin);
19
19
 
20
20
  WORKAREA.trafficReferrer.setCookie();
21
21
  expect(WORKAREA.cookie.read('workarea_referrer')).to.equal(null);
@@ -15,7 +15,7 @@ module Workarea
15
15
  create_taxon(navigable: @categories.first)
16
16
  create_taxon(navigable: @page)
17
17
 
18
- Workarea.config.content_block_types.each do |type|
18
+ Configuration::ContentBlocks.types.each do |type|
19
19
  3.times { content.blocks.build(type_id: type.id, data: type.defaults) }
20
20
  end
21
21
 
@@ -10,12 +10,12 @@ module Workarea
10
10
  teardown :unset_config
11
11
 
12
12
  def set_config
13
- @current = Workarea.config.content_block_types
14
- Workarea.config.content_block_types = []
13
+ @current = Configuration::ContentBlocks.types
14
+ Configuration::ContentBlocks.types = []
15
15
  end
16
16
 
17
17
  def unset_config
18
- Workarea.config.content_block_types = @current
18
+ Configuration::ContentBlocks.types = @current
19
19
  end
20
20
 
21
21
  def test_wrap
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
4
+ version: 3.5.5
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-01-22 00:00:00.000000000 Z
11
+ date: 2020-02-21 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.4
19
+ version: 3.5.5
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.4
26
+ version: 3.5.5
27
27
  description: Provides user-facing ecommerce storefront functionality for the Workarea
28
28
  Commerce Platform.
29
29
  email:
@@ -734,7 +734,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
734
734
  - !ruby/object:Gem::Version
735
735
  version: '0'
736
736
  requirements: []
737
- rubygems_version: 3.1.2
737
+ rubygems_version: 3.0.6
738
738
  signing_key:
739
739
  specification_version: 4
740
740
  summary: Storefront for the Workarea Commerce Platform