polygon 0.0.2 → 0.0.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/lib/polygon/content_loader.rb +1 -1
- data/lib/polygon/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 10b50251c456b33dedefcc28abab51d15ea95f0f
|
4
|
+
data.tar.gz: ed5b89c01e74aad21ed241d9e633b1d210eb2386
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 52e9e703e16fa95c9e7ea5c1b5deb606a6d48117be81347863bbd323efab663c9bc10fddd49ba3d00db49c87a807c73716c1638b2bc137bb88a0227be68041b0
|
7
|
+
data.tar.gz: 90afbc164ff42e7d1020c442f362d7f63135d2796f115c97d9961b1588968f9dcaa66304e63651efe2d4fdd750557dd9a4b45b0aef4e3fabb7247bd6d34a1b84
|
data/CHANGELOG.md
CHANGED
@@ -47,7 +47,7 @@ module Polygon
|
|
47
47
|
def enable_yaml_front_matter!(*ext)
|
48
48
|
ext = [".md"] if ext.empty?
|
49
49
|
register(*ext) do |f|
|
50
|
-
content = f.read.force_encoding(
|
50
|
+
content = f.read.force_encoding(Encoding::UTF_8)
|
51
51
|
if content =~ /^(---\s*\n.*?\n?)^(---\s*$\n?)/m
|
52
52
|
YAML::load($1).merge("content" => $')
|
53
53
|
else
|
data/lib/polygon/version.rb
CHANGED