mast 1.0.0 → 1.1

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.
@@ -0,0 +1 @@
1
+ http://proutils.rubyforge.org/mast
File without changes
@@ -0,0 +1 @@
1
+ git://github.com/proutils/mast.git
@@ -1 +1 @@
1
- 1.0.0
1
+ 1.1
metadata CHANGED
@@ -1,16 +1,15 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mast
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: "1.1"
5
5
  platform: ruby
6
6
  authors:
7
- - <tigerops-community@googlegroups.com>
8
7
  - "- Thomas Sawyer <transfire@gmail.com>"
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
11
 
13
- date: 2009-09-04 00:00:00 -04:00
12
+ date: 2009-10-24 00:00:00 -04:00
14
13
  default_executable:
15
14
  dependencies: []
16
15
 
@@ -21,39 +20,38 @@ executables:
21
20
  extensions: []
22
21
 
23
22
  extra_rdoc_files:
24
- - TUTORIAL.rdoc
25
23
  - HISTORY.rdoc
26
24
  - MANIFEST
27
25
  - LICENSE
28
26
  - README.rdoc
29
27
  files:
28
+ - HISTORY.rdoc
29
+ - LICENSE
30
+ - MANIFEST
31
+ - README.rdoc
30
32
  - bin/mast
33
+ - lib/mast.rb
31
34
  - lib/mast/cli.rb
32
35
  - lib/mast/core_ext.rb
33
36
  - lib/mast/manifest.rb
34
- - lib/mast.rb
35
37
  - meta/authors
36
38
  - meta/contact
37
39
  - meta/description
40
+ - meta/homepage
41
+ - meta/namespace
38
42
  - meta/package
39
- - meta/project
43
+ - meta/repository
40
44
  - meta/ruby
41
45
  - meta/sitemap
42
46
  - meta/version
43
- - TUTORIAL.rdoc
44
- - HISTORY.rdoc
45
- - LICENSE
46
- - README.rdoc
47
- - MANIFEST
48
47
  has_rdoc: true
49
- homepage:
48
+ homepage: http://proutils.rubyforge.org/mast
50
49
  licenses: []
51
50
 
52
51
  post_install_message:
53
52
  rdoc_options:
54
- - --inline-source
55
53
  - --title
56
- - mast api
54
+ - Mast API
57
55
  require_paths:
58
56
  - lib
59
57
  required_ruby_version: !ruby/object:Gem::Requirement
@@ -70,7 +68,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
70
68
  version:
71
69
  requirements: []
72
70
 
73
- rubyforge_project: mast
71
+ rubyforge_project: proutils
74
72
  rubygems_version: 1.3.5
75
73
  signing_key:
76
74
  specification_version: 3
@@ -1,83 +0,0 @@
1
- = Mast Tutorial
2
-
3
- Mast is a convenient commandline tool for generating manifest and file hash lists.
4
- It makes the process very simple, and even allows manifests to be updated
5
- without repeating inclusion/exclusion criteria by storing the command parameters
6
- in a comment line at the top of the generated output.
7
-
8
- Lets try a simple example. Lets say we have the following folder structure:
9
-
10
- $ ls -R
11
- .:
12
- demo_rtar mint
13
-
14
- ./demo_rtar:
15
- Lorem_ipsum.txt lib meta web
16
-
17
- ./demo_rtar/lib:
18
- demo_rock
19
-
20
- ./demo_rtar/lib/demo_rock:
21
- tryme.rb
22
-
23
- ./demo_rtar/meta:
24
- data
25
-
26
- ./demo_rtar/web:
27
- index.html rocklobster.jpg
28
-
29
- ./mint:
30
- loremipsum.txt tryme.rb
31
-
32
- Now lets look at the same folder via 'mast'.
33
-
34
- $ mast
35
- #!mast
36
- demo_rtar
37
- demo_rtar/Lorem_ipsum.txt
38
- demo_rtar/lib
39
- demo_rtar/lib/demo_rock
40
- demo_rtar/lib/demo_rock/tryme.rb
41
- demo_rtar/meta
42
- demo_rtar/meta/data
43
- demo_rtar/web
44
- demo_rtar/web/index.html
45
- demo_rtar/web/rocklobster.jpg
46
- mint
47
- mint/loremipsum.txt
48
- mint/tryme.rb
49
-
50
- As you can see it has listed all the files contained in the current folder. Notice also the first
51
- line is empty except for the '#' character. This is a standard shell comment mark. We can specify
52
- special criteria to the mast command and these options will be reflected on this line. For example,
53
- lets say the mint directory is extraneous and we do not want it included in the list of files.
54
-
55
- $ mast -x mint
56
- #!mast -x mint
57
- demo_rtar
58
- demo_rtar/Lorem_ipsum.txt
59
- demo_rtar/lib
60
- demo_rtar/lib/demo_rock
61
- demo_rtar/lib/demo_rock/tryme.rb
62
- demo_rtar/meta
63
- demo_rtar/meta/data
64
- demo_rtar/web
65
- demo_rtar/web/index.html
66
- demo_rtar/web/rocklobster.jpg
67
-
68
- So you can see how the commandline options carry over to the top comment line of the ouput. The advantage of
69
- this is that if you save the output to a standard location, ie. a file named MANIFEST or meta/manifest with
70
- an optional .txt prefix (case insensitive), then you can automaitcally update the file by calling +mast update+.
71
-
72
- $ mast -x mint > MANIFEST
73
- $ mast update
74
- MANIFEST updated.
75
-
76
- You can also add a checksum to the file list.
77
-
78
- $ mast -x mint -g sha1
79
-
80
- Mast also provides options for ignoring files based on their basename, as well
81
- as omitting default excludes and ignores so that all files are lists. Use the
82
- --help option for more details.
83
-