winnie 0.0.9 → 0.0.10

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,9 @@
1
- === master
1
+ === 0.0.9 (June 10, 2011)
2
+
3
+ Fixes:
4
+ * Fixed auth command - changing API key works properly
5
+
6
+ === 0.0.8 (April 29, 2011)
2
7
 
3
8
  Features:
4
9
  * Added CHANGELOG file
@@ -18,7 +18,7 @@ module Winnie
18
18
  display_columns "Name", "Code name"
19
19
  line
20
20
  apps.each do |app|
21
- display_columns app['app']['name'], app['app']['code_name']
21
+ display_columns app['name'], app['code_name']
22
22
  end
23
23
  else
24
24
  display "You don't have any apps yet"
@@ -1,3 +1,3 @@
1
1
  module Winnie
2
- VERSION = "0.0.9"
2
+ VERSION = "0.0.10"
3
3
  end
@@ -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).exactly(3)
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
- {"app" => {"name" => "Green One", "code_name" => "green-one"}},
66
- {"app" => {"name" => "Pink", "code_name" => "pink"}}
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: 13
4
+ hash: 11
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 9
10
- version: 0.0.9
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-06-10 00:00:00 +02:00
18
+ date: 2011-10-12 00:00:00 +02:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency