rubygems-update 1.6.0 → 1.6.1

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.

Potentially problematic release.


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

data.tar.gz.sig CHANGED
@@ -1,2 +1,2 @@
1
- �Ѣ�X�;����vYṛ*�-N���j��|��qQ6c�����)8R2�;��+H6KVQ,�PKɶ 5^���f:�]��Dw��1';�`�O���
2
- P��!��RB�s�!��Q.hO0�ƨy3m��ϚJ��g8"V�����8A'(#�ҥ!��1(��怤:�v���v��yAPMAׁ�9r*O:!3}U���t6�����U�5�e;;�p��Xd�n؅�>�n�������S�읃�aE҂E;:^
1
+ H��b �wP P���U;�����zʜ�Pn>[Ja�+'yHfQ��ʭ�F*
2
+ jA��z�����u��_R�I׉T%fEf*r%�e[���J�m���uGvpR�g�{����P��)�4����e�҅o@����E��9��F>��ԿQ]N��]�&�٪
@@ -1,4 +1,15 @@
1
- === 1.6.0 / 2011-02-29
1
+ === 1.6.1 / 2011-03-03
2
+
3
+ Bug Fixes:
4
+
5
+ * Installation no longer fails when a dependency from a version that won't be
6
+ installed is unsatisfied.
7
+ * README.rdoc now shows how to file tickets and get help. Pull Request #40 by
8
+ Aaron Patterson.
9
+ * Gem files are cached correctly again. Patch #29051 by Mamoru Tasaka.
10
+ * Tests now pass with non-022 umask. Patch #29050 by Mamoru Tasaka.
11
+
12
+ === 1.6.0 / 2011-02-29
2
13
 
3
14
  4 Deprecations:
4
15
 
@@ -34,3 +34,17 @@ For more details and other options, see:
34
34
 
35
35
  ruby setup.rb --help
36
36
 
