cortex-snippets-client 1.2.4 → 1.2.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/cortex/snippets/version.rb +1 -1
- data/lib/cortex/snippets/webpage.rb +8 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b18e38ddad890bb1972ba5fdac9a9ddfc1d47f17
|
4
|
+
data.tar.gz: dc012db5cbd64edd0c724886618bad0c9f814302
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 6278dc8eeed7009b8834bc32950c315b9bdbfdf6c0a26f4813203b8c1c4843dc5ad20ed174b2f660d8f376621d6eca54f3968951fc2c9f0ee46f21ef90bf45d3
|
7
|
+
data.tar.gz: 92697dc6397b451bc8418e3b7d2329c9c32b04511af2a3b0bd2fbdf97e00c230aa37ca9dd725b40486862caedfd204bcd1c850d5da687733c33b8774a92c8a85
|
@@ -81,6 +81,14 @@ module Cortex
|
|
81
81
|
galleries_widget_data&.[](section_name)
|
82
82
|
end
|
83
83
|
|
84
|
+
def slider_widget_data
|
85
|
+
JSON.parse(@contents[:slider_widget_json] || 'null', quirks_mode: true)
|
86
|
+
end
|
87
|
+
|
88
|
+
def slider_widget_data_for(section_name)
|
89
|
+
slider_widget_data&.[](section_name)
|
90
|
+
end
|
91
|
+
|
84
92
|
def card_group_widget_data
|
85
93
|
JSON.parse(@contents[:card_group_widget_json] || 'null', quirks_mode: true)
|
86
94
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cortex-snippets-client
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.2.
|
4
|
+
version: 1.2.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- CareerBuilder Employer Site & Content Products
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-04-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: cortex-client
|