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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a84281fb10f66a88c340e7f579e4bb431ce9f535
4
- data.tar.gz: 35aa9619078c07d07ccbbd47fe29b16fb2f360c1
3
+ metadata.gz: 3b8a6cc82b42cda1a7b1c546f0ee7da1bce896d9
4
+ data.tar.gz: cbfaaa128b8c8a81415c9a1db26dce4f1726fc21
5
5
  SHA512:
6
- metadata.gz: 5ce6deda9ba39722f9625f6780d5e9f1c0d4f93c77297a68d26f02b728947e88533f889f23961f8ecd30eab949afb224361c000145aae4037ef7f82d255da708
7
- data.tar.gz: c998888606a774f9c8b771d7b7c6e55530c0fe97b5970212d5dd92a5e934bbd47838d69d887ca9533d0a88d4e934b0e78f690ebb9db7b25e7f6565a9cf7d70e7
6
+ metadata.gz: 09eec3266b90072fd591dedaea2b4c66a31ca92cc074dcaaac386fa1aa6649906619ac2d6961c1b44ebe0ac3883b8dade2d118b93a74662d8624a164775518fb
7
+ data.tar.gz: c8ba84ca0e61549de5420cc1c14ca3e7728b5704080405ee035ad64e9c1f46b5051db7bdbd6a361932d773044d4caa00024a1b1a8c6f5a8cfe920b4ebe25cd37
data/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  ### Changelogs
2
2
 
3
+ #### 0.1.5
4
+
5
+ - Update the rspec folder structure
6
+ - Make CodeLister::files recursive by default
7
+ - Minor code cleanup
8
+
3
9
  #### 0.1.4
4
10
 
5
11
  - Add more tests for 'files_from_command'
@@ -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: false,
51
+ recursive: true,
52
52
  exts: [],
53
53
  non_exts: []
54
54
  }.merge(args)
@@ -1,3 +1,3 @@
1
1
  module CodeLister
2
- VERSION = "0.1.4"
2
+ VERSION = "0.1.5"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: code_lister
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Burin Choomnuan