middleman-meta-tags 0.1.2 → 0.1.3

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: 6803be14195f73691870e518bed5ee152aa97279
4
- data.tar.gz: 551c91e71ff4ae479096fc220855b4cdd6385bd7
3
+ metadata.gz: 82257b5fe8995b6feda0362ca1f3fac4bb75a8ad
4
+ data.tar.gz: 4e6b757305bb3d46d9a7020a5855889928424a0c
5
5
  SHA512:
6
- metadata.gz: 269f88fc9a0693e4544d1e28ab8486256de73e24b5a26f7c77446e2678325d7e54045dc1670e86268a10b01f8914de9b7962a6277910402f930475f470fc6a3a
7
- data.tar.gz: e2936137984b3dad0d7a7fb5cba75b8f4ddca44d9cd7611c2e5453a40d975ec6e3110c6e2af8ce5420ee31f3c4451438127f8db6720feb15eda11ff5207dd5bd
6
+ metadata.gz: 05f1ea4d02707b13e5869d6084adc087bb752cb6b6462e35b2a76599fedd1329bd27e57d2e220765c6c952a5645713cf92a73a71cd1af9085dd95513aa3a2c7c
7
+ data.tar.gz: 7726c4f903c1b6a3216587d100e14b72dbd721aeb9d47762d394cf1cf7c650ff5cde952184ad75c42edb1488022bf487b6dff4eb7d9345c6483c558e427704f3
@@ -1,5 +1,9 @@
1
1
  ## Next release
2
2
 
3
+ ## 0.1.3 (04/30/15)
4
+
5
+ * Fix `og:` tag syntax
6
+
3
7
  ## 0.1.2 (01/09/15)
4
8
 
5
9
  * Add keywords into site data
@@ -37,7 +37,11 @@ module Middleman
37
37
  result << tag(:meta, name: :keywords, content: keywords) unless keywords.blank?
38
38
 
39
39
  meta_tags.each do |name, content|
40
- result << tag(:meta, name: name, content: content ) unless content.blank?
40
+ if name.start_with?('og:')
41
+ result << tag(:meta, property: name, content: content ) unless content.blank?
42
+ else
43
+ result << tag(:meta, name: name, content: content ) unless content.blank?
44
+ end
41
45
  end
42
46
 
43
47
  result = result.join("\n")
@@ -1,5 +1,5 @@
1
1
  module Middleman
2
2
  module MetaTags
3
- VERSION = '0.1.2'
3
+ VERSION = '0.1.3'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: middleman-meta-tags
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Baptiste Lecocq
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-01-09 00:00:00.000000000 Z
11
+ date: 2015-04-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: middleman-core
@@ -91,7 +91,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
91
91
  version: '0'
92
92
  requirements: []
93
93
  rubyforge_project:
94
- rubygems_version: 2.2.2
94
+ rubygems_version: 2.4.1
95
95
  signing_key:
96
96
  specification_version: 4
97
97
  summary: Meta tags for Middleman