recls-ruby 2.6.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/LICENSE +31 -0
- data/README.md +2 -0
- data/examples/show_hidden_files.rb +15 -0
- data/examples/show_readonly_files.rb +14 -0
- data/lib/recls.rb +41 -0
- data/lib/recls/entry.rb +328 -0
- data/lib/recls/filesearch.rb +251 -0
- data/lib/recls/flags.rb +77 -0
- data/lib/recls/foreach.rb +103 -0
- data/lib/recls/recls.rb +113 -0
- data/lib/recls/stat.rb +104 -0
- data/lib/recls/util.rb +73 -0
- data/lib/recls/version.rb +53 -0
- data/lib/recls/ximpl/os.rb +85 -0
- data/lib/recls/ximpl/unix.rb +81 -0
- data/lib/recls/ximpl/util.rb +650 -0
- data/lib/recls/ximpl/windows.rb +197 -0
- data/test/scratch/test_display_parts.rb +40 -0
- data/test/scratch/test_entry.rb +81 -0
- data/test/scratch/test_foreach.rb +41 -0
- data/test/scratch/test_show_dev_and_ino.rb +13 -0
- data/test/scratch/test_show_hidden.rb +30 -0
- data/test/unit/tc_recls_entries.rb +55 -0
- data/test/unit/tc_recls_entry.rb +40 -0
- data/test/unit/tc_recls_file_search.rb +68 -0
- data/test/unit/tc_recls_module.rb +78 -0
- data/test/unit/tc_recls_util.rb +159 -0
- data/test/unit/tc_recls_ximpl_util.rb +908 -0
- data/test/unit/ts_all.rb +20 -0
- metadata +73 -0
data/test/unit/ts_all.rb
ADDED
@@ -0,0 +1,20 @@
|
|
1
|
+
#! /usr/bin/ruby
|
2
|
+
#
|
3
|
+
# executes all other tests
|
4
|
+
|
5
|
+
this_file = File.expand_path(__FILE__)
|
6
|
+
this_dir = File.expand_path(File.dirname(__FILE__))
|
7
|
+
$:.unshift File.join(File.dirname(__FILE__), '../..', 'lib')
|
8
|
+
|
9
|
+
puts "executing all test cases in directory #{this_dir}"
|
10
|
+
|
11
|
+
Dir["#{this_dir}/*.rb"].each do |file|
|
12
|
+
|
13
|
+
next if this_file == file
|
14
|
+
|
15
|
+
require file
|
16
|
+
|
17
|
+
end
|
18
|
+
|
19
|
+
require 'test/unit'
|
20
|
+
|
metadata
ADDED
@@ -0,0 +1,73 @@
|
|
1
|
+
--- !ruby/object:Gem::Specification
|
2
|
+
name: recls-ruby
|
3
|
+
version: !ruby/object:Gem::Version
|
4
|
+
version: 2.6.4
|
5
|
+
platform: ruby
|
6
|
+
authors:
|
7
|
+
- Matt Wilson
|
8
|
+
autorequire:
|
9
|
+
bindir: bin
|
10
|
+
cert_chain: []
|
11
|
+
date: 2016-06-11 00:00:00.000000000 Z
|
12
|
+
dependencies: []
|
13
|
+
description: |2+
|
14
|
+
|
15
|
+
email: matthew@recls.org
|
16
|
+
executables: []
|
17
|
+
extensions: []
|
18
|
+
extra_rdoc_files: []
|
19
|
+
files:
|
20
|
+
- LICENSE
|
21
|
+
- README.md
|
22
|
+
- examples/show_hidden_files.rb
|
23
|
+
- examples/show_readonly_files.rb
|
24
|
+
- lib/recls.rb
|
25
|
+
- lib/recls/entry.rb
|
26
|
+
- lib/recls/filesearch.rb
|
27
|
+
- lib/recls/flags.rb
|
28
|
+
- lib/recls/foreach.rb
|
29
|
+
- lib/recls/recls.rb
|
30
|
+
- lib/recls/stat.rb
|
31
|
+
- lib/recls/util.rb
|
32
|
+
- lib/recls/version.rb
|
33
|
+
- lib/recls/ximpl/os.rb
|
34
|
+
- lib/recls/ximpl/unix.rb
|
35
|
+
- lib/recls/ximpl/util.rb
|
36
|
+
- lib/recls/ximpl/windows.rb
|
37
|
+
- test/scratch/test_display_parts.rb
|
38
|
+
- test/scratch/test_entry.rb
|
39
|
+
- test/scratch/test_foreach.rb
|
40
|
+
- test/scratch/test_show_dev_and_ino.rb
|
41
|
+
- test/scratch/test_show_hidden.rb
|
42
|
+
- test/unit/tc_recls_entries.rb
|
43
|
+
- test/unit/tc_recls_entry.rb
|
44
|
+
- test/unit/tc_recls_file_search.rb
|
45
|
+
- test/unit/tc_recls_module.rb
|
46
|
+
- test/unit/tc_recls_util.rb
|
47
|
+
- test/unit/tc_recls_ximpl_util.rb
|
48
|
+
- test/unit/ts_all.rb
|
49
|
+
homepage: http://recls.org/
|
50
|
+
licenses:
|
51
|
+
- 3-clause BSD
|
52
|
+
metadata: {}
|
53
|
+
post_install_message:
|
54
|
+
rdoc_options: []
|
55
|
+
require_paths:
|
56
|
+
- lib
|
57
|
+
required_ruby_version: !ruby/object:Gem::Requirement
|
58
|
+
requirements:
|
59
|
+
- - '>='
|
60
|
+
- !ruby/object:Gem::Version
|
61
|
+
version: '0'
|
62
|
+
required_rubygems_version: !ruby/object:Gem::Requirement
|
63
|
+
requirements:
|
64
|
+
- - '>='
|
65
|
+
- !ruby/object:Gem::Version
|
66
|
+
version: '0'
|
67
|
+
requirements: []
|
68
|
+
rubyforge_project:
|
69
|
+
rubygems_version: 2.4.2
|
70
|
+
signing_key:
|
71
|
+
specification_version: 4
|
72
|
+
summary: recls.Ruby
|
73
|
+
test_files: []
|