jekyll-zettel 0.1.0 → 0.1.1
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/.gitignore +2 -1
- data/lib/jekyll/zettel/commands/zettel.rb +3 -1
- data/lib/jekyll/zettel/version.rb +1 -1
- data/lib/jekyll/zettel.rb +2 -2
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 429c613abf3e702150740eb4c4442b2fe0fc49d7b3b4ec7e305c494c8dd13c61
|
|
4
|
+
data.tar.gz: 72c0c9abbb7f46d75ec514e87a4fad0b65eaabe38ed2814a02ad4964728abac6
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: '09f66d5b88803ca6f018774e1f2eb09fe6145c9be6414b81b67b822204cc9ac4553987f814798efee58d351f29e0686013005235f5ba6899d3b6b7b56f499939'
|
|
7
|
+
data.tar.gz: dea14c69a5327cf527a2717de3834cc57bf4110ec32321004f13f418053c6a9be923729c477b529d98cb7a559e6def8e396bf2b300acd3d958c4e0319ebfff1e
|
data/.gitignore
CHANGED
|
@@ -10,9 +10,11 @@ module Jekyll
|
|
|
10
10
|
c.description 'Creates a new Zettel within subdir zettel'
|
|
11
11
|
c.action do |_args, _options|
|
|
12
12
|
uuid = new_zettel
|
|
13
|
-
|
|
13
|
+
file = "zettel/#{uuid}/index.md"
|
|
14
|
+
new_page(uuid, file)
|
|
14
15
|
|
|
15
16
|
Jekyll.logger.info '✓', "Created new Zettel with UUID: `#{uuid}`"
|
|
17
|
+
system("code #{File.expand_path(file)}")
|
|
16
18
|
end
|
|
17
19
|
end
|
|
18
20
|
end
|
data/lib/jekyll/zettel.rb
CHANGED
|
@@ -6,9 +6,9 @@ module Jekyll
|
|
|
6
6
|
# Jekyll zettel to your service
|
|
7
7
|
module Zettel
|
|
8
8
|
|
|
9
|
-
autoload :VERSION, 'jekyll/
|
|
9
|
+
autoload :VERSION, 'jekyll/zettel/version'
|
|
10
10
|
|
|
11
|
-
LOG_KEY = '
|
|
11
|
+
LOG_KEY = 'Jekyll Zettel'.freeze
|
|
12
12
|
|
|
13
13
|
class Error < StandardError; end
|
|
14
14
|
end
|