winnie 0.0.9 → 0.0.10
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.rdoc +6 -1
- data/lib/winnie/commands/app.rb +1 -1
- data/lib/winnie/version.rb +1 -1
- data/spec/commands/app_spec.rb +4 -3
- metadata +4 -4
data/CHANGELOG.rdoc
CHANGED
data/lib/winnie/commands/app.rb
CHANGED
data/lib/winnie/version.rb
CHANGED
data/spec/commands/app_spec.rb
CHANGED
@@ -13,7 +13,8 @@ describe Winnie::Commands::App do
|
|
13
13
|
describe "when user has some apps" do
|
14
14
|
it "should list apps" do
|
15
15
|
@client.should_receive(:apps).and_return(apps)
|
16
|
-
@app.should_receive(:display_columns).
|
16
|
+
@app.should_receive(:display_columns).with("Green One", "green-one")
|
17
|
+
@app.should_receive(:display_columns).with("Pink", "pink")
|
17
18
|
@app.should_receive(:line)
|
18
19
|
@app.list
|
19
20
|
end
|
@@ -62,7 +63,7 @@ end
|
|
62
63
|
|
63
64
|
def apps
|
64
65
|
[
|
65
|
-
{"
|
66
|
-
{"
|
66
|
+
{"name" => "Green One", "code_name" => "green-one"},
|
67
|
+
{"name" => "Pink", "code_name" => "pink"}
|
67
68
|
]
|
68
69
|
end
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: winnie
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 11
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 0
|
9
|
-
-
|
10
|
-
version: 0.0.
|
9
|
+
- 10
|
10
|
+
version: 0.0.10
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- winnie
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2011-
|
18
|
+
date: 2011-10-12 00:00:00 +02:00
|
19
19
|
default_executable:
|
20
20
|
dependencies:
|
21
21
|
- !ruby/object:Gem::Dependency
|