rumm 0.0.10 → 0.0.11
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/routes.rb +3 -0
- data/lib/rumm/version.rb +1 -1
- data/rumm.gemspec +1 -1
- data/spec/features/help_spec.rb +8 -6
- data/spec/spec_helper.rb +4 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 10b34212a7fc30e4ae7b0728f52341bf99b7401b
|
4
|
+
data.tar.gz: 37affa8d2ae61dbb4b7cd360c9a4b028041e250d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5cdcec84fe5458cbd97182e573c45ecb823807f767e4a5052a9664b966c00e4545c938adae7ab2b633cf316726f934a1a6c03a3abb38fb0e8b5a20e3518e6059
|
7
|
+
data.tar.gz: 5d6b1e5dc106b1b6cceb5b421458856310870550e649971c72556c60d66602f8b3ddc2ac72ba87c557427cb17706b83af39af0f9630a47a22f84757254d96ee0
|
data/app/routes.rb
CHANGED
data/lib/rumm/version.rb
CHANGED
data/rumm.gemspec
CHANGED
data/spec/features/help_spec.rb
CHANGED
@@ -1,10 +1,11 @@
|
|
1
1
|
require "spec_helper"
|
2
2
|
|
3
3
|
describe "interactive learning" do
|
4
|
-
|
5
|
-
|
4
|
+
use_natural_assertions
|
6
5
|
describe "the basic help system" do
|
6
|
+
Given { pending }
|
7
7
|
Given {rumm "help"}
|
8
|
+
|
8
9
|
# Rumm: A tasty tool for hackers and pirates
|
9
10
|
# Rumm provides a command line interface for hacking with Rackspace. The
|
10
11
|
# only thing you'll need to get started is a username and password from
|
@@ -129,10 +130,10 @@ describe "interactive learning" do
|
|
129
130
|
# errors:
|
130
131
|
# --nodes[1][address]: 'xxx' -> IPAddr::InvalidAddressError: invalid address
|
131
132
|
|
132
|
-
Given {rumm "create loadbalancer --node 10.0.0.1:999999 --node
|
133
|
-
Then {
|
134
|
-
Then {
|
135
|
-
Then {
|
133
|
+
Given {rumm "create loadbalancer --node 10.0.0.1:999999 --node %%^:80 --port=-1"}
|
134
|
+
Then { stderr.match "port: port must be between 0 and 65,535" }
|
135
|
+
Then { stderr.match /nodes\[0\].port: port must be between 0 and 65,535/ }
|
136
|
+
Then { stderr.match /nodes\[1\].address:/}
|
136
137
|
end
|
137
138
|
|
138
139
|
#> Show all commands
|
@@ -149,6 +150,7 @@ describe "interactive learning" do
|
|
149
150
|
|
150
151
|
#> show a single action / command>
|
151
152
|
describe "help for a specific command" do
|
153
|
+
Given { pending }
|
152
154
|
Given {rumm "help create server"}
|
153
155
|
|
154
156
|
# Usage:
|
data/spec/spec_helper.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rumm
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.11
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Charles Lowell
|
@@ -37,14 +37,14 @@ dependencies:
|
|
37
37
|
requirements:
|
38
38
|
- - ~>
|
39
39
|
- !ruby/object:Gem::Version
|
40
|
-
version: 0.0.
|
40
|
+
version: 0.0.13
|
41
41
|
type: :runtime
|
42
42
|
prerelease: false
|
43
43
|
version_requirements: !ruby/object:Gem::Requirement
|
44
44
|
requirements:
|
45
45
|
- - ~>
|
46
46
|
- !ruby/object:Gem::Version
|
47
|
-
version: 0.0.
|
47
|
+
version: 0.0.13
|
48
48
|
- !ruby/object:Gem::Dependency
|
49
49
|
name: fog
|
50
50
|
requirement: !ruby/object:Gem::Requirement
|