slimgems 1.3.8 → 1.3.9
Sign up to get free protection for your applications and to get access to all the features.
- data/History.txt +8 -1
- data/lib/rubygems.rb +1 -1
- data/lib/rubygems/commands/setup_command.rb +3 -3
- data/test/test_gem_silent_ui.rb +3 -4
- metadata +8 -85
data/History.txt
CHANGED
@@ -1,4 +1,11 @@
|
|
1
|
-
=== 1.3.
|
1
|
+
=== 1.3.9 / 2011-06-01
|
2
|
+
|
3
|
+
SlimGems is reborn! SlimGems is a fork of RubyGems, see README.md for more.
|
4
|
+
|
5
|
+
This release fixes some minor issues in installing SlimGems in certain
|
6
|
+
environments.
|
7
|
+
|
8
|
+
=== 1.3.8 / 2011-06-01
|
2
9
|
|
3
10
|
SlimGems is born! SlimGems is a fork of RubyGems, see README.md for more.
|
4
11
|
|
data/lib/rubygems.rb
CHANGED
@@ -222,10 +222,10 @@ TEXT
|
|
222
222
|
backup_dir = File.join(lib_dir, 'rubygems-backup')
|
223
223
|
rm_rf(backup_dir) if File.directory?(backup_dir)
|
224
224
|
mkdir_p(backup_dir)
|
225
|
-
|
226
|
-
File.join(lib_dir, f)
|
225
|
+
%w(rubygems rubygems.rb ubygems.rb gauntlet_rubygems.rb).each do |f|
|
226
|
+
path = File.join(lib_dir, f)
|
227
|
+
mv(path, backup_dir) if File.exist?(path)
|
227
228
|
end
|
228
|
-
mv(list, backup_dir)
|
229
229
|
end
|
230
230
|
|
231
231
|
def install_lib(lib_dir)
|
data/test/test_gem_silent_ui.rb
CHANGED
@@ -1,8 +1,7 @@
|
|
1
|
-
require 'rubygems/test_case'
|
2
1
|
require 'rubygems/user_interaction'
|
3
2
|
require 'timeout'
|
4
3
|
|
5
|
-
class TestGemSilentUI <
|
4
|
+
class TestGemSilentUI < RubyGemTestCase
|
6
5
|
|
7
6
|
def setup
|
8
7
|
super
|
@@ -49,7 +48,7 @@ class TestGemSilentUI < Gem::TestCase
|
|
49
48
|
|
50
49
|
assert_empty out, 'No output'
|
51
50
|
assert_empty err, 'No output'
|
52
|
-
|
51
|
+
|
53
52
|
out, err = capture_io do
|
54
53
|
use_ui @sui do
|
55
54
|
value = @sui.ask_yes_no 'Problem?', true
|
@@ -60,7 +59,7 @@ class TestGemSilentUI < Gem::TestCase
|
|
60
59
|
assert_empty err, 'No output'
|
61
60
|
|
62
61
|
assert value, 'Value is true'
|
63
|
-
|
62
|
+
|
64
63
|
out, err = capture_io do
|
65
64
|
use_ui @sui do
|
66
65
|
value = @sui.ask_yes_no 'Problem?', false
|
metadata
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
name: slimgems
|
3
3
|
version: !ruby/object:Gem::Version
|
4
4
|
prerelease:
|
5
|
-
version: 1.3.
|
5
|
+
version: 1.3.9
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
8
8
|
- Jim Weirich
|
@@ -13,19 +13,11 @@ autorequire:
|
|
13
13
|
bindir: bin
|
14
14
|
cert_chain: []
|
15
15
|
|
16
|
-
date: 2011-06-
|
16
|
+
date: 2011-06-02 00:00:00 -04:00
|
17
17
|
default_executable:
|
18
18
|
dependencies: []
|
19
19
|
|
20
20
|
description: |
|
21
|
-
# SlimGems
|
22
|
-
|
23
|
-
* Website: http://slimgems.github.com/
|
24
|
-
* Github: http://github.com/slimgems/slimgems
|
25
|
-
* Get gems from: http://rubygems.org
|
26
|
-
|
27
|
-
## Description
|
28
|
-
|
29
21
|
SlimGems is a drop-in replacement for RubyGems, a package management framework
|
30
22
|
for Ruby. We forked the project at 1.3.7, which was a great stable release.
|
31
23
|
|
@@ -34,77 +26,6 @@ description: |
|
|
34
26
|
into the current API functionality for the forseeable future. We will also
|
35
27
|
continue to improve the runtime performance over time; we can do this
|
36
28
|
without changing the API.
|
37
|
-
|
38
|
-
## Project Goals
|
39
|
-
|
40
|
-
1. A fast package manager that "Just Works". We will attempt to make SlimGems
|
41
|
-
as fast as possible and believe it can be done without breaking the existing
|
42
|
-
API.
|
43
|
-
|
44
|
-
2. A consistent and stable API. Deprecations will not occur without ample
|
45
|
-
warning to library developers *before* a release. Deprecations will not
|
46
|
-
necessarily mean removed methods or runtime warnings, and we will consult
|
47
|
-
with the community if widely used APIs ever need to be removed.
|
48
|
-
|
49
|
-
3. Receptive and friendly project maintainers. We will listen to your bugs
|
50
|
-
and suggestions without deriding you. We believe the community deserves
|
51
|
-
a voice in matters that affect package management tools, and we respect
|
52
|
-
that voice.
|
53
|
-
|
54
|
-
4. Improved communication with the community about future plans. We believe
|
55
|
-
it's important to keep the community informed about major changes. We will
|
56
|
-
discuss our rationale for any changes that might cause problems for other
|
57
|
-
library developers.
|
58
|
-
|
59
|
-
## What Do I Have to do Differently to Use SlimGems?
|
60
|
-
|
61
|
-
Nothing. We maintain the same install paths, APIs and overall runtime environment
|
62
|
-
that RubyGems had. The only difference is that we have no intention on changing
|
63
|
-
this environment in future upgrades. You can upgrade safely knowing that the
|
64
|
-
newer versions of SlimGems will still be compatible with all of your code.
|
65
|
-
|
66
|
-
In short, yes, "require 'rubygems'" still works.
|
67
|
-
|
68
|
-
## Installing and Upgrading
|
69
|
-
|
70
|
-
If you're on RubyGems, you can easily upgrade to SlimGems by typing:
|
71
|
-
|
72
|
-
$ gem install slimgems
|
73
|
-
|
74
|
-
You can do this from SlimGems too, but if you have SlimGems already, upgrading
|
75
|
-
works better with:
|
76
|
-
|
77
|
-
$ gem update --system
|
78
|
-
|
79
|
-
If you don't have any RubyGems or SlimGems install, there is still the pre-gem
|
80
|
-
approach to getting software, doing it manually:
|
81
|
-
|
82
|
-
1. Download from: http://github.com/slimgems/slimgems
|
83
|
-
2. Unpack into a directory and cd there
|
84
|
-
3. Install with: ruby setup.rb # you may need admin/root privilege
|
85
|
-
|
86
|
-
For more details and other options, see:
|
87
|
-
|
88
|
-
ruby setup.rb --help
|
89
|
-
|
90
|
-
## Uninstalling
|
91
|
-
|
92
|
-
If SlimGems isn't for you, you can downgrade back to RubyGems by performing
|
93
|
-
the following intuitive command:
|
94
|
-
|
95
|
-
$ gem uninstall slimgems
|
96
|
-
|
97
|
-
Again, you might need to have administrator privileges (sudo) to run these
|
98
|
-
commands.
|
99
|
-
|
100
|
-
## Notes about this SlimGems Fork
|
101
|
-
|
102
|
-
SlimGems is a RubyGems fork of RubyGems 1.3.7 and a limited set of backports
|
103
|
-
from 1.5.2. SlimGems is maintained by Loren Segal and others. SlimGems will
|
104
|
-
provide continual improvements with a stable API.
|
105
|
-
|
106
|
-
You can download the original RubyGems project at
|
107
|
-
http://rubyforge.org/projects/rubygems
|
108
29
|
|
109
30
|
email: lsegal@soen.ca
|
110
31
|
executables:
|
@@ -299,12 +220,14 @@ files:
|
|
299
220
|
- Rakefile
|
300
221
|
- ChangeLog
|
301
222
|
has_rdoc: true
|
302
|
-
homepage: http://
|
223
|
+
homepage: http://slimgems.github.com
|
303
224
|
licenses: []
|
304
225
|
|
305
|
-
post_install_message: "Upgraded from
|
306
|
-
\xEF\xBB\xBF=== 1.3.
|
307
|
-
SlimGems is
|
226
|
+
post_install_message: "Upgraded from RubyGems to SlimGems 1.3.9\n\
|
227
|
+
\xEF\xBB\xBF=== 1.3.9 / 2011-06-01\n\n\
|
228
|
+
SlimGems is reborn! SlimGems is a fork of RubyGems, see README.md for more.\n\n\
|
229
|
+
This release fixes some minor issues in installing SlimGems in certain \n\
|
230
|
+
environments.\n\n"
|
308
231
|
rdoc_options: []
|
309
232
|
|
310
233
|
require_paths:
|