middleman-metaman 0.1.12 → 0.1.13

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
  SHA256:
3
- metadata.gz: f1cdc0b544fd0b162e644bbfa7bba14088078d159c27e42df4ea43eba79fe196
4
- data.tar.gz: c8f9d9b584da0c5be99da28e92f02675348c3514a9c7eab50e0d6a19580a3f35
3
+ metadata.gz: 0c3aacac759ab909573dc98c00dc43a8469de1a5562295962101777505747a0e
4
+ data.tar.gz: b86214a04f9d5af4d5f7d35893d4622ac49e7f1fa3269fa2c11127deec1e1739
5
5
  SHA512:
6
- metadata.gz: 56fb6b85fab37f1e9e54e4f329ca936de1eb31dcdeb211b5a6e2bc0a0c7dea6f0034bc76ebda2573f95e8a56b58f4c333c4634a24a07d676394d0cddd7bfbf14
7
- data.tar.gz: 8455ac3053eb1c3135ea4f58e3befedd3815590ba6df8928dd9707ffe90bfa3e41734459ad479c9497a7c433b00b2220cd2df7f6b8eda2f3e08c9049d7822046
6
+ metadata.gz: 7b6e4d02aeac2114614188ec27066b98b4f35af37bbfa644c0d978f6c5e79bec894ea9873fbb6ff5b55f5fbfbc76c7800d25f86df1c4cd30600eb715221e311d
7
+ data.tar.gz: fa2e011d99827655d004cf1273702b4a51a110a1d22b44af5f898ea1499f18cc7e01261e4277cce2a12f422ddd9a37051d9078ed0c865de434906502f34ce987
@@ -13,8 +13,8 @@ module Middleman
13
13
  @meta_tags[:twitter] ||= ActiveSupport::HashWithIndifferentAccess.new
14
14
  @meta_tags[:canonical] = true
15
15
 
16
- if data['meta_tags']
17
- site_meta_tags = data['meta_tags'].with_indifferent_access
16
+ if app.data[:meta_tags]
17
+ site_meta_tags = app.data[:meta_tags].with_indifferent_access
18
18
  @meta_tags.merge!(site_meta_tags)
19
19
  end
20
20
 
@@ -1,5 +1,5 @@
1
1
  module Middleman
2
2
  module Metaman
3
- VERSION = '0.1.12'.freeze
3
+ VERSION = '0.1.13'.freeze
4
4
  end
5
5
  end
@@ -1,4 +1,5 @@
1
1
  require 'middleman-core'
2
+ require 'active_support/core_ext/hash/indifferent_access'
2
3
 
3
4
  ::Middleman::Extensions.register(:metaman) do
4
5
  require 'middleman-metaman/extension'
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: middleman-metaman
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.12
4
+ version: 0.1.13
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jarrett Lusso
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-02-09 00:00:00.000000000 Z
11
+ date: 2022-06-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: middleman-core
@@ -63,7 +63,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
63
63
  - !ruby/object:Gem::Version
64
64
  version: '0'
65
65
  requirements: []
66
- rubygems_version: 3.1.6
66
+ rubygems_version: 3.3.3
67
67
  signing_key:
68
68
  specification_version: 4
69
69
  summary: Manage your middleman meta tags.