rubygems-test 0.1.1 → 0.1.2

Sign up to get free protection for your applications and to get access to all the features.
Binary file
@@ -170,7 +170,10 @@ class Gem::Commands::TestCommand < Gem::Command
170
170
  :os => RbConfig::CONFIG["target_os"],
171
171
  :machine_arch => RbConfig::CONFIG["target_cpu"],
172
172
  :name => spec.name,
173
- :version => spec.version,
173
+ :version => {
174
+ :release => spec.version.release.to_s,
175
+ :prerelease => spec.version.prerelease?
176
+ },
174
177
  :platform => spec.platform,
175
178
  :ruby_version => RUBY_VERSION,
176
179
  :result => result,
data/test/test_execute.rb CHANGED
@@ -74,7 +74,10 @@ class TestExecute < Test::Unit::TestCase
74
74
  :ruby_version => RUBY_VERSION,
75
75
  :result => true,
76
76
  :name => spec.name,
77
- :version => spec.version,
77
+ :version => {
78
+ :release => spec.version.release.to_s,
79
+ :prerelease => spec.version.prerelease?
80
+ },
78
81
  :platform => spec.platform,
79
82
  :test_output => output
80
83
  }
metadata CHANGED
@@ -5,8 +5,8 @@ version: !ruby/object:Gem::Version
5
5
  segments:
6
6
  - 0
7
7
  - 1
8
- - 1
9
- version: 0.1.1
8
+ - 2
9
+ version: 0.1.2
10
10
  platform: ruby
11
11
  authors:
12
12
  - Erik Hollensbe