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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 7a0c4476c52639113c3ad341764c8325e1e90275
4
- data.tar.gz: d51349d46b01b652a86b81403a7fdb8ec4514b8f
3
+ metadata.gz: 298a5f8b88cdd5795df1e692afcc3bfe3d9bc963
4
+ data.tar.gz: fff0646d82724789657034c948a374edbda78f00
5
5
  SHA512:
6
- metadata.gz: 02da7cb8320084ea13fde08329015a273f97fa3857776220321742612ddd2baa16622c43d5eed5d89d4b4f4618293263095f312fe01e2b6cdbfeffe7cb59fa69
7
- data.tar.gz: 593e5bdc83c0244b66fb20781eb8a7ef47acdc5adf1823c4d5726623ef75bdc668afb53c47e177d7954254e74361fb9520e2f5ea1bfd5dcc2d06a3f7090cfe43
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.3 - Set SEO Keyword feed to be an array rather than comma separated String
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
@@ -1,7 +1,7 @@
1
1
  module Cortex
2
2
  module Snippets
3
3
  module Client
4
- VERSION = '0.6.0'
4
+ VERSION = '0.7.0'
5
5
  end
6
6
  end
7
7
  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.6.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-05-10 00:00:00.000000000 Z
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.4.5
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