meta_description 0.0.4 → 0.0.5

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: 613935d83c6dd8f40edf9ae3aa2b571bc50cb454
4
- data.tar.gz: d75b2494795e3b8099bf38b2a2795fb2e3a9832e
3
+ metadata.gz: d053c4b556874da973c9ebcd81ade8f94bb9c772
4
+ data.tar.gz: 40b69e274596af463e7c72889adf6a0c7a11bfd3
5
5
  SHA512:
6
- metadata.gz: 8da653b32887d10b354f388f1b388faee0a2f1a3104248fc6b3576d120d7d4c32b3d7bb7cc01bd78bbac5b61794dccd972606764bae03d0fe857e0ec748e3629
7
- data.tar.gz: 3a663b8337cd8d10500d0230bacb33d4bc01764284700464c321311daffb7ca706c78ba4cf0380d66bb82a6b70f13bcf3a8a53e8a1cc407e7d6d067606addbb5
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 controllers_descriptions.present? && actions_description.present?
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']
@@ -1,3 +1,3 @@
1
1
  module MetaDescription
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: meta_description
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
  - Yan Lhert
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-04-06 00:00:00.000000000 Z
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: