md2key 0.5.0 → 0.5.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +9 -0
- data/lib/md2key/keynote.rb +2 -1
- data/lib/md2key/markdown.rb +3 -1
- data/lib/md2key/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: 5a4a8a15e795cb012a1ab056caa02dfe34672b12
|
4
|
+
data.tar.gz: e0ed66c03aea32312bc75a6a305d72d56cb733b3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 985d2448e312c48f15041c6935ecc7cf16c7d61942f537cb1acb2e1ee072f5c53412e22a08289c0702293cebc3b9210c8d0f9d5d4ddda545100eddd69de01f82
|
7
|
+
data.tar.gz: 90a63f9d4143c0500a02a4079b579f1f7e0002f91728225fe25f931e1b177d6b61cf34b19444afecb75ed78096c0621b11f919fabeb05d6fa05322618a116289
|
data/CHANGELOG.md
CHANGED
@@ -1,3 +1,12 @@
|
|
1
|
+
# v0.5.1
|
2
|
+
|
3
|
+
- Escape HTML in markdown
|
4
|
+
- https://github.com/k0kubun/md2key/issues/15
|
5
|
+
- Thanks to @liubin
|
6
|
+
- Avoid using shell to execute AppleScript
|
7
|
+
- https://github.com/k0kubun/md2key/issues/16
|
8
|
+
- Thanks to @liubin
|
9
|
+
|
1
10
|
# v0.5.0
|
2
11
|
|
3
12
|
- Support nested list
|
data/lib/md2key/keynote.rb
CHANGED
@@ -85,9 +85,10 @@ module Md2key
|
|
85
85
|
execute_applescript('paste_and_indent', indent, insert_newline)
|
86
86
|
end
|
87
87
|
|
88
|
+
# @return [String] - script's output
|
88
89
|
def execute_applescript(script_name, *args)
|
89
90
|
path = script_path(script_name)
|
90
|
-
|
91
|
+
IO.popen(['osascript', path, *args.map(&:to_s)], &:read)
|
91
92
|
end
|
92
93
|
|
93
94
|
def script_path(script_name)
|
data/lib/md2key/markdown.rb
CHANGED
data/lib/md2key/version.rb
CHANGED