rubygems-test 0.1.5 → 0.1.6
Sign up to get free protection for your applications and to get access to all the features.
- data/README.rdoc +0 -1
- data/lib/rubygems/commands/test_command.rb +6 -1
- metadata +8 -3
data/README.rdoc
CHANGED
@@ -14,7 +14,6 @@ You can insert several things in your .gemrc to make things simpler. These all
|
|
14
14
|
live in the 'test_options' subsection, e.g.:
|
15
15
|
|
16
16
|
test_options:
|
17
|
-
use_rake_test: false
|
18
17
|
auto_test_on_install: true
|
19
18
|
test_on_install: true
|
20
19
|
install_development_dependencies: true
|
@@ -222,7 +222,7 @@ class Gem::Commands::TestCommand < Gem::Command
|
|
222
222
|
# XXX I'm fairly sure that JRuby's gems don't support plugins, so this is
|
223
223
|
# left untested.
|
224
224
|
klass =
|
225
|
-
if IO.respond_to?(:
|
225
|
+
if IO.respond_to?(:popen4)
|
226
226
|
IO
|
227
227
|
else
|
228
228
|
require 'open4'
|
@@ -258,6 +258,10 @@ class Gem::Commands::TestCommand < Gem::Command
|
|
258
258
|
(get_all_gem_names rescue [options[:name]]).each do |name|
|
259
259
|
spec = find_gem(name, version)
|
260
260
|
|
261
|
+
unless spec
|
262
|
+
say usage
|
263
|
+
end
|
264
|
+
|
261
265
|
if spec.files.include?('.gemtest')
|
262
266
|
# we find rake and the rakefile first to eliminate needlessly installing
|
263
267
|
# dependencies.
|
@@ -273,6 +277,7 @@ class Gem::Commands::TestCommand < Gem::Command
|
|
273
277
|
if @on_install
|
274
278
|
raise e
|
275
279
|
else
|
280
|
+
say usage
|
276
281
|
terminate_interaction 1
|
277
282
|
end
|
278
283
|
end
|
metadata
CHANGED
@@ -1,12 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rubygems-test
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
+
hash: 23
|
4
5
|
prerelease: false
|
5
6
|
segments:
|
6
7
|
- 0
|
7
8
|
- 1
|
8
|
-
-
|
9
|
-
version: 0.1.
|
9
|
+
- 6
|
10
|
+
version: 0.1.6
|
10
11
|
platform: ruby
|
11
12
|
authors:
|
12
13
|
- Erik Hollensbe
|
@@ -15,7 +16,7 @@ autorequire:
|
|
15
16
|
bindir: bin
|
16
17
|
cert_chain: []
|
17
18
|
|
18
|
-
date: 2010-12-
|
19
|
+
date: 2010-12-28 00:00:00 -05:00
|
19
20
|
default_executable:
|
20
21
|
dependencies:
|
21
22
|
- !ruby/object:Gem::Dependency
|
@@ -26,6 +27,7 @@ dependencies:
|
|
26
27
|
requirements:
|
27
28
|
- - ">="
|
28
29
|
- !ruby/object:Gem::Version
|
30
|
+
hash: 3
|
29
31
|
segments:
|
30
32
|
- 0
|
31
33
|
version: "0"
|
@@ -39,6 +41,7 @@ dependencies:
|
|
39
41
|
requirements:
|
40
42
|
- - ">="
|
41
43
|
- !ruby/object:Gem::Version
|
44
|
+
hash: 3
|
42
45
|
segments:
|
43
46
|
- 0
|
44
47
|
version: "0"
|
@@ -83,6 +86,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
83
86
|
requirements:
|
84
87
|
- - ">="
|
85
88
|
- !ruby/object:Gem::Version
|
89
|
+
hash: 3
|
86
90
|
segments:
|
87
91
|
- 0
|
88
92
|
version: "0"
|
@@ -91,6 +95,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
91
95
|
requirements:
|
92
96
|
- - ">="
|
93
97
|
- !ruby/object:Gem::Version
|
98
|
+
hash: 3
|
94
99
|
segments:
|
95
100
|
- 0
|
96
101
|
version: "0"
|