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.
- data/gems/test-gem-0.0.0.gem +0 -0
- data/lib/rubygems/commands/test_command.rb +4 -1
- data/test/test_execute.rb +4 -1
- metadata +2 -2
data/gems/test-gem-0.0.0.gem
CHANGED
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 =>
|
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 =>
|
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
|
}
|