code_lister 0.1.4 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +6 -0
- data/lib/code_lister/cli.rb +0 -7
- data/lib/code_lister/code_lister.rb +2 -2
- data/lib/code_lister/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: 3b8a6cc82b42cda1a7b1c546f0ee7da1bce896d9
|
4
|
+
data.tar.gz: cbfaaa128b8c8a81415c9a1db26dce4f1726fc21
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 09eec3266b90072fd591dedaea2b4c66a31ca92cc074dcaaac386fa1aa6649906619ac2d6961c1b44ebe0ac3883b8dade2d118b93a74662d8624a164775518fb
|
7
|
+
data.tar.gz: c8ba84ca0e61549de5420cc1c14ca3e7728b5704080405ee035ad64e9c1f46b5051db7bdbd6a361932d773044d4caa00024a1b1a8c6f5a8cfe920b4ebe25cd37
|
data/CHANGELOG.md
CHANGED
data/lib/code_lister/cli.rb
CHANGED
@@ -21,8 +21,6 @@ module CodeLister
|
|
21
21
|
CodeLister::Main.run(opts)
|
22
22
|
end
|
23
23
|
|
24
|
-
# Note: we don't use help so that we can run :r !./bin/code_lister help find
|
25
|
-
# to see the update help if we have to without commenting out
|
26
24
|
desc "usage", "Display help screen"
|
27
25
|
def usage
|
28
26
|
puts <<-EOS
|
@@ -50,8 +48,3 @@ List files by extensions, patterns, and simple criteria
|
|
50
48
|
default_task :usage
|
51
49
|
end
|
52
50
|
end
|
53
|
-
|
54
|
-
if __FILE__ == $PROGRAM_NAME
|
55
|
-
require_relative "../code_lister"
|
56
|
-
CodeLister::CLI.start(ARGV)
|
57
|
-
end
|
@@ -28,7 +28,7 @@ module CodeLister
|
|
28
28
|
files.delete_if do |file|
|
29
29
|
!File.exist?([
|
30
30
|
File.expand_path(base_dir),
|
31
|
-
file.gsub(/^\./,
|
31
|
+
file.gsub(/^\./, "")
|
32
32
|
].join(""))
|
33
33
|
end
|
34
34
|
files
|
@@ -48,7 +48,7 @@ module CodeLister
|
|
48
48
|
def files(args = {})
|
49
49
|
opts = {
|
50
50
|
base_dir: Dir.pwd,
|
51
|
-
recursive:
|
51
|
+
recursive: true,
|
52
52
|
exts: [],
|
53
53
|
non_exts: []
|
54
54
|
}.merge(args)
|
data/lib/code_lister/version.rb
CHANGED