kerplutz 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- data/Gemfile.lock +1 -1
- data/History.txt +3 -0
- data/kerplutz.gemspec +1 -1
- data/lib/kerplutz/executable.rb +1 -1
- data/spec/kerplutz/executable_spec.rb +3 -3
- metadata +3 -3
data/Gemfile.lock
CHANGED
data/History.txt
CHANGED
data/kerplutz.gemspec
CHANGED
data/lib/kerplutz/executable.rb
CHANGED
@@ -14,15 +14,15 @@ module Kerplutz
|
|
14
14
|
|
15
15
|
describe "#parse" do
|
16
16
|
it "extracts options on the base executable" do
|
17
|
-
subject.parse(["--foo"]).should == [
|
17
|
+
subject.parse(["--foo"]).should == [:test, { :foo => true }, []]
|
18
18
|
end
|
19
19
|
|
20
20
|
it "extracts arguments to options on the base executable" do
|
21
|
-
subject.parse(["--foo", "bar"]).should == [
|
21
|
+
subject.parse(["--foo", "bar"]).should == [:test, { :foo => "bar" }, []]
|
22
22
|
end
|
23
23
|
|
24
24
|
it "extracts arguments to subcommands" do
|
25
|
-
subject.parse(["foo", "bar", "baz"]).should == [
|
25
|
+
subject.parse(["foo", "bar", "baz"]).should == [:foo, { }, ["bar", "baz"]]
|
26
26
|
end
|
27
27
|
|
28
28
|
it "parses an unambiguous flag argument" do
|
metadata
CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
|
|
5
5
|
segments:
|
6
6
|
- 0
|
7
7
|
- 1
|
8
|
-
-
|
9
|
-
version: 0.1.
|
8
|
+
- 3
|
9
|
+
version: 0.1.3
|
10
10
|
platform: ruby
|
11
11
|
authors:
|
12
12
|
- Mike Sassak
|
@@ -121,7 +121,7 @@ rubyforge_project:
|
|
121
121
|
rubygems_version: 1.3.7
|
122
122
|
signing_key:
|
123
123
|
specification_version: 3
|
124
|
-
summary: kerplutz 0.1.
|
124
|
+
summary: kerplutz 0.1.3
|
125
125
|
test_files:
|
126
126
|
- features/kerplutz.feature
|
127
127
|
- features/step_definitions/kerplutz_steps.rb
|