ZenTest 4.2.0 → 4.2.1
Sign up to get free protection for your applications and to get access to all the features.
- data.tar.gz.sig +0 -0
- data/History.txt +10 -0
- data/bin/multiruby +15 -6
- data/lib/zentest.rb +1 -1
- metadata +2 -2
- metadata.gz.sig +0 -0
data.tar.gz.sig
CHANGED
Binary file
|
data/History.txt
CHANGED
data/bin/multiruby
CHANGED
@@ -4,6 +4,15 @@ require 'multiruby'
|
|
4
4
|
|
5
5
|
root_dir = Multiruby.root_dir
|
6
6
|
|
7
|
+
def setenv dir
|
8
|
+
bin = "#{dir}/bin"
|
9
|
+
gem = Dir["#{dir}/lib/ruby/gems/*"].first
|
10
|
+
|
11
|
+
ENV['PATH'] += File::PATH_SEPARATOR + bin
|
12
|
+
ENV['GEM_HOME'] = gem
|
13
|
+
ENV['GEM_PATH'] = gem
|
14
|
+
end
|
15
|
+
|
7
16
|
##
|
8
17
|
# multiruby -1 1.8.7 ruby_args...
|
9
18
|
|
@@ -14,10 +23,10 @@ if ARGV.first == "-1" then
|
|
14
23
|
abort "ambiguous version: #{vers.map { |p| File.basename p }.inspect}" if
|
15
24
|
vers.size != 1
|
16
25
|
|
17
|
-
|
18
|
-
|
26
|
+
dir = vers.first
|
27
|
+
setenv dir
|
19
28
|
|
20
|
-
exec "#{
|
29
|
+
exec "#{dir}/bin/ruby", *ARGV
|
21
30
|
end
|
22
31
|
|
23
32
|
versions = Multiruby.build_and_install
|
@@ -33,7 +42,8 @@ original_path = ENV['PATH']
|
|
33
42
|
|
34
43
|
results = {}
|
35
44
|
versions.each do |version|
|
36
|
-
|
45
|
+
dir = "#{root_dir}/install/#{version}"
|
46
|
+
ruby = "#{dir}/bin/ruby"
|
37
47
|
|
38
48
|
ruby.sub!(/bin.ruby/, 'bin/rbx') if version =~ /rubinius/
|
39
49
|
|
@@ -44,8 +54,7 @@ versions.each do |version|
|
|
44
54
|
puts "CMD = #{cmd}"
|
45
55
|
puts
|
46
56
|
|
47
|
-
|
48
|
-
ENV['PATH'] += File::PATH_SEPARATOR + "#{dir}/bin"
|
57
|
+
setenv dir
|
49
58
|
|
50
59
|
system ruby, *ARGV
|
51
60
|
puts
|
data/lib/zentest.rb
CHANGED
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: ZenTest
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 4.2.
|
4
|
+
version: 4.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ryan Davis
|
@@ -31,7 +31,7 @@ cert_chain:
|
|
31
31
|
FBHgymkyj/AOSqKRIpXPhjC6
|
32
32
|
-----END CERTIFICATE-----
|
33
33
|
|
34
|
-
date: 2009-12-
|
34
|
+
date: 2009-12-09 00:00:00 -08:00
|
35
35
|
default_executable:
|
36
36
|
dependencies:
|
37
37
|
- !ruby/object:Gem::Dependency
|
metadata.gz.sig
CHANGED
Binary file
|