cortex-snippets-client 0.6.0 → 0.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +1 -1
- data/lib/cortex/snippets/client/helper.rb +11 -0
- data/lib/cortex/snippets/client/version.rb +1 -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: 298a5f8b88cdd5795df1e692afcc3bfe3d9bc963
|
4
|
+
data.tar.gz: fff0646d82724789657034c948a374edbda78f00
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9325dd3b45975adf9856069d1211e68681eb6b32f75c3981ad60f74500e93900034569163d2ec642503910e3139b23aaf9b461db45e8aa682b6940667e1e446a
|
7
|
+
data.tar.gz: d83148dee459c71e4fc1154638045451b5918e30ef125637cb7338169a2466f45e8084f377ef750031a986cba74b5ffdc628d064ced57ddaadedbaeb99886cad
|
data/CHANGELOG.md
CHANGED
@@ -3,7 +3,7 @@ Version History
|
|
3
3
|
* All Version bumps are required to update this file as well!!
|
4
4
|
----
|
5
5
|
|
6
|
-
* 0.6.
|
6
|
+
* 0.6.0 - Set SEO Keyword feed to be an array rather than comma separated String
|
7
7
|
* 0.5.3 - Extract a framework-agnostic sanitized_webpage_url method
|
8
8
|
* 0.5.2 - Addendum to previous version: fix expiry issues
|
9
9
|
* 0.5.1 - Set Webpage feed cache to never expire
|
@@ -25,6 +25,17 @@ module Cortex
|
|
25
25
|
webpage[:seo_keyword_list]
|
26
26
|
end
|
27
27
|
|
28
|
+
def seo_robots
|
29
|
+
robot_information = []
|
30
|
+
index_options = [:noindex, :nofollow, :noodp, :nosnippet, :noarchive, :noimageindex]
|
31
|
+
|
32
|
+
index_options.each do |index_option|
|
33
|
+
robot_information << index_option if webpage[index_option]
|
34
|
+
end
|
35
|
+
|
36
|
+
robot_information
|
37
|
+
end
|
38
|
+
|
28
39
|
def noindex
|
29
40
|
webpage[:noindex]
|
30
41
|
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: 0.
|
4
|
+
version: 0.7.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- CB Content Enablement
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-10-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: cortex-client
|
@@ -137,7 +137,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
137
137
|
version: '0'
|
138
138
|
requirements: []
|
139
139
|
rubyforge_project:
|
140
|
-
rubygems_version: 2.
|
140
|
+
rubygems_version: 2.5.1
|
141
141
|
signing_key:
|
142
142
|
specification_version: 4
|
143
143
|
summary: Provides loading of Cortex snippets for Ruby applications, with some Rails
|