ZMediumToMarkdown 2.4.8 → 2.4.9
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/Helper.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 96dbba590eb72c7cad419081c8e4f0e3e133e8184b1d7b9cf5892be41603acf8
|
4
|
+
data.tar.gz: 68b84e4caccdb71ea1d2e5fba95d18a727effed1a28bed70e2ccd7e106c49a9e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 216cf9a121d2411b4b52af7aa5efd0ea2d2a0ad88c6b2ec14875c1b459d74a4c13fed4cfad58362132a7dba0f436fb7deacba642cc3e41eebf9e0cf6412c893d
|
7
|
+
data.tar.gz: d003a0938e6b40e3a57527f0678e0a2f2c39708d95de5cd7b4b7f0b8a9f1ab7e6ddb80812e1db57120c60794346ece9b8a0eceb7b467351a2a2dda289f889870
|
data/lib/Helper.rb
CHANGED
@@ -113,7 +113,7 @@ class Helper
|
|
113
113
|
result += "author: \"#{postInfo.creator&.gsub("\"", "\\\"")}\"\n"
|
114
114
|
result += "date: #{postInfo.firstPublishedAt.strftime('%Y-%m-%dT%H:%M:%S.%L%z')}\n"
|
115
115
|
result += "last_modified_at: #{postInfo.latestPublishedAt.strftime('%Y-%m-%dT%H:%M:%S.%L%z')}\n"
|
116
|
-
result += "categories: \"#{postInfo.collectionName&.gsub("\"", "\\\"")}\"\n"
|
116
|
+
result += "categories: [\"#{postInfo.collectionName&.gsub("\"", "\\\"")}\"]\n"
|
117
117
|
result += "tags: [#{tags}]\n"
|
118
118
|
result += "description: \"#{postInfo.description&.gsub("\"", "\\\"")}\"\n"
|
119
119
|
if !postInfo.previewImage.nil?
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ZMediumToMarkdown
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.4.
|
4
|
+
version: 2.4.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- ZhgChgLi
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2025-01-
|
11
|
+
date: 2025-01-14 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: nokogiri
|