tddium-preview 0.6.7 → 0.6.8

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.6)
4
+ tddium-preview (0.6.7)
5
5
  bundler
6
6
  highline
7
7
  json
data/lib/tddium.rb CHANGED
@@ -372,7 +372,9 @@ class Tddium < Thor
372
372
  end
373
373
 
374
374
  def dependency_version(command)
375
- `#{command} -v`.match(Dependency::VERSION_REGEXP)[1]
375
+ result = `#{command} -v`.match(Dependency::VERSION_REGEXP)[1]
376
+ say Text::Process::DEPENDENCY_VERSION % [command, result]
377
+ result
376
378
  end
377
379
 
378
380
  def display_attributes(names_to_display, attributes)
@@ -114,7 +114,7 @@ Next, set a password and provide an SSH key to authenticate your communication
114
114
  with Tddium.
115
115
  "
116
116
  UPDATED_SUITE = "Updated suite successfully."
117
-
117
+ DEPENDENCY_VERSION = "Detected %s %s"
118
118
  end
119
119
 
120
120
  module Status
@@ -155,6 +155,9 @@ $ tddium spec
155
155
  SUITE_DETAILS =<<EOF;
156
156
  Repo: <%=suite["repo_name"]%>/<%=suite["branch"]%>
157
157
  Default Test Pattern: <%=suite["test_pattern"]%>
158
+ Ruby Version: <%=suite["ruby_version"]%>
159
+ Rubygems Version: <%=suite["rubygems_version"]%>
160
+ Bundler Version: <%=suite["bundler_version"]%>
158
161
  <% if suite["ci_pull_url"] %>
159
162
  Tddium Hosted CI is enabled with the following parameters:
160
163
 
@@ -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.7"
6
+ VERSION = "0.6.8"
7
7
  end
data/spec/tddium_spec.rb CHANGED
@@ -39,10 +39,12 @@ describe Tddium do
39
39
  "branch" => SAMPLE_BRANCH_NAME,
40
40
  "id" => SAMPLE_SUITE_ID,
41
41
  "ruby_version"=>SAMPLE_RUBY_VERSION,
42
+ "rubygems_version"=>SAMPLE_RUBYGEMS_VERSION,
43
+ "bundler_version"=>SAMPLE_BUNDLER_VERSION,
42
44
  "git_repo_uri" => SAMPLE_GIT_REPO_URI,
43
45
  "test_pattern" => SAMPLE_SUITE_PATTERN}
44
46
  SAMPLE_SUITES_RESPONSE = {"suites" => [SAMPLE_SUITE_RESPONSE]}
45
- SAMPLE_SUITE_OUTPUT = "Repo: #{SAMPLE_APP_NAME}/#{SAMPLE_BRANCH_NAME}\nDefault Test Pattern: #{SAMPLE_SUITE_PATTERN}\n\n"
47
+ SAMPLE_SUITE_OUTPUT = "Repo: #{SAMPLE_APP_NAME}/#{SAMPLE_BRANCH_NAME}\nDefault Test Pattern: #{SAMPLE_SUITE_PATTERN}\nRuby Version: #{SAMPLE_RUBY_VERSION}\nRubygems Version: #{SAMPLE_RUBYGEMS_VERSION}\nBundler Version: #{SAMPLE_BUNDLER_VERSION}\n\n"
46
48
  SAMPLE_TDDIUM_CONFIG_FILE = ".tddium.test"
47
49
  SAMPLE_TEST_EXECUTION_STATS = "total 1, notstarted 0, started 1, passed 0, failed 0, pending 0, error 0", "start_time"
48
50
  SAMPLE_USER_RESPONSE = {"status"=>0, "user"=>
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.7
5
+ version: 0.6.8
6
6
  platform: ruby
7
7
  authors:
8
8
  - Solano Labs