zentest-without-autotest 4.2.1 → 4.3.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
data/History.txt CHANGED
@@ -1,3 +1,34 @@
1
+ === 4.3.2 / 2010-06-02
2
+
3
+ * 1 minor enhancement:
4
+
5
+ * Removed support for rbx builds.
6
+
7
+ * 2 bug fixes:
8
+
9
+ * Removed 'preview' from version filter so I can test with 1.9.2
10
+ * Put PATH tweaks at front of PATH
11
+
12
+ === 4.3.1 / 2010-03-30
13
+
14
+ * 1 bug fix:
15
+
16
+ * Fixed autotest output on 1.8. That's what I get for not having
17
+ tests for dots.
18
+
19
+ === 4.3.0 / 2010-03-27
20
+
21
+ * 1 minor enhancement:
22
+
23
+ * Added gemcutter rubyforge and hoe to the_usual setup
24
+
25
+ * 4 bug fixes:
26
+
27
+ * 1.9 compat: don't use putc anymore. (fistfvck (hah!))
28
+ * Added note that included articles are out of date
29
+ * Fixed rcov plugin so multiple all_good hooks can coexist
30
+ * Fixed typo in doco
31
+
1
32
  === 4.2.1 / 2009-12-09
2
33
 
3
34
  * 1 minor enhancement:
data/VERSION CHANGED
@@ -1 +1 @@
1
- 4.2.1
1
+ 4.3.2
data/bin/multiruby CHANGED
@@ -8,7 +8,7 @@ def setenv dir
8
8
  bin = "#{dir}/bin"
9
9
  gem = Dir["#{dir}/lib/ruby/gems/*"].first
10
10
 
11
- ENV['PATH'] += File::PATH_SEPARATOR + bin
11
+ ENV['PATH'] = bin + File::PATH_SEPARATOR + ENV['PATH']
12
12
  ENV['GEM_HOME'] = gem
13
13
  ENV['GEM_PATH'] = gem
14
14
  end
data/bin/multiruby_setup CHANGED
@@ -17,7 +17,7 @@ ARGV.each do |spec|
17
17
  when "the_usual" then # TODO: update #help
18
18
  ARGV.push(*Multiruby::TAGS.map { |v| "mri:tar:#{v.gsub(/_/, '.')}" })
19
19
  ARGV << "build" << "update:rubygems"
20
- system "multigem install --no-ri --no-rdoc rake minitest ZenTest"
20
+ system "multigem install --no-ri --no-rdoc rake minitest ZenTest gemcutter rubyforge hoe"
21
21
  when "build" then
22
22
  Multiruby.build_and_install
23
23
  when "clean" then
@@ -60,12 +60,6 @@ ARGV.each do |spec|
60
60
  when /mri:tar:(.*)/ then
61
61
  Multiruby.fetch_tar $1
62
62
  ARGV << "build"
63
- when /rbx:git:current/ then
64
- Multiruby.git_clone "#{Multiruby::RBX_GIT}", "rubinius"
65
- ARGV << "build"
66
- when /rbx:ln:(.*)/ then
67
- Multiruby.rbx_ln $1
68
- ARGV << "build"
69
63
  else
70
64
  warn "unknown spec #{spec}"
71
65
  end
data/lib/multiruby.rb CHANGED
@@ -27,14 +27,11 @@ require 'open-uri'
27
27
  # mri:svn:branch:$branch = install a specific $branch of mri from svn.
28
28
  # mri:svn:tag:$tag = install a specific $tag of mri from svn.
29
29
  # mri:tar:$version = install a specific $version of mri from tarball.
30
- # rbx:ln:$dir = symlink your rbx $dir
31
- # rbx:git:current = install rbx from git
32
30
  #
33
31
  # environment variables:
34
32
  #
35
33
  # GEM_URL = url for rubygems tarballs
36
34
  # MRI_SVN = url for MRI SVN
37
- # RBX_GIT = url for rubinius git
38
35
  # RUBY_URL = url for MRI tarballs
39
36
  # VERSIONS = what versions to install
40
37
  #
@@ -53,7 +50,6 @@ module Multiruby
53
50
 
54
51
  VERSIONS = env('VERSIONS', TAGS.join(":").gsub(/_/, '.')).split(/:/)
55
52
  MRI_SVN = env 'MRI_SVN', 'http://svn.ruby-lang.org/repos/ruby'
56
- RBX_GIT = env 'RBX_GIT', 'git://github.com/evanphx/rubinius.git'
57
53
  RUBY_URL = env 'RUBY_URL', 'http://ftp.ruby-lang.org/pub/ruby'
58
54
  GEM_URL = env 'GEM_URL', 'http://files.rubyforge.vm.bytemark.co.uk/rubygems'
59
55
 
@@ -158,10 +154,11 @@ module Multiruby
158
154
  def self.extract_latest_version url, matching=nil
159
155
  file = URI.parse(url).read
160
156
  versions = file.scan(/href="(ruby.*tar.gz)"/).flatten.reject { |s|
161
- s =~ /preview|-rc\d/
157
+ s =~ /-rc\d/
162
158
  }.sort_by { |s|
163
159
  s.split(/\D+/).map { |i| i.to_i }
164
160
  }.flatten
161
+
165
162
  versions = versions.grep(/#{Regexp.escape(matching)}/) if matching
166
163
  versions.last
167
164
  end
@@ -266,14 +263,6 @@ module Multiruby
266
263
  FileUtils.ln_sf "../build/#{File.basename Dir.pwd}", inst_dir
267
264
  end
268
265
 
269
- def self.rbx_ln dir
270
- dir = File.expand_path dir
271
- Multiruby.in_versions_dir do
272
- FileUtils.ln_sf dir, "rubinius"
273
- FileUtils.ln_sf "../versions/rubinius", "../install/rubinius"
274
- end
275
- end
276
-
277
266
  def self.rm name
278
267
  Multiruby.in_root_dir do
279
268
  FileUtils.rm_rf Dir["*/#{name}"]
@@ -419,6 +408,10 @@ module Multiruby
419
408
  end
420
409
  end
421
410
 
411
+ Multiruby.in_build_dir do
412
+ FileUtils.rm_rf Dir["rubygems*"]
413
+ end
414
+
422
415
  Multiruby.in_install_dir do
423
416
  FileUtils.rm_rf Dir["*"]
424
417
  end
@@ -5,12 +5,12 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = %q{zentest-without-autotest}
8
- s.version = "4.2.1"
8
+ s.version = "4.3.2"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["Ryan Davis"]
12
- s.date = %q{2010-01-18}
13
- s.executables = ["multiruby", "multigem", "multiruby_setup", "zentest"]
12
+ s.date = %q{2010-06-06}
13
+ s.executables = ["multigem", "zentest", "multiruby", "multiruby_setup"]
14
14
  s.extra_rdoc_files = [
15
15
  "README.markdown"
16
16
  ]
@@ -40,11 +40,11 @@ Gem::Specification.new do |s|
40
40
  s.homepage = %q{http://github.com/grosser/zentest}
41
41
  s.rdoc_options = ["--charset=UTF-8"]
42
42
  s.require_paths = ["lib"]
43
- s.rubygems_version = %q{1.3.5}
43
+ s.rubygems_version = %q{1.3.6}
44
44
  s.summary = %q{ZenTest, without AutoTest and UnitDiff}
45
45
  s.test_files = [
46
- "test/test_zentest.rb",
47
- "test/helper.rb",
46
+ "test/helper.rb",
47
+ "test/test_zentest.rb",
48
48
  "test/test_focus.rb",
49
49
  "test/test_zentest_mapping.rb"
50
50
  ]
metadata CHANGED
@@ -1,7 +1,12 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: zentest-without-autotest
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.2.1
4
+ prerelease: false
5
+ segments:
6
+ - 4
7
+ - 3
8
+ - 2
9
+ version: 4.3.2
5
10
  platform: ruby
6
11
  authors:
7
12
  - Ryan Davis
@@ -9,17 +14,17 @@ autorequire:
9
14
  bindir: bin
10
15
  cert_chain: []
11
16
 
12
- date: 2010-01-18 00:00:00 +01:00
17
+ date: 2010-06-06 00:00:00 +02:00
13
18
  default_executable:
14
19
  dependencies: []
15
20
 
16
21
  description:
17
22
  email:
18
23
  executables:
19
- - multiruby
20
24
  - multigem
21
- - multiruby_setup
22
25
  - zentest
26
+ - multiruby
27
+ - multiruby_setup
23
28
  extensions: []
24
29
 
25
30
  extra_rdoc_files:
@@ -59,23 +64,25 @@ required_ruby_version: !ruby/object:Gem::Requirement
59
64
  requirements:
60
65
  - - ">="
61
66
  - !ruby/object:Gem::Version
67
+ segments:
68
+ - 0
62
69
  version: "0"
63
- version:
64
70
  required_rubygems_version: !ruby/object:Gem::Requirement
65
71
  requirements:
66
72
  - - ">="
67
73
  - !ruby/object:Gem::Version
74
+ segments:
75
+ - 0
68
76
  version: "0"
69
- version:
70
77
  requirements: []
71
78
 
72
79
  rubyforge_project:
73
- rubygems_version: 1.3.5
80
+ rubygems_version: 1.3.6
74
81
  signing_key:
75
82
  specification_version: 3
76
83
  summary: ZenTest, without AutoTest and UnitDiff
77
84
  test_files:
78
- - test/test_zentest.rb
79
85
  - test/helper.rb
86
+ - test/test_zentest.rb
80
87
  - test/test_focus.rb
81
88
  - test/test_zentest_mapping.rb