cortex-snippets-client 1.1.3 → 1.1.4
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 +5 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2f7b359568349d0b03ac536727d674a467bda4f5
|
4
|
+
data.tar.gz: a5105e1653ffdf0bd88ea021f1b107c5c75bfa77
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3f77b2d0ab96af04bb979577fc7dc39d4a134964fcd9e8d242172a4e0f9521a2ff849d9208d22ca7df04ee8806e9bde54405aead0d3e21afb845916844877189
|
7
|
+
data.tar.gz: 3f4e678981f14da93a539051228bf6be01b71301eb7a16f16277be82d49db00bdcffce9f462ad1a80d74a90a4c59a59ad6ec2209f8843a16ec482bfa84750233
|
@@ -74,11 +74,15 @@ module Cortex
|
|
74
74
|
def accordion_group_widget_data_for(section_name)
|
75
75
|
accordion_group_widget_data&.[](section_name) || []
|
76
76
|
end
|
77
|
-
|
77
|
+
|
78
78
|
def charts_widget_data
|
79
79
|
JSON.parse(@webpage[:charts_widget_json] || 'null', quirks_mode: true)
|
80
80
|
end
|
81
81
|
|
82
|
+
def buy_box_widget_data
|
83
|
+
JSON.parse(@webpage[:buy_box_widget_json] || 'null', quirks_mode: true)
|
84
|
+
end
|
85
|
+
|
82
86
|
def charts_widget_data_for(section_name)
|
83
87
|
charts_widget_data&.[](section_name) || {}
|
84
88
|
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.1.
|
4
|
+
version: 1.1.4
|
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: 2017-
|
11
|
+
date: 2017-07-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: cortex-client
|
@@ -122,7 +122,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
122
122
|
version: '0'
|
123
123
|
requirements: []
|
124
124
|
rubyforge_project:
|
125
|
-
rubygems_version: 2.
|
125
|
+
rubygems_version: 2.5.2
|
126
126
|
signing_key:
|
127
127
|
specification_version: 4
|
128
128
|
summary: Provides loading of Cortex snippets for Ruby applications, with some Rails
|