rubygems-update 0.8.3
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/ChangeLog +2335 -0
- data/README +54 -0
- data/Rakefile +293 -0
- data/Releases +98 -0
- data/TODO +7 -0
- data/bin/gem +11 -0
- data/bin/gem_server +111 -0
- data/bin/generate_yaml_index.rb +58 -0
- data/bin/update_rubygems +18 -0
- data/doc/doc.css +73 -0
- data/doc/makedoc.rb +4 -0
- data/examples/application/an-app.gemspec +26 -0
- data/examples/application/bin/myapp +3 -0
- data/examples/application/lib/somefunctionality.rb +3 -0
- data/gemspecs/README +4 -0
- data/gemspecs/cgikit-1.1.0.gemspec +18 -0
- data/gemspecs/jabber4r.gemspec +26 -0
- data/gemspecs/linguistics.gemspec +22 -0
- data/gemspecs/ook.gemspec +21 -0
- data/gemspecs/progressbar.gemspec +22 -0
- data/gemspecs/redcloth.gemspec +22 -0
- data/gemspecs/rublog.gemspec +23 -0
- data/gemspecs/ruby-doom.gemspec +21 -0
- data/gemspecs/rubyjdwp.gemspec +21 -0
- data/gemspecs/statistics.gemspec +21 -0
- data/lib/rubygems.rb +353 -0
- data/lib/rubygems/builder.rb +54 -0
- data/lib/rubygems/cmd_manager.rb +127 -0
- data/lib/rubygems/command.rb +191 -0
- data/lib/rubygems/config_file.rb +57 -0
- data/lib/rubygems/doc_manager.rb +94 -0
- data/lib/rubygems/format.rb +65 -0
- data/lib/rubygems/gem_commands.rb +925 -0
- data/lib/rubygems/gem_runner.rb +23 -0
- data/lib/rubygems/installer.rb +621 -0
- data/lib/rubygems/loadpath_manager.rb +108 -0
- data/lib/rubygems/old_format.rb +150 -0
- data/lib/rubygems/open-uri.rb +604 -0
- data/lib/rubygems/package.rb +740 -0
- data/lib/rubygems/remote_installer.rb +499 -0
- data/lib/rubygems/rubygems_version.rb +6 -0
- data/lib/rubygems/source_index.rb +130 -0
- data/lib/rubygems/specification.rb +613 -0
- data/lib/rubygems/user_interaction.rb +176 -0
- data/lib/rubygems/validator.rb +148 -0
- data/lib/rubygems/version.rb +279 -0
- data/lib/ubygems.rb +4 -0
- data/pkgs/sources/lib/sources.rb +6 -0
- data/pkgs/sources/sources.gemspec +14 -0
- data/post-install.rb +75 -0
- data/redist/session.gem +433 -0
- data/scripts/buildtests.rb +25 -0
- data/scripts/gemdoc.rb +62 -0
- data/scripts/runtest.rb +17 -0
- data/scripts/specdoc.rb +164 -0
- data/setup.rb +1360 -0
- data/test/bogussources.rb +5 -0
- data/test/data/legacy/keyedlist-0.4.0.ruby +11 -0
- data/test/data/legacy/keyedlist-0.4.0.yaml +16 -0
- data/test/data/lib/code.rb +1 -0
- data/test/data/one/README.one +1 -0
- data/test/data/one/lib/one.rb +3 -0
- data/test/data/one/one.gemspec +17 -0
- data/test/data/one/one.yaml +40 -0
- data/test/functional.rb +145 -0
- data/test/gemenvironment.rb +45 -0
- data/test/gemutilities.rb +18 -0
- data/test/insure_session.rb +46 -0
- data/test/mock/gems/gems/sources-0.0.1/lib/sources.rb +5 -0
- data/test/mock/gems/specifications/sources-0.0.1.gemspec +8 -0
- data/test/mockgemui.rb +45 -0
- data/test/onegem.rb +23 -0
- data/test/simple_gem.rb +66 -0
- data/test/test_builder.rb +13 -0
- data/test/test_cached_fetcher.rb +60 -0
- data/test/test_check_command.rb +28 -0
- data/test/test_command.rb +130 -0
- data/test/test_configfile.rb +36 -0
- data/test/test_format.rb +70 -0
- data/test/test_gemloadpaths.rb +45 -0
- data/test/test_gempaths.rb +115 -0
- data/test/test_loadmanager.rb +40 -0
- data/test/test_local_cache.rb +157 -0
- data/test/test_package.rb +600 -0
- data/test/test_parse_commands.rb +179 -0
- data/test/test_process_commands.rb +21 -0
- data/test/test_remote_fetcher.rb +162 -0
- data/test/test_remote_installer.rb +154 -0
- data/test/test_source_index.rb +58 -0
- data/test/test_specification.rb +286 -0
- data/test/test_validator.rb +53 -0
- data/test/test_version_comparison.rb +204 -0
- data/test/testgem.rc +6 -0
- data/test/user_capture.rb +1 -0
- data/test/yaml_data.rb +59 -0
- metadata +151 -0
data/ChangeLog
ADDED
@@ -0,0 +1,2335 @@
|
|
1
|
+
2004-12-06 Jim Weirich <jim@weirichhouse.org>
|
2
|
+
|
3
|
+
* test/test_specification.rb
|
4
|
+
(TestLegacyYamlSpecification::test_load): Fixed test to avoid the
|
5
|
+
__FILE__ stuff. Running tests from rakefile guarantees that the
|
6
|
+
file paths start from the right location.
|
7
|
+
|
8
|
+
* pkgs/sources/sources.gemspec: Made Gem.sources_spec idempotent.
|
9
|
+
|
10
|
+
* lib/rubygems/specification.rb (Gem::Specification::initialize):
|
11
|
+
Added @@gather to Gem::Specification to facilitate proper loads.
|
12
|
+
(Gem::Specification::Specification): Added Specification.load.
|
13
|
+
|
14
|
+
* lib/rubygems/source_index.rb (Gem::SourceIndex): Fixed comments
|
15
|
+
'long name' => 'full name'.
|
16
|
+
|
17
|
+
* lib/rubygems/gem_commands.rb (Gem::BuildCommand::load_gemspecs):
|
18
|
+
Changed to use Gem.Specification.load.
|
19
|
+
|
20
|
+
* Rakefile: Added sources-*.gem to clobber list.
|
21
|
+
(egrep): Upgraded the DBG finder to include breakpoint.
|
22
|
+
|
23
|
+
* post-install.rb (install_sources): Using block version of chdir.
|
24
|
+
|
25
|
+
* lib/rubygems/remote_installer.rb
|
26
|
+
(Gem::LocalSourceInfoCache::read_cache): Fixed initialization of
|
27
|
+
cache.
|
28
|
+
|
29
|
+
* lib/rubygems.rb: Updated version to 1.8.2.
|
30
|
+
|
31
|
+
2004-12-04 Jim Weirich <jim@weirichhouse.org>
|
32
|
+
|
33
|
+
* lib/rubygems/remote_installer.rb
|
34
|
+
(Gem::LocalSourceInfoCache::writable_file): Now just returns the
|
35
|
+
selected cache file (which was selected based on writability).
|
36
|
+
(Gem::LocalSourceInfoCache::try_file): Added try_file to determine
|
37
|
+
if a file is a candidate for a cache file.
|
38
|
+
(Gem::LocalSourceInfoCache::select_cache_file): Added failure if
|
39
|
+
there are not valid cache file candidates.
|
40
|
+
|
41
|
+
* lib/rubygems.rb (Gem::Exception): Renamed @@cache to
|
42
|
+
@@source_index.
|
43
|
+
(Gem::Exception::source_index): Renamed Gem.cache to
|
44
|
+
Gem.source_index (but left cache as an alias).
|
45
|
+
|
46
|
+
2004-12-03 Jim Weirich <jim@weirichhouse.org>
|
47
|
+
|
48
|
+
* lib/rubygems/remote_installer.rb (Gem::LocalSourceInfoCache):
|
49
|
+
Added a local cache manager object to implement the read/write
|
50
|
+
policies on the system and user cache files.
|
51
|
+
(Gem::LocalSourceInfoCache::update): Added update and flush to the
|
52
|
+
caching fetcher so that it knows when it needs to update the local
|
53
|
+
cache files.
|
54
|
+
(Gem::RemoteInstaller::initialize): Switched to using a cached
|
55
|
+
fetcher in the remote installer. All the caching logic was
|
56
|
+
removed from the installer. User writable cache files are now
|
57
|
+
supported.
|
58
|
+
(Gem::RemoteInstaller::write_gem_to_file): write_gem_to_file now
|
59
|
+
will create the path if needed.
|
60
|
+
|
61
|
+
2004-12-02 Jim Weirich <jim@weirichhouse.org>
|
62
|
+
|
63
|
+
* lib/rubygems/package.rb (TarInput::zipped_stream): To workaround
|
64
|
+
a problem with earlier than 1.2.1, we read the zipped data into a
|
65
|
+
string, and then return an IO object on that string.
|
66
|
+
(TarInput::each): Refactored getting a stream to the zipped data
|
67
|
+
into <tt>zipped_stream</tt>.
|
68
|
+
|
69
|
+
2004-12-01 Jim Weirich <jim@weirichhouse.org>
|
70
|
+
|
71
|
+
* lib/rubygems/remote_installer.rb
|
72
|
+
(Gem::RemoteSourceFetcher::convert_spec): We now proprocess the
|
73
|
+
yaml string data to reduce it in size. This was done to
|
74
|
+
workaround a problem with large YAML files (although it is just a
|
75
|
+
temporary fix because our yaml data keeps growing and growing).
|
76
|
+
|
77
|
+
* Rakefile: Added more targets to the clobber target.
|
78
|
+
|
79
|
+
* test/test_remote_fetcher.rb
|
80
|
+
(TestRemoteFetcher::test_explicit_proxy): Added tests for proxy
|
81
|
+
support.
|
82
|
+
|
83
|
+
* lib/rubygems/remote_installer.rb
|
84
|
+
(Gem::RemoteSourceFetcher::connect_to): Refactored to add proxy
|
85
|
+
support.
|
86
|
+
|
87
|
+
2004-11-28 Chad Fowler <chad@chadfowler.com>
|
88
|
+
* lib/rubygems/loadpath_manager.rb: Added Mauricio's patch to work
|
89
|
+
around string contains null byte issue.
|
90
|
+
|
91
|
+
2004-11-27 Jim Weirich <jim@weirichhouse.org>
|
92
|
+
|
93
|
+
* lib/rubygems/remote_installer.rb
|
94
|
+
(Gem::RemoteSourceFetcher::get_size): Switched from open-uri with
|
95
|
+
early abort to an HTTP.head call to get the size of the yaml file
|
96
|
+
on the server.
|
97
|
+
|
98
|
+
2004-11-26 Jim Weirich <jim@weirichhouse.org>
|
99
|
+
|
100
|
+
* test/test_specification.rb
|
101
|
+
(TestDefaultSpecification::test_defaults): Added test for some
|
102
|
+
basic defaults in a gem spec.
|
103
|
+
|
104
|
+
* test/test_remote_installer.rb (MockFetcher::source_info): Made
|
105
|
+
the fake test data more realistic.
|
106
|
+
(TestRemoteInstaller::test_source_info): Improved tests.
|
107
|
+
|
108
|
+
2004-11-26 Jim Weirich <jim@tardis>
|
109
|
+
|
110
|
+
* test/test_remote_installer.rb (MockFetcher): Added MockFetcher
|
111
|
+
to make testing the remote installer easier. Currently there are
|
112
|
+
two remote installer test classes. Eventually TestRemoteInstaller
|
113
|
+
will succeed RemoteInstallerTest, which is very incomplete.
|
114
|
+
|
115
|
+
* test/test_package.rb (TC_TarReader::TC_TarInput): Made the unit
|
116
|
+
test ignore the setgid bit. The setgid bit doesn't work on my
|
117
|
+
laptop for some reason. This may be a problem with my laptop
|
118
|
+
rather than with this code. Should investigate further.
|
119
|
+
|
120
|
+
* lib/rubygems/remote_installer.rb (Gem::RemoteSourceFetcher):
|
121
|
+
Added a Fetcher object to the remote installer to handle all the
|
122
|
+
details of getting the remote information. This allows testing
|
123
|
+
the logic of the remote installer without actually doing remote
|
124
|
+
calls.
|
125
|
+
(Gem::RemoteInstaller::sources): Renamed get_caches to
|
126
|
+
source_info. The problem is that cache is too generic and there
|
127
|
+
are actually several things that we will cache in the system.
|
128
|
+
|
129
|
+
* lib/rubygems/cache.rb (Gem::Cache::self): Changed interface to
|
130
|
+
from_installed_gems slightly.
|
131
|
+
(Gem::Cache::self): Reordered rescue clauses so that the syntax
|
132
|
+
exception might actually be handled.
|
133
|
+
|
134
|
+
* lib/rubygems.rb (Gem::Exception::ensure_gem_subdirectories):
|
135
|
+
Dumped the check_gem_subdirectories method to use the almost
|
136
|
+
identical ensure_gem_subdirectories method.
|
137
|
+
(Gem::Exception::ensure_gem_subdirectories): Only attempt to
|
138
|
+
create the gem subdirectories if we can actually write them.
|
139
|
+
|
140
|
+
* bin/gem_server: Added date of last file modification to header
|
141
|
+
of /yaml. This is in preparation for using a head command with
|
142
|
+
date/time stamping in fetching the source cache.
|
143
|
+
|
144
|
+
2004-11-25 Ryan Davis <ryand@zenspider.com>
|
145
|
+
* lib/rubygems.rb: Added GEM_SKIP functionality, which will tell
|
146
|
+
loadpath_manager not to load specific libs from gems. For
|
147
|
+
testing/ development purposes. Created by Ryan Davis.
|
148
|
+
|
149
|
+
2004-11-24 Chad Fowler <chad@chadfowler.com>
|
150
|
+
* lib/rubygems/specification.rb: Allow multiple authors per gem.
|
151
|
+
* lib/rubygems/gem_commands.rb: command line error message if you
|
152
|
+
run 'gem install' with no args.
|
153
|
+
* lib/rubygems/loadpath_manager.rb: Fixed @specs bug as reported by
|
154
|
+
Lothar Schulz on ruby-talk.
|
155
|
+
|
156
|
+
2004-11-07 Chad Fowler <chad@chadfowler.com>
|
157
|
+
* lib/rubygems.rb,lib/rubygems/installer.rb,lib/rubygems/cache.rb
|
158
|
+
lib/rubygems/remote_installer.rb,lib/rubygems/gem_commands.rb:
|
159
|
+
Fixes to make non-root installation work properly. Still need to
|
160
|
+
fix uninstallation.
|
161
|
+
* lib/rubygems/gem_commands.rb: Allow multiple gems/gem names on the
|
162
|
+
command line for install.
|
163
|
+
|
164
|
+
2004-10-31 Chad Fowler <chad@chadfowler.com>
|
165
|
+
* lib/rubygems/version.rb,test/test_version_comparison.rb: Patrick May's
|
166
|
+
* post-install.rb: Patrick May's fix for rubygems lib not being found
|
167
|
+
during install.
|
168
|
+
|
169
|
+
2004-10-29 Chad Fowler <chad@chadfowler.com>
|
170
|
+
* packages/,pkgs,install.rb: renamed "packages" to "pkgs" to avoid
|
171
|
+
* remote_installer.rb: Added user-agent reporting for remote
|
172
|
+
operations
|
173
|
+
* setup.rb,install.rb,bin/update_rubygems: removed install.rb and
|
174
|
+
added setup.rb and post-install.rb. Changed update_rubygems so that
|
175
|
+
params passed to it can be passed on to setup.rb
|
176
|
+
|
177
|
+
2004-10-25 Jim Weirich <jim@weirichhouse.org>
|
178
|
+
|
179
|
+
* lib/rubygems/installer.rb
|
180
|
+
(Gem::Uninstaller::remove_executables): Corrected spelling of
|
181
|
+
"addtion".
|
182
|
+
|
183
|
+
2004-10-24 Jim Weirich <jim@weirichhouse.org>
|
184
|
+
|
185
|
+
* lib/rubygems/version.rb (Gem::Version::Requirement::self): Now
|
186
|
+
properly handles arrays of version constraints.
|
187
|
+
|
188
|
+
* lib/rubygems/loadpath_manager.rb
|
189
|
+
(Gem::LoadPathManager::Gem::Specification): Added comments
|
190
|
+
describing the fast Spec class purpose. Added to_s to
|
191
|
+
Gem::Specification (both fast and slow versions).
|
192
|
+
(Gem::LoadPathManager.paths): Returns (cached) list of gem paths.
|
193
|
+
(Gem::LoadPathManager::self): Refactored to use glob_over in
|
194
|
+
search_loadpaths and search_gempaths.
|
195
|
+
|
196
|
+
* lib/rubygems/installer.rb: Added some requires.
|
197
|
+
|
198
|
+
* lib/rubygems/cache.rb (Gem::Cache::refresh): Fixed refresh! to
|
199
|
+
call load_specification on the Cache class, not on itself.
|
200
|
+
|
201
|
+
* lib/rubygems.rb (Gem::Exception::activate): added comments to
|
202
|
+
activate. Also made sure that partial name matches in the gem
|
203
|
+
cache search were avoided.
|
204
|
+
(Gem::Exception::clear_paths): Added code to clear the gem cache
|
205
|
+
when reseting the gem paths.
|
206
|
+
(Gem::Exception::require): Added a function to take a gem name and
|
207
|
+
a library file name (in that gem) and return a path to the library
|
208
|
+
in the gem. David HH was interested in this in order to speed up
|
209
|
+
some require statements under ModRuby. Eventually I hope we won't
|
210
|
+
need these special tricks.
|
211
|
+
(Gem::Exception::latest_partials): Fixed bug that assumed exactly
|
212
|
+
three digits in a version number.
|
213
|
+
|
214
|
+
* Rakefile (egrep): Added two tasks to find all the FIXME/TODO
|
215
|
+
markers in the source code comments and to find the DBG print
|
216
|
+
lines.
|
217
|
+
|
218
|
+
2004-10-23 Jim Weirich <jim@weirichhouse.org>
|
219
|
+
|
220
|
+
* test/test_specification.rb
|
221
|
+
(TestSimpleSpecification::test_add_bindir_to_list_of_files):
|
222
|
+
Verify that an executable doesn't need the bindir if bindir is
|
223
|
+
set.
|
224
|
+
(TestSimpleSpecification::test_no_bindir_in_list_of_files): Added
|
225
|
+
test the verify that exectuable can be written without a default
|
226
|
+
binder.
|
227
|
+
|
228
|
+
* lib/rubygems/installer.rb
|
229
|
+
(Gem::Installer::generate_bin_scripts): Added check so that the
|
230
|
+
bindir is access only when there are actually executables to
|
231
|
+
install. Checking for an installable bindir was giving permission
|
232
|
+
errors when installing test gems.
|
233
|
+
|
234
|
+
2004-10-21 Chad Fowler <chad@chadfowler.com>
|
235
|
+
* lib/rubygems/installer.rb: Show extension build errors during install
|
236
|
+
in addition to logging them to gem_make.out
|
237
|
+
|
238
|
+
2004-10-02 Chad Fowler <chad@chadfowler.com>
|
239
|
+
|
240
|
+
* lib/rubygems/validator.rb,lib/rubygems/gem_commands.rb: Added
|
241
|
+
--test option for "gem check" that runs unit tests on already-
|
242
|
+
installed gems.
|
243
|
+
|
244
|
+
2004-09-30 Rich Kilmer <rich@infoether.com>
|
245
|
+
|
246
|
+
* lib/rubygems/specification.rb - externalized the loaded_from runtime
|
247
|
+
var on specification
|
248
|
+
* lib/rubygems/cache.rb - optimized cache refresh! method and refactored
|
249
|
+
processing of files when building cache.
|
250
|
+
* lib/rubygems/loadpath_manager.rb - fixed bug in loadpath manager in
|
251
|
+
finding native extensions that have ext on os x, win32 and solaris
|
252
|
+
|
253
|
+
2004-09-20 Chad Fowler <chad@chadfowler.com>
|
254
|
+
* lib/rubygems/gem_commands.rb: If file match during local install is
|
255
|
+
a directory, don't try to treat it erroneously as a gem (bug reported
|
256
|
+
by Rich).
|
257
|
+
* lib/rubygems.rb: Fixed small bug in #latest_load_paths
|
258
|
+
|
259
|
+
2004-09-14 Chad Fowler <chad@chadfowler.com>
|
260
|
+
* lib/rubygems.rb: Fixed bug in require_gem (thanks Jamis Buck!)
|
261
|
+
that would require a gem based on an inexact search of its name
|
262
|
+
in the local cache. This caused copland-webrick to be loaded
|
263
|
+
when a request was made for "copland".
|
264
|
+
|
265
|
+
2004-09-12 Chad Fowler <chad@chadfowler.com>
|
266
|
+
* lib/rubygems/specification.rb, test/test_specification.rb: Removed
|
267
|
+
library_stubs attribute.
|
268
|
+
|
269
|
+
2004-09-12 Gavin Sinclair <gsinclair@soyabean.com.au>
|
270
|
+
|
271
|
+
* scripts/specdoc.rb: Check that all attributes are documented; and
|
272
|
+
improved formatting.
|
273
|
+
* scripts/specdoc.yaml: test_suite_file -> test_files; finished
|
274
|
+
documentation.
|
275
|
+
* scripts/specdoc.data: misc changes.
|
276
|
+
|
277
|
+
2004-09-11 Chad Fowler <chad@chadfowler.com>
|
278
|
+
|
279
|
+
* test/test_parse_commands.rb: Fix failing unit tests due to Rich's fix from
|
280
|
+
|
281
|
+
* lib/rubygems/specification.rb: Add bindir to executable path on file list
|
282
|
+
|
283
|
+
2004-09-11 Rich Kilmer <rich@infoether.com>
|
284
|
+
|
285
|
+
* lib/rubygems/gem_commands.rb - got rid of stub options
|
286
|
+
|
287
|
+
* lib/rubygems/install.rb - changed output of messages so the UI would format
|
288
|
+
better
|
289
|
+
|
290
|
+
* bin/gem_server - exit! from ^c
|
291
|
+
|
292
|
+
2004-09-09 Chad Fowler <chad@chadfowler.com>
|
293
|
+
* lib/rubygems/loadpath_manager.rb: Small bug when gem specs have ruby
|
294
|
+
version requirements.
|
295
|
+
* lib/rubygems/specification.rb, lib/rubygems/gem_commands.rb: Fixed failing
|
296
|
+
functional test.
|
297
|
+
|
298
|
+
2004-09-08 Chad Fowler <chad@chadfowler.com>
|
299
|
+
* install.rb: added stub removal to the install process
|
300
|
+
|
301
|
+
2004-09-06 Chad Fowler <chad@chadfowler.com>
|
302
|
+
* test/test_package.rb: Fixed failing unit test as per Mauricio's email to
|
303
|
+
the rubygems list.
|
304
|
+
* Fixed minor issues with Windows cmd file generation.
|
305
|
+
|
306
|
+
2004-09-06 Rich Kilmer <rich@infoether.com>
|
307
|
+
* lib/rubygems/remote_installer.rb - enabled caching of source caches
|
308
|
+
based on the size of the yaml.Z/yaml file.
|
309
|
+
|
310
|
+
2004-08-29 Chad Fowler <chad@chadfowler.com>
|
311
|
+
* /lib/rubygems/gem_command.rb: small big fix for local gem installs
|
312
|
+
on Windows.
|
313
|
+
|
314
|
+
2004-08-28 Rich Kilmer <rich@infoether.com>
|
315
|
+
|
316
|
+
* /lib/rubygems/installer.rb, /lib/rubygems/doc_manager.rb,
|
317
|
+
/lib/rubygems/cmd_manager.rb - Added an exception: FilePermissionError
|
318
|
+
which checks to ensure write access to the install/uninstall/rdoc
|
319
|
+
destination directories and raises a nice error instead of the standard
|
320
|
+
one.
|
321
|
+
|
322
|
+
2004-08-28 Rich Kilmer <rich@infoether.com>
|
323
|
+
|
324
|
+
* /lib/rubygems/installer.rb - commented out stub addition and removal
|
325
|
+
|
326
|
+
2004-08-28 Rich Kilmer <rich@infoether.com>
|
327
|
+
|
328
|
+
* /lib/rubygems.rb, /lib/rubygems/loadpath_manager.rb -
|
329
|
+
this adds all the loadpath_manager stuff with the 'ultimate require hack' to
|
330
|
+
rubygems.rb. Also, require_gem methods body has been extracted into a method
|
331
|
+
Gem.activate that differs in the calling signature in that the second param is
|
332
|
+
a boolean that determines whether to autorequire or not.
|
333
|
+
|
334
|
+
2004-08-27 Rich Kilmer <rich@infoether.com>
|
335
|
+
|
336
|
+
* lib/rubygems/user_interaction - added ask_yes_no as a method
|
337
|
+
which returns true/false and formats/processes the [yn] stuff.
|
338
|
+
it also has an optional second parameter of true/false for the
|
339
|
+
default value.
|
340
|
+
|
341
|
+
* lib/rubygems/installer.rb, lib/rubygems/remote_installer.rb,
|
342
|
+
lib/rubygems/command_manager.rb - changed all places where ask
|
343
|
+
was used with [Yn] to ask_yes_no
|
344
|
+
|
345
|
+
2004-08-24 Gavin Sinclair <gsinclair@soyabean.com.au>
|
346
|
+
|
347
|
+
* lib/rubygems/installer.rb: Library stubs are now installed as per
|
348
|
+
'library_stubs' gemspec attribute. A stub is (still) also installed
|
349
|
+
for the 'autorequire' attribute. All library stub handling
|
350
|
+
refactored into two new classes: LibraryStubs and LibraryStub.
|
351
|
+
|
352
|
+
* test/test_parse_commands.rb: as per 2004-08-17 below, the 'update'
|
353
|
+
command takes --rdoc as its default now.
|
354
|
+
|
355
|
+
2004-08-22 Rich Kilmer <rich@infoether.com>
|
356
|
+
* lib/rubygems/installer.rb: fixed stub generation...i added the version
|
357
|
+
stuff that only app stubs should have...sorry!
|
358
|
+
|
359
|
+
2004-08-17 Gavin Sinclair <gsinclair@soyabean.com.au>
|
360
|
+
|
361
|
+
* lib/rubygems/gem_commands.rb: --rdoc is default on 'update' command,
|
362
|
+
consistent with 'install'. 'default_str' methods changed to reflect
|
363
|
+
--rdoc being default now.
|
364
|
+
|
365
|
+
2004-08-21 Chad Fowler <chad@chadfowler.com>
|
366
|
+
* lib/rubygems/gem_commands.rb: Proper checking for gems in local
|
367
|
+
directory on local install. rescue Gem::LoadError to avoid ugly
|
368
|
+
backtrace.
|
369
|
+
* lib/rubygems/installer.rb: created Gem::LoadError to hold extra
|
370
|
+
metadata. Setting up for proper dependency installation on local
|
371
|
+
installs.
|
372
|
+
|
373
|
+
2004-08-20 Chad Fowler <chad@chadfowler.com>
|
374
|
+
|
375
|
+
* lib/rubygems/specification.rb: Fixed small bug in the previous spec
|
376
|
+
change commit.
|
377
|
+
|
378
|
+
* lib/rubygems/cache.rb: Prevent catastrophic failure if a gemspec is
|
379
|
+
corrupted.
|
380
|
+
|
381
|
+
* lib/rubygems/installer.rb: Fixed (in not a great way) a bug that would
|
382
|
+
cause a zero-length spec file to be written to the gem specifications
|
383
|
+
directory.
|
384
|
+
|
385
|
+
2004-08-19 Chad Fowler <chad@chadfowler.com>
|
386
|
+
|
387
|
+
* lib/rubygems/specification.rb: #files auto-includes any #extensions,
|
388
|
+
#extra_rdoc_files, #test_files, etc. that weren't explicitly added
|
389
|
+
to the file list.
|
390
|
+
|
391
|
+
2004-08-18 Chad Fowler <chad@chadfowler.com>
|
392
|
+
|
393
|
+
* lib/rubygems/specification.rb: One more bug with #test_files.
|
394
|
+
Default value of [] wasn't set, resulting in an attempt to call
|
395
|
+
#empty? on nil.
|
396
|
+
|
397
|
+
* lib/rubygems/gem_commands.rb: Unit tests appear to be working now.
|
398
|
+
Still more testing to do.
|
399
|
+
|
400
|
+
* lib/rubygems/remote_installer.rb, lib/rubygems/installer.rb: Fixed
|
401
|
+
minor bugs in default selections for questions asked during
|
402
|
+
installation and uninstallation
|
403
|
+
|
404
|
+
2004-08-17 Gavin Sinclair <gsinclair@soyabean.com.au>
|
405
|
+
|
406
|
+
* lib/rubygems/specification.rb:
|
407
|
+
- #test_suite_file and #test_files now work on older gems.
|
408
|
+
- Added Specification.from_yaml for loading YAML gemspecs
|
409
|
+
- #to_ruby doesn't emit 'specification_version'
|
410
|
+
|
411
|
+
* lib/rubygems/gem_commands.rb: Updated test-on-install code to use
|
412
|
+
Specification#test_files instead of #unit_test_suite.
|
413
|
+
|
414
|
+
* lib/rubygems/old_format.rb: Use Specification.from_yaml
|
415
|
+
* lib/rubygems/package.rb: Ditto
|
416
|
+
|
417
|
+
2004-08-17 Gavin Sinclair <gsinclair@soyabean.com.au>
|
418
|
+
|
419
|
+
* lib/rubygems/command.rb: --debug option to turn on $DEBUG
|
420
|
+
* lib/rubygems/config_file.rb: ditto
|
421
|
+
|
422
|
+
2004-08-11 Rich Kilmer <rich@infoether.com>
|
423
|
+
* lib/rubygems/installer.rb: The application stub now defaults to
|
424
|
+
the latest version of the library, and optionally allows an initial
|
425
|
+
parameter conforming to _VERSION_ to be passed to select a prior
|
426
|
+
version of the library (this initial parameter, if present, is shifted
|
427
|
+
off of ARGV). This change was re-added...I erased it somehow :(
|
428
|
+
|
429
|
+
2004-08-11 Gavin Sinclair <gsinclair@soyabean.com.au>
|
430
|
+
|
431
|
+
* lib/rubygems/gem_commands.rb:
|
432
|
+
- 'gem spec X' displays spec for _latest_ version of X. Added
|
433
|
+
'--all' option if you want to see all versions.
|
434
|
+
- RDocCommand code cleanup and slight change: document _all_
|
435
|
+
versions of the gem by default, not just the first.
|
436
|
+
|
437
|
+
* lib/rubygems/doc_manager.rb: removed 'kilmer' default template
|
438
|
+
option and obsolete error message.
|
439
|
+
|
440
|
+
2004-08-12 Chad Fowler <chad@chadfowler.com>
|
441
|
+
* Added "gem rdoc" command for generating docs for already-installed
|
442
|
+
gems
|
443
|
+
|
444
|
+
2004-08-11 Rich Kilmer <rich@infoether.com>
|
445
|
+
* bin/generate_yaml_index: updated to work with new gem format (and use the Gem::Format
|
446
|
+
class to read). Will deploy after testing on RubyForge.
|
447
|
+
* lib/rubygems/gem_commands.rb: generate rdoc by default on installs (I think this is
|
448
|
+
just good practice.
|
449
|
+
* lib/rubygems/remote_install.rb: raise an exception if dependent gems cannot be found
|
450
|
+
on remote_install
|
451
|
+
|
452
|
+
2004-08-11 Chad Fowler <chad@chadfowler.com>
|
453
|
+
* lib/rubygems/gem_commands.rb: query is now case insensitive (as it used to be)
|
454
|
+
* lib/rubygems/installer.rb: gem_make.out wasn't being written when an extension failed to compile.
|
455
|
+
|
456
|
+
2004-08-11 Rich Kilmer <rich@infoether.com>
|
457
|
+
|
458
|
+
* removed String.to_requirement...we should not modify
|
459
|
+
base classes in Ruby! modified to get rid of said to_requirement
|
460
|
+
with Gem::Version::Requirement.create(obj)
|
461
|
+
|
462
|
+
* specification.rb - fixed constructor bug of version requirement...
|
463
|
+
it now defaults to Requirement.default
|
464
|
+
|
465
|
+
2004-08-11 Chad Fowler <chad@chadfowler.com>
|
466
|
+
|
467
|
+
* One more specification.rb bug fixed.
|
468
|
+
|
469
|
+
2004-08-11 Gavin Sinclair <gsinclair@soyabean.com.au>
|
470
|
+
|
471
|
+
* lib/rubygems/specification.rb:
|
472
|
+
- Added convenience class methods: attribute_names,
|
473
|
+
attribute_defaults, default_value, required_attributes, and
|
474
|
+
required_attribute?.
|
475
|
+
|
476
|
+
- IMPORTANT: attribute readers now use lazy initialization, just
|
477
|
+
like some of them did before the 2004-08-01 change. This was done
|
478
|
+
to fix the breakage when loading older gemspecs.
|
479
|
+
|
480
|
+
- IMPORTANT: replaced instance variable access with attribute reader
|
481
|
+
method calls in many cases. This is in line with the above change.
|
482
|
+
|
483
|
+
- Good documentation for the "attribute" method.
|
484
|
+
|
485
|
+
- Renamed _copy -> _copy_of.
|
486
|
+
|
487
|
+
* lib/rubygems/cache.rb:
|
488
|
+
- Some fairly shallow changes. Exception handling needs improvement.
|
489
|
+
|
490
|
+
* lib/rubygems/version.rb:
|
491
|
+
- (Version.create) new method (for convenience)
|
492
|
+
- (Version::Requirement.create) new method (for convenience)
|
493
|
+
- (Version::Requirement.default) new method (for consistency)
|
494
|
+
|
495
|
+
* test/test_specification.rb: test attribute_names instead of
|
496
|
+
attributes. Other "class convenience" methods remain to be tested
|
497
|
+
at this stage. Also added test classes for legacy gemspecs.
|
498
|
+
|
499
|
+
* test/data/legacy/keyedlist-0.4.0.ruby: added.
|
500
|
+
* test/data/legacy/keyedlist-0.4.0.yaml: added.
|
501
|
+
|
502
|
+
2004-08-06 Gavin Sinclair <gsinclair@soyabean.com.au>
|
503
|
+
|
504
|
+
* lib/rubygems/specification.rb:
|
505
|
+
- Added convenience class methods: attribute_names,
|
506
|
+
attribute_defaults, default_value, required_attributes, and
|
507
|
+
required_attribute?.
|
508
|
+
|
509
|
+
- IMPORTANT: attribute readers now use lazy initialization, just
|
510
|
+
like some of them did before the 2004-08-01 change. This was done
|
511
|
+
to fix the breakage when loading older gemspecs.
|
512
|
+
|
513
|
+
- Good documentation for the "attribute" method.
|
514
|
+
|
515
|
+
- Renamed _copy -> _copy_of.
|
516
|
+
|
517
|
+
* test/test_specification.rb: test attribute_names instead of
|
518
|
+
attributes. Other "class convenience" methods remain to be tested
|
519
|
+
at this stage.
|
520
|
+
|
521
|
+
2004-08-01 Gavin Sinclair <gsinclair@soyabean.com.au>
|
522
|
+
|
523
|
+
* lib/rubygems/specification.rb:
|
524
|
+
- (Re)defined class methods: attribute, attributes,
|
525
|
+
required_attribute, read_only, overwrite_accessor. @@attributes
|
526
|
+
contains a list of attribute names and default values. This
|
527
|
+
allows higher-level specification of gemspec attributes, and the
|
528
|
+
handling of them in a DRY fashion.
|
529
|
+
|
530
|
+
- to_yaml_properties now includes all properties, to ensure
|
531
|
+
correct deserialization of a Gem::Specification object.
|
532
|
+
|
533
|
+
- #to_ruby and #to_yaml_properties rewritten to use @@attributes
|
534
|
+
|
535
|
+
- Introduced 'specification_version' attribute and three constants:
|
536
|
+
NONEXISTENT_SPECIFICATION_VERSION, CURRENT_SPECIFICATION_VERSION, and
|
537
|
+
SPECIFICATION_VERSION_HISTORY. This allows us to track changes to
|
538
|
+
the spec format.
|
539
|
+
|
540
|
+
- Refactored several "helper" methods, using the new class method
|
541
|
+
'attribute_alias_singular', which provides a "singular" alias for
|
542
|
+
a "plural" attribute (e.g. require_path and require_paths).
|
543
|
+
|
544
|
+
- All gemspec attributes now defined in a uniform fashion, which
|
545
|
+
implies that they all have valid instance variables on
|
546
|
+
initialization. Previously, some attributes were lazily
|
547
|
+
initialized.
|
548
|
+
|
549
|
+
- Introduced attribute 'library_stubs', to allow the specification
|
550
|
+
of several stub files. (That feature not implemented, though.)
|
551
|
+
|
552
|
+
- Introduced attribute 'test_files' and deprecated 'test_suite_file'.
|
553
|
+
|
554
|
+
- Provided #warn_deprecated stub of a method, but don't know what to
|
555
|
+
do with it.
|
556
|
+
|
557
|
+
- Deprecated #has_test_suite? in favour of (new) #has_unit_tests?
|
558
|
+
|
559
|
+
- Used overwrite_accessor to provide special behaviour for the
|
560
|
+
setting of some attributes.
|
561
|
+
|
562
|
+
- The 'date' attribute is now a Date object. We don't need high
|
563
|
+
resolution, and Time objects, being system-dependent, are not nice
|
564
|
+
to deal with.
|
565
|
+
|
566
|
+
- Various code style changes.
|
567
|
+
|
568
|
+
- Summary: uniform treatment of gemspec attributes; reduced code by
|
569
|
+
refactoring; 'test_suite_file' deprecated for 'test_files';
|
570
|
+
'library_stubs' introduced; spec versioning introduced.
|
571
|
+
|
572
|
+
* lib/rubygems/version.rb: (Dependency) added #to_s, #==, and an
|
573
|
+
alias (requirements_list -> requirement_list).
|
574
|
+
|
575
|
+
* test/test_specification.rb: several new tests: _singular_attributes,
|
576
|
+
_deprecated_attributes, _defaults, _to_{yaml,ruby}_and_back,
|
577
|
+
_directly_setting_dependencies_doesnt_work, and more. Plus a new
|
578
|
+
class to give Specification a more thorough workout (TestSpecificationComplex).
|
579
|
+
|
580
|
+
* scripts/runtest.rb: require 'pp' so it's always available in unit
|
581
|
+
tests.
|
582
|
+
|
583
|
+
2004-07-30 Rich Kilmer <rich@infoether.com>
|
584
|
+
|
585
|
+
* lib/rubygems/installer.rb The application stub now defaults
|
586
|
+
to the latest version of the library, and optionally allows
|
587
|
+
an initial parameter conforming to _VERSION_ to be passed
|
588
|
+
to select a prior version of the library (this initial
|
589
|
+
parameter, if present, is shifted off of ARGV).
|
590
|
+
|
591
|
+
* lib/rubygems/version.rb correct? is now a class method on
|
592
|
+
Version enabling Gem::Version.correct?(...)
|
593
|
+
|
594
|
+
* lib/rubygems/install.rb make it so uninstalling a gem will
|
595
|
+
not remove executables if another version of that gem is
|
596
|
+
installed and needs those executables
|
597
|
+
|
598
|
+
2004-07-26 Jim Weirich <jim@tardis>
|
599
|
+
|
600
|
+
* lib/rubygems.rb (Gem::Exception::latest_load_paths): Added
|
601
|
+
latest_load_paths and refactored all_load_paths to use common
|
602
|
+
code.
|
603
|
+
|
604
|
+
2004-07-25 Rich Kilmer <rich@infoether.com>
|
605
|
+
* fixed bug in using --source in command.rb (removed short -s version)
|
606
|
+
|
607
|
+
* changed spec to use the RUBY_PLATFORM for Platform::CURRENT
|
608
|
+
|
609
|
+
* added ability to choose from list of available gems on remote install
|
610
|
+
if (1) some of the gems are binary and (2) there are move than one.
|
611
|
+
If the gems are all source gems, the latest is selected.
|
612
|
+
|
613
|
+
2004-07-25 Jim Weirich <jim@weirichhouse.org>
|
614
|
+
|
615
|
+
* lib/rubygems.rb (Gem::Exception::all_load_paths): Added
|
616
|
+
all_load_paths utility function.
|
617
|
+
|
618
|
+
* bin/update_rubygems: Added a command to update the gem
|
619
|
+
installation based on a update gem.
|
620
|
+
|
621
|
+
* Rakefile: Pulled package file list out into a constant so it can
|
622
|
+
be reused between the package command and the gem package command.
|
623
|
+
Added a gem package target to support rubygems updates.
|
624
|
+
|
625
|
+
2004-07-22 Gavin Sinclair <gsinclair@soyabean.com.au>
|
626
|
+
|
627
|
+
* lib/rubygems/version.rb:
|
628
|
+
* (Requirement#initialize) initialize @version to avoid warning
|
629
|
+
* (Dependency#initialize) initialize @version_requirement to avoid
|
630
|
+
warning
|
631
|
+
|
632
|
+
2004-07-19 Chad Fowler <chad@chadfowler.com>
|
633
|
+
* install.rb: Shebang line should point to the ruby version used during
|
634
|
+
installation.
|
635
|
+
|
636
|
+
2004-07-19 Assaph Mehr <assaph@avaya.com>
|
637
|
+
* lib/rubygems/command.rb, packages/sources/lib/sources.rb: Added
|
638
|
+
command-line-configurable sources.
|
639
|
+
|
640
|
+
2004-07-18 Chad Fowler <chad@chadfowler.com>
|
641
|
+
* lib/rubygems/validator.rb: Fixed a bug that would cause "managed"
|
642
|
+
files to appear to be unmanaged due to differences in how the paths
|
643
|
+
were formatted.
|
644
|
+
|
645
|
+
2004-07-17 Gavin Sinclair <gsinclair@soyabean.com.au>
|
646
|
+
|
647
|
+
* lib/rubygems/gem_commands.rb (InstallCommand#execute): removed clear
|
648
|
+
bug (name -> gem.name).
|
649
|
+
|
650
|
+
2004-07-14 Rich Kilmer <rich@infoether.com>
|
651
|
+
* added old_format.rb which is used in the (hack) in format.rb
|
652
|
+
to detect the older version of a gem, and if present, switches
|
653
|
+
to that class instead.
|
654
|
+
* fixed the ARGV passing in bin/gem to ingore args past -- which
|
655
|
+
are used for passing params to source gems (extconf.rb)
|
656
|
+
|
657
|
+
2004-07-13 Chad Fowler <chad@chadfowler.com>
|
658
|
+
* lib/rubygems/installer.rb, lib/rubygems/package.rb,
|
659
|
+
lib/rubygems/format.rb, test/test_package.rb: Added Mauricio
|
660
|
+
Fernandez's patch to replace old gem format with tar.gz format.
|
661
|
+
Fixed some failing unit tests that resulted. Still a couple left.
|
662
|
+
* lib/rubygems.rb: Fixed a bug introduced by the previous patch.
|
663
|
+
|
664
|
+
2004-07-13 Gavin Sinclair <gsinclair@soyabean.com.au>
|
665
|
+
|
666
|
+
* lib/rubygems.rb: (#require_gem) added the ability to do
|
667
|
+
"require_gem 'rake/packagetask'", for instance, which is a
|
668
|
+
shortcut for "require_gem 'rake'; require 'rake/packagetask'".
|
669
|
+
|
670
|
+
2004-07-13 Gavin Sinclair <gsinclair@soyabean.com.au>
|
671
|
+
|
672
|
+
* lib/rubygems/gem_commands.rb: refactored --version option
|
673
|
+
in all cases to the new VersionOption module.
|
674
|
+
|
675
|
+
2004-07-13 Gavin Sinclair <gsinclair@soyabean.com.au>
|
676
|
+
|
677
|
+
* lib/rubygems/cmd_manager.rb: added 'unpack' command.
|
678
|
+
|
679
|
+
* lib/rubygems/gem_commands.rb (UnpackCommand): added.
|
680
|
+
|
681
|
+
* lib/rubygems/installer.rb (Installer#unpack): added.
|
682
|
+
|
683
|
+
2004-07-09 Jim Weirich <jim@weirichhouse.org>
|
684
|
+
|
685
|
+
* lib/rubygems/user_interaction.rb (Gem::StreamUI::ask and
|
686
|
+
Gem::StreamUI::choose_from_list): Added flush before each gets.
|
687
|
+
|
688
|
+
2004-07-05 Gavin Sinclair <gsinclair@soyabean.com.au>
|
689
|
+
|
690
|
+
* lib/rubygems/command.rb (Gem::Command#defaults_str): added.
|
691
|
+
|
692
|
+
* lib/rubygems/command.rb (Gem::Command#create_option_parser):
|
693
|
+
Defaults for the options are included in the parser output.
|
694
|
+
|
695
|
+
* lib/rubygems/gem_commands.rb: all commands which have options
|
696
|
+
and defaults now have #defaults_str implemented.
|
697
|
+
|
698
|
+
2004-07-05 Jim Weirich <jim@weirichhouse.org>
|
699
|
+
|
700
|
+
* lib/rubygems/command.rb (Gem::Command#create_option_parser):
|
701
|
+
Make the argument and option sections optional. They are only
|
702
|
+
printed if there are options or arguments defined.
|
703
|
+
|
704
|
+
2004-07-05 Gavin Sinclair <gsinclair@soyabean.com.au>
|
705
|
+
|
706
|
+
* lib/rubygems/gem_commands.rb:
|
707
|
+
- scrubbed up the 'help' command a bit, removing its options
|
708
|
+
- added information to 'help commands'
|
709
|
+
|
710
|
+
2004-07-04 Gavin Sinclair <gsinclair@soyabean.com.au>
|
711
|
+
|
712
|
+
* lib/rubygems/gem_commands.rb:
|
713
|
+
- modified generic help and examples
|
714
|
+
- improved 'list' and 'search' help, and fixed bug in 'search'
|
715
|
+
|
716
|
+
* lib/rubygems/cmd_manager.rb:
|
717
|
+
- explicit support for top-level commands --help and --version
|
718
|
+
- no more support for --examples and --commands
|
719
|
+
|
720
|
+
2004-07-04 Gavin Sinclair <gsinclair@soyabean.com.au>
|
721
|
+
|
722
|
+
* lib/rubygems/gem_commands.rb:
|
723
|
+
- added 'list' and 'search' commands ('list' is no longer an alias
|
724
|
+
for 'query')
|
725
|
+
- modified return value from all 'arguments' methods (see command.rb)
|
726
|
+
|
727
|
+
* lib/rubygems/cmd_manager.rb: added 'search' command.
|
728
|
+
|
729
|
+
* lib/rubygems/command.rb:
|
730
|
+
(Command#create_option_parser): enhanced the option parser for 'help'
|
731
|
+
display
|
732
|
+
(Command#remove_option): added (to support 'list' and 'search')
|
733
|
+
|
734
|
+
* Rakefile: added 'gem' target. Runs "local" (not installed) command
|
735
|
+
and libraries.
|
736
|
+
|
737
|
+
2004-07-04 Gavin Sinclair <gsinclair@soyabean.com.au>
|
738
|
+
|
739
|
+
* Rakefile: added 'install' target.
|
740
|
+
|
741
|
+
* lib/rubygems/cmd_manager.rb: code formatting.
|
742
|
+
|
743
|
+
* lib/rubygems/gem_commands.rb:
|
744
|
+
- refactored common install and update options into new module
|
745
|
+
InstallUpdateOptions
|
746
|
+
. consolidated option pairs (e.g. --test & --no-test ==> --[no-]test)
|
747
|
+
. --gen-rdoc is now --rdoc
|
748
|
+
- (UninstallCommand) corrected typo
|
749
|
+
- (InstallCommand) corrected output with local install
|
750
|
+
|
751
|
+
* test/test_parse_commands.rb: :%s/--gen-rdoc/--rdoc/g
|
752
|
+
|
753
|
+
2004-07-03 Jim Weirich <jim@weirichhouse.org>
|
754
|
+
|
755
|
+
* lib/rubygems/gem_commands.rb (Gem::InstallCommand::initialize):
|
756
|
+
Added --no-gen-rdoc and --no-test to allow the user to override
|
757
|
+
.gemrc default options.
|
758
|
+
|
759
|
+
* lib/rubygems/doc_manager.rb (Gem::DocManager::generate_rdoc):
|
760
|
+
Concatenate the local rdoc options to the end of the spec's rdoc
|
761
|
+
options.
|
762
|
+
(Gem::DocManager::configured_args): Added configured_args as a
|
763
|
+
place to store local rdoc options.
|
764
|
+
|
765
|
+
* lib/rubygems/gem_runner.rb (Gem::GemRunner::do_configuration):
|
766
|
+
Configuration handled in do_configuration now.
|
767
|
+
(Gem::GemRunner::do_configuration): Set the local rdoc
|
768
|
+
configuration from the config file.
|
769
|
+
|
770
|
+
* lib/rubygems/command.rb (Gem::Command::handles): Added a
|
771
|
+
handles? method to Command so that we can detect which extra
|
772
|
+
arguments can be used with a command.
|
773
|
+
(Gem::Command::add_extra_args): New method to add the config
|
774
|
+
file's extra arguments to the front of the argument list.
|
775
|
+
(Gem::Command::extra_args): Added extra_args to Command class to
|
776
|
+
hold the extra args discovered in the config file.
|
777
|
+
|
778
|
+
* Rakefile: Added TEST=filename option to all the test targets.
|
779
|
+
|
780
|
+
* test/functional.rb (FunctionalTest::test_gemrc): Added
|
781
|
+
functional test for gemrc.
|
782
|
+
|
783
|
+
* scripts/gemdoc.data: Added an example to the specification command.
|
784
|
+
|
785
|
+
* lib/rubygems.rb (Gem::Exception::manage_gems): Added gem_runner
|
786
|
+
and config_file to manage_gems.
|
787
|
+
(Gem::Exception::use_paths): use_paths now accepts (and ignores)
|
788
|
+
nil parameters.
|
789
|
+
|
790
|
+
* bin/gem: Make Gem::GemRunner the top level object. It now
|
791
|
+
creates and calls the CommandManager /after/ the arguments are
|
792
|
+
processed.
|
793
|
+
|
794
|
+
* Rakefile: Added test/data/gemhome to clobber list.
|
795
|
+
|
796
|
+
2004-07-01 Jim Weirich <jim@weirichhouse.org>
|
797
|
+
|
798
|
+
* test/test_specification.rb
|
799
|
+
(TestSpecification::test_rdoc_files_included): Test for rdoc files
|
800
|
+
included in file list. Test for redundent file removal.
|
801
|
+
|
802
|
+
* lib/rubygems/specification.rb (Gem::Specification::validate):
|
803
|
+
Added gem version to validation requirement. Added normalize to
|
804
|
+
remove redundent files in lists.
|
805
|
+
|
806
|
+
* lib/rubygems/gem_commands.rb (Gem::InfoCommand::usage): Added
|
807
|
+
usage and arguments methods for InfoCommand.
|
808
|
+
(Gem::SpecificationCommand::usage): Fixed several usage comments.
|
809
|
+
|
810
|
+
2004-06-30 Jim Weirich <jim@weirichhouse.org>
|
811
|
+
|
812
|
+
* lib/rubygems/gem_commands.rb (Gem::InstallCommand::usage):
|
813
|
+
Upcased the comment on the usage statement (and corresponding
|
814
|
+
option). This makes the variable part of the command
|
815
|
+
(e.g. GEMNAME) stand out from the static parts.
|
816
|
+
|
817
|
+
* lib/rubygems/cmd_manager.rb (Gem::CommandManager::process_args):
|
818
|
+
Downcased commands before searching (allows upper case or mixed
|
819
|
+
case for commands on command line).
|
820
|
+
|
821
|
+
* install.rb (install_rb): Fixed bug where the installer falsely
|
822
|
+
triggered the old repository upgrade when the directory part of
|
823
|
+
the file contained the matching "-digits." pattern. Now the
|
824
|
+
pattern must be in the file's base name.
|
825
|
+
|
826
|
+
2004-06-26 Gavin Sinclair <gsinclair@soyabean.com.au>
|
827
|
+
|
828
|
+
* scripts/specdoc.rb: added (to generate gem specificiation document)
|
829
|
+
* scripts/specdoc.data: added (supports specdoc.rb)
|
830
|
+
* scripts/specdoc.yaml: added (supports specdoc.rb)
|
831
|
+
|
832
|
+
2004-06-27 Jim Weirich <jim@weirichhouse.org>
|
833
|
+
|
834
|
+
* scripts/gemdoc.data Removed extraneous <em> marker.
|
835
|
+
|
836
|
+
* lib/rubygems/specification.rb
|
837
|
+
(Gem::Specification::satisfies_requirement): HA! Caught another
|
838
|
+
version_requirement vs version_requirements error. (I really
|
839
|
+
regret the decision to change that name.)
|
840
|
+
|
841
|
+
* lib/rubygems/installer.rb (Gem::Uninstaller::has_dependents):
|
842
|
+
Changed call to alert to alert_warning.
|
843
|
+
|
844
|
+
* lib/rubygems/gem_commands.rb (Gem::UninstallCommand::execute):
|
845
|
+
Again, remove local error handling to allow the error to perculate
|
846
|
+
up the chain to the top level.
|
847
|
+
|
848
|
+
* lib/rubygems/doc_manager.rb (Gem::DocManager::generate_rdoc):
|
849
|
+
Removed one level of exception handling. Only catching RDocErrors
|
850
|
+
at the outermost level. And instead of reporting the error and
|
851
|
+
swallowing it, I convert it to a Gem::DocumentError (with the same
|
852
|
+
error message). This is for better error handling.
|
853
|
+
|
854
|
+
* lib/rubygems/command.rb (Gem::Command::handle_options): Removed
|
855
|
+
exception handling from handle_options. This allows errors to be
|
856
|
+
handled at the top level. Makes for a more consistent error
|
857
|
+
interface.
|
858
|
+
|
859
|
+
* lib/rubygems/doc_manager.rb (Gem::DocumentError): Added
|
860
|
+
DocumentError to wrap RDocErrors (which derive from Exception
|
861
|
+
... yuck).
|
862
|
+
|
863
|
+
* lib/rubygems/cmd_manager.rb (Gem::RemoteError): RemoteError and
|
864
|
+
LocalInstallationError are now Gem::Exceptions (rather than
|
865
|
+
StandardErrors).
|
866
|
+
|
867
|
+
* lib/rubygems.rb (Gem::Exception): Changed base of Gem::Exception
|
868
|
+
to RuntimeError (was ::Exception). Apps using gem as a library
|
869
|
+
would have to catch Gem::Exceptions explicitly (yuck), or catch
|
870
|
+
Exceptions generically. Catching Exceptions will catch
|
871
|
+
EVERYTHING, including things like SystemExit. By makeing
|
872
|
+
Gem::Exception a RuntimeError, apps can catch RuntimeError or even
|
873
|
+
StandardError.
|
874
|
+
|
875
|
+
2004-06-26 Jim Weirich <jim@weirichhouse.org>
|
876
|
+
|
877
|
+
* test/functional.rb (FunctionalTest::test_all_command_helps):
|
878
|
+
Added functional test to show all commands have usage messaegs.
|
879
|
+
|
880
|
+
* lib/rubygems/gem_commands.rb (Gem::HelpCommand::execute): Added
|
881
|
+
version option to help (gem help version).
|
882
|
+
(Gem): Cleaned up the help text. Dropped unneeded verbage.
|
883
|
+
|
884
|
+
* lib/rubygems/cmd_manager.rb
|
885
|
+
(Gem::CommandManager::find_command_possibilities): Added
|
886
|
+
find_command_possibilities to help the Help command look for
|
887
|
+
commands.
|
888
|
+
|
889
|
+
* lib/rubygems/installer.rb (Gem::Uninstaller::uninstall): Fixed
|
890
|
+
null pointer bug where a list was destroyed in a method.
|
891
|
+
|
892
|
+
* lib/rubygems/gem_commands.rb (Gem::BuildCommand::load_gemspecs):
|
893
|
+
yaml gemspec files are now accepted by the build command.
|
894
|
+
|
895
|
+
* lib/rubygems/command.rb (Gem::Command::parser): Created an
|
896
|
+
on-demand option parser for all commands.
|
897
|
+
(Gem::Command::handle_options): Command line option hash is now
|
898
|
+
and instance variable with a reader.
|
899
|
+
|
900
|
+
* Rakefile: Linked package version to the value in the rubygems.rb
|
901
|
+
file. The gem env command now shows both gem version (e.g. 0.6)
|
902
|
+
and the package version (e.g. 0.6.1).
|
903
|
+
|
904
|
+
2004-06-25 Jim Weirich <jim@weirichhouse.org>
|
905
|
+
|
906
|
+
* lib/rubygems/gem_commands.rb (Gem::InfoCommand): Dropped the
|
907
|
+
version command (its available via gem env). Added a gem info
|
908
|
+
command to extract the yaml from a gemfile.
|
909
|
+
(Gem::LocalRemoteOptions): Refactored the local/remote options
|
910
|
+
(adding and testing) into a mixin module.
|
911
|
+
|
912
|
+
* test/test_version_comparison.rb
|
913
|
+
(TestDependencies::test_normalization): Added some tests for the
|
914
|
+
normalization issues mentions below.
|
915
|
+
|
916
|
+
* lib/rubygems/version.rb (Gem::Dependency::normalize): Old gems
|
917
|
+
have requirements and dependencies incoded in the Yaml spec in an
|
918
|
+
out of date format. When loaded, they have incorrect instance
|
919
|
+
variables for modern objects. I added a normalize call to handle
|
920
|
+
transforming out dated objects in to modern objects. (Remember
|
921
|
+
this next time we change the data structure of something in the
|
922
|
+
spec file.)
|
923
|
+
(Gem::Version::Requirement::parse): Requirements are comparable
|
924
|
+
now, just so that we can test them with asserts.
|
925
|
+
|
926
|
+
* lib/rubygems/remote_installer.rb
|
927
|
+
(Gem::RemoteInstaller::find_dependencies_not_installed): Fixed
|
928
|
+
recursive call to require_gem to properly pass dependency
|
929
|
+
information.
|
930
|
+
|
931
|
+
* lib/rubygems/installer.rb (Gem::Uninstaller::has_dependents):
|
932
|
+
Fixed reference to version_requirement (needs to be plural).
|
933
|
+
|
934
|
+
* lib/rubygems/command.rb (Gem::Command::invoke): Command now
|
935
|
+
handles it own help messages. Commands no longer have to return
|
936
|
+
true/false to trigger help messages.
|
937
|
+
|
938
|
+
* lib/rubygems/cmd_manager.rb (Gem::CommandManager::process_args):
|
939
|
+
Moved help handling into the help command.
|
940
|
+
|
941
|
+
* lib/rubygems/gem_commands.rb (Gem::HelpCommand): Renamed the
|
942
|
+
base command to HelpCommand and made it handle a lot of the help
|
943
|
+
options. Still need work on individual command helps.
|
944
|
+
|
945
|
+
* test/functional.rb (FunctionalTest::test_env_version): Added a
|
946
|
+
bunch of new functional tests for the environment command.
|
947
|
+
|
948
|
+
* lib/rubygems/gem_commands.rb (Gem::InstallCommand::execute):
|
949
|
+
Made multiple gem names an error for now. Should look at later.
|
950
|
+
|
951
|
+
* lib/rubygems/cmd_manager.rb (Gem::ListCommand): Added list as an
|
952
|
+
alias to query.
|
953
|
+
(Gem::UpdateCommand::initialize): Corrected spelling of install
|
954
|
+
(intall) in several places.
|
955
|
+
|
956
|
+
* bin/gem_server: Added Gem.manage_gems to the gem_server to fix
|
957
|
+
missing requirements.
|
958
|
+
|
959
|
+
* lib/rubygems/cmd_manager.rb (Gem::InstallCommand::initialize):
|
960
|
+
Added missing --both option to install.
|
961
|
+
|
962
|
+
* test/test_command.rb
|
963
|
+
(TestCommand::test_invode_with_bad_options): Catch the termination
|
964
|
+
request.
|
965
|
+
|
966
|
+
* test/mockgemui.rb (MockGemUi::terminate_interaction): Make the
|
967
|
+
mock UI throw an exception when a termination is requested. This
|
968
|
+
makes sure that we don't miss accidental terminations.
|
969
|
+
|
970
|
+
* lib/rubygems/cmd_manager.rb (Gem::CommandManager::find_command):
|
971
|
+
Added find_command to handle best matching command names.
|
972
|
+
|
973
|
+
* test/functional.rb (FunctionalTest::test_build): Updated
|
974
|
+
functional tests to use the new command structure.
|
975
|
+
|
976
|
+
* lib/rubygems/version.rb (Gem::Version::Requirement): Changed the
|
977
|
+
pessimistic version comparison operator to "~>". I like to think
|
978
|
+
of it as "approximately greater than". (It was ">*").
|
979
|
+
|
980
|
+
* bin/gem: Moved gem2 into the standard gem script location. It
|
981
|
+
is now stable enough to use as the standard command.
|
982
|
+
|
983
|
+
* lib/rubygems/cmd_manager.rb (Gem::CommandManager::run): Added
|
984
|
+
run method to trap errors while running commands. Makes for
|
985
|
+
prettier output.
|
986
|
+
(Gem::CommandManager): Move *all* commands to their own classes.
|
987
|
+
Simplified CommandManager. Lowered the coupling between
|
988
|
+
CommandManager and the Commands (the commands don't even need to
|
989
|
+
know about the manager anymore). CommandManager maybe created
|
990
|
+
with "new" for testing (the script will continue to use
|
991
|
+
"instance").
|
992
|
+
(Gem::RubyGemsInfoCommand): New command.
|
993
|
+
(Gem::VersionCommand): New command.
|
994
|
+
|
995
|
+
2004-06-24 Jim Weirich <jim@weirichhouse.org>
|
996
|
+
|
997
|
+
* lib/rubygems/user_interaction.rb (Gem::UserInteraction):
|
998
|
+
Significantly rewrote the whole user interaction scheme. We are
|
999
|
+
now using an UI object that responds to the standard list of UI
|
1000
|
+
commands (e.g. say, alert, ask). The UserInteraction module
|
1001
|
+
defines all the interaction methods to be forwarded to the default
|
1002
|
+
UI objects. The "ui" method returns that default object (and you
|
1003
|
+
can use self.ui=(new_ui) to change it). Also the use_ui(new_ui) {
|
1004
|
+
} command is convienent for switching the UI object for a short
|
1005
|
+
period of time.
|
1006
|
+
|
1007
|
+
2004-06-18 Rich Kilmer <rich@infoether.com>
|
1008
|
+
* broke test_cmd_manager.rb into test_parse_commands and
|
1009
|
+
test_process_commands to test the parsing of command line options
|
1010
|
+
and the funtionality, respectively.
|
1011
|
+
|
1012
|
+
2004-06-18 Rich Kilmer <rich@infoether.com>
|
1013
|
+
* added new unit test file: test/test_cmd_manager.rb to test the
|
1014
|
+
command manager classes. this is just the first few tests which
|
1015
|
+
will be expanded to a full test suite.
|
1016
|
+
|
1017
|
+
2004-06-17 Chad FOwler <chad@chadfowler.com>
|
1018
|
+
|
1019
|
+
* lib/rubygems/installer.rb: Fixed bug in windows batch file generation
|
1020
|
+
which was causing file not found errors.
|
1021
|
+
* lib/rubygems/installer.rb: Uninstall now removes scripts and batch
|
1022
|
+
* lib/rubygems/specification.rb: Fixed install bug. Thanks to Mark
|
1023
|
+
Sparshatt for the fix (via the rubyforge bug tracker).
|
1024
|
+
|
1025
|
+
2004-06-17 Jim Weirich <jim@weirichhouse.org>
|
1026
|
+
|
1027
|
+
* lib/rubygems/doc_manager.rb (Gem::DocManager::generate_rdoc):
|
1028
|
+
Changed rdoc generation to do a chdir into the base source
|
1029
|
+
directory and then to use a relative path for all the source
|
1030
|
+
files. This makes the generated RDOC html look better and may fix
|
1031
|
+
the windows drive/rdoc bug as a side effect.
|
1032
|
+
|
1033
|
+
2004-06-17 Rich Kilmer <rich@infoether.com>
|
1034
|
+
* Added ability to capture the UserInteraction with:
|
1035
|
+
c = Gem::UserInteraction.capture
|
1036
|
+
and then you can override specific methods like 'say':
|
1037
|
+
c.on_say {|statement| puts "you said: #{statement}"}
|
1038
|
+
|
1039
|
+
2004-06-15 Rich Kilmer <rich@infoether.com>
|
1040
|
+
* Added refactored command handling in rubygems/cmd_manager.rb and a
|
1041
|
+
(temporary) bin/gem2 command file to test things out. Once we feel
|
1042
|
+
comfortable, we can replace gem with gem2.
|
1043
|
+
|
1044
|
+
2004-06-10 Rich Kilmer <rich@infoether.com>
|
1045
|
+
* Isolated all user interaction to pass through module methods on a new
|
1046
|
+
Gem::UserInteraction module. Those methods will be the method of abstracting
|
1047
|
+
the interaction of RubyGems for use in a GUI-based solution.
|
1048
|
+
|
1049
|
+
2004-06-10 Rich Kilmer <rich@infoether.com>
|
1050
|
+
* require 'rubygems' now minimally requires only the files needed
|
1051
|
+
for runtime access to gems...not management of gems. To manage
|
1052
|
+
gems you now additionally need to execute Gem::manage_gems prior
|
1053
|
+
to using the builder/installer/etc. This makes gemspecs not
|
1054
|
+
backward compatible unless they add that line to the gemspec
|
1055
|
+
after the require 'rubygems' line.
|
1056
|
+
|
1057
|
+
2004-06-10 Gavin Sinclair <gsinclair@soyabean.com.au>
|
1058
|
+
* bin/gem: --upgrade-all was broken, probably as a result of the
|
1059
|
+
search changes listed below.
|
1060
|
+
|
1061
|
+
2004-06-09 Chad Fowler <chad@chadfowler.com>
|
1062
|
+
* lib/rubygems/remote_install.rb: delegate search functionality to
|
1063
|
+
Cache class, bringing remote and local search and list together into
|
1064
|
+
one piece of code.
|
1065
|
+
* bin/gem, lib/rubygems/validator.rb: move all STDIO work to bin/gem.
|
1066
|
+
Validator.alien now returns a hash of ErrorData objects.
|
1067
|
+
* bin/gem, lib/rubygems/installer.rb: move most of the STDIO stuff to
|
1068
|
+
bin/gem, communicating via exceptions in this case.
|
1069
|
+
|
1070
|
+
2004-06-08 Rich Kilmer <rich@infoether.com>
|
1071
|
+
* Fixed the drive problem on win32 (hopefully) so multiple drives
|
1072
|
+
should now work. Its still a hack until rdoc is fixed.
|
1073
|
+
|
1074
|
+
2004-06-08 Chad Fowler <chad@chadfowler.com>
|
1075
|
+
* Fixed bug caused by method change on Version::Requirement
|
1076
|
+
|
1077
|
+
2004-06-08 Rich Kilmer <rich@infoether.com>
|
1078
|
+
* fixed bug in doc_manager.rb whereby the extra_rdoc_files should
|
1079
|
+
be appended to the list of directories prior to prepending the
|
1080
|
+
full path.
|
1081
|
+
|
1082
|
+
2004-06-08 Gavin Sinclair <gsinclair@soyabean.com.au>
|
1083
|
+
* bin/gem_server: List installed gems in [name,version] order.
|
1084
|
+
|
1085
|
+
2004-06-08 Gavin Sinclair <gsinclair@soyabean.com.au>
|
1086
|
+
* lib/rubygems/installer.rb: don't warn about not being able to
|
1087
|
+
install a library stub if a library stub is already installed.
|
1088
|
+
Still warn if it's not a library stub that's there already.
|
1089
|
+
|
1090
|
+
2004-06-08 Gavin Sinclair <gsinclair@soyabean.com.au>
|
1091
|
+
* bin/gem: renamed --upgrade-dist to --upgrade--all and fixed bug.
|
1092
|
+
* lib/rubygems/installer.rb: fixed bug with Ruby version assertion.
|
1093
|
+
|
1094
|
+
2004-06-07 Chad Fowler <chad@chadfowler.com>
|
1095
|
+
* lib/rubygems/remote_installer.rb, lib/rubygems/version.rb: Fixed old
|
1096
|
+
dependency on #version method for Gem::Version::Requirement
|
1097
|
+
* bin/gem: new --upgrade-dist option allows one to upgrade every
|
1098
|
+
installed gem
|
1099
|
+
* lib/rubygems/specification.rb,lib/rubygems/installer.rb: new
|
1100
|
+
#required_ruby_version attribute added to gem specification for specifying a
|
1101
|
+
dependency on which version of ruby the gem needs. Format it accepts is
|
1102
|
+
the same as the Gem::Version::Requirement format.
|
1103
|
+
|
1104
|
+
2004-06-06 Chad Fowler <chad@chadfowler.com>
|
1105
|
+
* bin/gem: install_stub is once again the default due to requests.
|
1106
|
+
|
1107
|
+
2004-06-04 Chad Fowler <chad@chadfowler.com>
|
1108
|
+
* lib/rubygems/specification.rb, lib/rubygems/doc_manager.rb:
|
1109
|
+
Allow arbitrary files to be added for rdoc to run over them (as per
|
1110
|
+
Jim's request).
|
1111
|
+
|
1112
|
+
2004-06-04 Chad Fowler <chad@chadfowler.com>
|
1113
|
+
* bin/gem: Reformatted --search and --list output such that
|
1114
|
+
multiple versions of a gem are compressed into a single entry
|
1115
|
+
(with version numbers in parentheses)
|
1116
|
+
|
1117
|
+
2004-05-31 Jim Weirich <jweirich@one.net>
|
1118
|
+
|
1119
|
+
* lib/rubygems/version.rb (Gem::Dependency): Dependency attribute
|
1120
|
+
renamed to version_requirements (made plural).
|
1121
|
+
(Gem::Version::bump): Added bump to implement pessimistic
|
1122
|
+
operator.
|
1123
|
+
(Gem::Version::Requirement): Added pessimistic operator to list of
|
1124
|
+
operators. Operators now implemented using lambda.
|
1125
|
+
|
1126
|
+
* lib/rubygems.rb (Kernel::require_gem): require_gem now takes an
|
1127
|
+
array of requirement strings.
|
1128
|
+
|
1129
|
+
* lib/rubygems/version.rb (Gem::Version::Requirement::initialize):
|
1130
|
+
Simplified initialization by making parse a bit smarter.
|
1131
|
+
(Gem::Version::Requirement::satisfied_by): Simplified by using
|
1132
|
+
all?
|
1133
|
+
(Gem::Version::Requirement::satisfy): Added explicit one
|
1134
|
+
requirement satisfy test.
|
1135
|
+
(Gem::Version::Requirement::parse): parse now returns a two
|
1136
|
+
element string array (operator and version string). We don't
|
1137
|
+
bother converting to an integer array during parsing.
|
1138
|
+
|
1139
|
+
2004-05-31 18:38 chadfowler
|
1140
|
+
|
1141
|
+
* gemspec now supports #rdoc_options, to which you can append
|
1142
|
+
strings that will be passed to rdoc as additional options.
|
1143
|
+
|
1144
|
+
2004-05-08 21:57 chadfowler
|
1145
|
+
|
1146
|
+
* Using Gem::RubyGemsVersion to match the release number. If we
|
1147
|
+
need to use this as an internal version format specifier in the
|
1148
|
+
future, we can use the Gem::Version semantics.
|
1149
|
+
|
1150
|
+
2004-05-30 14:33 gsinclair
|
1151
|
+
|
1152
|
+
* bin/gem: Split --help into --help (basic), --help-options (what
|
1153
|
+
--help used to be), and --help-examples.
|
1154
|
+
|
1155
|
+
2004-04-30 15:57 chadfowler
|
1156
|
+
|
1157
|
+
* bin/gem: --install-stub is no longer the default ;)
|
1158
|
+
|
1159
|
+
2004-04-30 15:51 chadfowler
|
1160
|
+
|
1161
|
+
* lib/rubygems/installer.rb: Rich Kilmer (who kicks butt) figured
|
1162
|
+
out how to fix the library stub stuff.
|
1163
|
+
|
1164
|
+
2004-04-29 19:12 chadfowler
|
1165
|
+
|
1166
|
+
* lib/rubygems/doc_manager.rb: Dick Davies fixed a bug in the doc
|
1167
|
+
generator.
|
1168
|
+
|
1169
|
+
2004-04-29 13:41 gsinclair
|
1170
|
+
|
1171
|
+
* lib/rubygems/installer.rb: Added skeleton code and comments to
|
1172
|
+
uninstall stub apps and libs
|
1173
|
+
|
1174
|
+
2004-04-29 12:20 gsinclair
|
1175
|
+
|
1176
|
+
* install.rb: Don't install library stub for 'sources'
|
1177
|
+
|
1178
|
+
2004-04-29 12:20 gsinclair
|
1179
|
+
|
1180
|
+
* lib/rubygems/installer.rb: Improvements to library stub
|
1181
|
+
installation: * don't overwrite existing file (emit warning) *
|
1182
|
+
nice warning if there's a permission problem * observe
|
1183
|
+
--[no-]install-stub flag (rather, observe the argument to
|
1184
|
+
#install)
|
1185
|
+
|
1186
|
+
2004-04-29 12:16 gsinclair
|
1187
|
+
|
1188
|
+
* bin/gem: --install-stub is now the default
|
1189
|
+
|
1190
|
+
2004-04-26 20:20 chadfowler
|
1191
|
+
|
1192
|
+
* test/test_remote_installer.rb: Cleaning up after Gavin and his
|
1193
|
+
test-breaking self. ;)
|
1194
|
+
|
1195
|
+
2004-04-26 12:06 gsinclair
|
1196
|
+
|
1197
|
+
* bin/gem, lib/rubygems/installer.rb,
|
1198
|
+
lib/rubygems/remote_installer.rb: Installing a gem now causes a
|
1199
|
+
library stub to be installed as well, allowing you to require
|
1200
|
+
'package' without knowing it's a gem.
|
1201
|
+
|
1202
|
+
2004-04-25 23:18 chadfowler
|
1203
|
+
|
1204
|
+
* lib/rubygems/: installer.rb, specification.rb: Prompt user if
|
1205
|
+
trying to uninstall a gem that other gems *may* depend on.
|
1206
|
+
|
1207
|
+
2004-04-25 09:27 chadfowler
|
1208
|
+
|
1209
|
+
* test/test_remote_installer.rb: Changed expected test results to
|
1210
|
+
match new (old) gem naming scheme--"ruby" doesn't appear as a
|
1211
|
+
platform in the gem name.
|
1212
|
+
|
1213
|
+
2004-04-25 05:50 gsinclair
|
1214
|
+
|
1215
|
+
* bin/gem: Changed @directory -> @install_dir for clarity
|
1216
|
+
|
1217
|
+
2004-04-25 05:47 gsinclair
|
1218
|
+
|
1219
|
+
* bin/gem: Improved display of gems, platform-wise
|
1220
|
+
|
1221
|
+
2004-04-25 05:46 gsinclair
|
1222
|
+
|
1223
|
+
* lib/rubygems/specification.rb: Added documentation
|
1224
|
+
|
1225
|
+
2004-04-25 04:17 jimweirich
|
1226
|
+
|
1227
|
+
* test/functional.rb: Fixed functional test to properly name a Ruby
|
1228
|
+
platform gem.
|
1229
|
+
|
1230
|
+
2004-04-25 04:17 jimweirich
|
1231
|
+
|
1232
|
+
* packages/sources/.cvsignore, test/data/one/.cvsignore: Ignore the
|
1233
|
+
proper gem name.
|
1234
|
+
|
1235
|
+
2004-04-25 04:17 jimweirich
|
1236
|
+
|
1237
|
+
* lib/rubygems/specification.rb: Undefined several attributes that
|
1238
|
+
were redefined to avoid warnings.
|
1239
|
+
|
1240
|
+
2004-04-25 04:17 jimweirich
|
1241
|
+
|
1242
|
+
* lib/rubygems.rb: Need to initialize @gem_home and @gem_path with
|
1243
|
+
||= to avoid warning.
|
1244
|
+
|
1245
|
+
2004-04-25 03:40 gsinclair
|
1246
|
+
|
1247
|
+
* lib/rubygems.rb, test/test_gempaths.rb: RUBY_GEMS -> GEM_PATH
|
1248
|
+
(environment variable)
|
1249
|
+
|
1250
|
+
2004-04-25 03:33 gsinclair
|
1251
|
+
|
1252
|
+
* lib/rubygems/specification.rb: Pretty-print the specification
|
1253
|
+
|
1254
|
+
2004-04-25 03:18 gsinclair
|
1255
|
+
|
1256
|
+
* lib/rubygems/specification.rb: Handle platform in a (hopefully)
|
1257
|
+
consistent manner
|
1258
|
+
|
1259
|
+
2004-04-25 03:16 gsinclair
|
1260
|
+
|
1261
|
+
* install.rb: Use return value from Builder#build to locate gem
|
1262
|
+
file
|
1263
|
+
|
1264
|
+
2004-04-25 03:09 gsinclair
|
1265
|
+
|
1266
|
+
* lib/rubygems/builder.rb: Return file name from #build
|
1267
|
+
|
1268
|
+
2004-04-25 02:32 gsinclair
|
1269
|
+
|
1270
|
+
* lib/rubygems/specification.rb: Platform goes at the *end* of the
|
1271
|
+
full name now.
|
1272
|
+
|
1273
|
+
2004-04-22 06:19 chadfowler
|
1274
|
+
|
1275
|
+
* test/test_remote_installer.rb: Fixed test to reflect fewer cache
|
1276
|
+
sources :(
|
1277
|
+
|
1278
|
+
2004-04-21 17:19 rich
|
1279
|
+
|
1280
|
+
* lib/rubygems/remote_installer.rb: added support to download the
|
1281
|
+
yaml index as a .Z (zlib compressed) file if it exists, then move
|
1282
|
+
on to the plain yaml file if it does not
|
1283
|
+
|
1284
|
+
2004-04-20 20:23 chadfowler
|
1285
|
+
|
1286
|
+
* examples/application/an-app.gemspec, lib/rubygems/format.rb,
|
1287
|
+
packages/sources/lib/sources.rb: Committed Dick Davies' patch to
|
1288
|
+
fix broken tests.
|
1289
|
+
|
1290
|
+
2004-04-18 01:51 gsinclair
|
1291
|
+
|
1292
|
+
* bin/gem, lib/rubygems/doc_manager.rb: RDoc generation observes
|
1293
|
+
'rdoc' config file value
|
1294
|
+
|
1295
|
+
2004-04-17 12:15 gsinclair
|
1296
|
+
|
1297
|
+
* bin/gem: Improved 'build' error output
|
1298
|
+
|
1299
|
+
2004-04-17 12:12 gsinclair
|
1300
|
+
|
1301
|
+
* lib/: rubygems.rb, rubygems/remote_installer.rb,
|
1302
|
+
rubygems/specification.rb, rubygems/validator.rb: All
|
1303
|
+
gems-related exceptions now extend Gem::Exception
|
1304
|
+
|
1305
|
+
2004-04-17 12:11 gsinclair
|
1306
|
+
|
1307
|
+
* lib/rubygems/specification.rb: Improved handling of summary and
|
1308
|
+
decription strings - convert to single line
|
1309
|
+
|
1310
|
+
2004-04-17 01:09 gsinclair
|
1311
|
+
|
1312
|
+
* bin/gem: Prevent remote install attempt if local install was
|
1313
|
+
successful
|
1314
|
+
|
1315
|
+
2004-04-17 00:49 gsinclair
|
1316
|
+
|
1317
|
+
* lib/rubygems/builder.rb: Better formatted the output code
|
1318
|
+
|
1319
|
+
2004-04-16 21:31 gsinclair
|
1320
|
+
|
1321
|
+
* lib/rubygems/remote_installer.rb: Stoopid coding error (thanks
|
1322
|
+
Kent Sibilev)
|
1323
|
+
|
1324
|
+
2004-04-16 00:00 rich
|
1325
|
+
|
1326
|
+
* lib/rubygems/installer.rb: added code to optionally use nmake
|
1327
|
+
instead of make on win32 systems
|
1328
|
+
|
1329
|
+
2004-04-15 20:12 gsinclair
|
1330
|
+
|
1331
|
+
* bin/gem, lib/rubygems/remote_installer.rb: Clarified proxy
|
1332
|
+
handling and interface: --[no-]http-proxy [URL]
|
1333
|
+
|
1334
|
+
2004-04-13 00:16 jimweirich
|
1335
|
+
|
1336
|
+
* bin/gem, test/bogussources.rb, test/functional.rb: Oops, missed
|
1337
|
+
an instance of GEM_PATH in the gem binary.
|
1338
|
+
|
1339
|
+
2004-04-12 21:28 jimweirich
|
1340
|
+
|
1341
|
+
* lib/rubygems/cache.rb: Oops. Missed a GEM_PATH.
|
1342
|
+
|
1343
|
+
2004-04-12 21:11 jimweirich
|
1344
|
+
|
1345
|
+
* test/test_remote_installer.rb: removed setting of environment
|
1346
|
+
variable for now.
|
1347
|
+
|
1348
|
+
2004-04-12 21:09 jimweirich
|
1349
|
+
|
1350
|
+
* Rakefile, lib/rubygems.rb, lib/rubygems/cache.rb,
|
1351
|
+
lib/rubygems/installer.rb, packages/sources/.cvsignore,
|
1352
|
+
scripts/runtest.rb, test/.cvsignore, test/bogussources.rb,
|
1353
|
+
test/test_format.rb, test/test_gempaths.rb,
|
1354
|
+
test/test_remote_installer.rb, test/test_validator.rb: Added
|
1355
|
+
test/temp to the clobber list. Broke out tests into inline to
|
1356
|
+
avoid test dependencies on rubygem.
|
1357
|
+
|
1358
|
+
2004-04-12 07:52 chadfowler
|
1359
|
+
|
1360
|
+
* lib/: rubygems.rb, rubygems/installer.rb,
|
1361
|
+
rubygems/remote_installer.rb: Cleaning up output strings wrt
|
1362
|
+
formating of "gem (version)".
|
1363
|
+
|
1364
|
+
2004-04-12 07:41 chadfowler
|
1365
|
+
|
1366
|
+
* lib/rubygems/installer.rb: Gavin Sinclair's uninstall bug.
|
1367
|
+
|
1368
|
+
2004-04-11 15:26 jimweirich
|
1369
|
+
|
1370
|
+
* test/data/one/: .cvsignore, one-ruby-0.0.1.gem: removed
|
1371
|
+
one-ruby*.gem from source control. This gem is automatically
|
1372
|
+
generated in testing.
|
1373
|
+
|
1374
|
+
2004-04-11 10:50 chadfowler
|
1375
|
+
|
1376
|
+
* bin/gem: Gavin Sinclair's test code enhancements
|
1377
|
+
|
1378
|
+
2004-04-11 07:50 chadfowler
|
1379
|
+
|
1380
|
+
* bin/gem, lib/rubygems/installer.rb,
|
1381
|
+
lib/rubygems/remote_installer.rb, lib/rubygems/specification.rb,
|
1382
|
+
test/insure_session.rb, test/test_remote_installer.rb,
|
1383
|
+
test/data/one/one-ruby-0.0.1.gem: Gavin Sinclair patches to make
|
1384
|
+
installer return types less ambiguous.
|
1385
|
+
|
1386
|
+
2004-04-09 10:29 chadfowler
|
1387
|
+
|
1388
|
+
* lib/rubygems/installer.rb, test/data/one/one-ruby-0.0.1.gem: gem
|
1389
|
+
-u input validation patch by Ville Aine
|
1390
|
+
|
1391
|
+
2004-04-07 07:49 chadfowler
|
1392
|
+
|
1393
|
+
* bin/gem, lib/rubygems/cache.rb, test/data/one/one-ruby-0.0.1.gem:
|
1394
|
+
Finally have passing tests.
|
1395
|
+
|
1396
|
+
2004-04-07 07:24 chadfowler
|
1397
|
+
|
1398
|
+
* lib/rubygems/remote_installer.rb,
|
1399
|
+
test/data/one/one-ruby-0.0.1.gem: Allow default option to work on
|
1400
|
+
remote dependency prompt.
|
1401
|
+
|
1402
|
+
2004-04-07 07:05 chadfowler
|
1403
|
+
|
1404
|
+
* lib/rubygems/remote_installer.rb, test/test_remote_installer.rb,
|
1405
|
+
test/data/one/one-ruby-0.0.1.gem: Applied George Marrows' patch
|
1406
|
+
to remote_install
|
1407
|
+
|
1408
|
+
2004-04-07 06:23 chadfowler
|
1409
|
+
|
1410
|
+
* bin/gem, test/data/one/one-ruby-0.0.1.gem: No longer "seeing"
|
1411
|
+
double on remote searches
|
1412
|
+
|
1413
|
+
2004-04-05 07:39 chadfowler
|
1414
|
+
|
1415
|
+
* Rakefile, test/test_remote_installer.rb,
|
1416
|
+
test/data/one/one-ruby-0.0.1.gem: remote_installer tests aren't
|
1417
|
+
completely hosed anymore.
|
1418
|
+
|
1419
|
+
2004-04-05 06:16 chadfowler
|
1420
|
+
|
1421
|
+
* Rakefile, test/data/one/one-ruby-0.0.1.gem: Rake target for
|
1422
|
+
running all tests (unit + functional) "alltests"
|
1423
|
+
|
1424
|
+
2004-04-05 00:48 jimweirich
|
1425
|
+
|
1426
|
+
* test/: insure_session.rb, data/one/README.one,
|
1427
|
+
data/one/one-ruby-0.0.1.gem, data/one/one.gemspec,
|
1428
|
+
data/one/lib/one.rb: added for functional tests
|
1429
|
+
|
1430
|
+
2004-04-05 00:48 jimweirich
|
1431
|
+
|
1432
|
+
* test/functional.rb: Moved session gem detection to insure_session
|
1433
|
+
file. Modified functional tests to use gem command. Removed
|
1434
|
+
some directory stuff because rake guarantees the starting
|
1435
|
+
directory. Added test_info functional test. Added test_build
|
1436
|
+
functional test. Added assert status.
|
1437
|
+
|
1438
|
+
2004-04-05 00:48 jimweirich
|
1439
|
+
|
1440
|
+
* lib/rubygems/remote_installer.rb: Changed exceptions to inherit
|
1441
|
+
from RunTimeError
|
1442
|
+
|
1443
|
+
2004-04-05 00:48 jimweirich
|
1444
|
+
|
1445
|
+
* bin/gem: Changed Installer to RemoteInstaller in rubygems-info.
|
1446
|
+
|
1447
|
+
2004-04-05 00:48 jimweirich
|
1448
|
+
|
1449
|
+
* Rakefile: Added generated test gem to clobber list. Added
|
1450
|
+
functional test target to rakefile.
|
1451
|
+
|
1452
|
+
2004-04-04 21:17 chadfowler
|
1453
|
+
|
1454
|
+
* packages/sources/lib/sources.rb: Added gems mirror at
|
1455
|
+
http://gems.chadfowler.com
|
1456
|
+
|
1457
|
+
2004-04-04 20:51 chadfowler
|
1458
|
+
|
1459
|
+
* bin/gem, lib/rubygems/remote_installer.rb, test/functional.rb:
|
1460
|
+
More improved error messages (don't show stack trace when using
|
1461
|
+
bin/gem)
|
1462
|
+
|
1463
|
+
2004-04-04 20:43 chadfowler
|
1464
|
+
|
1465
|
+
* lib/rubygems/cache.rb: Only read specs that end in "gemspec".
|
1466
|
+
The code doesn't handle non-gemspecs very well at all.
|
1467
|
+
|
1468
|
+
2004-04-04 20:15 chadfowler
|
1469
|
+
|
1470
|
+
* test/mock/gems/specifications/sources-0.0.1.gemspec: [no log
|
1471
|
+
message]
|
1472
|
+
|
1473
|
+
2004-04-04 20:09 chadfowler
|
1474
|
+
|
1475
|
+
* test/mock/gems/gems/sources-0.0.1/lib/sources.rb: Rearranging
|
1476
|
+
things a bit
|
1477
|
+
|
1478
|
+
2004-04-04 20:02 chadfowler
|
1479
|
+
|
1480
|
+
* bin/gem, lib/rubygems/remote_installer.rb, test/bogussources.rb,
|
1481
|
+
test/functional.rb: Better error messages on unresolvable host.
|
1482
|
+
|
1483
|
+
2004-04-04 12:50 chadfowler
|
1484
|
+
|
1485
|
+
* redist/session.gem, test/bogussources.rb, test/functional.rb:
|
1486
|
+
Added the beginnings of a functional test suite.
|
1487
|
+
|
1488
|
+
2004-04-03 22:02 chadfowler
|
1489
|
+
|
1490
|
+
* lib/rubygems/validator.rb: Just had to explicitly rescue
|
1491
|
+
VerificationError. All is well.
|
1492
|
+
|
1493
|
+
2004-04-03 22:01 chadfowler
|
1494
|
+
|
1495
|
+
* lib/rubygems/validator.rb: Mauricio fixed a problem with alien
|
1496
|
+
(just failed to update it when we changed the gem directory), but
|
1497
|
+
now there's another issue I can't find. Anyway, this fix is
|
1498
|
+
obviously needed. But alien is broken anyway.
|
1499
|
+
|
1500
|
+
2004-04-03 21:57 chadfowler
|
1501
|
+
|
1502
|
+
* install.rb, lib/rubygems/builder.rb: Batsman's bug report and
|
1503
|
+
code for the bugs I introduced today. :)
|
1504
|
+
|
1505
|
+
2004-04-03 09:50 chadfowler
|
1506
|
+
|
1507
|
+
* lib/rubygems/specification.rb: Defaulting a spec's require_path
|
1508
|
+
to [] to avoid downstream errors.
|
1509
|
+
|
1510
|
+
2004-04-03 09:06 chadfowler
|
1511
|
+
|
1512
|
+
* lib/rubygems/builder.rb, test/test_builder.rb: builder now
|
1513
|
+
validates the gemspec.
|
1514
|
+
|
1515
|
+
2004-04-03 08:48 chadfowler
|
1516
|
+
|
1517
|
+
* lib/rubygems/specification.rb, test/test_specification.rb: Added
|
1518
|
+
checking for gem specs to make sure they have all required
|
1519
|
+
attributes.
|
1520
|
+
|
1521
|
+
2004-04-03 08:06 chadfowler
|
1522
|
+
|
1523
|
+
* gemspecs/rublog.gemspec: My original rublog gem was broken, in
|
1524
|
+
that it didn't have a require_path.
|
1525
|
+
|
1526
|
+
2004-04-02 07:48 chadfowler
|
1527
|
+
|
1528
|
+
* lib/rubygems/remote_installer.rb: Prompt for installation of
|
1529
|
+
dependenciees.
|
1530
|
+
|
1531
|
+
For now, there is a puts/gets in the middle of
|
1532
|
+
remote_installer.rb This should probably be cleaned up later
|
1533
|
+
(return control flow to the gem program to install the
|
1534
|
+
dependencies, for example.
|
1535
|
+
|
1536
|
+
2004-04-02 07:37 chadfowler
|
1537
|
+
|
1538
|
+
* TODO: [no log message]
|
1539
|
+
|
1540
|
+
2004-04-02 07:34 chadfowler
|
1541
|
+
|
1542
|
+
* test/: simple_gem.rb, test_format.rb: Some things I forgot to cvs
|
1543
|
+
add earlier.
|
1544
|
+
|
1545
|
+
2004-04-02 07:29 chadfowler
|
1546
|
+
|
1547
|
+
* example/: test.gemspec, lib/test.rb, lib/test/wow.rb: Removing
|
1548
|
+
example directory in favor of "examples" directory (just better
|
1549
|
+
organized).
|
1550
|
+
|
1551
|
+
2004-04-02 07:26 chadfowler
|
1552
|
+
|
1553
|
+
* test/test_all.rb: Removed test_all.rb. Rake is obviously a
|
1554
|
+
better way to do it.
|
1555
|
+
|
1556
|
+
2004-03-31 19:13 chadfowler
|
1557
|
+
|
1558
|
+
* lib/rubygems/format.rb, lib/rubygems/installer.rb,
|
1559
|
+
lib/rubygems/validator.rb, test/test_all.rb,
|
1560
|
+
test/test_validator.rb: More tests and refactoring to support
|
1561
|
+
them.
|
1562
|
+
|
1563
|
+
2004-03-30 02:41 rich
|
1564
|
+
|
1565
|
+
* lib/rubygems/installer.rb: allow passing parameters to extconf.rb
|
1566
|
+
with:
|
1567
|
+
|
1568
|
+
ruby -i blah.gem --local -- --with-option
|
1569
|
+
|
1570
|
+
everything past the -- will go to the extconf.rb...just like
|
1571
|
+
setup.rb
|
1572
|
+
|
1573
|
+
2004-03-30 02:34 rich
|
1574
|
+
|
1575
|
+
* lib/rubygems/: installer.rb, specification.rb: very initial
|
1576
|
+
capability to build source gems. this only lets you build native
|
1577
|
+
extensions so long as you do not have to specify --with-
|
1578
|
+
directories
|
1579
|
+
|
1580
|
+
2004-03-29 08:31 rich
|
1581
|
+
|
1582
|
+
* install.rb: switched migration of old gems to new ./gems subdir
|
1583
|
+
to use FileUtils rather than ftools...hope to fix reported win32
|
1584
|
+
error.
|
1585
|
+
|
1586
|
+
2004-03-29 01:04 rich
|
1587
|
+
|
1588
|
+
* lib/rubygems/doc_manager.rb: fixed bug in pathing based on new
|
1589
|
+
directory structure
|
1590
|
+
|
1591
|
+
2004-03-29 01:03 rich
|
1592
|
+
|
1593
|
+
* lib/rubygems/remote_installer.rb: fixed bug in default for proxy
|
1594
|
+
(should default to nil not true)
|
1595
|
+
|
1596
|
+
2004-03-29 01:03 rich
|
1597
|
+
|
1598
|
+
* bin/gem: updated with patch to allow for config file with minor
|
1599
|
+
difference from gavin's patch which passes a nil to the
|
1600
|
+
RemoteInstaller if the proxy does not exist
|
1601
|
+
|
1602
|
+
2004-03-28 23:22 rich
|
1603
|
+
|
1604
|
+
* install.rb: added code to migrate gems if they are in the old
|
1605
|
+
directory structure
|
1606
|
+
|
1607
|
+
2004-03-28 21:30 rich
|
1608
|
+
|
1609
|
+
* install.rb, lib/rubygems.rb, lib/rubygems/installer.rb,
|
1610
|
+
lib/rubygems/specification.rb: changed path of installed gems to
|
1611
|
+
be:
|
1612
|
+
|
1613
|
+
ruby/gems/1.8/gems
|
1614
|
+
|
1615
|
+
which cleans up the root.
|
1616
|
+
|
1617
|
+
2004-03-28 18:53 chadfowler
|
1618
|
+
|
1619
|
+
* test/test_all.rb: This is the file to run for all of the tests.
|
1620
|
+
|
1621
|
+
test_remote_installer is commented out for now. The open URI
|
1622
|
+
patch that George gave us makes the code a lot nicer to look at,
|
1623
|
+
but a little harder to test.
|
1624
|
+
|
1625
|
+
2004-03-28 18:50 chadfowler
|
1626
|
+
|
1627
|
+
* lib/rubygems/remote_installer.rb, test/test_cache.rb,
|
1628
|
+
test/test_remote_installer.rb: Added some tests for cache search
|
1629
|
+
|
1630
|
+
2004-03-28 12:19 chadfowler
|
1631
|
+
|
1632
|
+
* bin/gem, lib/rubygems/validator.rb, test/test_validator.rb: Some
|
1633
|
+
tests for the validator.
|
1634
|
+
|
1635
|
+
Made the validator more testable.
|
1636
|
+
|
1637
|
+
2004-03-28 09:30 chadfowler
|
1638
|
+
|
1639
|
+
* bin/gem, lib/rubygems/validator.rb: Fixed a problem with false
|
1640
|
+
alarms in the validator.
|
1641
|
+
|
1642
|
+
2004-03-27 08:23 chadfowler
|
1643
|
+
|
1644
|
+
* bin/gem: No longer have an option to pass http proxy host into
|
1645
|
+
the gem program. Only reads it from the environment. This is
|
1646
|
+
because George's patch (and open-uri) work this way, and I'm lazy
|
1647
|
+
right now.
|
1648
|
+
|
1649
|
+
2004-03-27 08:17 chadfowler
|
1650
|
+
|
1651
|
+
* lib/rubygems/remote_installer.rb: George Marrows' nice patch to
|
1652
|
+
remove a bunch of code from remote_installer.
|
1653
|
+
|
1654
|
+
Our remote_installer tests are failing. We really need to start
|
1655
|
+
paying attention to the test directory. :(`
|
1656
|
+
|
1657
|
+
2004-03-24 23:26 jimweirich
|
1658
|
+
|
1659
|
+
* install.rb: Do not install commands ending in ~.
|
1660
|
+
|
1661
|
+
2004-03-24 23:25 jimweirich
|
1662
|
+
|
1663
|
+
* lib/rubygems/specification.rb: Changed executables from accessor
|
1664
|
+
to writer to avoid redefinition.
|
1665
|
+
|
1666
|
+
2004-03-21 21:10 jimweirich
|
1667
|
+
|
1668
|
+
* bin/gem: fixed uninitialized directory option
|
1669
|
+
|
1670
|
+
2004-03-21 15:34 jimweirich
|
1671
|
+
|
1672
|
+
* bin/gem: removed carriage returns that screwed up the #! line
|
1673
|
+
|
1674
|
+
2004-03-21 09:02 chadfowler
|
1675
|
+
|
1676
|
+
* bin/gem: Gavin's bin/gem refactoring.
|
1677
|
+
|
1678
|
+
2004-03-20 17:03 jimweirich
|
1679
|
+
|
1680
|
+
* bin/gem: added wrapping to gem listing
|
1681
|
+
|
1682
|
+
2004-03-20 12:22 chadfowler
|
1683
|
+
|
1684
|
+
* install.rb: More cleaning by Gavin Sinclair
|
1685
|
+
|
1686
|
+
2004-03-20 12:08 chadfowler
|
1687
|
+
|
1688
|
+
* examples/application/an-app.gemspec,
|
1689
|
+
examples/application/bin/myapp,
|
1690
|
+
examples/application/lib/somefunctionality.rb, lib/rubygems.rb,
|
1691
|
+
lib/rubygems/installer.rb, lib/rubygems/specification.rb: Added
|
1692
|
+
functionality for installing applications into the system bindir.
|
1693
|
+
Needs cleaning and refactoring.
|
1694
|
+
|
1695
|
+
2004-03-20 07:53 chadfowler
|
1696
|
+
|
1697
|
+
* bin/gem: [no log message]
|
1698
|
+
|
1699
|
+
2004-03-19 23:03 chadfowler
|
1700
|
+
|
1701
|
+
* bin/gem: More intuitive default.
|
1702
|
+
|
1703
|
+
2004-03-19 10:45 chadfowler
|
1704
|
+
|
1705
|
+
* bin/gem: * Some minor rearranging of the test stuff so that
|
1706
|
+
installation errors will also abort the test run * Don't try to
|
1707
|
+
run tests if none are included with the gem
|
1708
|
+
|
1709
|
+
2004-03-18 22:27 chadfowler
|
1710
|
+
|
1711
|
+
* bin/gem, example/lib/test.rb, lib/rubygems/cache.rb,
|
1712
|
+
lib/rubygems/specification.rb: * Preliminary support for: gem -i
|
1713
|
+
blah-0.0.1.gem --run-tests Needs to be cleaned up considerably.
|
1714
|
+
* Introduction of new gemspec metadata "unit_test_suite", which
|
1715
|
+
will be require'd in order to load all unit tests
|
1716
|
+
|
1717
|
+
2004-03-17 09:33 chadfowler
|
1718
|
+
|
1719
|
+
* bin/gem: Applied Gavin Sinclair's patch to make help output
|
1720
|
+
better.
|
1721
|
+
|
1722
|
+
2004-03-16 21:55 chadfowler
|
1723
|
+
|
1724
|
+
* bin/gem: Added --remote-list option for gem command to display
|
1725
|
+
all gems on server.
|
1726
|
+
|
1727
|
+
2004-03-16 21:50 chadfowler
|
1728
|
+
|
1729
|
+
* bin/gem, doc/UserDoc.html: Fixed --help case inconsistencies and
|
1730
|
+
documentation typos as per Scott Harper's email.
|
1731
|
+
|
1732
|
+
2004-03-16 21:41 chadfowler
|
1733
|
+
|
1734
|
+
* bin/gem: --list and --search display are the same.
|
1735
|
+
|
1736
|
+
2004-03-16 21:33 chadfowler
|
1737
|
+
|
1738
|
+
* bin/gem: Implemented some of Scott Harper's search suggestions:
|
1739
|
+
case insensitive sort of returned gems and display description
|
1740
|
+
with gem name in search results.
|
1741
|
+
|
1742
|
+
2004-03-16 21:20 chadfowler
|
1743
|
+
|
1744
|
+
* bin/gem, lib/rubygems/remote_installer.rb: http_proxy option
|
1745
|
+
implemented
|
1746
|
+
|
1747
|
+
2004-03-15 07:19 chadfowler
|
1748
|
+
|
1749
|
+
* lib/rubygems/remote_installer.rb: Installation is now case
|
1750
|
+
insensitive (like search)
|
1751
|
+
|
1752
|
+
2004-03-15 07:07 chadfowler
|
1753
|
+
|
1754
|
+
* TODO, bin/gem, lib/rubygems/remote_installer.rb: Better error
|
1755
|
+
messages. updated TODO list.
|
1756
|
+
|
1757
|
+
2004-03-14 21:02 chadfowler
|
1758
|
+
|
1759
|
+
* bin/gem, lib/rubygems/remote_installer.rb: --dir didn't work with
|
1760
|
+
remote-install. Now it does.
|
1761
|
+
|
1762
|
+
2004-03-14 17:48 rich
|
1763
|
+
|
1764
|
+
* bin/gem: fixed uninstall bug
|
1765
|
+
|
1766
|
+
2004-03-14 17:18 rich
|
1767
|
+
|
1768
|
+
* lib/rubygems/doc_manager.rb: changed to remove <drive>: on
|
1769
|
+
win32...ug
|
1770
|
+
|
1771
|
+
2004-03-14 16:15 rich
|
1772
|
+
|
1773
|
+
* install.rb: fixed typo
|
1774
|
+
|
1775
|
+
2004-03-14 16:13 rich
|
1776
|
+
|
1777
|
+
* install.rb: generate cmd files
|
1778
|
+
|
1779
|
+
2004-03-14 16:13 rich
|
1780
|
+
|
1781
|
+
* bin/: gem.cmd, gem_server.cmd: now generate cmd files
|
1782
|
+
|
1783
|
+
2004-03-14 15:52 chadfowler
|
1784
|
+
|
1785
|
+
* bin/gem: Fixed a small bug with --gen-rdoc and the remote
|
1786
|
+
installer.
|
1787
|
+
|
1788
|
+
2004-03-14 15:38 chadfowler
|
1789
|
+
|
1790
|
+
* lib/rubygems.rb: Back to version 1.0 ;)
|
1791
|
+
|
1792
|
+
2004-03-14 15:36 chadfowler
|
1793
|
+
|
1794
|
+
* lib/rubygems.rb: Updated rubygemsversion
|
1795
|
+
|
1796
|
+
2004-03-14 15:31 chadfowler
|
1797
|
+
|
1798
|
+
* README: credits
|
1799
|
+
|
1800
|
+
2004-03-14 15:24 rich
|
1801
|
+
|
1802
|
+
* README: initial readme
|
1803
|
+
|
1804
|
+
2004-03-14 15:12 rich
|
1805
|
+
|
1806
|
+
* doc/UserDoc.html: updated w/doc on documentation ;-)
|
1807
|
+
|
1808
|
+
2004-03-14 15:01 rich
|
1809
|
+
|
1810
|
+
* gemspecs/jabber4r.gemspec: added jabber4r gemspec
|
1811
|
+
|
1812
|
+
2004-03-14 14:58 rich
|
1813
|
+
|
1814
|
+
* bin/gem_server: change the documentation path to /
|
1815
|
+
|
1816
|
+
2004-03-14 14:57 rich
|
1817
|
+
|
1818
|
+
* install.rb: remove installing .rb files from ./bin
|
1819
|
+
|
1820
|
+
2004-03-14 14:32 rich
|
1821
|
+
|
1822
|
+
* doc/: DevDoc.txt, GemSpecification.txt, UserDoc.html,
|
1823
|
+
UserDoc.txt: updated with latest docs
|
1824
|
+
|
1825
|
+
2004-03-14 12:05 chadfowler
|
1826
|
+
|
1827
|
+
* test/test_remote_installer.rb: Fixed tests.
|
1828
|
+
|
1829
|
+
2004-03-14 11:31 chadfowler
|
1830
|
+
|
1831
|
+
* lib/rubygems/specification.rb: Fixed bug that would manifest
|
1832
|
+
itself if a gem creator put apostrophes/single-quotes in the gem
|
1833
|
+
spec.
|
1834
|
+
|
1835
|
+
2004-03-14 00:04 rich
|
1836
|
+
|
1837
|
+
* doc/: UserDoc.html, UserDoc.txt: finished user's guide
|
1838
|
+
|
1839
|
+
2004-03-13 21:48 rich
|
1840
|
+
|
1841
|
+
* doc/: DevDoc.html, UserDoc.html, UserDoc.txt: updated user's
|
1842
|
+
guide...will finish section on ruby's library mgt soon ;-)
|
1843
|
+
|
1844
|
+
2004-03-13 20:48 chadfowler
|
1845
|
+
|
1846
|
+
* doc/DevDoc.txt: Added documentation on making and distributing
|
1847
|
+
gems
|
1848
|
+
|
1849
|
+
2004-03-13 20:20 chadfowler
|
1850
|
+
|
1851
|
+
* TODO: [no log message]
|
1852
|
+
|
1853
|
+
2004-03-13 19:51 rich
|
1854
|
+
|
1855
|
+
* doc/: DevDoc.html, DevDoc.txt, GemSpecification.html,
|
1856
|
+
GemSpecification.txt, UserDoc.html, UserDoc.txt, doc.css,
|
1857
|
+
makedoc.rb: added these doc (wiki) files from
|
1858
|
+
http://rubygems.rubyforge.org/
|
1859
|
+
|
1860
|
+
2004-03-13 17:56 chadfowler
|
1861
|
+
|
1862
|
+
* TODO, gemspecs/README, gemspecs/cgikit-1.1.0.gemspec,
|
1863
|
+
gemspecs/linguistics.gemspec, gemspecs/ook.gemspec,
|
1864
|
+
gemspecs/progressbar.gemspec, gemspecs/redcloth.gemspec,
|
1865
|
+
gemspecs/rublog.gemspec, gemspecs/ruby-doom.gemspec,
|
1866
|
+
gemspecs/rubyjdwp.gemspec, gemspecs/statistics.gemspec: Added
|
1867
|
+
some gemspecs for actual RAA packages.
|
1868
|
+
|
1869
|
+
2004-03-13 14:35 chadfowler
|
1870
|
+
|
1871
|
+
* TODO, lib/rubygems/remote_installer.rb: Preliminary HTTP Proxy
|
1872
|
+
support. Untested.
|
1873
|
+
|
1874
|
+
2004-03-13 09:11 chadfowler
|
1875
|
+
|
1876
|
+
* packages/sources/lib/sources.rb: Changed to point to rubyforge
|
1877
|
+
|
1878
|
+
2004-03-12 22:40 rich
|
1879
|
+
|
1880
|
+
* bin/generate_yaml_index.rb: generates a yaml index for a gems
|
1881
|
+
repository
|
1882
|
+
|
1883
|
+
2004-03-12 22:02 chadfowler
|
1884
|
+
|
1885
|
+
* bin/gem_server: No longer serving gem specs.
|
1886
|
+
|
1887
|
+
2004-03-12 21:42 chadfowler
|
1888
|
+
|
1889
|
+
* TODO, bin/gem_server.cgi: We decided to trash gem_server.cgi in
|
1890
|
+
favor of the static content generator Rich is working on.
|
1891
|
+
|
1892
|
+
2004-03-12 21:15 chadfowler
|
1893
|
+
|
1894
|
+
* TODO: [no log message]
|
1895
|
+
|
1896
|
+
2004-03-12 20:11 chadfowler
|
1897
|
+
|
1898
|
+
* bin/gem, lib/rubygems/installer.rb,
|
1899
|
+
lib/rubygems/remote_installer.rb: Basic search funtionality in.
|
1900
|
+
|
1901
|
+
Slight refactoring of Installer and RemoteInstaller
|
1902
|
+
|
1903
|
+
2004-03-12 18:28 chadfowler
|
1904
|
+
|
1905
|
+
* TODO: [no log message]
|
1906
|
+
|
1907
|
+
2004-03-12 16:37 chadfowler
|
1908
|
+
|
1909
|
+
* TODO: [no log message]
|
1910
|
+
|
1911
|
+
2004-03-12 16:14 chadfowler
|
1912
|
+
|
1913
|
+
* TODO: More TODO items
|
1914
|
+
|
1915
|
+
2004-03-08 13:50 chadfowler
|
1916
|
+
|
1917
|
+
* TODO, bin/gem_server, example/test.gemspec: Use rdoc templates
|
1918
|
+
for HTML. Nearly XHTML compliant.
|
1919
|
+
|
1920
|
+
2004-03-08 08:21 chadfowler
|
1921
|
+
|
1922
|
+
* TODO: Added TODO list
|
1923
|
+
|
1924
|
+
2004-03-08 08:12 chadfowler
|
1925
|
+
|
1926
|
+
* lib/rubygems/validator.rb: Fixed a small (but crippling) bug in
|
1927
|
+
the validator.
|
1928
|
+
|
1929
|
+
2004-01-24 13:49 chadfowler
|
1930
|
+
|
1931
|
+
* bin/gem, lib/rubygems.rb, lib/rubygems/cache.rb,
|
1932
|
+
lib/rubygems/validator.rb, lib/rubygems/version.rb: More cleanup.
|
1933
|
+
|
1934
|
+
2004-01-24 13:29 chadfowler
|
1935
|
+
|
1936
|
+
* bin/gem, lib/rubygems/remote_installer.rb: A little cleaning of
|
1937
|
+
(Remote)Installer inconsistencies
|
1938
|
+
|
1939
|
+
2004-01-24 13:23 chadfowler
|
1940
|
+
|
1941
|
+
* bin/gem: Removed the weird instance variable thing we had going
|
1942
|
+
on. :)
|
1943
|
+
|
1944
|
+
2004-01-07 17:34 chadfowler
|
1945
|
+
|
1946
|
+
* bin/gem: removed old cruft
|
1947
|
+
|
1948
|
+
2003-12-24 11:32 chadfowler
|
1949
|
+
|
1950
|
+
* lib/rubygems/validator.rb: Gem validation was returning false
|
1951
|
+
negatives (corrupted gems were not reporting their corruption).
|
1952
|
+
|
1953
|
+
2003-12-18 14:18 chadfowler
|
1954
|
+
|
1955
|
+
* lib/rubygems/cache.rb: Lyle noticed some out of date rdoc
|
1956
|
+
documentation. Thanks Lyle!
|
1957
|
+
|
1958
|
+
2003-12-03 08:05 chadfowler
|
1959
|
+
|
1960
|
+
* install.rb: Gavin's patch for installing the files in bin/ on
|
1961
|
+
rubygems installation.
|
1962
|
+
|
1963
|
+
2003-11-30 00:36 chadfowler
|
1964
|
+
|
1965
|
+
* lib/rubygems/specification.rb: Little warnings adjustment
|
1966
|
+
|
1967
|
+
2003-11-29 17:27 jimweirich
|
1968
|
+
|
1969
|
+
* Rakefile: added Rakefile to package
|
1970
|
+
|
1971
|
+
2003-11-29 16:23 jimweirich
|
1972
|
+
|
1973
|
+
* lib/rubygems/specification.rb: Removed defined? and initialized
|
1974
|
+
@platform
|
1975
|
+
|
1976
|
+
2003-11-29 16:08 jimweirich
|
1977
|
+
|
1978
|
+
* lib/rubygems/specification.rb: Initialized @loaded and check
|
1979
|
+
defined?(@platform) to silence some -w warnings.
|
1980
|
+
|
1981
|
+
2003-11-29 09:26 rich
|
1982
|
+
|
1983
|
+
* bin/gem_server, lib/rubygems/doc_manager.rb: updated to support
|
1984
|
+
/doc URL to generate list of installed gems w/doc link for rdoc
|
1985
|
+
generated links.
|
1986
|
+
|
1987
|
+
2003-11-29 08:30 rich
|
1988
|
+
|
1989
|
+
* lib/rubygems/doc_manager.rb: minor format change of error message
|
1990
|
+
|
1991
|
+
2003-11-29 08:29 rich
|
1992
|
+
|
1993
|
+
* bin/gem, lib/rubygems/builder.rb, lib/rubygems/doc_manager.rb,
|
1994
|
+
lib/rubygems/installer.rb: instantiates DocManager now. errors
|
1995
|
+
out on no install of RDoc. warns if .gemspec does not specify
|
1996
|
+
having rdoc, but rdoc is generated
|
1997
|
+
|
1998
|
+
2003-11-29 02:13 rich
|
1999
|
+
|
2000
|
+
* bin/gem, lib/rubygems.rb, lib/rubygems/doc_manager.rb,
|
2001
|
+
lib/rubygems/format.rb, lib/rubygems/installer.rb,
|
2002
|
+
lib/rubygems/specification.rb: added capability to generate rdoc
|
2003
|
+
on install of gem (--gen-rdoc). this doc is placed in
|
2004
|
+
Gem.dir+doc+gem.full_name fixed but in installer when moving to
|
2005
|
+
format (not calling each) added doc manager to add/remove
|
2006
|
+
documenatation (right now only rdoc)
|
2007
|
+
|
2008
|
+
2003-11-29 01:28 rich
|
2009
|
+
|
2010
|
+
* lib/rubygems/specification.rb: should not define the attr_readers
|
2011
|
+
for requirements/dependencies so undef is unnecessary
|
2012
|
+
|
2013
|
+
2003-11-29 00:12 jimweirich
|
2014
|
+
|
2015
|
+
* lib/rubygems/specification.rb: Undefing dependencies and
|
2016
|
+
requirements removes warning when used with -w.
|
2017
|
+
|
2018
|
+
2003-11-29 00:12 jimweirich
|
2019
|
+
|
2020
|
+
* lib/rubygems.rb: Using defined?($GEM_PATH) avoids warning when
|
2021
|
+
used with -w switch.
|
2022
|
+
|
2023
|
+
2003-11-28 15:58 chadfowler
|
2024
|
+
|
2025
|
+
* bin/gem, example/test.gemspec, lib/rubygems.rb,
|
2026
|
+
lib/rubygems/installer.rb, lib/rubygems/validator.rb,
|
2027
|
+
lib/rubygems/format.rb: Separated gem file reading into a
|
2028
|
+
separate class/file.
|
2029
|
+
|
2030
|
+
2003-11-28 15:20 rich
|
2031
|
+
|
2032
|
+
* lib/rubygems/specification.rb: added has_rdoc?/has_rdoc methods
|
2033
|
+
... will be used to autogenerate rdoc
|
2034
|
+
|
2035
|
+
2003-11-28 12:30 chadfowler
|
2036
|
+
|
2037
|
+
* lib/rubygems/validator.rb: Rdoc added
|
2038
|
+
|
2039
|
+
2003-11-28 11:51 chadfowler
|
2040
|
+
|
2041
|
+
* bin/gem, lib/rubygems.rb, lib/rubygems/validator.rb: A little
|
2042
|
+
rearranging of the validation/alien code. It's still ugly, but
|
2043
|
+
at least it's in its own file now. :)
|
2044
|
+
|
2045
|
+
2003-11-28 11:40 chadfowler
|
2046
|
+
|
2047
|
+
* bin/gem: Removed a little cruft.
|
2048
|
+
|
2049
|
+
2003-11-27 11:04 chadfowler
|
2050
|
+
|
2051
|
+
* bin/gem: Print success message for each gem *not* containing
|
2052
|
+
errors.
|
2053
|
+
|
2054
|
+
2003-11-27 11:00 chadfowler
|
2055
|
+
|
2056
|
+
* bin/gem, lib/rubygems/installer.rb: Preliminary support for gem
|
2057
|
+
directory validation (--alien). Looks for bad or missing gem
|
2058
|
+
files, missing spec files, files installed that aren't part of
|
2059
|
+
the gem, checksum mismatches, etc.
|
2060
|
+
|
2061
|
+
Very ugly code. Very ugly output. Work in progress.
|
2062
|
+
|
2063
|
+
2003-11-24 11:58 rich
|
2064
|
+
|
2065
|
+
* lib/rubygems/specification.rb: change full_name to include
|
2066
|
+
platform
|
2067
|
+
|
2068
|
+
2003-11-24 09:15 chadfowler
|
2069
|
+
|
2070
|
+
* bin/gem: Option for HTTP Proxy server for remote-install. Not
|
2071
|
+
yet implemented.
|
2072
|
+
|
2073
|
+
2003-11-23 20:22 chadfowler
|
2074
|
+
|
2075
|
+
* lib/rubygems/builder.rb: Removed a stray \" in builder's success
|
2076
|
+
message
|
2077
|
+
|
2078
|
+
2003-11-23 20:16 chadfowler
|
2079
|
+
|
2080
|
+
* lib/rubygems/specification.rb: Leaving escape in but commenting
|
2081
|
+
out its functionality because it hosed some other things up.
|
2082
|
+
Need to revisit this for the case where:
|
2083
|
+
|
2084
|
+
s.summary = "Chad's Thing" # It's the apostrophe
|
2085
|
+
|
2086
|
+
2003-11-23 20:08 chadfowler
|
2087
|
+
|
2088
|
+
* lib/rubygems/specification.rb: Escape quotes to avoid invalid
|
2089
|
+
gemspecs in the #{Gem.dir}/specifications directory
|
2090
|
+
|
2091
|
+
2003-11-23 19:21 chadfowler
|
2092
|
+
|
2093
|
+
* bin/gem: Less ugly error message on file IO problems.
|
2094
|
+
|
2095
|
+
2003-11-22 22:34 chadfowler
|
2096
|
+
|
2097
|
+
* bin/gem: Very simple support for validating a gem. Will probably
|
2098
|
+
move this into the libs eventually.
|
2099
|
+
|
2100
|
+
2003-11-22 20:53 chadfowler
|
2101
|
+
|
2102
|
+
* example/test.gemspec, lib/rubygems/builder.rb: Generate MD5
|
2103
|
+
checksum for gem and store it in the file. Will be used to
|
2104
|
+
validate gem file before installation.
|
2105
|
+
|
2106
|
+
2003-11-22 13:58 chadfowler
|
2107
|
+
|
2108
|
+
* install.rb, lib/rubygems/remote_installer.rb,
|
2109
|
+
packages/sources/sources.gemspec,
|
2110
|
+
packages/sources/lib/sources.rb: remote-install sources are now
|
2111
|
+
installed as a ruby gem at the time of rubygems installation.
|
2112
|
+
sources gemspec included in the rubygems distribution.
|
2113
|
+
|
2114
|
+
2003-11-22 12:52 chadfowler
|
2115
|
+
|
2116
|
+
* bin/gem: Allow gem info by --version
|
2117
|
+
|
2118
|
+
2003-11-22 11:50 chadfowler
|
2119
|
+
|
2120
|
+
* lib/: rubygems.rb, rubygems/cache.rb: Fixed the bug I introduced
|
2121
|
+
by fixing Rich's bug with gem cache caching. ;)
|
2122
|
+
|
2123
|
+
Gem::Cache now has a #refresh! method.
|
2124
|
+
|
2125
|
+
2003-11-22 10:16 chadfowler
|
2126
|
+
|
2127
|
+
* bin/gem, lib/rubygems.rb, lib/rubygems/installer.rb,
|
2128
|
+
lib/rubygems/remote_installer.rb: - Fixed bug in Gem.cache
|
2129
|
+
(though we may want to revisit it for in-memory caching - Command
|
2130
|
+
line configurable version for uninstall
|
2131
|
+
|
2132
|
+
2003-11-22 00:28 rich
|
2133
|
+
|
2134
|
+
* lib/rubygems/cache.rb: rdoc'd search method
|
2135
|
+
|
2136
|
+
2003-11-22 00:24 rich
|
2137
|
+
|
2138
|
+
* bin/gem, lib/rubygems/cache.rb, lib/rubygems/version.rb,
|
2139
|
+
test/test_version_comparison.rb: removed search_by_name because
|
2140
|
+
search does the same thing. version::requirement was updated to
|
2141
|
+
that if you did not specific a version operation, it assumes an =
|
2142
|
+
sign. updated tests accordingly
|
2143
|
+
|
2144
|
+
2003-11-21 23:58 rich
|
2145
|
+
|
2146
|
+
* lib/rubygems/: cache.rb, installer.rb: allow version to be
|
2147
|
+
specified in uninstall (if called programatically)
|
2148
|
+
|
2149
|
+
2003-11-21 23:52 rich
|
2150
|
+
|
2151
|
+
* lib/: rubygems.rb, rubygems/cache.rb, rubygems/installer.rb,
|
2152
|
+
rubygems/specification.rb: > moved all searching into cache..and
|
2153
|
+
now search by name/version and return an
|
2154
|
+
ordered list (.last == highest version).
|
2155
|
+
> modified uninstaller to allow selecting a specific version to
|
2156
|
+
uninstall if
|
2157
|
+
multiple versions are installed.
|
2158
|
+
> implemented comparison function on specification.
|
2159
|
+
> changed require_gem to use new search of cache function
|
2160
|
+
|
2161
|
+
2003-11-21 21:06 chadfowler
|
2162
|
+
|
2163
|
+
* bin/gem, lib/rubygems/remote_installer.rb: Added ability to
|
2164
|
+
specify optional version requirement for remote installations
|
2165
|
+
|
2166
|
+
2003-11-21 20:25 chadfowler
|
2167
|
+
|
2168
|
+
* test/test_remote_installer.rb: Removed carriage returns
|
2169
|
+
|
2170
|
+
2003-11-21 19:04 chadfowler
|
2171
|
+
|
2172
|
+
* bin/gem_server: Converted from getopts to optparse.
|
2173
|
+
|
2174
|
+
2003-11-21 18:31 rich
|
2175
|
+
|
2176
|
+
* lib/rubygems.rb: changed the order in which operations are
|
2177
|
+
performed in require_gem. it now requires dependent gems prior
|
2178
|
+
to adding the require_paths to a gem. otherwise we could have
|
2179
|
+
had a LoadError on a dependent gem but the paths were already
|
2180
|
+
added...potential problem
|
2181
|
+
|
2182
|
+
2003-11-21 18:21 rich
|
2183
|
+
|
2184
|
+
* lib/rubygems/installer.rb: updated to ensure
|
2185
|
+
(specifications/cache) directories exist for a provided path
|
2186
|
+
|
2187
|
+
2003-11-21 18:01 rich
|
2188
|
+
|
2189
|
+
* lib/rubygems/specification.rb: updated rdoc
|
2190
|
+
|
2191
|
+
2003-11-21 17:59 rich
|
2192
|
+
|
2193
|
+
* bin/gem, lib/rubygems/builder.rb, lib/rubygems/installer.rb,
|
2194
|
+
lib/rubygems/specification.rb: fixed various bugs with the
|
2195
|
+
$GEM_PATH stuff, specifically on uninstall. Also, changed to
|
2196
|
+
allow specifying a directory on install (--dir) and force install
|
2197
|
+
(--force). Changed the builder generated ruby header to use
|
2198
|
+
optparse.
|
2199
|
+
|
2200
|
+
2003-11-21 07:03 chadfowler
|
2201
|
+
|
2202
|
+
* lib/: rubygems.rb, rubygems/cache.rb,
|
2203
|
+
rubygems/remote_installer.rb: Remote installation of dependencies
|
2204
|
+
now works. It downloads all dependent gems or errors out.
|
2205
|
+
|
2206
|
+
Fixed bug in require_gem. Wrong call to cache.
|
2207
|
+
|
2208
|
+
2003-11-21 00:59 rich
|
2209
|
+
|
2210
|
+
* bin/gem, example/test.gemspec, lib/rubygems.rb,
|
2211
|
+
lib/rubygems/cache.rb, lib/rubygems/installer.rb,
|
2212
|
+
lib/rubygems/specification.rb: added capability to support
|
2213
|
+
multiple paths $GEM_PATH in Ruby and RUBY_GEMS in the ARGV. Lots
|
2214
|
+
of changes were needed to support this. also added the --force
|
2215
|
+
and --dir options to gem installtion
|
2216
|
+
|
2217
|
+
2003-11-20 22:50 chadfowler
|
2218
|
+
|
2219
|
+
* bin/gem: Switched to optparse. Not a whole lot gained, but it
|
2220
|
+
seems to be the way Ruby is going. It's nice not to have to do
|
2221
|
+
the "when" stuff, I guess.
|
2222
|
+
|
2223
|
+
2003-11-19 23:41 chadfowler
|
2224
|
+
|
2225
|
+
* lib/rubygems/: installer.rb, remote_installer.rb: Added
|
2226
|
+
chadfowler.com to the hardcoded remote install list.
|
2227
|
+
|
2228
|
+
Fixed a dangling YAML.load that broke uninstall.
|
2229
|
+
|
2230
|
+
2003-11-19 22:56 rich
|
2231
|
+
|
2232
|
+
* lib/rubygems.rb: fixed bug in loading rubygems
|
2233
|
+
|
2234
|
+
2003-11-19 22:51 chadfowler
|
2235
|
+
|
2236
|
+
* bin/: gem_server, gem_server.cgi: require 'yaml' :)
|
2237
|
+
|
2238
|
+
2003-11-19 22:44 rich
|
2239
|
+
|
2240
|
+
* lib/: rubygems.rb, rubygems/cache.rb, rubygems/specification.rb:
|
2241
|
+
changed the format of stuff stored in the spec directory to ruby
|
2242
|
+
instead of YAML. This allows us to not have to load yaml in
|
2243
|
+
'require_gem'. switched the specification list to a Cache
|
2244
|
+
object.
|
2245
|
+
|
2246
|
+
2003-11-19 21:56 rich
|
2247
|
+
|
2248
|
+
* lib/rubygems/installer.rb: write the spec file in ruby and not in
|
2249
|
+
yaml format (in the spec dir)
|
2250
|
+
|
2251
|
+
2003-11-19 20:32 rich
|
2252
|
+
|
2253
|
+
* lib/rubygems/specification.rb: added to_ruby method to generate a
|
2254
|
+
ruby string that can be eval'ed in to build a Gem Specification
|
2255
|
+
|
2256
|
+
2003-11-17 21:37 jimweirich
|
2257
|
+
|
2258
|
+
* bin/: gem_server, gem_server.cgi: removed carriage returns
|
2259
|
+
|
2260
|
+
2003-11-17 21:19 chadfowler
|
2261
|
+
|
2262
|
+
* install.rb: Accidentally left some junk in the file.
|
2263
|
+
|
2264
|
+
2003-11-17 19:50 dblack
|
2265
|
+
|
2266
|
+
* test/test_version_comparison.rb: * Test cases for Version.rb
|
2267
|
+
|
2268
|
+
2003-11-17 19:50 dblack
|
2269
|
+
|
2270
|
+
* lib/rubygems/version.rb: * Split off tests into
|
2271
|
+
rubygems/tests/test_version_comparison.rb
|
2272
|
+
|
2273
|
+
2003-11-17 12:37 chadfowler
|
2274
|
+
|
2275
|
+
* install.rb: Create File.join(Config::CONFIG['libdir'], "ruby",
|
2276
|
+
"gems") + "specifications" and + "cache" during installation.
|
2277
|
+
|
2278
|
+
Need to remove this from rubygems.rb and replace with
|
2279
|
+
ensure_directory call.
|
2280
|
+
|
2281
|
+
2003-11-17 12:29 rich
|
2282
|
+
|
2283
|
+
* lib/rubygems/version.rb: rdoc added
|
2284
|
+
|
2285
|
+
2003-11-17 11:31 rich
|
2286
|
+
|
2287
|
+
* lib/rubygems/specification.rb: rdoc added
|
2288
|
+
|
2289
|
+
2003-11-17 10:38 rich
|
2290
|
+
|
2291
|
+
* lib/rubygems/: cache.rb, installer.rb: made rdoc comments and
|
2292
|
+
renamed some variables
|
2293
|
+
|
2294
|
+
2003-11-17 08:48 dblack
|
2295
|
+
|
2296
|
+
* lib/rubygems/version.rb: * Added stricter checking of incoming
|
2297
|
+
Requirement string
|
2298
|
+
|
2299
|
+
* Added unit tests at end of file
|
2300
|
+
|
2301
|
+
2003-11-17 07:32 chadfowler
|
2302
|
+
|
2303
|
+
* bin/: gem_server, gem_server.cgi: Refactored gem_server program
|
2304
|
+
and added an equivalent CGI version.
|
2305
|
+
|
2306
|
+
2003-11-17 00:14 rich
|
2307
|
+
|
2308
|
+
* lib/: rubygems.rb, rubygems/builder.rb, rubygems/cache.rb: added
|
2309
|
+
rdoc documentation
|
2310
|
+
|
2311
|
+
2003-11-16 17:15 chadfowler
|
2312
|
+
|
2313
|
+
* bin/: gem.cmd, gem_server.cmd: Added some batch files for Windows
|
2314
|
+
|
2315
|
+
2003-11-16 17:08 rich
|
2316
|
+
|
2317
|
+
* install.rb, bin/gem, bin/gem_server, example/test.gemspec,
|
2318
|
+
example/lib/test.rb, example/lib/test/wow.rb, lib/rubygems.rb,
|
2319
|
+
lib/rubygems/builder.rb, lib/rubygems/cache.rb,
|
2320
|
+
lib/rubygems/installer.rb, lib/rubygems/remote_installer.rb,
|
2321
|
+
lib/rubygems/specification.rb, lib/rubygems/version.rb,
|
2322
|
+
test/test_remote_installer.rb: Initial import developed at
|
2323
|
+
RubyConf 2003 by:
|
2324
|
+
|
2325
|
+
Rich Kilmer Chad Fowler David Black Paul Brannon Jim Weirich
|
2326
|
+
|
2327
|
+
2003-11-16 17:08 rich
|
2328
|
+
|
2329
|
+
* install.rb, bin/gem, bin/gem_server, example/test.gemspec,
|
2330
|
+
example/lib/test.rb, example/lib/test/wow.rb, lib/rubygems.rb,
|
2331
|
+
lib/rubygems/builder.rb, lib/rubygems/cache.rb,
|
2332
|
+
lib/rubygems/installer.rb, lib/rubygems/remote_installer.rb,
|
2333
|
+
lib/rubygems/specification.rb, lib/rubygems/version.rb,
|
2334
|
+
test/test_remote_installer.rb: Initial revision
|
2335
|
+
|