rubygems-update 1.3.4 → 1.3.5
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.
- data.tar.gz.sig +0 -0
- data/.document +1 -1
- data/ChangeLog +19 -0
- data/History.txt +799 -0
- data/Manifest.txt +1 -30
- data/README +29 -10
- data/Rakefile +71 -315
- data/lib/rubygems.rb +3 -2
- data/lib/rubygems/commands/setup_command.rb +27 -17
- data/lib/rubygems/commands/which_command.rb +1 -1
- data/lib/rubygems/config_file.rb +11 -4
- data/lib/rubygems/indexer.rb +6 -6
- data/lib/rubygems/source_index.rb +25 -19
- data/lib/rubygems/spec_fetcher.rb +14 -7
- data/lib/rubygems/specification.rb +1 -1
- data/test/test_gem.rb +0 -8
- data/test/test_gem_commands_dependency_command.rb +4 -0
- data/test/test_gem_commands_uninstall_command.rb +20 -0
- data/test/test_gem_indexer.rb +63 -24
- data/test/test_gem_source_index.rb +4 -3
- data/test/test_gem_spec_fetcher.rb +16 -2
- metadata +163 -47
- metadata.gz.sig +0 -0
- data/doc/release_notes/docs-rubygems-announce.rdoc +0 -29
- data/doc/release_notes/rel_0_2_0.rdoc +0 -4
- data/doc/release_notes/rel_0_3_0.rdoc +0 -21
- data/doc/release_notes/rel_0_4_0.rdoc +0 -4
- data/doc/release_notes/rel_0_5_0.rdoc +0 -26
- data/doc/release_notes/rel_0_6_0.rdoc +0 -16
- data/doc/release_notes/rel_0_7_0.rdoc +0 -4
- data/doc/release_notes/rel_0_8_0.rdoc +0 -23
- data/doc/release_notes/rel_0_8_1.rdoc +0 -4
- data/doc/release_notes/rel_0_8_10.rdoc +0 -70
- data/doc/release_notes/rel_0_8_11.rdoc +0 -102
- data/doc/release_notes/rel_0_8_3.rdoc +0 -113
- data/doc/release_notes/rel_0_8_4.rdoc +0 -51
- data/doc/release_notes/rel_0_8_5.rdoc +0 -117
- data/doc/release_notes/rel_0_8_7.rdoc +0 -135
- data/doc/release_notes/rel_0_9_0.rdoc +0 -109
- data/doc/release_notes/rel_0_9_2.rdoc +0 -69
- data/doc/release_notes/rel_0_9_3.rdoc +0 -66
- data/doc/release_notes/rel_0_9_4.rdoc +0 -67
- data/doc/release_notes/rel_0_9_5.rdoc +0 -108
- data/doc/release_notes/rel_1_0_0.rdoc +0 -67
- data/doc/release_notes/rel_1_0_1.rdoc +0 -56
- data/doc/release_notes/rel_1_1_0.rdoc +0 -85
- data/doc/release_notes/rel_1_1_1.rdoc +0 -64
- data/doc/release_notes/rel_1_2_0.rdoc +0 -105
- data/doc/release_notes/rel_1_3_0.rdoc +0 -125
- data/doc/release_notes/rel_1_3_1.rdoc +0 -75
- data/doc/release_notes/rel_1_3_2.rdoc +0 -119
- data/doc/release_notes/rel_1_3_3.rdoc +0 -95
- data/lib/rubygems/rubygems_version.rb +0 -19
@@ -335,10 +335,8 @@ WARNING: Invalid .gemspec format in '#{spec_file}'
|
|
335
335
|
@source_index.add_spec gem_a1_alpha
|
336
336
|
|
337
337
|
refute @source_index.latest_specs.include?(gem_a1_alpha)
|
338
|
-
|
338
|
+
assert @source_index.find_name(gem_a1_alpha.full_name).empty?
|
339
339
|
assert @source_index.prerelease_specs.include?(gem_a1_alpha)
|
340
|
-
|
341
|
-
# TODO: don't think this tests writing prerelease index to disk
|
342
340
|
end
|
343
341
|
|
344
342
|
def test_refresh_bang
|
@@ -407,6 +405,9 @@ WARNING: Invalid .gemspec format in '#{spec_file}'
|
|
407
405
|
|
408
406
|
with_default = Gem::Dependency.new(/^a/, Gem::Requirement.default)
|
409
407
|
assert_equal [@a1, @a2, @a3a, @a_evil9], @source_index.search(with_default)
|
408
|
+
|
409
|
+
c1_1_dep = Gem::Dependency.new 'c', '~> 1.1'
|
410
|
+
assert_equal [@c1_2], @source_index.search(c1_1_dep)
|
410
411
|
end
|
411
412
|
|
412
413
|
def test_search_platform
|
@@ -45,6 +45,8 @@ class TestGemSpecFetcher < RubyGemTestCase
|
|
45
45
|
util_zip(Marshal.dump(@a2))
|
46
46
|
@fetcher.data["#{@gem_repo}#{Gem::MARSHAL_SPEC_DIR}#{@a_pre.full_name}.gemspec.rz"] =
|
47
47
|
util_zip(Marshal.dump(@a_pre))
|
48
|
+
@fetcher.data["#{@gem_repo}#{Gem::MARSHAL_SPEC_DIR}#{@a3a.full_name}.gemspec.rz"] =
|
49
|
+
util_zip(Marshal.dump(@a3a))
|
48
50
|
|
49
51
|
dep = Gem::Dependency.new 'a', 1
|
50
52
|
specs_and_sources = @sf.fetch dep, true
|
@@ -273,7 +275,12 @@ RubyGems will revert to legacy indexes degrading performance.
|
|
273
275
|
|
274
276
|
assert_equal [@uri], specs.keys
|
275
277
|
|
276
|
-
assert_equal
|
278
|
+
assert_equal([["a", Gem::Version.new("1"), "ruby"],
|
279
|
+
["a", Gem::Version.new("2"), "ruby"],
|
280
|
+
["a_evil", Gem::Version.new("9"), "ruby"],
|
281
|
+
["c", Gem::Version.new("1.2"), "ruby"],
|
282
|
+
["pl", Gem::Version.new("1"), "i386-linux"]],
|
283
|
+
specs[@uri].sort)
|
277
284
|
end
|
278
285
|
|
279
286
|
def test_list_cache
|
@@ -307,7 +314,12 @@ RubyGems will revert to legacy indexes degrading performance.
|
|
307
314
|
|
308
315
|
specs = @sf.list true
|
309
316
|
|
310
|
-
assert_equal
|
317
|
+
assert_equal([[["a", Gem::Version.new("1"), "ruby"],
|
318
|
+
["a", Gem::Version.new("2"), "ruby"],
|
319
|
+
["a_evil", Gem::Version.new("9"), "ruby"],
|
320
|
+
["c", Gem::Version.new("1.2"), "ruby"],
|
321
|
+
["pl", Gem::Version.new("1"), "i386-linux"]]],
|
322
|
+
specs.values, 'specs file not loaded')
|
311
323
|
end
|
312
324
|
|
313
325
|
def test_list_prerelease
|
@@ -320,8 +332,10 @@ RubyGems will revert to legacy indexes degrading performance.
|
|
320
332
|
specs = @sf.load_specs @uri, 'specs'
|
321
333
|
|
322
334
|
expected = [
|
335
|
+
['a', Gem::Version.new('1.a'), Gem::Platform::RUBY],
|
323
336
|
['a', Gem::Version.new(1), Gem::Platform::RUBY],
|
324
337
|
['a', Gem::Version.new(2), Gem::Platform::RUBY],
|
338
|
+
['a', Gem::Version.new('3.a'), Gem::Platform::RUBY],
|
325
339
|
['a_evil', Gem::Version.new(9), Gem::Platform::RUBY],
|
326
340
|
['c', Gem::Version.new('1.2'), Gem::Platform::RUBY],
|
327
341
|
['pl', Gem::Version.new(1), 'i386-linux'],
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rubygems-update
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.3.
|
4
|
+
version: 1.3.5
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jim Weirich
|
@@ -32,28 +32,108 @@ cert_chain:
|
|
32
32
|
x52qPcexcYZR7w==
|
33
33
|
-----END CERTIFICATE-----
|
34
34
|
|
35
|
-
date: 2009-
|
35
|
+
date: 2009-07-21 00:00:00 -07:00
|
36
36
|
default_executable:
|
37
|
-
dependencies:
|
38
|
-
|
39
|
-
|
37
|
+
dependencies:
|
38
|
+
- !ruby/object:Gem::Dependency
|
39
|
+
name: builder
|
40
|
+
type: :development
|
41
|
+
version_requirement:
|
42
|
+
version_requirements: !ruby/object:Gem::Requirement
|
43
|
+
requirements:
|
44
|
+
- - ">="
|
45
|
+
- !ruby/object:Gem::Version
|
46
|
+
version: "0"
|
47
|
+
version:
|
48
|
+
- !ruby/object:Gem::Dependency
|
49
|
+
name: session
|
50
|
+
type: :development
|
51
|
+
version_requirement:
|
52
|
+
version_requirements: !ruby/object:Gem::Requirement
|
53
|
+
requirements:
|
54
|
+
- - ">="
|
55
|
+
- !ruby/object:Gem::Version
|
56
|
+
version: "0"
|
57
|
+
version:
|
58
|
+
- !ruby/object:Gem::Dependency
|
59
|
+
name: hoe-seattlerb
|
60
|
+
type: :development
|
61
|
+
version_requirement:
|
62
|
+
version_requirements: !ruby/object:Gem::Requirement
|
63
|
+
requirements:
|
64
|
+
- - ">="
|
65
|
+
- !ruby/object:Gem::Version
|
66
|
+
version: "0"
|
67
|
+
version:
|
68
|
+
- !ruby/object:Gem::Dependency
|
69
|
+
name: minitest
|
70
|
+
type: :development
|
71
|
+
version_requirement:
|
72
|
+
version_requirements: !ruby/object:Gem::Requirement
|
73
|
+
requirements:
|
74
|
+
- - ~>
|
75
|
+
- !ruby/object:Gem::Version
|
76
|
+
version: "1.4"
|
77
|
+
version:
|
78
|
+
- !ruby/object:Gem::Dependency
|
79
|
+
name: hoe
|
80
|
+
type: :development
|
81
|
+
version_requirement:
|
82
|
+
version_requirements: !ruby/object:Gem::Requirement
|
83
|
+
requirements:
|
84
|
+
- - ">="
|
85
|
+
- !ruby/object:Gem::Version
|
86
|
+
version: 2.3.2
|
87
|
+
version:
|
88
|
+
description: |-
|
40
89
|
RubyGems is a package management framework for Ruby.
|
41
90
|
|
42
|
-
This gem is an update for the RubyGems software.
|
91
|
+
This gem is an update for the RubyGems software. You must have an
|
43
92
|
installation of RubyGems before this update can be applied.
|
44
|
-
|
45
|
-
|
93
|
+
|
94
|
+
See Gem for information on RubyGems (or `ri Gem`)
|
95
|
+
|
96
|
+
To upgrade to the latest RubyGems, run:
|
97
|
+
|
98
|
+
$ gem install --system # you might need to be an administrator or root
|
99
|
+
|
100
|
+
NOTE: RubyGems 1.1 and 1.2 have problems upgrading when there is no
|
101
|
+
rubygems-update installed. You will need to use the following instructions
|
102
|
+
if you see "Nothing to update".
|
103
|
+
|
104
|
+
If you have an older version of RubyGems installed, then you can still
|
105
|
+
do it in two steps:
|
106
|
+
|
107
|
+
$ gem install rubygems-update # again, might need to be admin/root
|
108
|
+
$ update_rubygems # ... here too
|
109
|
+
|
110
|
+
If you don't have any RubyGems install, there is still the pre-gem approach to
|
111
|
+
getting software, doing it manually:
|
112
|
+
|
113
|
+
1. Download from: http://rubyforge.org/frs/?group_id=126
|
114
|
+
2. Unpack into a directory and cd there
|
115
|
+
3. Install with: ruby setup.rb # you may need admin/root privilege
|
116
|
+
|
117
|
+
For more details and other options, see:
|
118
|
+
|
119
|
+
ruby setup.rb --help
|
120
|
+
email:
|
121
|
+
- rubygems-developers@rubyforge.org
|
46
122
|
executables:
|
47
123
|
- update_rubygems
|
48
124
|
extensions: []
|
49
125
|
|
50
|
-
extra_rdoc_files:
|
51
|
-
|
126
|
+
extra_rdoc_files:
|
127
|
+
- GPL.txt
|
128
|
+
- History.txt
|
129
|
+
- LICENSE.txt
|
130
|
+
- Manifest.txt
|
52
131
|
files:
|
53
132
|
- .autotest
|
54
133
|
- .document
|
55
134
|
- ChangeLog
|
56
135
|
- GPL.txt
|
136
|
+
- History.txt
|
57
137
|
- LICENSE.txt
|
58
138
|
- Manifest.txt
|
59
139
|
- README
|
@@ -61,35 +141,6 @@ files:
|
|
61
141
|
- bin/gem
|
62
142
|
- bin/update_rubygems
|
63
143
|
- cruise_config.rb
|
64
|
-
- doc/release_notes/docs-rubygems-announce.rdoc
|
65
|
-
- doc/release_notes/rel_0_2_0.rdoc
|
66
|
-
- doc/release_notes/rel_0_3_0.rdoc
|
67
|
-
- doc/release_notes/rel_0_4_0.rdoc
|
68
|
-
- doc/release_notes/rel_0_5_0.rdoc
|
69
|
-
- doc/release_notes/rel_0_6_0.rdoc
|
70
|
-
- doc/release_notes/rel_0_7_0.rdoc
|
71
|
-
- doc/release_notes/rel_0_8_0.rdoc
|
72
|
-
- doc/release_notes/rel_0_8_1.rdoc
|
73
|
-
- doc/release_notes/rel_0_8_10.rdoc
|
74
|
-
- doc/release_notes/rel_0_8_11.rdoc
|
75
|
-
- doc/release_notes/rel_0_8_3.rdoc
|
76
|
-
- doc/release_notes/rel_0_8_4.rdoc
|
77
|
-
- doc/release_notes/rel_0_8_5.rdoc
|
78
|
-
- doc/release_notes/rel_0_8_7.rdoc
|
79
|
-
- doc/release_notes/rel_0_9_0.rdoc
|
80
|
-
- doc/release_notes/rel_0_9_2.rdoc
|
81
|
-
- doc/release_notes/rel_0_9_3.rdoc
|
82
|
-
- doc/release_notes/rel_0_9_4.rdoc
|
83
|
-
- doc/release_notes/rel_0_9_5.rdoc
|
84
|
-
- doc/release_notes/rel_1_0_0.rdoc
|
85
|
-
- doc/release_notes/rel_1_0_1.rdoc
|
86
|
-
- doc/release_notes/rel_1_1_0.rdoc
|
87
|
-
- doc/release_notes/rel_1_1_1.rdoc
|
88
|
-
- doc/release_notes/rel_1_2_0.rdoc
|
89
|
-
- doc/release_notes/rel_1_3_0.rdoc
|
90
|
-
- doc/release_notes/rel_1_3_1.rdoc
|
91
|
-
- doc/release_notes/rel_1_3_2.rdoc
|
92
|
-
- doc/release_notes/rel_1_3_3.rdoc
|
93
144
|
- lib/gauntlet_rubygems.rb
|
94
145
|
- lib/rbconfig/datadir.rb
|
95
146
|
- lib/rubygems.rb
|
@@ -163,7 +214,6 @@ files:
|
|
163
214
|
- lib/rubygems/remote_fetcher.rb
|
164
215
|
- lib/rubygems/require_paths_builder.rb
|
165
216
|
- lib/rubygems/requirement.rb
|
166
|
-
- lib/rubygems/rubygems_version.rb
|
167
217
|
- lib/rubygems/security.rb
|
168
218
|
- lib/rubygems/server.rb
|
169
219
|
- lib/rubygems/source_index.rb
|
@@ -266,12 +316,14 @@ files:
|
|
266
316
|
- util/CL2notes
|
267
317
|
- util/gem_prelude.rb.template
|
268
318
|
has_rdoc: true
|
269
|
-
homepage: http://rubygems.rubyforge.org
|
319
|
+
homepage: http://rubygems.rubyforge.org/
|
270
320
|
licenses: []
|
271
321
|
|
272
322
|
post_install_message:
|
273
|
-
rdoc_options:
|
274
|
-
|
323
|
+
rdoc_options:
|
324
|
+
- --main
|
325
|
+
- README
|
326
|
+
- --title=RubyGems 1.3.5 Documentation
|
275
327
|
require_paths:
|
276
328
|
- lib
|
277
329
|
required_ruby_version: !ruby/object:Gem::Requirement
|
@@ -289,9 +341,73 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
289
341
|
requirements: []
|
290
342
|
|
291
343
|
rubyforge_project: rubygems
|
292
|
-
rubygems_version: 1.3.
|
344
|
+
rubygems_version: 1.3.4
|
293
345
|
signing_key:
|
294
346
|
specification_version: 3
|
295
|
-
summary: RubyGems
|
296
|
-
test_files:
|
297
|
-
|
347
|
+
summary: RubyGems is a package management framework for Ruby
|
348
|
+
test_files:
|
349
|
+
- test/test_config.rb
|
350
|
+
- test/test_gem.rb
|
351
|
+
- test/test_gem_builder.rb
|
352
|
+
- test/test_gem_command.rb
|
353
|
+
- test/test_gem_command_manager.rb
|
354
|
+
- test/test_gem_commands_build_command.rb
|
355
|
+
- test/test_gem_commands_cert_command.rb
|
356
|
+
- test/test_gem_commands_check_command.rb
|
357
|
+
- test/test_gem_commands_contents_command.rb
|
358
|
+
- test/test_gem_commands_dependency_command.rb
|
359
|
+
- test/test_gem_commands_environment_command.rb
|
360
|
+
- test/test_gem_commands_fetch_command.rb
|
361
|
+
- test/test_gem_commands_generate_index_command.rb
|
362
|
+
- test/test_gem_commands_install_command.rb
|
363
|
+
- test/test_gem_commands_list_command.rb
|
364
|
+
- test/test_gem_commands_lock_command.rb
|
365
|
+
- test/test_gem_commands_mirror_command.rb
|
366
|
+
- test/test_gem_commands_outdated_command.rb
|
367
|
+
- test/test_gem_commands_pristine_command.rb
|
368
|
+
- test/test_gem_commands_query_command.rb
|
369
|
+
- test/test_gem_commands_server_command.rb
|
370
|
+
- test/test_gem_commands_sources_command.rb
|
371
|
+
- test/test_gem_commands_specification_command.rb
|
372
|
+
- test/test_gem_commands_stale_command.rb
|
373
|
+
- test/test_gem_commands_uninstall_command.rb
|
374
|
+
- test/test_gem_commands_unpack_command.rb
|
375
|
+
- test/test_gem_commands_update_command.rb
|
376
|
+
- test/test_gem_config_file.rb
|
377
|
+
- test/test_gem_dependency.rb
|
378
|
+
- test/test_gem_dependency_installer.rb
|
379
|
+
- test/test_gem_dependency_list.rb
|
380
|
+
- test/test_gem_digest.rb
|
381
|
+
- test/test_gem_doc_manager.rb
|
382
|
+
- test/test_gem_ext_configure_builder.rb
|
383
|
+
- test/test_gem_ext_ext_conf_builder.rb
|
384
|
+
- test/test_gem_ext_rake_builder.rb
|
385
|
+
- test/test_gem_format.rb
|
386
|
+
- test/test_gem_gem_path_searcher.rb
|
387
|
+
- test/test_gem_gem_runner.rb
|
388
|
+
- test/test_gem_indexer.rb
|
389
|
+
- test/test_gem_install_update_options.rb
|
390
|
+
- test/test_gem_installer.rb
|
391
|
+
- test/test_gem_local_remote_options.rb
|
392
|
+
- test/test_gem_package_tar_header.rb
|
393
|
+
- test/test_gem_package_tar_input.rb
|
394
|
+
- test/test_gem_package_tar_output.rb
|
395
|
+
- test/test_gem_package_tar_reader.rb
|
396
|
+
- test/test_gem_package_tar_reader_entry.rb
|
397
|
+
- test/test_gem_package_tar_writer.rb
|
398
|
+
- test/test_gem_package_task.rb
|
399
|
+
- test/test_gem_platform.rb
|
400
|
+
- test/test_gem_remote_fetcher.rb
|
401
|
+
- test/test_gem_requirement.rb
|
402
|
+
- test/test_gem_server.rb
|
403
|
+
- test/test_gem_source_index.rb
|
404
|
+
- test/test_gem_source_info_cache.rb
|
405
|
+
- test/test_gem_source_info_cache_entry.rb
|
406
|
+
- test/test_gem_spec_fetcher.rb
|
407
|
+
- test/test_gem_specification.rb
|
408
|
+
- test/test_gem_stream_ui.rb
|
409
|
+
- test/test_gem_uninstaller.rb
|
410
|
+
- test/test_gem_validator.rb
|
411
|
+
- test/test_gem_version.rb
|
412
|
+
- test/test_gem_version_option.rb
|
413
|
+
- test/test_kernel.rb
|
metadata.gz.sig
CHANGED
Binary file
|
@@ -1,29 +0,0 @@
|
|
1
|
-
== Announcing the RubyGems Documentation Site
|
2
|
-
|
3
|
-
http://docs.rubygems.org
|
4
|
-
|
5
|
-
Concurrent with RubyGems 0.8.7, I am very pleased to announce the
|
6
|
-
public release of the RubyGems documentation website. This site is
|
7
|
-
built upon the excellent Hieraki application (the same one used to
|
8
|
-
document Ruby on Rails).
|
9
|
-
|
10
|
-
After fighting with wiki spammers and missing data, the RubyGems team
|
11
|
-
decided to move the documentation to something a little more durable
|
12
|
-
than a wiki page. The content from the wiki pages have been reviewed,
|
13
|
-
reorganized, and moved to the docs.rubygems.org site.
|
14
|
-
|
15
|
-
The move is not complete, there is still information on the wiki that
|
16
|
-
has not made it into the RubyGems document set yet. But we will
|
17
|
-
continue to convert the site as time goes on.
|
18
|
-
|
19
|
-
We feel the Hieraki application gives us a much better opportunity to
|
20
|
-
provide quality documentation for the RubyGems system. We hope you
|
21
|
-
enjoy it.
|
22
|
-
|
23
|
-
Thanks to Tobias L�tke for Hieraki and to Bruce Williams for the
|
24
|
-
RubyGems icon.
|
25
|
-
|
26
|
-
If you are interested in helping with the RubyGems documentation,
|
27
|
-
please contact Jim Weirich (jim@weirichhouse.org) or Chad Fowler
|
28
|
-
(chad@chadfowler.com) about becoming an RubyGems document author.
|
29
|
-
|
@@ -1,21 +0,0 @@
|
|
1
|
-
== Release 0.3.0: April 30, 2004
|
2
|
-
|
3
|
-
* Cleanup of command-line arguments and handling. Most commands accept a
|
4
|
-
--local or --remote modifier.
|
5
|
-
* Creation of Application Gems (packages that include executable programs).
|
6
|
-
See http://rubygems.rubyforge.org/wiki/wiki.pl?DeveloperGuide for information
|
7
|
-
on how to use it.
|
8
|
-
* Basic functionality for installing binary gems from source (:extensions
|
9
|
-
property of gem specification holds an array of paths to extconf.rb files to
|
10
|
-
be used for compilation)
|
11
|
-
* Install library "stub" allowing a normal 'require' to work (which then does
|
12
|
-
the rubygems require and 'require_gem'
|
13
|
-
* --run-tests runs the test suite specified by the "test_suite_file" property
|
14
|
-
of a gem specification
|
15
|
-
* HTTP Proxy support works. Rewrite of HTTP code.
|
16
|
-
* Unit and functional tests added (see Rakefile).
|
17
|
-
* Prompt before remote-installing dependencies during gem installation.
|
18
|
-
* Config file for storing preferences for 'gem' command usage.
|
19
|
-
* Generally improved error messages (still more work to do)
|
20
|
-
* Rearranged gem directory structure for cleanliness.
|
21
|
-
|
@@ -1,26 +0,0 @@
|
|
1
|
-
== Release 0.5.0: Jun 6, 2004
|
2
|
-
|
3
|
-
* Jim added the ability to specify version constraints to avoid API
|
4
|
-
incompatibilities. This has been the subject of much debate for the past
|
5
|
-
couple of months, with many ideas and code contributed by Eivind Eklund and
|
6
|
-
Mauricio Fernandez. The following set of assertions shows how it works:
|
7
|
-
|
8
|
-
assert_inadequate("1.3", "~> 1.4")
|
9
|
-
assert_adequate( "1.4", "~> 1.4")
|
10
|
-
assert_adequate( "1.5", "~> 1.4")
|
11
|
-
assert_inadequate("2.0", "~> 1.4") # This one is key--the new operator
|
12
|
-
# disallows major version number
|
13
|
-
# differences.
|
14
|
-
|
15
|
-
* Group gem search output when multiple versions exist for a given gem:
|
16
|
-
|
17
|
-
activerecord (0.7.8, 0.7.7, 0.7.6, 0.7.5)
|
18
|
-
Implements the ActiveRecord pattern for ORM.
|
19
|
-
|
20
|
-
* Add arbitrary RDoc-able files via gemspec (not just Ruby source files) for
|
21
|
-
people who have, for example, README.rdoc in their distributions. Add to
|
22
|
-
gemspec via: spec.extra_rdoc_files = ["list", "of", "files"]. Ruby files are
|
23
|
-
automatically included.
|
24
|
-
|
25
|
-
* Some small bug fixes
|
26
|
-
|
@@ -1,16 +0,0 @@
|
|
1
|
-
== Release 0.6.0: Jun 8, 2004
|
2
|
-
|
3
|
-
* Collapse output of --search and --list (and gem_server) operations so that
|
4
|
-
each gem is listed only once, with each of its versions listed on the same
|
5
|
-
line.
|
6
|
-
|
7
|
-
* bin/gem: new --upgrade-all option allows one to upgrade every installed gem
|
8
|
-
|
9
|
-
* new #required_ruby_version attribute added to gem specification for
|
10
|
-
specifying a dependency on which version of ruby the gem needs. Format it
|
11
|
-
accepts is the same as the Gem::Version::Requirement format:
|
12
|
-
|
13
|
-
spec.required_ruby_version = "> 1.8.0"
|
14
|
-
|
15
|
-
* --install-stub defaults to true, so library stubs are created
|
16
|
-
|