dircat 0.0.4 → 0.0.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/README.rdoc CHANGED
@@ -1,43 +1,35 @@
1
- = DIRCAT: Utilities per la gestione di cataloghi e di directory
1
+ = DIRCAT
2
2
 
3
- == dircat_build
3
+ Utilities for manage catalogs of files and directory.
4
+ This utilities can be utilized as help to backup a directory.
4
5
 
5
- Costruisce un catalogo a partire da una directory
6
+ === dircat-build
6
7
 
7
- Esempio:
8
+ Build a catalog from a directory
8
9
 
9
- Per costruire un catalogo di una directory dir1
10
+ Ex.: dircat-build -o <catalog_name> dir1
10
11
 
11
- DirCatBuild -o nome catalogo dir1
12
+ builds catalog from directory dir1.
12
13
 
13
- == dircat_cfr
14
+ === dircat-cfr
14
15
 
15
- Confronta due cataloghi
16
+ Compare two catalogs
16
17
 
17
- == dircat_cmp
18
+ === dircat-query
18
19
 
19
- == dircat_query
20
-
21
- Interroga un catalogo
22
-
23
- == DESCRIPTION:
24
-
25
- == FEATURES/PROBLEMS:
26
-
27
- * FIX (list of features or problems)
28
-
29
- == SYNOPSIS:
30
-
31
- FIX (code sample of usage)
20
+ show the contents of catalog
32
21
 
33
22
  == REQUIREMENTS:
34
23
 
35
24
  * utilizza la libreria abstract di kwartz
36
- * gui: dipende da fxruby e/o wxruby
37
25
 
38
26
  == INSTALL:
39
27
 
40
- * FIX (sudo gem install, anything else)
28
+ sudo gem install dircat
29
+
30
+ or
31
+
32
+ sudo gem install gf-dircat -s gems.github.com
41
33
 
42
34
  == Copyright
43
35
 
@@ -76,6 +76,8 @@ class TC_DirCat < Test::Unit::TestCase
76
76
  dircat1_bis = DirCat.loadfromfile( tmp_file )
77
77
  assert_equal( 0, (dircat1 - dircat1_bis).size )
78
78
  assert_equal( 0, (dircat1_bis - dircat1).size )
79
+
80
+ FileUtils.rm( tmp_file )
79
81
  end
80
82
 
81
83
  end
@@ -36,6 +36,8 @@ class TC_DirCatBuild < Test::Unit::TestCase
36
36
 
37
37
  assert_equal( 0, (cat_result - cat_expect).size )
38
38
  assert_equal( 0, (cat_expect - cat_result).size )
39
+
40
+ FileUtils.rm(result_filename)
39
41
  end
40
42
 
41
43
  end
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.4
4
+ version: 0.0.5
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-24 00:00:00 +02:00
12
+ date: 2009-05-25 00:00:00 +02:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -50,7 +50,6 @@ files:
50
50
  - test_data/dircat/data/dir2/subdir/file3.txt
51
51
  - test_data/dircat/data/dir3/file1.txt
52
52
  - test_data/dircat/data/dir3/subdir/file1.txt
53
- - test_data/dircat/data/tmp/dircat1.yaml
54
53
  - test_data/dircat/data/tmp/dummy.txt
55
54
  - LICENSE
56
55
  - README.rdoc
@@ -79,7 +78,7 @@ rubyforge_project: ralbum
79
78
  rubygems_version: 1.3.1
80
79
  signing_key:
81
80
  specification_version: 2
82
- summary: TODO
81
+ summary: command line utilites to manage catalogs of directory
83
82
  test_files:
84
83
  - test/dircat/tc_dircat.rb
85
84
  - test/dircat/tc_dircat_build.rb
@@ -1,20 +0,0 @@
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