seo_noindex 0.0.4 → 0.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6a4a7cbe2607e494f7ec3e49a682f0c24f50e8a6
4
- data.tar.gz: 6d29effafc4b102fbc2fa3abec2ec9e09d5a86d0
3
+ metadata.gz: 5dec299301e9e4bb4b6d36d48fe1f7f4695d209f
4
+ data.tar.gz: a8d5f588c5f5a237f53518cf383747fc990b4abe
5
5
  SHA512:
6
- metadata.gz: 1825145fdb6e64ea1a6c30b4ae35ae65e7e1aa1f353b588a3b60030faac2218db5ade93650cc2da14c249f6bf478211d592c9618448b740a0445b95cc3fcb868
7
- data.tar.gz: 807f24fb1fdd5709dfe0b5736560863cd7f203a96b78d56d8f8cb5cbb287a9210b78115968cf39750b2479c1206c528ae56ef9a5d1375c7e576142f91d233fe1
6
+ metadata.gz: 310b2648eef7b11af82a4e31996921003862b4bfaff79363f70be4fee0f811baf6e21ccac7276ac5e9f6bc9093f8c05a823905c629e2e3a3bf11b6594c69c57c
7
+ data.tar.gz: b5b7b0090d373d06bf677de7db4253470a553612286e9d7b9e4950cf8bb75dda023b5d7e7e163e0cdedc2bb41dc86b5aa1902401baf0474a1c1a739d004c75c1
@@ -2,7 +2,7 @@ module SeoNoindex
2
2
  module ViewHelper
3
3
 
4
4
  def robots_noindex_tag
5
- if request && request.env['seo_noindex']
5
+ if request && request.env && 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.4"
2
+ VERSION="0.0.5"
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.4
4
+ version: 0.0.5
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-28 00:00:00.000000000 Z
11
+ date: 2016-10-21 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.4
111
+ summary: seo_noindex-0.0.5
112
112
  test_files:
113
113
  - spec/middleware_spec.rb
114
114
  - spec/spec_helper.rb