cooloptions 1.0.2 → 1.0.3

Sign up to get free protection for your applications and to get access to all the features.
data/History.txt CHANGED
@@ -1,3 +1,7 @@
1
+ == 1.0.3 / 2006-12-09
2
+
3
+ * Final(?!) announcement documentation tweaks.
4
+
1
5
  == 1.0.2 / 2006-12-09
2
6
 
3
7
  * Documentation tweaks.
data/README.txt CHANGED
@@ -6,7 +6,9 @@
6
6
 
7
7
  CoolOptions is a simple wrapper around optparse that provides less options and more convenience.
8
8
 
9
- == SYNOPSYS:
9
+ As a huge fan of optparse due to its flexibility, self-documenting nature, and ease of use, I nevertheless found myself doing almost the exact same thing with it over and over again, and decided to write a thin wrapper around it to handle the common cases. Thus CoolOptions was born.
10
+
11
+ == SYNOPSIS:
10
12
 
11
13
  === Declaration:
12
14
 
@@ -31,14 +33,13 @@ CoolOptions is a simple wrapper around optparse that provides less options and m
31
33
 
32
34
  === Usage:
33
35
 
34
- $ ./new_rails_project --no-svk -r http://terralien.com/svn/terralien/ --no-finish
36
+ $ ./new_rails_project --no-svk -r http://terralien.com/svn/terralien/ myproject
35
37
 
36
38
  === Result:
37
39
 
38
40
  p options.svk # => false
39
41
  p options.project_path # => '/Users/ntalbott/svk'
40
42
  p options.repository # => 'http://terralien.com/svn/terralien/'
41
- p options.finish # => false
42
43
  p options.create_structure # => true
43
44
  p options.project_name # => 'myproject'
44
45
 
data/Rakefile CHANGED
@@ -4,7 +4,8 @@ require './lib/cooloptions.rb'
4
4
 
5
5
  Hoe.new('cooloptions', CoolOptions::VERSION) do |p|
6
6
  p.rubyforge_name = 'cooloptions'
7
- p.summary = p.description = 'CoolOptions is a simple wrapper around optparse that provides less options and more convenience.'
7
+ p.summary = 'CoolOptions is a simple wrapper around optparse that provides less configuration and more convenience for doing command-line option handling.'
8
+ p.description = 'As a huge fan of optparse due to its flexibility, self-documenting nature, and ease of use, I nevertheless found myself doing almost the exact same thing with it over and over again, and decided to write a thin wrapper around it to handle the common cases. Thus CoolOptions was born.'
8
9
  p.url = 'http://cooloptions.rubyforge.org/'
9
10
  p.changes = p.paragraphs_of('History.txt', 0..1).join("\n\n")
10
11
  p.author = "Nathaniel Talbott"
data/lib/cooloptions.rb CHANGED
@@ -11,7 +11,7 @@ require 'ostruct'
11
11
  # :include:samples/literate.rb
12
12
 
13
13
  class CoolOptions
14
- VERSION = '1.0.2' #:nodoc:
14
+ VERSION = '1.0.3' #:nodoc:
15
15
 
16
16
  class Error < StandardError #:nodoc:
17
17
  end
@@ -22,6 +22,5 @@ end
22
22
  p options.svk # => false
23
23
  p options.project_path # => '/Users/ntalbott/svk'
24
24
  p options.repository # => 'http://terralien.com/svn/terralien/'
25
- p options.finish # => false
26
25
  p options.create_structure # => true
27
- p options.project_name # => 'myproject'
26
+ p options.project_name # => 'myproject'
metadata CHANGED
@@ -3,15 +3,15 @@ rubygems_version: 0.8.11
3
3
  specification_version: 1
4
4
  name: cooloptions
5
5
  version: !ruby/object:Gem::Version
6
- version: 1.0.2
6
+ version: 1.0.3
7
7
  date: 2006-12-09 00:00:00 -05:00
8
- summary: CoolOptions is a simple wrapper around optparse that provides less options and more convenience.
8
+ summary: CoolOptions is a simple wrapper around optparse that provides less configuration and more convenience for doing command-line option handling.
9
9
  require_paths:
10
10
  - lib
11
11
  email: nathaniel@terralien.com
12
12
  homepage: http://cooloptions.rubyforge.org/
13
13
  rubyforge_project: cooloptions
14
- description: CoolOptions is a simple wrapper around optparse that provides less options and more convenience.
14
+ description: As a huge fan of optparse due to its flexibility, self-documenting nature, and ease of use, I nevertheless found myself doing almost the exact same thing with it over and over again, and decided to write a thin wrapper around it to handle the common cases. Thus CoolOptions was born.
15
15
  autorequire:
16
16
  default_executable:
17
17
  bindir: bin