middleman-metaman 0.1.13 → 0.1.14

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: 0c3aacac759ab909573dc98c00dc43a8469de1a5562295962101777505747a0e
4
- data.tar.gz: b86214a04f9d5af4d5f7d35893d4622ac49e7f1fa3269fa2c11127deec1e1739
3
+ metadata.gz: 57cccc1a096f981d6202c7b03261f9a9d1b0f37ef428b0a765d9bc9093418587
4
+ data.tar.gz: 105adfa06e9e14ce0eb05322149f06f92a0ee968b69524d3105721a2be3a5460
5
5
  SHA512:
6
- metadata.gz: 7b6e4d02aeac2114614188ec27066b98b4f35af37bbfa644c0d978f6c5e79bec894ea9873fbb6ff5b55f5fbfbc76c7800d25f86df1c4cd30600eb715221e311d
7
- data.tar.gz: fa2e011d99827655d004cf1273702b4a51a110a1d22b44af5f898ea1499f18cc7e01261e4277cce2a12f422ddd9a37051d9078ed0c865de434906502f34ce987
6
+ metadata.gz: a2d28aa138454a93dd10d89c6d7a3195076b7fb55e9c9b27bd77a5d4fcdee8a2119e62b01e55bfc47671ed3d6cd822441948d1bbc3b150f2576483190b2240b2
7
+ data.tar.gz: a14a5ce5c6f642835bc52ec59e69466872b25cceff4d17d42ba11a7e6ca3c49c326392ce3c4d9aa7d77029512fe4c2c9053319a2e55000d12077d77dd39028ad
@@ -139,9 +139,11 @@ module Middleman
139
139
  return nil unless image
140
140
  return image unless URI(image).scheme.nil?
141
141
 
142
- # sometimes image_path has no leading slash
143
- image_path = "/#{image_path(image)}" unless image_path(image)[0] == '/'
144
- "#{host}#{image_path}"
142
+ path = image_path(image)
143
+ # sometimes path has no leading slash
144
+ path = "/#{path}" unless path[0] == '/'
145
+
146
+ "#{host}#{path}"
145
147
  end
146
148
 
147
149
  def default_value(scope, key, default = nil)
@@ -1,5 +1,5 @@
1
1
  module Middleman
2
2
  module Metaman
3
- VERSION = '0.1.13'.freeze
3
+ VERSION = '0.1.14'.freeze
4
4
  end
5
5
  end
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.13
4
+ version: 0.1.14
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-06-22 00:00:00.000000000 Z
11
+ date: 2023-02-21 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.3.3
66
+ rubygems_version: 3.2.33
67
67
  signing_key:
68
68
  specification_version: 4
69
69
  summary: Manage your middleman meta tags.