cortex-snippets-client 1.2.5 → 1.2.6
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: 8687870e0f8e5c35e8f0c465a43d2e7f28b7c105
|
4
|
+
data.tar.gz: 86c44878e8170e770ba39b200275219a2b678ba0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ee350b5e39714ff72ed214a4cb8569fdc676aeb49651e622edf5a7707fc552a17828d09bbc703b98d4311e17a343891d6981fc281ba7e5d78e5291c7670d84ba
|
7
|
+
data.tar.gz: b00afe2ff62ade5d8bcc1a37ff02fae3684eccb71232508ed5a27154984b3f15a4383d8692e0f61e6ce90ab3396cff676850432732bcbd5ab1bf3791aae4e938
|
@@ -89,6 +89,14 @@ module Cortex
|
|
89
89
|
slider_widget_data&.[](section_name)
|
90
90
|
end
|
91
91
|
|
92
|
+
def leaders_widget_data
|
93
|
+
JSON.parse(@contents[:leaders_widget_json] || 'null', quirks_mode: true)
|
94
|
+
end
|
95
|
+
|
96
|
+
def leaders_widget_data_for(section_name)
|
97
|
+
leaders_widget_data&.[](section_name)
|
98
|
+
end
|
99
|
+
|
92
100
|
def card_group_widget_data
|
93
101
|
JSON.parse(@contents[:card_group_widget_json] || 'null', quirks_mode: true)
|
94
102
|
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.6
|
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-05-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: cortex-client
|