seo_noindex 0.0.3 → 0.0.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: dd2db9020eea8e6f6f58164bd2e1c7077b74348a
4
- data.tar.gz: ca40272955bd46c5174fe395a058564470a76f55
3
+ metadata.gz: 6a4a7cbe2607e494f7ec3e49a682f0c24f50e8a6
4
+ data.tar.gz: 6d29effafc4b102fbc2fa3abec2ec9e09d5a86d0
5
5
  SHA512:
6
- metadata.gz: c14404191416485e1b378853f1209d9efc46cfa894cbeaca5c87d9f4a8c6c22745db09c2cce3647663050f57b46c8c13f86d269dea63e70ca457426c9753d381
7
- data.tar.gz: a9c05891ebbf9cc76aa0990b81befe0cd55b297e6940e9a01c295fe7d42b60c95bf5b281dd84d31af6a53cb71247bf73ace7ef053c118c2935a49bd668fcd31b
6
+ metadata.gz: 1825145fdb6e64ea1a6c30b4ae35ae65e7e1aa1f353b588a3b60030faac2218db5ade93650cc2da14c249f6bf478211d592c9618448b740a0445b95cc3fcb868
7
+ data.tar.gz: 807f24fb1fdd5709dfe0b5736560863cd7f203a96b78d56d8f8cb5cbb287a9210b78115968cf39750b2479c1206c528ae56ef9a5d1375c7e576142f91d233fe1
@@ -2,7 +2,7 @@ module SeoNoindex
2
2
  module ViewHelper
3
3
 
4
4
  def robots_noindex_tag
5
- if request.env['seo_noindex']
5
+ if request && request.env['seo_noindex']
6
6
  meta_tag_noindex
7
7
  end
8
8
  end
@@ -1,3 +1,3 @@
1
1
  module SeoNoindex
2
- VERSION="0.0.3"
2
+ VERSION="0.0.4"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: seo_noindex
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Vsevolod Avramov
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-09-06 00:00:00.000000000 Z
11
+ date: 2016-09-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rake
@@ -108,7 +108,7 @@ rubyforge_project:
108
108
  rubygems_version: 2.4.8
109
109
  signing_key:
110
110
  specification_version: 4
111
- summary: seo_noindex-0.0.3
111
+ summary: seo_noindex-0.0.4
112
112
  test_files:
113
113
  - spec/middleware_spec.rb
114
114
  - spec/spec_helper.rb