acts_as_seo_friendly 0.1.1 → 0.1.2
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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d8ea46b24658a7663c0c1bd5c6d72270a6c8fb53
|
4
|
+
data.tar.gz: bb218da35653bffb6aec6e0ff31b7b51c402dee7
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9737dd1b85bfed811da39e203603850a71370f55132bac2488d5811f9a42e3e32efcee5878509a63dd586f2423ba9f617efd4d68748ab5ea7a18c4507eb2e26e
|
7
|
+
data.tar.gz: c2f122c4c404d9cae8cd0e0b96cfa4668920fcf02f6ce68d92daace34ae934df38d8b31240b2141328a36a81dbb77cf4838c652f3793fc6f20a7cbb31aad07ad
|
@@ -3,7 +3,7 @@ module ActsAsSeoFriendly
|
|
3
3
|
module Getters
|
4
4
|
ActsAsSeoFriendly::Datable::Core::SEO_ATTRIBUTES.each do |seo_attr|
|
5
5
|
define_method(seo_attr) do
|
6
|
-
if seo_datum.persisted?
|
6
|
+
if seo_datum && seo_datum.persisted?
|
7
7
|
seo_datum.public_send(seo_attr)
|
8
8
|
else
|
9
9
|
public_send("dynamic_#{seo_attr}")
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: acts_as_seo_friendly
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Timur Khafizov
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 4.
|
19
|
+
version: '4.0'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 4.
|
26
|
+
version: '4.0'
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: meta-tags
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|