tddium-preview 0.6.10 → 0.6.11

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.9)
4
+ tddium-preview (0.6.10)
5
5
  bundler
6
6
  highline
7
7
  json
data/lib/tddium.rb CHANGED
@@ -445,7 +445,7 @@ class Tddium < Thor
445
445
  def git_origin_url
446
446
  result = `git config --get remote.origin.url`
447
447
  if $? == 0
448
- result
448
+ result.strip
449
449
  else
450
450
  nil
451
451
  end
@@ -502,6 +502,7 @@ class Tddium < Thor
502
502
  end
503
503
 
504
504
  def prompt_suite_params(options, params, current={})
505
+ say Text::Process::DETECTED_BRANCH % params[:branch] if params[:branch]
505
506
  params[:ruby_version] = dependency_version(:ruby)
506
507
  params[:bundler_version] = dependency_version(:bundle)
507
508
  params[:rubygems_version] = dependency_version(:gem)
@@ -49,7 +49,7 @@ module TddiumConstant
49
49
  DISABLE = 'disable'
50
50
  end
51
51
  SSH_KEY = "Enter your ssh key or press 'Return'. Using '%s' by default:"
52
- SUITE_NAME = "Enter a suite name or press 'Return'. Using '%s' by default:"
52
+ SUITE_NAME = "Enter a repo name or press 'Return'. Using '%s' by default:"
53
53
  LICENSE_AGREEMENT = "Type '%s' to accept the license and continue:" % Response::AGREE_TO_LICENSE
54
54
  EMAIL = "Enter your email address:"
55
55
  CURRENT_PASSWORD = "Enter your old password: "
@@ -114,26 +114,25 @@ with Tddium.
114
114
  "
115
115
  UPDATED_SUITE = "Updated suite successfully."
116
116
  DEPENDENCY_VERSION = "Detected %s %s"
117
+ DETECTED_BRANCH = "Detected branch %s"
117
118
  SETUP_CI_FIRST_TIME =<<EOF;
118
119
 
119
- Tddium Hosted CI will wait for a POST from a git post-receive hook.
120
+ Tddium includes a Hosted Continuous Integration service that will run a
121
+ CI build when it's triggered by a POST:
120
122
 
121
- When the hook runs, Tddium will:
123
+ 1. Pull from your git server
124
+ 2. Run tests that match the test pattern for this suite: %s
125
+ 3. Notify you by email and/or campfire
126
+ 4. Optionally, Tddium CI will then push to a git server (push to URL). For
127
+ example, enter the git URL to your Heroku staging app.
122
128
 
123
- 1) Pull your integration branch from your git server (pull from URL)
124
- 2) Run all the tests that match the test pattern for this suite:
125
- %s
126
- 3) Notify you by email and/or campfire
127
- 4) If you want, when tests pass, Tddium CI will then push to a git
128
- server (push to URL). For example, enter the git URL to your
129
- Heroku staging app.
130
-
131
- Enter a git URL to pull from to enable hosted CI.
129
+ >>> Leave both the pull and push URL settings blank to disable hosted CI.
132
130
 
133
131
  When everything's been set up, you'll receive an SSH public key to authorize in
134
132
  git for pulls and pushes, and a Hook URL to configure in a post-commit hook.
135
133
 
136
- Leave both the pull and push URL settings blank to disable hosted CI.
134
+ >>> To enable Hosted CI, enter a git URL to pull from.
135
+
137
136
  EOF
138
137
  SETUP_CAMPFIRE_FIRST_TIME =<<EOF;
139
138
 
@@ -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.10"
6
+ VERSION = "0.6.11"
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.6.10
5
+ version: 0.6.11
6
6
  platform: ruby
7
7
  authors:
8
8
  - Solano Labs
@@ -10,7 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2011-06-21 00:00:00 -07:00
13
+ date: 2011-06-23 00:00:00 -07:00
14
14
  default_executable:
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency