cortex-snippets-client 1.2.6 → 1.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +5 -5
- data/lib/cortex/snippets/version.rb +1 -1
- data/lib/cortex/snippets/webpage.rb +1 -8
- metadata +3 -3
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: 862f607f4092fd833f8d2ed064e9eaa21b1d468ce1ec352adca6f22a4bc2a847
|
|
4
|
+
data.tar.gz: 234218c17af14d56c292460d74760cc28d20ed748d59daceee2640bf92268478
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: dd91a99aea40410b7e526f4de099bfa7beb12855ec5ce2ea5daa336a8fa3bb7385f39d6c518ffab0a061d05aecee70f5cc5636b1afc518b7caa93add301c6947
|
|
7
|
+
data.tar.gz: 6fc9860f8a65297332e7601a0392b3e42f36a07d6418c2bdbe464f4a9b35809ab60cccae083ab08f995c5daedbedbc33f89ebf863d04f7dfc0da7b4bd91efc9a
|
|
@@ -30,6 +30,7 @@ module Cortex
|
|
|
30
30
|
robot_information << index_option if @contents[index_option]
|
|
31
31
|
end
|
|
32
32
|
|
|
33
|
+
robot_information = index_options unless Rails.env.production? || Rails.env.failover?
|
|
33
34
|
robot_information
|
|
34
35
|
end
|
|
35
36
|
|
|
@@ -89,14 +90,6 @@ module Cortex
|
|
|
89
90
|
slider_widget_data&.[](section_name)
|
|
90
91
|
end
|
|
91
92
|
|
|
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
|
-
|
|
100
93
|
def card_group_widget_data
|
|
101
94
|
JSON.parse(@contents[:card_group_widget_json] || 'null', quirks_mode: true)
|
|
102
95
|
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.
|
|
4
|
+
version: 1.3.0
|
|
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-08-26 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.6
|
|
125
|
+
rubygems_version: 2.7.6
|
|
126
126
|
signing_key:
|
|
127
127
|
specification_version: 4
|
|
128
128
|
summary: Provides loading of Cortex snippets for Ruby applications, with some Rails
|