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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7ad69fcb7ac688a1bbf9fb3d1662b38890f26a7c
4
- data.tar.gz: 326ef4581d433f751aec38de609c76b5c5c55308
3
+ metadata.gz: 2f7b359568349d0b03ac536727d674a467bda4f5
4
+ data.tar.gz: a5105e1653ffdf0bd88ea021f1b107c5c75bfa77
5
5
  SHA512:
6
- metadata.gz: d7a50ef98f32c90f5ad12820ba7361921ff4c491dc98466886775358a2ec01551fa80a824637aa500176ad51f55bc36040b4fac0505993d83002b37cf51b5ae9
7
- data.tar.gz: 28f95d57d523ad6b6a899d628712cd69af8cc56f6ad860b038afb79edfae8dffb783021ea005d839941ec117354ce19e4a5a853c0ca20b83fb598fcd68c6b5fd
6
+ metadata.gz: 3f77b2d0ab96af04bb979577fc7dc39d4a134964fcd9e8d242172a4e0f9521a2ff849d9208d22ca7df04ee8806e9bde54405aead0d3e21afb845916844877189
7
+ data.tar.gz: 3f4e678981f14da93a539051228bf6be01b71301eb7a16f16277be82d49db00bdcffce9f462ad1a80d74a90a4c59a59ad6ec2209f8843a16ec482bfa84750233
@@ -1,5 +1,5 @@
1
1
  module Cortex
2
2
  module Snippets
3
- VERSION = '1.1.3'
3
+ VERSION = '1.1.4'
4
4
  end
5
5
  end
@@ -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.3
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-06-15 00:00:00.000000000 Z
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.6.11
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