plain_option_parser 0.1.0 → 0.1.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. data/VERSION +1 -1
  2. data/lib/plain_option_parser.rb +1 -1
  3. metadata +27 -12
  4. data/.gitignore +0 -21
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.1.0
1
+ 0.1.1
@@ -5,7 +5,7 @@ class PlainOptionParser
5
5
  @commands = []
6
6
  desc "Prints help text for your command"
7
7
  cmd "help" do
8
- viable, remaining = commands_for_args(args[1, args.length])
8
+ viable, remaining = commands_for_args(args[1, args.length] || [])
9
9
  if viable.length == 0
10
10
  no_match
11
11
  else
metadata CHANGED
@@ -1,7 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: plain_option_parser
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.0
4
+ hash: 25
5
+ prerelease:
6
+ segments:
7
+ - 0
8
+ - 1
9
+ - 1
10
+ version: 0.1.1
5
11
  platform: ruby
6
12
  authors:
7
13
  - Kyle Maxwell
@@ -9,19 +15,23 @@ autorequire:
9
15
  bindir: bin
10
16
  cert_chain: []
11
17
 
12
- date: 2010-01-25 00:00:00 -08:00
18
+ date: 2011-03-12 00:00:00 -08:00
13
19
  default_executable:
14
20
  dependencies:
15
21
  - !ruby/object:Gem::Dependency
16
22
  name: rspec
17
- type: :development
18
- version_requirement:
19
- version_requirements: !ruby/object:Gem::Requirement
23
+ prerelease: false
24
+ requirement: &id001 !ruby/object:Gem::Requirement
25
+ none: false
20
26
  requirements:
21
27
  - - ">="
22
28
  - !ruby/object:Gem::Version
29
+ hash: 3
30
+ segments:
31
+ - 0
23
32
  version: "0"
24
- version:
33
+ type: :development
34
+ version_requirements: *id001
25
35
  description: Parse command-line options in style
26
36
  email: kyle@kylemaxwell.com
27
37
  executables: []
@@ -33,7 +43,6 @@ extra_rdoc_files:
33
43
  - README.rdoc
34
44
  files:
35
45
  - .document
36
- - .gitignore
37
46
  - LICENSE
38
47
  - README.rdoc
39
48
  - Rakefile
@@ -46,26 +55,32 @@ homepage: http://github.com/fizx/plain_option_parser
46
55
  licenses: []
47
56
 
48
57
  post_install_message:
49
- rdoc_options:
50
- - --charset=UTF-8
58
+ rdoc_options: []
59
+
51
60
  require_paths:
52
61
  - lib
53
62
  required_ruby_version: !ruby/object:Gem::Requirement
63
+ none: false
54
64
  requirements:
55
65
  - - ">="
56
66
  - !ruby/object:Gem::Version
67
+ hash: 3
68
+ segments:
69
+ - 0
57
70
  version: "0"
58
- version:
59
71
  required_rubygems_version: !ruby/object:Gem::Requirement
72
+ none: false
60
73
  requirements:
61
74
  - - ">="
62
75
  - !ruby/object:Gem::Version
76
+ hash: 3
77
+ segments:
78
+ - 0
63
79
  version: "0"
64
- version:
65
80
  requirements: []
66
81
 
67
82
  rubyforge_project:
68
- rubygems_version: 1.3.5
83
+ rubygems_version: 1.5.0
69
84
  signing_key:
70
85
  specification_version: 3
71
86
  summary: a heroku-like option parser
data/.gitignore DELETED
@@ -1,21 +0,0 @@
1
- ## MAC OS
2
- .DS_Store
3
-
4
- ## TEXTMATE
5
- *.tmproj
6
- tmtags
7
-
8
- ## EMACS
9
- *~
10
- \#*
11
- .\#*
12
-
13
- ## VIM
14
- *.swp
15
-
16
- ## PROJECT::GENERAL
17
- coverage
18
- rdoc
19
- pkg
20
-
21
- ## PROJECT::SPECIFIC