rubygems-test 0.3.10 → 0.3.11

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,7 @@
1
+ === 0.3.11 / 2011-03-13
2
+
3
+ * Now sending :rubygems_test_version which is the version of rubygems-test used for the upload.
4
+
1
5
  === 0.3.10 / 2011-03-08
2
6
 
3
7
  * Fixed an issue locating the .gemtest file.
data/Rakefile CHANGED
@@ -3,6 +3,10 @@
3
3
  require 'rubygems'
4
4
  require 'hoe'
5
5
 
6
+ $:.unshift 'lib'
7
+ require 'rubygems/command'
8
+ require 'rubygems/commands/test_command'
9
+
6
10
  Hoe.plugins.delete :rubyforge
7
11
  Hoe.plugin :git
8
12
 
@@ -10,9 +14,7 @@ spec = Hoe.spec 'rubygems-test' do
10
14
  developer 'Erik Hollensbe', 'erik@hollensbe.org'
11
15
  developer 'Josiah Kiehl', 'bluepojo@gmail.com'
12
16
 
13
- # doin' it wrong because we're a gem plugin
14
- # that means I can be "special"!
15
- self.version = '0.3.10'
17
+ self.version = Gem::Commands::TestCommand::VERSION
16
18
 
17
19
  self.rubyforge_name = nil
18
20
 
@@ -14,6 +14,8 @@ class Gem::Commands::TestCommand < Gem::Command
14
14
  include Gem::VersionOption
15
15
  include Gem::DefaultUserInteraction
16
16
 
17
+ VERSION = "0.3.11"
18
+
17
19
  # taken straight out of rake
18
20
  DEFAULT_RAKEFILES = ['rakefile', 'Rakefile', 'rakefile.rb', 'Rakefile.rb']
19
21
 
@@ -284,7 +286,8 @@ class Gem::Commands::TestCommand < Gem::Command
284
286
  :platform => (Kernel.const_get("RUBY_ENGINE") rescue "ruby"),
285
287
  :ruby_version => RUBY_VERSION,
286
288
  :result => result,
287
- :test_output => output
289
+ :test_output => output,
290
+ :rubygems_test_version => VERSION
288
291
  }.to_yaml
289
292
  end
290
293
 
@@ -65,7 +65,8 @@ class TestExecute < Test::Unit::TestCase
65
65
  :prerelease => spec.version.prerelease?
66
66
  },
67
67
  :platform => (Kernel.const_get("RUBY_ENGINE") rescue "ruby"),
68
- :test_output => output
68
+ :test_output => output,
69
+ :rubygems_test_version => Gem::Commands::TestCommand::VERSION
69
70
  }
70
71
 
71
72
  assert_equal YAML.load(@test.gather_results(spec, output, true)), hash
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: rubygems-test
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.3.10
5
+ version: 0.3.11
6
6
  platform: ruby
7
7
  authors:
8
8
  - Erik Hollensbe
@@ -11,7 +11,7 @@ autorequire:
11
11
  bindir: bin
12
12
  cert_chain: []
13
13
 
14
- date: 2011-03-08 00:00:00 -05:00
14
+ date: 2011-03-12 23:00:00 -05:00
15
15
  default_executable:
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency
@@ -91,7 +91,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
91
91
  requirements: []
92
92
 
93
93
  rubyforge_project:
94
- rubygems_version: 1.6.1
94
+ rubygems_version: 1.6.2
95
95
  signing_key:
96
96
  specification_version: 3
97
97
  summary: commands and facilities for automated and user-contributed rubygems testing and reporting