clamp 0.6.3 → 0.6.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +6 -14
- data/.autotest +2 -0
- data/.travis.yml +2 -0
- data/CHANGES.md +8 -0
- data/Gemfile +3 -3
- data/README.md +17 -3
- data/Rakefile +1 -1
- data/examples/fubar +1 -1
- data/lib/clamp/attribute/instance.rb +2 -5
- data/lib/clamp/command.rb +10 -0
- data/lib/clamp/errors.rb +12 -0
- data/lib/clamp/version.rb +1 -1
- data/spec/clamp/command_group_spec.rb +31 -31
- data/spec/clamp/command_spec.rb +244 -188
- data/spec/clamp/option/definition_spec.rb +37 -37
- data/spec/clamp/option_module_spec.rb +2 -2
- data/spec/clamp/parameter/definition_spec.rb +37 -37
- data/spec/spec_helper.rb +12 -0
- metadata +11 -13
data/spec/spec_helper.rb
CHANGED
metadata
CHANGED
@@ -1,29 +1,27 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: clamp
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mike Williams
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2015-02-26 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
|
-
description:
|
14
|
-
|
13
|
+
description: |
|
14
|
+
Clamp provides an object-model for command-line utilities.
|
15
15
|
It handles parsing of command-line options, and generation of usage help.
|
16
|
-
|
17
|
-
'
|
18
16
|
email: mdub@dogbiscuit.org
|
19
17
|
executables: []
|
20
18
|
extensions: []
|
21
19
|
extra_rdoc_files: []
|
22
20
|
files:
|
23
|
-
- .autotest
|
24
|
-
- .gitignore
|
25
|
-
- .rspec
|
26
|
-
- .travis.yml
|
21
|
+
- ".autotest"
|
22
|
+
- ".gitignore"
|
23
|
+
- ".rspec"
|
24
|
+
- ".travis.yml"
|
27
25
|
- CHANGES.md
|
28
26
|
- Gemfile
|
29
27
|
- LICENSE
|
@@ -71,17 +69,17 @@ require_paths:
|
|
71
69
|
- lib
|
72
70
|
required_ruby_version: !ruby/object:Gem::Requirement
|
73
71
|
requirements:
|
74
|
-
- -
|
72
|
+
- - ">="
|
75
73
|
- !ruby/object:Gem::Version
|
76
74
|
version: '0'
|
77
75
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
78
76
|
requirements:
|
79
|
-
- -
|
77
|
+
- - ">="
|
80
78
|
- !ruby/object:Gem::Version
|
81
79
|
version: '0'
|
82
80
|
requirements: []
|
83
81
|
rubyforge_project:
|
84
|
-
rubygems_version: 2.
|
82
|
+
rubygems_version: 2.2.2
|
85
83
|
signing_key:
|
86
84
|
specification_version: 4
|
87
85
|
summary: a minimal framework for command-line utilities
|