acts_as_seo_friendly 0.2.0 → 0.2.1
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: 5fc26f38e55df1ef7ab8d4460da7a704d5d04dce
|
4
|
+
data.tar.gz: a36e8d0dd5c248f669a0bd91581edecb7be1cd20
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2591be8f79ea1b41e6fc3ab8eb24e4690671aa6993d0db551371a2c593587cda7815a41e37c29e608292103adad4612e2ee1640276b09fbf6b41756d1d461c68
|
7
|
+
data.tar.gz: 63164e9fdc024706e652d94bb6775c78f8fb6198f0f9b84816c2921a17cd136bf36c4d825997b7f3f9947d65438a3beeceb3b243e63ea788624f204a6463d008
|
@@ -4,7 +4,7 @@ module ActsAsSeoFriendly
|
|
4
4
|
ActsAsSeoFriendly::Datable::Core::SEO_ATTRIBUTES.each do |seo_attr|
|
5
5
|
define_method(seo_attr) do
|
6
6
|
if seo_datum && seo_datum.persisted?
|
7
|
-
seo_datum.public_send(seo_attr)
|
7
|
+
seo_datum.public_send(seo_attr).presence || public_send("dynamic_#{seo_attr}")
|
8
8
|
else
|
9
9
|
public_send("dynamic_#{seo_attr}")
|
10
10
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: acts_as_seo_friendly
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Timur Khafizov
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-07-01 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -91,7 +91,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
91
91
|
version: '0'
|
92
92
|
requirements: []
|
93
93
|
rubyforge_project:
|
94
|
-
rubygems_version: 2.
|
94
|
+
rubygems_version: 2.4.5
|
95
95
|
signing_key:
|
96
96
|
specification_version: 4
|
97
97
|
summary: Summary of ActsAsSeoFriendly.
|