middleman-metaman 0.1.11 → 0.1.12
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 +3 -1
- 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: f1cdc0b544fd0b162e644bbfa7bba14088078d159c27e42df4ea43eba79fe196
|
4
|
+
data.tar.gz: c8f9d9b584da0c5be99da28e92f02675348c3514a9c7eab50e0d6a19580a3f35
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 56fb6b85fab37f1e9e54e4f329ca936de1eb31dcdeb211b5a6e2bc0a0c7dea6f0034bc76ebda2573f95e8a56b58f4c333c4634a24a07d676394d0cddd7bfbf14
|
7
|
+
data.tar.gz: 8455ac3053eb1c3135ea4f58e3befedd3815590ba6df8928dd9707ffe90bfa3e41734459ad479c9497a7c433b00b2220cd2df7f6b8eda2f3e08c9049d7822046
|
@@ -139,7 +139,9 @@ module Middleman
|
|
139
139
|
return nil unless image
|
140
140
|
return image unless URI(image).scheme.nil?
|
141
141
|
|
142
|
-
|
142
|
+
# sometimes image_path has no leading slash
|
143
|
+
image_path = "/#{image_path(image)}" unless image_path(image)[0] == '/'
|
144
|
+
"#{host}#{image_path}"
|
143
145
|
end
|
144
146
|
|
145
147
|
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.12
|
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: 2022-02-09 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.1.6
|
67
67
|
signing_key:
|
68
68
|
specification_version: 4
|
69
69
|
summary: Manage your middleman meta tags.
|