command_kit-completion 0.1.0 → 0.1.2
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/ChangeLog.md +9 -0
- data/README.md +6 -0
- data/lib/command_kit/completion/task.rb +2 -0
- data/lib/command_kit/completion/version.rb +1 -1
- 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: 6343bf279d86678a0eac134a712bc744b35a94d6617cc7dea0e59320944045d6
|
|
4
|
+
data.tar.gz: cc386bf43b827a6519a3d8bea67e0d34814a3db32ce7d95bcfedcf8b191b07c7
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: e82a669753b335696e1789ce4c5c6f2fba4927013b9595a04c7716a37d3c9442e803d0a6f1e6e1dadc0d47070a4d495b991bd91c87d32c8fa12637e75dd1a02f
|
|
7
|
+
data.tar.gz: 3369ee61c1735f75b5db0a3c99ed84eac634a242aabac0470d7b575c2e52e604351b7ee0c1fa592d5b176810976f4a7a1836670373de02a777a8ebdb297bcf17
|
data/ChangeLog.md
CHANGED
|
@@ -1,3 +1,12 @@
|
|
|
1
|
+
### 0.1.2 / 2023-12-18
|
|
2
|
+
|
|
3
|
+
* Fix namespace conflict between `FileUtils` and `CommandKit::FileUtils`.
|
|
4
|
+
|
|
5
|
+
### 0.1.1 / 2023-12-18
|
|
6
|
+
|
|
7
|
+
* Ensure that the parent directory of the output file exists before writing to
|
|
8
|
+
the output file.
|
|
9
|
+
|
|
1
10
|
### 0.1.0 / 2023-12-18
|
|
2
11
|
|
|
3
12
|
* Initial release:
|
data/README.md
CHANGED
|
@@ -6,6 +6,7 @@ require 'command_kit/options'
|
|
|
6
6
|
require 'command_kit/commands'
|
|
7
7
|
require 'completely'
|
|
8
8
|
require 'yaml'
|
|
9
|
+
require 'fileutils'
|
|
9
10
|
|
|
10
11
|
module CommandKit
|
|
11
12
|
module Completion
|
|
@@ -89,6 +90,7 @@ module CommandKit
|
|
|
89
90
|
completions.script
|
|
90
91
|
end
|
|
91
92
|
|
|
93
|
+
::FileUtils.mkdir_p(File.dirname(@output_file))
|
|
92
94
|
File.write(@output_file,shell_script)
|
|
93
95
|
end
|
|
94
96
|
|