cortex-snippets-client 1.2.3 → 1.2.4

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
  SHA1:
3
- metadata.gz: b64e66763902a7be94474c0f95f05eebe3c44d25
4
- data.tar.gz: 8688988462917bfa890f0dbe2f66d04326b82bae
3
+ metadata.gz: 634c5f07c1c2d991593b0657a4485a1cdc5fc412
4
+ data.tar.gz: ed54573b976decc016ea419e2cd2487d0bb366fa
5
5
  SHA512:
6
- metadata.gz: 00dc1d6bf1cf06fa15468b8d9f16ac3892c4b149f1dbcefae8d8009896f9a6cad5751fcedc99223f9ad94917fbf709f56f52dd6bfe364533530f033a5b822029
7
- data.tar.gz: 0d12a3c3e9f7dc9b62666ae6c38f8980a849c7f56ccf2f2a2604ba225f952e5357b3fe1b8c0898aeff5185294c2f5ed98ae6cfd5866fbb3e55e518ff3a77d1fd
6
+ metadata.gz: fb8fc4a15c09086d8d0f8e6fbe4f2f16fb5ddb4acc4f2944df5029987a72f1d2c5c687336c8d2853e6feca3b3b7c1f78ecf0802f2e67b3f412f5330a0a4f99d2
7
+ data.tar.gz: e0293eacf1b17892cd332e58b40164df3d3e8d93eea6020990c43542bde0a188a669f79696eb9fd7a418fc1c1c3713c43d438a556a54d42978b4168724014613
@@ -1,5 +1,5 @@
1
1
  module Cortex
2
2
  module Snippets
3
- VERSION = '1.2.3'
3
+ VERSION = '1.2.4'
4
4
  end
5
5
  end
@@ -81,6 +81,14 @@ module Cortex
81
81
  galleries_widget_data&.[](section_name)
82
82
  end
83
83
 
84
+ def card_group_widget_data
85
+ JSON.parse(@contents[:card_group_widget_json] || 'null', quirks_mode: true)
86
+ end
87
+
88
+ def card_group_widget_data_for(section_name)
89
+ card_group_widget_data&.[](section_name)
90
+ end
91
+
84
92
  def accordion_group_widget_data
85
93
  JSON.parse(@contents[:accordion_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.3
4
+ version: 1.2.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: 2018-01-16 00:00:00.000000000 Z
11
+ date: 2018-01-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: cortex-client