meta_description 0.0.2 → 0.0.3

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: 04fc89c149a463bc16ca774f7fce0aa372810f0c
4
- data.tar.gz: ac8a175563982d89f1fe995896cdc0f3cd3f151f
3
+ metadata.gz: bfd37624520a6cf651e5287ae217488adc89c894
4
+ data.tar.gz: 82a9e241a8d99a2d7c2570801e253f563c26e7aa
5
5
  SHA512:
6
- metadata.gz: 318713787828fe21be98bbb6fc38a20ec8cb072e01b9def2f37b6d4247807006cb8dd042e4a5dda3fc4515cf20f82ffdf742e3c20afecba5e901bff6b5c043ed
7
- data.tar.gz: 8438d04e6c2665e269ec6de5640f81daac3abe0b9f0db7177318776384e2aed6452566ada22d4a962fdca5fdd72b04be941ea3d9c79c6ecc6c57b2085a944c44
6
+ metadata.gz: d0dc94a5db223c22730885ce94192509bb96f5d528770a392d756e2a25866da828b27886057ea1ed537ec763a7345740c2412ec07ee0009be37b94a42c1771c1
7
+ data.tar.gz: 9798150e56dc687929233898133c4fd36ef08efd541076ab23143e174c1b3aee0d7333a2237503c2b73c18758d096e0e1c2f014fb7c2dafdfce1b24779fcbd25
@@ -5,7 +5,7 @@ module MetaDescription
5
5
  end
6
6
 
7
7
  def description_text
8
- if actions_description.present?
8
+ if controllers_descriptions.present? && actions_description.present?
9
9
  actions_description
10
10
  else
11
11
  default_description
@@ -1,3 +1,3 @@
1
1
  module MetaDescription
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
File without changes
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: meta_description
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.2
4
+ version: 0.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Yan Lhert
@@ -93,6 +93,7 @@ files:
93
93
  - test/dummy/config/initializers/session_store.rb
94
94
  - test/dummy/config/initializers/wrap_parameters.rb
95
95
  - test/dummy/config/locales/en.yml
96
+ - test/dummy/config/meta_description.yml
96
97
  - test/dummy/config/meta_descriptions.yml
97
98
  - test/dummy/config/routes.rb
98
99
  - test/dummy/config/secrets.yml
@@ -173,6 +174,7 @@ test_files:
173
174
  - test/dummy/config/initializers/session_store.rb
174
175
  - test/dummy/config/initializers/wrap_parameters.rb
175
176
  - test/dummy/config/locales/en.yml
177
+ - test/dummy/config/meta_description.yml
176
178
  - test/dummy/config/meta_descriptions.yml
177
179
  - test/dummy/config/routes.rb
178
180
  - test/dummy/config/secrets.yml