cortex-snippets-client 1.0.3 → 1.0.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/client.rb +1 -1
- data/lib/cortex/snippets/version.rb +1 -1
- 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: b26e89edbc9cdd82d0f17e08012a413ef2ae0953
|
4
|
+
data.tar.gz: 0f211a5616816093dcda25c04bb5f76a9644f99a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fd304cdd0d7499fd39fa8a4afe1cf61fb696a742ffd6890015611aa7118c99b74708d442911cd2c010ec793c4f8fd5fd8dbc071139a88c3dc712e8393f9da5fb
|
7
|
+
data.tar.gz: 737fa33ce1d7f365dd069cf822d18cbab7e03528660ba1e30c9ed7014dcd162898e9c3e1eb2f5cf01858dd29d7de9984d05a2f7a76c38e3071733aa85d445bdb
|
@@ -14,7 +14,7 @@ module Cortex
|
|
14
14
|
snippets = current_webpage(request).snippets || []
|
15
15
|
snippet = snippets.find { |snippet| snippet[:document][:name] == options[:id] }
|
16
16
|
|
17
|
-
if snippet.nil? || snippet[:document][:body].nil?
|
17
|
+
if snippet.nil? || snippet[:document][:body].nil?
|
18
18
|
content_tag(:snippet, block, options)
|
19
19
|
else
|
20
20
|
content_tag(:snippet, snippet[:document][:body].html_safe, options)
|
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.0.
|
4
|
+
version: 1.0.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-03-07 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: cortex-client
|