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 +4 -4
- data/lib/middleman-metaman/helpers.rb +5 -3
- data/lib/middleman-metaman/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 57cccc1a096f981d6202c7b03261f9a9d1b0f37ef428b0a765d9bc9093418587
|
4
|
+
data.tar.gz: 105adfa06e9e14ce0eb05322149f06f92a0ee968b69524d3105721a2be3a5460
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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
|
-
|
143
|
-
|
144
|
-
"
|
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)
|
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.
|
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:
|
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.
|
66
|
+
rubygems_version: 3.2.33
|
67
67
|
signing_key:
|
68
68
|
specification_version: 4
|
69
69
|
summary: Manage your middleman meta tags.
|