redde_seo 0.0.7 → 0.0.8
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/models/redde/seo/finder.rb +2 -2
- data/lib/redde_seo/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 58a06261980da4a8d4404a1bc84a0f12f472781a
|
4
|
+
data.tar.gz: 3e58265f82e2bb5e5a0fc4a9c462d2943145955b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7550016b9bfd88f75c5b9df89169f10cec76c935f62413ddb67e934c8545c6c173f85f5674f33e4a9602b063f99f5b58fcd730a40bfa13c83b01b67edd2ca77e
|
7
|
+
data.tar.gz: f2821887b9936fd7505ae7486ae1e385c39ad4f7d6fd2c56b9cc3f16c12c618197b9311a9e3e43b251673580f8a47c06dc1e1bb25a6d2bdcaabf2e56e17688fe
|
@@ -12,8 +12,8 @@ class Redde::Seo::Finder
|
|
12
12
|
|
13
13
|
def find
|
14
14
|
@result = find_object_seo if object.present?
|
15
|
-
@result = find_url_seo if result.nil?
|
16
|
-
@result = default_seo if result.nil?
|
15
|
+
@result = find_url_seo if result.nil? || (result && result.empty?)
|
16
|
+
@result = default_seo if result.nil? || (result && result.empty?)
|
17
17
|
@result
|
18
18
|
end
|
19
19
|
|
data/lib/redde_seo/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: redde_seo
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.8
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Oleg Bovykin
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-07-
|
11
|
+
date: 2014-07-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|