workarea-browse_option 2.1.7 → 2.1.8

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: 28d5f9b37ef5d675069c9052300b43f5039b1a6526f280c3d2cd734333f6e0eb
4
- data.tar.gz: 395a0ad0c22c651884cd232f2b4a18fe231ffa56d465ccb6d872016bdd76421f
3
+ metadata.gz: 0d64abb3b58fa446f36ce5183daa054ea7b1b88cc3aaed5c066321f76f85c611
4
+ data.tar.gz: bbe929986d722f2b1551ba89bb74cd7eb9fcbb4873c2904a9f27febd16aeac3e
5
5
  SHA512:
6
- metadata.gz: 5c496a31cddfe5cfe9c71280cba7f8b541b88ce870001aa535eb541886a1ba28d79821deff3d5e9f28938eb7adf8e29fa032f79651db320b43bf852496f6f5ff
7
- data.tar.gz: fcfd1a6212b08ef0b59c19fb3cb0efc4a86fdee3435d6dc2cb3961cc325a645e368b04c306403ea3fa37da8d4dd579f98054aee9b5f69c4c0470e8713ce4a3bd
6
+ metadata.gz: fc0a53e87ae762485b6753b584c60f1b96d8d847bd90430e2a3f09939a20fb7a8a5be6761fcb93466dac67e6462c24c23649a96e8119775e0b5d29ae58fd20f5
7
+ data.tar.gz: 3f1d46c6d2c268032bd6319ca8e3130ad99a950267ad440f07c1310ca654ed6d16c4d85c7618e328adda6c350ab5a09ea250e8a99630051cef9e79dc4508f317
@@ -1,3 +1,27 @@
1
+ Workarea Browse Option 2.1.8 (2019-10-30)
2
+ --------------------------------------------------------------------------------
3
+
4
+ * Update cache_key.decorator
5
+
6
+ Base on what I'm reading here: https://github.com/workarea-commerce/workarea-browse-option/blob/master/app/models/workarea/search/storefront/product_option.rb
7
+
8
+ and some experimentation in a shell:
9
+ ```
10
+ irb(main):021:0> p.options['option']
11
+ => "Dusty Blue"
12
+ irb(main):022:0> p.browse
13
+ p.browse_link_options p.browse_option p.browse_options p.browse_swatch_option p.browser_title
14
+ irb(main):022:0> p.browse_option
15
+ => "color"
16
+ irb(main):023:0> p.options[p.browse_option]
17
+ => nil
18
+ ```
19
+
20
+ This looks like it needs to be updated
21
+ Jesse McPherson
22
+
23
+
24
+
1
25
  Workarea Browse Option 2.1.7 (2019-10-01)
2
26
  --------------------------------------------------------------------------------
3
27
 
@@ -4,9 +4,9 @@ module Workarea
4
4
 
5
5
  def option_parts
6
6
  option = @product.browse_option
7
- return super unless option.present? && @options[option].present?
7
+ return super unless option.present? && @options['option'].present?
8
8
 
9
- super.unshift(@options[option])
9
+ super.unshift(@options['option'].optionize)
10
10
  end
11
11
  end
12
12
  end
@@ -1,5 +1,5 @@
1
1
  module Workarea
2
2
  module BrowseOption
3
- VERSION = '2.1.7'.freeze
3
+ VERSION = '2.1.8'.freeze
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: workarea-browse_option
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.1.7
4
+ version: 2.1.8
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matt Duffy
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-10-01 00:00:00.000000000 Z
11
+ date: 2019-10-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: workarea