rubygems-update 1.0.0 → 1.0.1

Sign up to get free protection for your applications and to get access to all the features.

Potentially problematic release.


This version of rubygems-update might be problematic. Click here for more details.

@@ -0,0 +1,2 @@
1
+ ��.%*<��@�/�{�W�9�3�Xw�x ��|0�!�3�[���� m+~��v����3K���8̓]UkHVm�����W{�=���1��Nw��[�2�L�L��P��uW����G����ӺD�,�1gbf������eӘA�T�ݏ��0g��ڸ�(�s�h��A��I
2
+ 8�/�F��y֛�C���� /4JL�b�:N/�)o�%'�E6YKw{�[֣��@���飃��{4�!��~b �l���
data/ChangeLog CHANGED
@@ -1,3 +1,13 @@
1
+ 2007-12-20 Eric Hodel <drbrain@segment7.net>
2
+
3
+ * Rakefile: Require Ruby > 1.8.2. Enable CERT_DIR.
4
+ * lib/rubygems.rb: Work with RbConfig and Config. Bug #16457 by
5
+ Christian Ramilo, John Barnette.
6
+ * lib/rubygems/commands/build_command.rb: Relax yaml? test to work
7
+ with Ruby 1.8.3.
8
+ * lib/rubygems/rubygems_version.rb: 1.0.1.
9
+ * doc/release_notes/rel_1_0_1.rdoc: RubyGems 1.0.1 release notes.
10
+
1
11
  2007-12-19 Eric Hodel <drbrain@segment7.net>
2
12
 
3
13
  * lib/rubygems/installer.rb: Revert change that only wrapped
data/Rakefile CHANGED
@@ -18,7 +18,7 @@ def announce(msg='')
18
18
  end
19
19
 
20
20
  # Disable certs for now.
21
- ENV.delete('CERT_DIR')
21
+ ENV['CERT_DIR'] ||= File.expand_path(File.join('~', '.gem'))
22
22
 
23
23
  PKG_NAME = 'rubygems'
24
24
  def package_version
@@ -284,6 +284,7 @@ end
284
284
  Spec = Gem::Specification.new do |s|
285
285
  s.name = PKG_NAME + "-update"
286
286
  s.version = PKG_VERSION
287
+ s.required_ruby_version = Gem::Requirement.new '> 1.8.2'
287
288
  s.summary = "RubyGems Update GEM"
288
289
  s.description = %{RubyGems is a package management framework for Ruby. This Gem
289
290
  is a update for the base RubyGems software. You must have a base
@@ -291,7 +292,7 @@ installation of RubyGems before this update can be applied.
291
292
  }
292
293
  s.files = PKG_FILES.to_a
293
294
  s.require_path = 'lib'
294
- s.authors = ['Jim Weirich', 'Chad Fowler']
295
+ s.authors = ['Jim Weirich', 'Chad Fowler', 'Eric Hodel']
295
296
  s.email = "rubygems-developers@rubyforge.org"
296
297
  s.homepage = "http://rubygems.rubyforge.org"
297
298
  s.rubyforge_project = "rubygems"
@@ -379,7 +380,7 @@ desc "Updates Ruby HEAD with the currently checked-out copy of RubyGems."
379
380
  task :update_ruby do
380
381
  ruby_dir = ENV['RUBY_PATH'] || '../../ruby/trunk'
381
382
 
382
- options = "-avP --exclude '*svn*' --exclude '*swp'"
383
+ options = "-avP --exclude '*svn*' --exclude '*swp' --exclude '*rbc'"
383
384
 
384
385
  sh "rsync #{options} bin/gem #{ruby_dir}/bin/gem"
385
386
  sh "rsync #{options} lib/ #{ruby_dir}/lib"
@@ -73,6 +73,7 @@ module Gem
73
73
 
74
74
  ConfigMap = {} unless defined?(ConfigMap)
75
75
  require 'rbconfig'
76
+ RbConfig = Config unless defined? ::RbConfig
76
77
  ConfigMap.merge!(
77
78
  :BASERUBY => RbConfig::CONFIG["BASERUBY"],
78
79
  :EXEEXT => RbConfig::CONFIG["EXEEXT"],
@@ -47,7 +47,7 @@ class Gem::Commands::BuildCommand < Gem::Command
47
47
 
48
48
  def yaml?(filename)
49
49
  line = open(filename) { |f| line = f.gets }
50
- result = line =~ %r{^--- *!ruby/object:Gem::Specification}
50
+ result = line =~ %r{!ruby/object:Gem::Specification}
51
51
  result
52
52
  end
53
53
  end
@@ -2,5 +2,5 @@
2
2
  # This file is auto-generated by build scripts.
3
3
  # See: rake update_version
4
4
  module Gem
5
- RubyGemsVersion = '1.0.0'
5
+ RubyGemsVersion = '1.0.1'
6
6
  end
data/setup.rb CHANGED
@@ -43,7 +43,7 @@ include FileUtils::Verbose
43
43
 
44
44
  # check ruby version
45
45
 
46
- required_version = Gem::Version::Requirement.create(">= 1.8.2")
46
+ required_version = Gem::Version::Requirement.create("> 1.8.2")
47
47
 
48
48
  unless required_version.satisfied_by? Gem::Version.new(RUBY_VERSION) then
49
49
  abort "Expected Ruby version #{required_version}, was #{RUBY_VERSION}"
Binary file
@@ -52,7 +52,7 @@ class TestGem < RubyGemTestCase
52
52
  assert_equal nil, Gem.instance_variable_get(:@gem_home)
53
53
  assert_equal nil, Gem.instance_variable_get(:@gem_path)
54
54
  assert_not_equal searcher, Gem.searcher
55
- assert_not_equal source_index, Gem.source_index
55
+ assert_not_equal source_index.object_id, Gem.source_index.object_id
56
56
  end
57
57
 
58
58
  def test_self_configuration
Binary file
@@ -27,7 +27,8 @@ end
27
27
 
28
28
  class TarTestCase < Test::Unit::TestCase
29
29
 
30
- undef_method :default_test
30
+ undef_method :default_test if instance_methods.include? 'default_test' or
31
+ instance_methods.include? :default_test
31
32
 
32
33
  def assert_headers_equal(h1, h2)
33
34
  fields = %w[name 100 mode 8 uid 8 gid 8 size 12 mtime 12 checksum 8
metadata CHANGED
@@ -1,16 +1,38 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubygems-update
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jim Weirich
8
8
  - Chad Fowler
9
+ - Eric Hodel
9
10
  autorequire:
10
11
  bindir: bin
11
- cert_chain: []
12
+ cert_chain:
13
+ - |
14
+ -----BEGIN CERTIFICATE-----
15
+ MIIDNjCCAh6gAwIBAgIBADANBgkqhkiG9w0BAQUFADBBMRAwDgYDVQQDDAdkcmJy
16
+ YWluMRgwFgYKCZImiZPyLGQBGRYIc2VnbWVudDcxEzARBgoJkiaJk/IsZAEZFgNu
17
+ ZXQwHhcNMDcxMjIxMDIwNDE0WhcNMDgxMjIwMDIwNDE0WjBBMRAwDgYDVQQDDAdk
18
+ cmJyYWluMRgwFgYKCZImiZPyLGQBGRYIc2VnbWVudDcxEzARBgoJkiaJk/IsZAEZ
19
+ FgNuZXQwggEiMA0GCSqGSIb3DQEBAQUAA4IBDwAwggEKAoIBAQCbbgLrGLGIDE76
20
+ LV/cvxdEzCuYuS3oG9PrSZnuDweySUfdp/so0cDq+j8bqy6OzZSw07gdjwFMSd6J
21
+ U5ddZCVywn5nnAQ+Ui7jMW54CYt5/H6f2US6U0hQOjJR6cpfiymgxGdfyTiVcvTm
22
+ Gj/okWrQl0NjYOYBpDi+9PPmaH2RmLJu0dB/NylsDnW5j6yN1BEI8MfJRR+HRKZY
23
+ mUtgzBwF1V4KIZQ8EuL6I/nHVu07i6IkrpAgxpXUfdJQJi0oZAqXurAV3yTxkFwd
24
+ g62YrrW26mDe+pZBzR6bpLE+PmXCzz7UxUq3AE0gPHbiMXie3EFE0oxnsU3lIduh
25
+ sCANiQ8BAgMBAAGjOTA3MAkGA1UdEwQCMAAwCwYDVR0PBAQDAgSwMB0GA1UdDgQW
26
+ BBS5k4Z75VSpdM0AclG2UvzFA/VW5DANBgkqhkiG9w0BAQUFAAOCAQEAHagT4lfX
27
+ kP/hDaiwGct7XPuVGbrOsKRVD59FF5kETBxEc9UQ1clKWngf8JoVuEoKD774dW19
28
+ bU0GOVWO+J6FMmT/Cp7nuFJ79egMf/gy4gfUfQMuvfcr6DvZUPIs9P/TlK59iMYF
29
+ DIOQ3DxdF3rMzztNUCizN4taVscEsjCcgW6WkUJnGdqlu3OHWpQxZBJkBTjPCoc6
30
+ UW6on70SFPmAy/5Cq0OJNGEWBfgD9q7rrs/X8GGwUWqXb85RXnUVi/P8Up75E0ag
31
+ 14jEc90kN+C7oI/AGCBN0j6JnEtYIEJZibjjDJTSMWlUKKkj30kq7hlUC2CepJ4v
32
+ x52qPcexcYZR7w==
33
+ -----END CERTIFICATE-----
12
34
 
13
- date: 2007-12-19 00:00:00 -08:00
35
+ date: 2007-12-20 00:00:00 -08:00
14
36
  default_executable:
15
37
  dependencies: []
16
38
 
@@ -224,9 +246,9 @@ require_paths:
224
246
  - lib
225
247
  required_ruby_version: !ruby/object:Gem::Requirement
226
248
  requirements:
227
- - - ">="
249
+ - - ">"
228
250
  - !ruby/object:Gem::Version
229
- version: "0"
251
+ version: 1.8.2
230
252
  version:
231
253
  required_rubygems_version: !ruby/object:Gem::Requirement
232
254
  requirements:
Binary file