my_help 1.2.4p1 → 1.2.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/my_help/cli.rb +0 -7
- data/lib/my_help/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: b06e8d56f23cc8689eb899e6482c86873b7292a05d892092ad1d3cef61ecd0e6
|
4
|
+
data.tar.gz: c0f4996cd89f113485271ee619014a0c62dacc35b47c55df1bc4c521cd7c62d0
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b8e622e00b261fdf8d38b339fc8ca7ee99dda24615a343ddf9f599fa021551bf82a8e919877690a48f38a8fcddbbc7f3ac605bc72862f38424c61245a7492b3a
|
7
|
+
data.tar.gz: f269e589de9f3289786be4eb38fa6bd7b177d8cea8030a6b86ef339e2e17532b5be85706ffe707ef4b370b6b3841e9c81df7b302e9e2b6e029248c43a1777271
|
data/lib/my_help/cli.rb
CHANGED
@@ -31,13 +31,6 @@ module MyHelp
|
|
31
31
|
def add_defaults
|
32
32
|
puts "Adding defaults org files in .my_help"
|
33
33
|
config = get_config
|
34
|
-
if config[:template_dir] !=
|
35
|
-
File.expand_path("../templates", __dir__)
|
36
|
-
puts "inconsistency for :template_dir"
|
37
|
-
config.configure(:template_dir=>
|
38
|
-
File.expand_path("../templates", __dir__))
|
39
|
-
config.save_config
|
40
|
-
end
|
41
34
|
help_dir = options["help_dir"] || config[:local_help_dir]
|
42
35
|
p current_orgs = Dir.glob(File.join(help_dir, "*.org")).
|
43
36
|
map!{|f| File.basename(f)}
|
data/lib/my_help/version.rb
CHANGED