37
+ == GETTING HELP
38
+
39
+ === Support Requests
40
+
41
+ Are you unsure of how to use rubygems? Do you think you've found a bug and
42
+ you're not sure? If that is the case, the best place for you is to file a
43
+ support request at {help.rubygems.org}[http://help.rubygems.org].
44
+
45
+ === Filing tickets
46
+
47
+ You're sure you've found a bug! But where do you let us know? The best place
48
+ for letting the RubyGems team know about bugs you've found is {on the rubygems
49
+ tracker at rubyforge}[http://rubyforge.org/tracker/?group_id=126].
50
+
data/Rakefile CHANGED
@@ -29,6 +29,9 @@ hoe = Hoe.spec 'rubygems-update' do
29
29
  spec_extras[:required_ruby_version] = Gem::Requirement.new '>= 1.8.7'
30
30
  spec_extras[:executables] = ['update_rubygems']
31
31
 
32
+ rdoc_locations <<
33
+ 'rubyforge.org:/var/www/gforge-projects/rubygems/rubygems-update/'
34
+
32
35
  clean_globs.push('**/debug.log',
33
36
  '*.out',
34
37
  '.config',
@@ -118,7 +118,7 @@ require 'rbconfig'
118
118
  # -The RubyGems Team
119
119
 
120
120
  module Gem
121
- VERSION = '1.6.0'
121
+ VERSION = '1.6.1'
122
122
 
123
123
  ##
124
124
  # Raised when RubyGems is unable to load or activate a gem. Contains the
@@ -68,7 +68,7 @@ class Gem::DependencyInstaller
68
68
  @installed_gems = []
69
69
 
70
70
  @install_dir = options[:install_dir] || Gem.dir
71
- @cache_dir = options[:cache_dir] || Gem.cache_dir(@install_dir)
71
+ @cache_dir = options[:cache_dir] || @install_dir
72
72
 
73
73
  # Set with any errors that SpecFetcher finds while search through
74
74
  # gemspecs for a dep
@@ -115,7 +115,7 @@ class Gem::DependencyList
115
115
  def why_not_ok? quick = false
116
116
  unsatisfied = Hash.new { |h,k| h[k] = [] }
117
117
  source_index = Gem.source_index
118
- @specs.each do |spec|
118
+ each do |spec|
119
119
  spec.runtime_dependencies.each do |dep|
120
120
  inst = source_index.any? { |_, installed_spec|
121
121
  dep.name == installed_spec.name and
@@ -151,6 +151,24 @@ class TestGemDependencyList < Gem::TestCase
151
151
  assert_equal exp, @deplist.why_not_ok?
152
152
  end
153
153
 
154
+ def test_why_not_ok_eh_old_dependency
155
+ a = new_spec 'a', '1',
156
+ 'b' => '~> 1.0'
157
+
158
+ b0 = new_spec 'b', '1.0',
159
+ 'd' => '>= 0'
160
+
161
+ b1 = new_spec 'b', '1.1'
162
+
163
+ util_clear_gems
164
+
165
+ @deplist.clear
166
+
167
+ @deplist.add a, b0, b1
168
+
169
+ assert_equal({}, @deplist.why_not_ok?)
170
+ end
171
+
154
172
  def test_ok_eh_mismatch
155
173
  a1 = quick_spec 'a', '1'
156
174
  a2 = quick_spec 'a', '2'
@@ -181,7 +181,7 @@ load Gem.bin_path('a', 'executable', version)
181
181
  assert_equal true, File.directory?(util_inst_bindir)
182
182
  installed_exec = File.join(util_inst_bindir, 'executable')
183
183
  assert_equal true, File.exist?(installed_exec)
184
- assert_equal(0100755, File.stat(installed_exec).mode) unless win_platform?
184
+ assert_equal mask, File.stat(installed_exec).mode unless win_platform?
185
185
 
186
186
  wrapper = File.read installed_exec
187
187
  assert_match %r|generated by RubyGems|, wrapper
@@ -196,7 +196,7 @@ load Gem.bin_path('a', 'executable', version)
196
196
  assert_equal true, File.directory?(util_inst_bindir)
197
197
  installed_exec = File.join(util_inst_bindir, 'executable')
198
198
  assert_equal true, File.exist?(installed_exec)
199
- assert_equal(0100755, File.stat(installed_exec).mode) unless win_platform?
199
+ assert_equal mask, File.stat(installed_exec).mode unless win_platform?
200
200
 
201
201
  wrapper = File.read installed_exec
202
202
  assert_match %r|generated by RubyGems|, wrapper
@@ -249,7 +249,7 @@ load Gem.bin_path('a', 'executable', version)
249
249
 
250
250
  installed_exec = File.join("#{@gemhome}2", 'bin', 'executable')
251
251
  assert_equal true, File.exist?(installed_exec)
252
- assert_equal(0100755, File.stat(installed_exec).mode) unless win_platform?
252
+ assert_equal mask, File.stat(installed_exec).mode unless win_platform?
253
253
 
254
254
  wrapper = File.read installed_exec
255
255
  assert_match %r|generated by RubyGems|, wrapper
@@ -298,7 +298,7 @@ load Gem.bin_path('a', 'executable', version)
298
298
 
299
299
  installed_exec = File.join @gemhome, 'bin', 'executable'
300
300
  assert_equal true, File.exist?(installed_exec)
301
- assert_equal 0100755, File.stat(installed_exec).mode unless win_platform?
301
+ assert_equal mask, File.stat(installed_exec).mode unless win_platform?
302
302
 
303
303
  wrapper = File.read installed_exec
304
304
  assert_match %r|generated by RubyGems|, wrapper
@@ -323,7 +323,7 @@ load Gem.bin_path('a', 'executable', version)
323
323
  @installer.generate_bin
324
324
  assert_equal true, File.directory?(util_inst_bindir)
325
325
  assert_equal true, File.exist?(installed_exec)
326
- assert_equal(0100755, File.stat(installed_exec).mode) unless win_platform?
326
+ assert_equal mask, File.stat(installed_exec).mode unless win_platform?
327
327
 
328
328
  assert_match %r|generated by RubyGems|, File.read(installed_exec)
329
329
 
@@ -1014,5 +1014,9 @@ load Gem.bin_path('a', 'executable', version)
1014
1014
  @installer = util_installer @spec, gem, @gemhome
1015
1015
  end
1016
1016
 
1017
+ def mask
1018
+ 0100755 & (~File.umask)
1019
+ end
1020
+
1017
1021
  end
1018
1022
 
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: rubygems-update
3
3
  version: !ruby/object:Gem::Version
4
- hash: 15
4
+ hash: 13
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 6
9
- - 0
10
- version: 1.6.0
9
+ - 1
10
+ version: 1.6.1
11
11
  platform: ruby
12
12
  authors:
13
13
  - Jim Weirich
@@ -38,7 +38,7 @@ cert_chain:
38
38
  x52qPcexcYZR7w==
39
39
  -----END CERTIFICATE-----
40
40
 
41
- date: 2011-03-01 00:00:00 -08:00
41
+ date: 2011-03-03 00:00:00 -08:00
42
42
  default_executable:
43
43
  dependencies:
44
44
  - !ruby/object:Gem::Dependency
@@ -361,7 +361,7 @@ post_install_message:
361
361
  rdoc_options:
362
362
  - --main
363
363
  - README.rdoc
364
- - --title=RubyGems 1.6.0 Documentation
364
+ - --title=RubyGems 1.6.1 Documentation
365
365
  require_paths:
366
366
  - hide_lib_for_update
367
367
  required_ruby_version: !ruby/object:Gem::Requirement
@@ -387,7 +387,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
387
387
  requirements: []
388
388
 
389
389
  rubyforge_project: rubygems
390
- rubygems_version: 1.5.3
390
+ rubygems_version: 1.6.0
391
391
  signing_key:
392
392
  specification_version: 3
393
393
  summary: RubyGems is a package management framework for Ruby
metadata.gz.sig CHANGED
Binary file