dircat 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -26,7 +26,7 @@ require 'dircat/dircat.rb'
26
26
  class TC_DirCat < Test::Unit::TestCase
27
27
 
28
28
  def setup
29
- @data_dir = File.join($DIRCAT_HOME, "test", "dircat", "data")
29
+ @data_dir = File.join($DIRCAT_HOME, "test_data", "dircat", "data")
30
30
  @tmp_dir = File.join( @data_dir, "tmp" )
31
31
  end
32
32
 
@@ -11,7 +11,7 @@ require 'dircat/cli/dircat_build.rb'
11
11
  class TC_DirCatBuild < Test::Unit::TestCase
12
12
 
13
13
  def setup
14
- @testdata_dirname = File.join( $DIRCAT_HOME, "test", "dircat", "data")
14
+ @testdata_dirname = File.join( $DIRCAT_HOME, "test_data", "dircat", "data")
15
15
  @dir1_dirname = File.join( @testdata_dirname, "dir1" )
16
16
  @dir2_dirname = File.join( @testdata_dirname, "dir2" )
17
17
  @certified_output_dirname = File.join( @testdata_dirname, "certified_output" )
@@ -0,0 +1,20 @@
1
+ --- !ruby/object:DirCatSer
2
+ table:
3
+ :ctime: 2009-05-22T13:09:03+02:00
4
+ :entries:
5
+ - !ruby/object:EntrySer
6
+ table:
7
+ :md5: 60b725f10c9c85c70d97880dfe8191b3
8
+ :size: 2
9
+ :name: file1.txt
10
+ :mtime: 2009-05-19 20:40:00 +02:00
11
+ :path: .
12
+ - !ruby/object:EntrySer
13
+ table:
14
+ :md5: 4124bc0a9335c27f086f24ba207a4912
15
+ :size: 2
16
+ :name: file3.txt
17
+ :mtime: 2009-05-19 20:40:00 +02:00
18
+ :path: subdir
19
+ :dirname: /media/Interzone/GioPrj/projects.git/dircat/test/dircat/data/dir1
20
+ :version: 0.1
@@ -0,0 +1,27 @@
1
+ --- !ruby/object:DirCatSer
2
+ table:
3
+ :ctime: !timestamp 2006-12-27T16:21:43+0100
4
+ :version: 0.1
5
+ :entries:
6
+ - !ruby/object:EntrySer
7
+ table:
8
+ :mtime: 2006-12-16 10:39:57 +01:00
9
+ :path: subdir
10
+ :name: file3.txt
11
+ :size: 2
12
+ :md5: 4124bc0a9335c27f086f24ba207a4912
13
+ - !ruby/object:EntrySer
14
+ table:
15
+ :mtime: 2006-12-16 10:39:57 +01:00
16
+ :path: .
17
+ :name: file2.txt
18
+ :size: 3
19
+ :md5: c5053d4da03789bfbc4bee760fade936
20
+ - !ruby/object:EntrySer
21
+ table:
22
+ :mtime: 2006-12-16 10:39:57 +01:00
23
+ :path: .
24
+ :name: file1.txt
25
+ :size: 3
26
+ :md5: 933222b19ff3e7ea5f65517ea1f7d57e
27
+ :dirname: C:/prj/dircat/test/data/dir2
@@ -0,0 +1 @@
1
+ a
@@ -0,0 +1 @@
1
+ a
@@ -0,0 +1 @@
1
+ b
@@ -0,0 +1 @@
1
+ a
@@ -0,0 +1,20 @@
1
+ --- !ruby/object:DirCatSer
2
+ table:
3
+ :ctime: 2009-05-23T11:41:01+02:00
4
+ :version: 0.1
5
+ :entries:
6
+ - !ruby/object:EntrySer
7
+ table:
8
+ :size: 2
9
+ :md5: 60b725f10c9c85c70d97880dfe8191b3
10
+ :name: file1.txt
11
+ :mtime: 2009-05-19 20:40:00 +02:00
12
+ :path: .
13
+ - !ruby/object:EntrySer
14
+ table:
15
+ :size: 2
16
+ :md5: 4124bc0a9335c27f086f24ba207a4912
17
+ :name: file3.txt
18
+ :mtime: 2009-05-19 20:40:00 +02:00
19
+ :path: subdir
20
+ :dirname: /media/Interzone/GioPrj/prj_github_rubyforge/dircat/test/dircat/data/dir1
@@ -0,0 +1 @@
1
+ This file exists so git create this directory
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dircat
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - gf
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-05-23 00:00:00 +02:00
12
+ date: 2009-05-24 00:00:00 +02:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -41,10 +41,21 @@ files:
41
41
  - lib/dircat/cli/dircat_cmp.rb
42
42
  - lib/dircat/cli/dircat_query.rb
43
43
  - lib/dircat/dircat.rb
44
+ - test_data/dircat/data/certified_output/dircat1.yaml
45
+ - test_data/dircat/data/certified_output/dircat2.yaml
46
+ - test_data/dircat/data/dir1/file1.txt
47
+ - test_data/dircat/data/dir1/subdir/file3.txt
48
+ - test_data/dircat/data/dir2/file1.txt
49
+ - test_data/dircat/data/dir2/file2.txt
50
+ - test_data/dircat/data/dir2/subdir/file3.txt
51
+ - test_data/dircat/data/dir3/file1.txt
52
+ - test_data/dircat/data/dir3/subdir/file1.txt
53
+ - test_data/dircat/data/tmp/dircat1.yaml
54
+ - test_data/dircat/data/tmp/dummy.txt
44
55
  - LICENSE
45
56
  - README.rdoc
46
57
  has_rdoc: true
47
- homepage: http://github.com/gf/tree_visitor
58
+ homepage: http://github.com/gf/dircat
48
59
  post_install_message:
49
60
  rdoc_options:
50
61
  - --charset=UTF-8