meta_description 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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: d053c4b556874da973c9ebcd81ade8f94bb9c772
|
|
4
|
+
data.tar.gz: 40b69e274596af463e7c72889adf6a0c7a11bfd3
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 2c1b784233687c470652a511c811e2e465f4e7f39be61a7e1b0e35a902583c129a0a030c00a6040ec20cb91c4ca24d3e75bb6f17e297a23a955f5f0424725d4d
|
|
7
|
+
data.tar.gz: 92fd3fe18f66ada5aa41f7e9c7dfc2d9de8fce3355b04d4bba208e25ae9e937f47ba399fc05af04cc2d6d2abcb299bc3e57206175c7d30cac1b1f289ed04310a
|
|
@@ -5,7 +5,9 @@ module MetaDescription
|
|
|
5
5
|
end
|
|
6
6
|
|
|
7
7
|
def description_text
|
|
8
|
-
if
|
|
8
|
+
if @metadescription.present?
|
|
9
|
+
@metadescription
|
|
10
|
+
elsif controllers_descriptions.present? && actions_description.present?
|
|
9
11
|
actions_description
|
|
10
12
|
elsif controllers_descriptions.present? && controllers_descriptions['all'].present?
|
|
11
13
|
controllers_descriptions['all']
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: meta_description
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.5
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Yan Lhert
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2015-04-
|
|
11
|
+
date: 2015-04-29 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: rails
|
|
@@ -196,3 +196,4 @@ test_files:
|
|
|
196
196
|
- test/dummy/tmp/cache/assets/development/sprockets/f7cbd26ba1d28d48de824f0e94586655
|
|
197
197
|
- test/meta_description_test.rb
|
|
198
198
|
- test/test_helper.rb
|
|
199
|
+
has_rdoc:
|