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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0d64abb3b58fa446f36ce5183daa054ea7b1b88cc3aaed5c066321f76f85c611
|
4
|
+
data.tar.gz: bbe929986d722f2b1551ba89bb74cd7eb9fcbb4873c2904a9f27febd16aeac3e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fc0a53e87ae762485b6753b584c60f1b96d8d847bd90430e2a3f09939a20fb7a8a5be6761fcb93466dac67e6462c24c23649a96e8119775e0b5d29ae58fd20f5
|
7
|
+
data.tar.gz: 3f1d46c6d2c268032bd6319ca8e3130ad99a950267ad440f07c1310ca654ed6d16c4d85c7618e328adda6c350ab5a09ea250e8a99630051cef9e79dc4508f317
|
data/CHANGELOG.md
CHANGED
@@ -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
|
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.
|
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-
|
11
|
+
date: 2019-10-30 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: workarea
|