tddium-preview 0.8.0 → 0.8.1

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.
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- tddium-preview (0.7.4)
4
+ tddium-preview (0.8.0)
5
5
  bundler
6
6
  highline
7
7
  json
@@ -27,6 +27,7 @@ Feature: Account command
27
27
  Given the user is logged in
28
28
  And adding a member to the account will succeed
29
29
  When I successfully run `tddium account:add member member2@example.com`
30
+ Then the output should contain "Adding member2@example.com as member..."
30
31
  Then the output should contain "Added member2@example.com"
31
32
 
32
33
  Scenario: Add member to account unsuccessfully
data/lib/tddium.rb CHANGED
@@ -102,7 +102,7 @@ class Tddium < Thor
102
102
 
103
103
  params = {:role=>role, :email=>email}
104
104
  begin
105
- say Text::Process::ADDING_MEMBER % params
105
+ say Text::Process::ADDING_MEMBER % [params[:email], params[:role]]
106
106
  result = call_api(:post, Api::Path::MEMBERSHIPS, params)
107
107
  say Text::Process::ADDED_MEMBER % email
108
108
  rescue TddiumClient::Error::API => e
@@ -182,7 +182,7 @@ Subdomain and API token are shared by all suites that belong to you (%s).
182
182
  Set the "Campfire room name" to 'disable' to disable Campfire notifications
183
183
  for this suite.
184
184
  EOF
185
- ADDING_MEMBER = "Adding %<email>s as %<role>s..."
185
+ ADDING_MEMBER = "Adding %s as %s..."
186
186
  ADDED_MEMBER = "Added %s"
187
187
  REMOVING_MEMBER = "Removing %s. This may take a few seconds..."
188
188
  REMOVED_MEMBER = "Removed %s"
@@ -3,5 +3,5 @@ Copyright (c) 2011 Solano Labs All Rights Reserved
3
3
  =end
4
4
 
5
5
  module TddiumVersion
6
- VERSION = "0.8.0"
6
+ VERSION = "0.8.1"
7
7
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: tddium-preview
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.8.0
5
+ version: 0.8.1
6
6
  platform: ruby
7
7
  authors:
8
8
  - Solano Labs