tddium-preview 0.6.13 → 0.6.14

Sign up to get free protection for your applications and to get access to all the features.
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- tddium-preview (0.6.11)
4
+ tddium-preview (0.6.14)
5
5
  bundler
6
6
  highline
7
7
  json
@@ -126,22 +126,24 @@ CI build when it's triggered by a POST:
126
126
  4. Optionally, Tddium CI will then push to a git server (push to URL). For
127
127
  example, enter the git URL to your Heroku staging app.
128
128
 
129
- >>> Leave both the pull and push URL settings blank to disable hosted CI.
129
+ >>> Set both pull and push URLs to 'disable' to disable hosted CI completely.
130
130
 
131
131
  When everything's been set up, you'll receive an SSH public key to authorize in
132
132
  git for pulls and pushes, and a Hook URL to configure in a post-commit hook.
133
133
 
134
- >>> To enable Hosted CI, enter a git URL to pull from.
134
+ Tddium CI will not start builds on its own.
135
+
136
+ >>> To set up Hosted CI, enter a git URL to pull from.
135
137
 
136
138
  EOF
137
139
  SETUP_CAMPFIRE_FIRST_TIME =<<EOF;
138
140
 
139
- To enable Campfire notifications, enter your Campfire subdomain, API token,
140
- and the room name to post for this suite's builds.
141
+ >>> To enable Campfire notifications, enter your Campfire subdomain, API token,
142
+ and the room name to post for this suite's builds.
141
143
 
142
144
  Subdomain and API token are shared by all suites that belong to you.
143
145
 
144
- Leave the Campfire room name blank to disable Campfire for this suite.
146
+ >>> Leave the Campfire room name blank to disable Campfire for this suite.
145
147
 
146
148
  EOF
147
149
 
@@ -3,5 +3,5 @@ Copyright (c) 2011 Solano Labs All Rights Reserved
3
3
  =end
4
4
 
5
5
  module TddiumVersion
6
- VERSION = "0.6.13"
6
+ VERSION = "0.6.14"
7
7
  end
data/lib/tddium.rb CHANGED
@@ -325,6 +325,10 @@ class Tddium < Thor
325
325
 
326
326
  prompt_suite_params(options, params)
327
327
 
328
+ params.each do |k,v|
329
+ params.delete(k) if v == 'disable'
330
+ end
331
+
328
332
  # Create new suite if it does not exist yet
329
333
  say Text::Process::CREATING_SUITE % [params[:repo_name], params[:branch]]
330
334
  new_suite = call_api(:post, Api::Path::SUITES, {:suite => params})
@@ -451,7 +455,7 @@ class Tddium < Thor
451
455
 
452
456
  def git_origin_url
453
457
  result = `git config --get remote.origin.url`
454
- if $? == 0
458
+ if $? == 0 && result =~ /@/
455
459
  result.strip
456
460
  else
457
461
  nil
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: tddium-preview
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.6.13
5
+ version: 0.6.14
6
6
  platform: ruby
7
7
  authors:
8
8
  - Solano Labs