jt-rails-meta 1.0.10 → 1.0.11

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: 90d6598dedd750377fa320ff39c4c5a018bea21d
4
- data.tar.gz: 1d57fdc72a1e54de3254e0166afde2f4731b218c
3
+ metadata.gz: 74d74788b012a309928c22ab335086bb9e2a5d70
4
+ data.tar.gz: aed5ab6dccc6583a82b60b2cba062fea6aa45a80
5
5
  SHA512:
6
- metadata.gz: 3cfad024bf005f490957ba9a210a758db98137537ad09bf2d92a734a2f7fd049d0204cf6154f27a8ab51cfaae040ec51c8aaf2f2d76d560b506e8c72e23fffcc
7
- data.tar.gz: 3d3617233700f545774aa98f2934fe1559be8057521f2cb756399975f3f7e78140e2fe8875a92bbb20a4045aecafb6801b208eb705d4a52766feab6e1caa34e9
6
+ metadata.gz: a1c7de004c39dd171468a65d323809e8d71bb587e81d87a88ce05688acd237ff674d89a659d7864a81136aad4c3bfa74a14245e91b96430c18b580e7a90fc002
7
+ data.tar.gz: 32f4016078530d07c6d284cb89674a582bf139c659365dfd3d04762c3f498c4af011d8676f61f8a1a078f1ebe97005a06392b8cb8ff7354b8d09200775ea0b79
@@ -3,7 +3,7 @@ Gem::Specification.new do |s|
3
3
  s.summary = "Manage HTML meta tags for SEO in Ruby On Rails"
4
4
  s.description = "JTRailsMeta help you to manage HTML meta tags like title, description, keywords used in Search Engine Optimization (SEO)."
5
5
  s.homepage = 'https://github.com/jonathantribouharet/jt-rails-meta'
6
- s.version = '1.0.10'
6
+ s.version = '1.0.11'
7
7
  s.files = `git ls-files`.split("\n")
8
8
  s.require_paths = ['lib']
9
9
  s.authors = ['Jonathan TRIBOUHARET']
data/lib/jt-rails-meta.rb CHANGED
@@ -16,22 +16,22 @@ module JT::Rails::Meta
16
16
 
17
17
  # Generate HTML tags title, description, keywords and others meta
18
18
  def meta_tags
19
- output = ""
19
+ output = ''
20
20
 
21
- output << content_tag 'title', meta_title
21
+ output << content_tag('title', meta_title)
22
22
  output << "\n"
23
- output << tag 'meta', name: 'description', content: meta_description
23
+ output << tag('meta', name: 'description', content: meta_description)
24
24
  output << "\n"
25
- output << tag 'meta', name: 'keywords', content: meta_keywords
25
+ output << tag('meta', name: 'keywords', content: meta_keywords)
26
26
  output << "\n"
27
27
 
28
28
  for link in @meta[:links]
29
- output << tag 'link', link[:options]
29
+ output << tag('link', link[:options])
30
30
  output << "\n"
31
31
  end
32
32
 
33
33
  for extra_params in @meta[:extra]
34
- output << tag 'meta', name: extra_params[:name], content: extra_params[:content]
34
+ output << tag('meta', name: extra_params[:name], content: extra_params[:content])
35
35
  output << "\n"
36
36
  end
37
37
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: jt-rails-meta
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.10
4
+ version: 1.0.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jonathan TRIBOUHARET