pik 0.2.4 → 0.2.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- data/History.txt +12 -0
- data/Manifest.txt +2 -0
- data/Rakefile +4 -2
- data/features/add_command.feature +2 -2
- data/features/config_command.feature +1 -1
- data/features/default_command.feature +3 -4
- data/features/env.rb +2 -4
- data/features/list_command.feature +1 -1
- data/features/remove_command.feature +2 -9
- data/features/run_command.feature +4 -4
- data/features/step_definitions/pik_commands.rb +4 -0
- data/features/switch_command.feature +14 -1
- data/features/uninstall_command.feature +13 -0
- data/lib/pik.rb +11 -4
- data/lib/pik/commands/add_command.rb +8 -8
- data/lib/pik/commands/batch_file_editor.rb +16 -26
- data/lib/pik/commands/implode_command.rb +2 -2
- data/lib/pik/commands/install_command.rb +4 -4
- data/lib/pik/commands/remove_command.rb +6 -3
- data/lib/pik/commands/uninstall_command.rb +39 -0
- data/lib/pik/implementations.rb +13 -8
- data/spec/html/jruby.htm +182 -184
- data/spec/implementations_spec.rb +2 -2
- data/spec/remove_command_spec.rb +9 -1
- data/tools/pik/pik_runner.exe +0 -0
- data/tools/pik/pik_runner.exy +131 -64
- metadata +4 -2
data/spec/html/jruby.htm
CHANGED
@@ -1,186 +1,184 @@
|
|
1
|
-
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
2
|
-
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
3
|
-
|
4
|
-
<
|
5
|
-
<
|
6
|
-
|
7
|
-
|
8
|
-
<title
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
<
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
<
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
<
|
52
|
-
|
53
|
-
|
54
|
-
|
55
|
-
|
56
|
-
|
57
|
-
|
58
|
-
|
59
|
-
|
60
|
-
<a href="/documentation">Documentation</a>
|
61
|
-
</li>
|
62
|
-
<li id="page_14" class="depth-1 last">
|
63
|
-
<a href="/contribute">Contribute</a>
|
64
|
-
</li>
|
65
|
-
</ul>
|
1
|
+
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
|
2
|
+
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
|
3
|
+
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
|
4
|
+
<head>
|
5
|
+
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
|
6
|
+
<title>JRuby.org :: Downloads</title>
|
7
|
+
<link rel="shortcut icon" href="/favicon.ico" />
|
8
|
+
<link rel="alternate" href="http://www.jruby.org/atom.xml" title="JRuby.org News" type="application/atom+xml"/>
|
9
|
+
<link rel="stylesheet" href="/stylesheets/main.css" type="text/css" media="screen" title="no title" charset="utf-8" />
|
10
|
+
<!--[if IE 7]><link rel="stylesheet" href="/stylesheets/ie7_hacks.css" type="text/css" media="screen" title="no title" charset="utf-8" /><![endif]-->
|
11
|
+
<!--[if IE 6]><link rel="stylesheet" href="/stylesheets/ie6_hacks.css" type="text/css" media="screen" title="no title" charset="utf-8" /><![endif]-->
|
12
|
+
<script src="/javascripts/jquery.js" type="text/javascript"></script>
|
13
|
+
|
14
|
+
</head>
|
15
|
+
<body>
|
16
|
+
<div id="main_nav">
|
17
|
+
<div class="wrapper">
|
18
|
+
<div id="menu" class="menu">
|
19
|
+
<ul>
|
20
|
+
<li id="page_1" class="depth-1 first on">
|
21
|
+
<a href="/">Home</a>
|
22
|
+
</li>
|
23
|
+
<li id="page_5" class="depth-1">
|
24
|
+
<a href="/news">News</a>
|
25
|
+
</li>
|
26
|
+
<li id="page_8" class="depth-1">
|
27
|
+
<a href="/download">Download</a>
|
28
|
+
</li>
|
29
|
+
<li id="page_10" class="depth-1">
|
30
|
+
<a href="/getting-started">Getting Started</a>
|
31
|
+
</li>
|
32
|
+
<li id="page_9" class="depth-1">
|
33
|
+
<a href="/community">Community</a>
|
34
|
+
</li>
|
35
|
+
<li id="page_13" class="depth-1">
|
36
|
+
<a href="/documentation">Documentation</a>
|
37
|
+
</li>
|
38
|
+
<li id="page_14" class="depth-1 last">
|
39
|
+
<a href="/contribute">Contribute</a>
|
40
|
+
</li>
|
41
|
+
</ul>
|
42
|
+
</div>
|
43
|
+
</div>
|
44
|
+
</div>
|
45
|
+
|
46
|
+
<div id="container">
|
47
|
+
<div id="header">
|
48
|
+
<a href="/"><img src="/images/white_header_logo.png"></a>
|
49
|
+
<h1>JRuby: 100% Pure-Java Implementation of the Ruby Programming Language.</h1>
|
50
|
+
|
51
|
+
<div id="latest_release">
|
52
|
+
<p>Latest release - 1.4.0RC3</p>
|
53
|
+
<p><a href="/download">View Release Notes</a></p>
|
54
|
+
<p>Download:
|
55
|
+
<a href="http://jruby.kenai.com/downloads/1.4.0RC3/jruby-bin-1.4.0RC3.tar.gz">tar</a>,
|
56
|
+
<a href="http://jruby.kenai.com/downloads/1.4.0RC3/jruby-bin-1.4.0RC3.zip">zip</a>,
|
57
|
+
<a href="http://jruby.kenai.com/downloads/1.4.0RC3/jruby_windows_1_4_0RC3.exe">exe</a>,
|
58
|
+
<a href="http://jruby.kenai.com/downloads/1.4.0RC3/jruby_windowsjre_1_4_0RC3.exe">exe+jre</a>
|
59
|
+
</p>
|
66
60
|
</div>
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
84
|
-
|
85
|
-
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
91
|
-
|
92
|
-
|
93
|
-
|
94
|
-
|
95
|
-
|
96
|
-
<
|
97
|
-
<
|
98
|
-
|
99
|
-
<
|
100
|
-
|
101
|
-
<
|
102
|
-
|
103
|
-
<
|
104
|
-
|
105
|
-
|
106
|
-
|
107
|
-
|
108
|
-
<
|
109
|
-
|
110
|
-
<
|
111
|
-
|
112
|
-
|
113
|
-
|
114
|
-
|
115
|
-
|
116
|
-
|
117
|
-
<
|
118
|
-
|
119
|
-
<
|
120
|
-
|
121
|
-
<
|
122
|
-
|
123
|
-
<
|
124
|
-
|
125
|
-
<
|
126
|
-
|
127
|
-
|
128
|
-
|
129
|
-
<
|
130
|
-
|
131
|
-
<
|
132
|
-
|
133
|
-
|
134
|
-
<
|
135
|
-
|
136
|
-
|
137
|
-
|
138
|
-
|
139
|
-
|
140
|
-
|
141
|
-
|
142
|
-
|
143
|
-
|
144
|
-
</
|
145
|
-
|
146
|
-
|
147
|
-
|
148
|
-
|
149
|
-
<
|
150
|
-
|
151
|
-
|
152
|
-
|
153
|
-
|
154
|
-
|
155
|
-
|
156
|
-
|
157
|
-
<
|
158
|
-
<p
|
159
|
-
|
160
|
-
|
161
|
-
<
|
162
|
-
|
163
|
-
|
164
|
-
|
165
|
-
|
166
|
-
|
167
|
-
|
168
|
-
|
169
|
-
|
170
|
-
|
171
|
-
|
172
|
-
|
173
|
-
|
174
|
-
|
175
|
-
|
61
|
+
|
62
|
+
</div>
|
63
|
+
<div id="content">
|
64
|
+
<div id="white">
|
65
|
+
<div class="body">
|
66
|
+
<h1 id='jruby_downloads'>JRuby Downloads</h1>
|
67
|
+
|
68
|
+
<h2 id='current_release_jruby_140rc3'>Current Release: JRuby 1.4.0RC3</h2>
|
69
|
+
|
70
|
+
<p>JRuby 1.4.0RC3 is the third release candidate in the series leading to the 1.4.0 release.</p>
|
71
|
+
|
72
|
+
<ul>
|
73
|
+
<li>Now Compatible with Ruby 1.8.7</li>
|
74
|
+
|
75
|
+
<li>New windows installer</li>
|
76
|
+
|
77
|
+
<li>New embedding api</li>
|
78
|
+
|
79
|
+
<li>Improved 1.9 support</li>
|
80
|
+
|
81
|
+
<li><a href='/2009/10/28/jruby-1-4-0-rc3'>Full release notes</a></li>
|
82
|
+
</ul>
|
83
|
+
|
84
|
+
<p><a href='http://jruby.kenai.com/downloads/1.4.0RC3/jruby-bin-1.4.0RC3.tar.gz'>JRuby 1.4.0RC3 Binary .tar.gz</a> (<a href='http://jruby.kenai.com/downloads/1.4.0RC3/jruby-bin-1.4.0RC3.tar.gz.md5'>md5</a>, <a href='http://jruby.kenai.com/downloads/1.4.0RC3/jruby-bin-1.4.0RC3.tar.gz.sha1'>sha1</a>)<br /> <a href='http://jruby.kenai.com/downloads/1.4.0RC3/jruby-bin-1.4.0RC3.zip'>JRuby 1.4.0RC3 Binary .zip</a> (<a href='http://jruby.kenai.com/downloads/1.4.0RC3/jruby-bin-1.4.0RC3.zip.md5'>md5</a>, <a href='http://jruby.kenai.com/downloads/1.4.0RC3/jruby-bin-1.4.0RC3.zip.sha1'>sha1</a>)<br /> <a href='http://jruby.kenai.com/downloads/1.4.0RC3/jruby_windows_1_4_0RC3.exe'>JRuby 1.4.0RC3 Windows Executable</a> (<a href='http://jruby.kenai.com/downloads/1.4.0RC3/jruby_windows_1_4_0RC3.exe.md5'>md5</a>, <a href='http://jruby.kenai.com/downloads/1.4.0RC3/jruby_windows_1_4_0RC3.exe.sha1'>sha1</a>)<br /> <a href='http://jruby.kenai.com/downloads/1.4.0RC3/jruby_windowsjre_1_4_0RC3.exe'>JRuby 1.4.0RC3 Windows Executable+JRE</a> (<a href='http://jruby.kenai.com/downloads/1.4.0RC3/jruby_windowsjre_1_4_0RC3.exe.md5'>md5</a>, <a href='http://jruby.kenai.com/downloads/1.4.0RC3/jruby_windowsjre_1_4_0RC3.exe.sha1'>sha1</a>)<br /> <a href='http://jruby.kenai.com/downloads/1.4.0RC3/jruby-src-1.4.0RC3.tar.gz'>JRuby 1.4.0RC3 Source .tar.gz</a> (<a href='http://jruby.kenai.com/downloads/1.4.0RC3/jruby-src-1.4.0RC3.tar.gz.md5'>md5</a>, <a href='http://jruby.kenai.com/downloads/1.4.0RC3/jruby-src-1.4.0RC3.tar.gz.sha1'>sha1</a>)<br /> <a href='http://jruby.kenai.com/downloads/1.4.0RC3/jruby-src-1.4.0RC3.zip'>JRuby 1.4.0RC3 Source .zip</a> (<a href='http://jruby.kenai.com/downloads/1.4.0RC3/jruby-src-1.4.0RC3.zip.md5'>md5</a>, <a href='http://jruby.kenai.com/downloads/1.4.0RC3/jruby-src-1.4.0RC3.zip.sha1'>sha1</a>)<br /> <a href='http://jruby.kenai.com/downloads/1.4.0RC3/jruby-complete-1.4.0RC3.jar'>JRuby 1.4.0RC3 Complete .jar</a> (<a href='http://jruby.kenai.com/downloads/1.4.0RC3/jruby-complete-1.4.0RC3.jar.md5'>md5</a>, <a href='http://jruby.kenai.com/downloads/1.4.0RC3/jruby-complete-1.4.0RC3.jar.sha1'>sha1</a>)<br /></p>
|
85
|
+
|
86
|
+
<h2 id='previous_release_jruby_131'>Previous Release: JRuby 1.3.1</h2>
|
87
|
+
|
88
|
+
<p>JRuby 1.3.1 is a minor bug fix release which:</p>
|
89
|
+
|
90
|
+
<ul>
|
91
|
+
<li>Fixes a recently discovered security bug in BigDecimal</li>
|
92
|
+
|
93
|
+
<li>Fixes a regression in timeout (0-1 second timeouts truncate to 0)</li>
|
94
|
+
|
95
|
+
<li>Fixes a regression Thread.wakeup where the thread would not wake up</li>
|
96
|
+
|
97
|
+
<li><a href='/2009/06/15/jruby-1-3-1'>Full release notes</a></li>
|
98
|
+
</ul>
|
99
|
+
|
100
|
+
<p><a href='http://jruby.kenai.com/downloads/1.3.1/jruby-bin-1.3.1.tar.gz'>JRuby 1.3.1 Binary .tar.gz</a> (<a href='http://jruby.kenai.com/downloads/1.3.1/jruby-bin-1.3.1.tar.gz.md5'>md5</a>, <a href='http://jruby.kenai.com/downloads/1.3.1/jruby-bin-1.3.1.tar.gz.sha1'>sha1</a>)<br /> <a href='http://jruby.kenai.com/downloads/1.3.1/jruby-bin-1.3.1.zip'>JRuby 1.3.1 Binary .zip</a> (<a href='http://jruby.kenai.com/downloads/1.3.1/jruby-bin-1.3.1.zip.md5'>md5</a>, <a href='http://jruby.kenai.com/downloads/1.3.1/jruby-bin-1.3.1.zip.sha1'>sha1</a>)<br /> <a href='http://jruby.kenai.com/downloads/1.3.1/jruby-src-1.3.1.tar.gz'>JRuby 1.3.1 Source .tar.gz</a> (<a href='http://jruby.kenai.com/downloads/1.3.1/jruby-src-1.3.1.tar.gz.md5'>md5</a>, <a href='http://jruby.kenai.com/downloads/1.3.1/jruby-src-1.3.1.tar.gz.sha1'>sha1</a>)<br /> <a href='http://jruby.kenai.com/downloads/1.3.1/jruby-src-1.3.1.zip'>JRuby 1.3.1 Source .zip</a> (<a href='http://jruby.kenai.com/downloads/1.3.1/jruby-src-1.3.1.zip.md5'>md5</a>, <a href='http://jruby.kenai.com/downloads/1.3.1/jruby-src-1.3.1.zip.sha1'>sha1</a>)<br /> <a href='http://jruby.kenai.com/downloads/1.3.1/jruby-complete-1.3.1.jar'>JRuby 1.3.1 Complete .jar</a> (<a href='http://jruby.kenai.com/downloads/1.3.1/jruby-complete-1.3.1.jar.md5'>md5</a>, <a href='http://jruby.kenai.com/downloads/1.3.1/jruby-complete-1.3.1.jar.sha1'>sha1</a>)<br /></p>
|
101
|
+
|
102
|
+
<h2 id='previous_release_jruby_130'>Previous Release: JRuby 1.3.0</h2>
|
103
|
+
|
104
|
+
<p>The fixes in this release are primarily obvious compatibility problems and performance enhancements. Our goal is to put out point releases more frequently for the next several months (about 3-4 weeks a release). We want a more rapid release cycle to better address issues brought up by users of JRuby.</p>
|
105
|
+
|
106
|
+
<p><a href='http://jruby.kenai.com/downloads/1.3.0/jruby-bin-1.3.0.tar.gz'>JRuby 1.3.0 Binary .tar.gz</a> (<a href='http://jruby.kenai.com/downloads/1.3.0/jruby-bin-1.3.0.tar.gz.md5'>md5</a>, <a href='http://jruby.kenai.com/downloads/1.3.0/jruby-bin-1.3.0.tar.gz.sha1'>sha1</a>)<br /> <a href='http://jruby.kenai.com/downloads/1.3.0/jruby-bin-1.3.0.zip'>JRuby 1.3.0 Binary .zip</a> (<a href='http://jruby.kenai.com/downloads/1.3.0/jruby-bin-1.3.0.zip.md5'>md5</a>, <a href='http://jruby.kenai.com/downloads/1.3.0/jruby-bin-1.3.0.zip.sha1'>sha1</a>)<br /> <a href='http://jruby.kenai.com/downloads/1.3.0/jruby-src-1.3.0.tar.gz'>JRuby 1.3.0 Source .tar.gz</a> (<a href='http://jruby.kenai.com/downloads/1.3.0/jruby-src-1.3.0.tar.gz.md5'>md5</a>, <a href='http://jruby.kenai.com/downloads/1.3.0/jruby-src-1.3.0.tar.gz.sha1'>sha1</a>)<br /> <a href='http://jruby.kenai.com/downloads/1.3.0/jruby-src-1.3.0.zip'>JRuby 1.3.0 Source .zip</a> (<a href='http://jruby.kenai.com/downloads/1.3.0/jruby-src-1.3.0.zip.md5'>md5</a>, <a href='http://jruby.kenai.com/downloads/1.3.0/jruby-src-1.3.0.zip.sha1'>sha1</a>)<br /> <a href='http://jruby.kenai.com/downloads/1.3.0/jruby-complete-1.3.0.jar'>JRuby 1.3.0 Complete .jar</a> (<a href='http://jruby.kenai.com/downloads/1.3.0/jruby-complete-1.3.0.jar.md5'>md5</a>, <a href='http://jruby.kenai.com/downloads/1.3.0/jruby-complete-1.3.0.jar.sha1'>sha1</a>)<br /></p>
|
107
|
+
|
108
|
+
<p>Highlights:</p>
|
109
|
+
|
110
|
+
<ul>
|
111
|
+
<li>Fixes so that JRuby runs in restricted environments better like GAE/J</li>
|
112
|
+
|
113
|
+
<li>Accessing primitive Java arrays are about 10x faster</li>
|
114
|
+
|
115
|
+
<li>timeout.rb is now ~40% faster</li>
|
116
|
+
|
117
|
+
<li>Method cache performance improvements</li>
|
118
|
+
|
119
|
+
<li>irb works in <code>--1.9</code> mode now</li>
|
120
|
+
|
121
|
+
<li>Additional Miscellaneous 1.9 fixes</li>
|
122
|
+
|
123
|
+
<li>rubygems 1.3.3, rake 0.8.7, and rspec 1.2.6 upgrades</li>
|
124
|
+
|
125
|
+
<li>66 bugs fixed since 1.2.0</li>
|
126
|
+
</ul>
|
127
|
+
|
128
|
+
<h2 id='previous_release_jruby_120'>Previous Release: JRuby 1.2.0</h2>
|
129
|
+
|
130
|
+
<p>JRuby 1.2.0 has fixed many many compatibility issues and continued to improve general performance. Due to popular demand we have a new versioning system. 1.x.y was our old number system where x was the major release and y was the minor release. Our new system just chops off the vestigial ‘1.’ from the front. 1.3, 1.4, …, 1.x will just be minor releases of our current major release.</p>
|
131
|
+
|
132
|
+
<p><a href='http://jruby.kenai.com/downloads/1.2.0/jruby-bin-1.2.0.tar.gz'>JRuby 1.2.0 Binary .tar.gz</a> (<a href='http://jruby.kenai.com/downloads/1.2.0/jruby-bin-1.2.0.tar.gz.md5'>md5</a>, <a href='http://jruby.kenai.com/downloads/1.2.0/jruby-bin-1.2.0.tar.gz.sha1'>sha1</a>)<br /> <a href='http://jruby.kenai.com/downloads/1.2.0/jruby-bin-1.2.0.zip'>JRuby 1.2.0 Binary .zip</a> (<a href='http://jruby.kenai.com/downloads/1.2.0/jruby-bin-1.2.0.zip.md5'>md5</a>, <a href='http://jruby.kenai.com/downloads/1.2.0/jruby-bin-1.2.0.zip.sha1'>sha1</a>)<br /> <a href='http://jruby.kenai.com/downloads/1.2.0/jruby-src-1.2.0.tar.gz'>JRuby 1.2.0 Source .tar.gz</a> (<a href='http://jruby.kenai.com/downloads/1.2.0/jruby-src-1.2.0.tar.gz.md5'>md5</a>, <a href='http://jruby.kenai.com/downloads/1.2.0/jruby-src-1.2.0.tar.gz.sha1'>sha1</a>)<br /> <a href='http://jruby.kenai.com/downloads/1.2.0/jruby-src-1.2.0.zip'>JRuby 1.2.0 Source .zip</a> (<a href='http://jruby.kenai.com/downloads/1.2.0/jruby-src-1.2.0.zip.md5'>md5</a>, <a href='http://jruby.kenai.com/downloads/1.2.0/jruby-src-1.2.0.zip.sha1'>sha1</a>)<br /></p>
|
133
|
+
|
134
|
+
<p>Highlights:</p>
|
135
|
+
|
136
|
+
<ul>
|
137
|
+
<li>
|
138
|
+
<p>Improved Ruby 1.9 support (via <code>--1.9</code>)</p>
|
139
|
+
|
140
|
+
<ul>
|
141
|
+
<li>Compiler now works</li>
|
142
|
+
|
143
|
+
<li>Almost all of the missing 1.9 methods have been added</li>
|
144
|
+
</ul>
|
145
|
+
</li>
|
146
|
+
|
147
|
+
<li>
|
148
|
+
<p>New experimental –fast flag which does more aggressive optimizations</p>
|
149
|
+
</li>
|
150
|
+
|
151
|
+
<li>
|
152
|
+
<p>Large scale compiler and runtime cleanup and performance audit</p>
|
153
|
+
</li>
|
154
|
+
|
155
|
+
<li>
|
156
|
+
<p>Parsing is 3-6x faster now.</p>
|
157
|
+
</li>
|
158
|
+
|
159
|
+
<li>
|
160
|
+
<p>Preliminary android support (Ruboto)</p>
|
161
|
+
</li>
|
162
|
+
|
163
|
+
<li>
|
164
|
+
<p>Rails pathname issue fixed on Windows</p>
|
165
|
+
</li>
|
166
|
+
|
167
|
+
<li>
|
168
|
+
<p>Major bug triage since last release</p>
|
169
|
+
</li>
|
170
|
+
|
171
|
+
<li>
|
172
|
+
<p>1052 revisions since 1.1.6</p>
|
173
|
+
</li>
|
174
|
+
|
175
|
+
<li>
|
176
|
+
<p>256 bugs fixed since 1.1.6</p>
|
177
|
+
</li>
|
176
178
|
</ul>
|
177
|
-
|
178
|
-
|
179
|
-
|
180
|
-
|
181
|
-
|
182
|
-
|
183
|
-
|
184
|
-
|
185
|
-
</body>
|
186
|
-
</html>
|
179
|
+
</div>
|
180
|
+
</div>
|
181
|
+
</div>
|
182
|
+
</div>
|
183
|
+
</body>
|
184
|
+
</html>
|
@@ -116,8 +116,8 @@ describe Pik::Implementations::JRuby do
|
|
116
116
|
versions = @jruby.versions
|
117
117
|
versions.should be_a(Hash)
|
118
118
|
versions.should include('1.3.0')
|
119
|
-
versions.should include('1.4.
|
120
|
-
versions['1.4.
|
119
|
+
versions.should include('1.4.0RC3')
|
120
|
+
versions['1.4.0RC3'].should eql( "http://jruby.kenai.com/downloads/1.4.0RC3/jruby-bin-1.4.0RC3.zip" )
|
121
121
|
end
|
122
122
|
|
123
123
|
end
|
data/spec/remove_command_spec.rb
CHANGED
@@ -12,8 +12,16 @@ describe Pik::Remove do
|
|
12
12
|
cmd.force.should be_true
|
13
13
|
end
|
14
14
|
|
15
|
+
it "should have a 'quiet' option" do
|
16
|
+
cmd = Pik::Remove.new(['--quiet'])
|
17
|
+
cmd.quiet.should be_true
|
18
|
+
|
19
|
+
cmd = Pik::Remove.new(['-q'])
|
20
|
+
cmd.quiet.should be_true
|
21
|
+
end
|
22
|
+
|
15
23
|
it "should remove items from the config" do
|
16
|
-
cmd = Pik::Remove.new(['a', '-f'], {
|
24
|
+
cmd = Pik::Remove.new(['a', '-f', '-q'], {
|
17
25
|
'a' => {:path => 'C:/ruby/bin', :gem_home => 'C:/users/rupert/.gems'},
|
18
26
|
'b' => {:path => 'C:/Ruby19/bin'}
|
19
27
|
}
|
data/tools/pik/pik_runner.exe
CHANGED
Binary file
|
data/tools/pik/pik_runner.exy
CHANGED
@@ -2,73 +2,101 @@
|
|
2
2
|
file:
|
3
3
|
./../../lib/pik.rb:
|
4
4
|
English.rb:
|
5
|
-
file: c:/ruby/186-
|
5
|
+
file: c:/ruby/Ruby-186-p383/lib/ruby/1.8/English.rb
|
6
6
|
Win32API.so:
|
7
|
-
file: c:/ruby/186-
|
7
|
+
file: c:/ruby/Ruby-186-p383/lib/ruby/1.8/i386-mingw32/Win32API.so
|
8
8
|
type: extension-library
|
9
9
|
abbrev.rb:
|
10
|
-
file: c:/ruby/186-
|
10
|
+
file: c:/ruby/Ruby-186-p383/lib/ruby/1.8/abbrev.rb
|
11
11
|
cgi.rb:
|
12
|
-
file: c:/ruby/186-
|
12
|
+
file: c:/ruby/Ruby-186-p383/lib/ruby/1.8/cgi.rb
|
13
13
|
date.rb:
|
14
|
-
file: c:/ruby/186-
|
14
|
+
file: c:/ruby/Ruby-186-p383/lib/ruby/1.8/date.rb
|
15
15
|
date/format.rb:
|
16
|
-
file: c:/ruby/186-
|
16
|
+
file: c:/ruby/Ruby-186-p383/lib/ruby/1.8/date/format.rb
|
17
17
|
delegate.rb:
|
18
|
-
file: c:/ruby/186-
|
18
|
+
file: c:/ruby/Ruby-186-p383/lib/ruby/1.8/delegate.rb
|
19
19
|
erb.rb:
|
20
|
-
file: c:/ruby/186-
|
20
|
+
file: c:/ruby/Ruby-186-p383/lib/ruby/1.8/erb.rb
|
21
21
|
etc.so:
|
22
|
-
file: c:/ruby/186-
|
22
|
+
file: c:/ruby/Ruby-186-p383/lib/ruby/1.8/i386-mingw32/etc.so
|
23
|
+
type: extension-library
|
24
|
+
fast_xs.so:
|
25
|
+
file: c:/ruby/Ruby-186-p383/lib/ruby/gems/1.8/gems/hpricot-0.8.1/lib/fast_xs.so
|
23
26
|
type: extension-library
|
24
27
|
fcntl.so:
|
25
|
-
file: c:/ruby/186-
|
28
|
+
file: c:/ruby/Ruby-186-p383/lib/ruby/1.8/i386-mingw32/fcntl.so
|
26
29
|
type: extension-library
|
27
30
|
fileutils.rb:
|
28
|
-
file: c:/ruby/186-
|
31
|
+
file: c:/ruby/Ruby-186-p383/lib/ruby/1.8/fileutils.rb
|
29
32
|
highline.rb:
|
30
|
-
file: c:/ruby/186-
|
33
|
+
file: c:/ruby/Ruby-186-p383/lib/ruby/gems/1.8/gems/highline-1.5.1/lib/highline.rb
|
31
34
|
highline/color_scheme.rb:
|
32
|
-
file: c:/ruby/186-
|
35
|
+
file: c:/ruby/Ruby-186-p383/lib/ruby/gems/1.8/gems/highline-1.5.1/lib/highline/color_scheme.rb
|
33
36
|
highline/compatibility.rb:
|
34
|
-
file: c:/ruby/186-
|
37
|
+
file: c:/ruby/Ruby-186-p383/lib/ruby/gems/1.8/gems/highline-1.5.1/lib/highline/compatibility.rb
|
35
38
|
highline/menu.rb:
|
36
|
-
file: c:/ruby/186-
|
39
|
+
file: c:/ruby/Ruby-186-p383/lib/ruby/gems/1.8/gems/highline-1.5.1/lib/highline/menu.rb
|
37
40
|
highline/question.rb:
|
38
|
-
file: c:/ruby/186-
|
41
|
+
file: c:/ruby/Ruby-186-p383/lib/ruby/gems/1.8/gems/highline-1.5.1/lib/highline/question.rb
|
39
42
|
highline/system_extensions.rb:
|
40
|
-
file: c:/ruby/186-
|
43
|
+
file: c:/ruby/Ruby-186-p383/lib/ruby/gems/1.8/gems/highline-1.5.1/lib/highline/system_extensions.rb
|
44
|
+
hpricot.rb:
|
45
|
+
file: c:/ruby/Ruby-186-p383/lib/ruby/gems/1.8/gems/hpricot-0.8.1/lib/hpricot.rb
|
46
|
+
hpricot/blankslate.rb:
|
47
|
+
file: c:/ruby/Ruby-186-p383/lib/ruby/gems/1.8/gems/hpricot-0.8.1/lib/hpricot/blankslate.rb
|
48
|
+
hpricot/builder.rb:
|
49
|
+
file: c:/ruby/Ruby-186-p383/lib/ruby/gems/1.8/gems/hpricot-0.8.1/lib/hpricot/builder.rb
|
50
|
+
hpricot/elements.rb:
|
51
|
+
file: c:/ruby/Ruby-186-p383/lib/ruby/gems/1.8/gems/hpricot-0.8.1/lib/hpricot/elements.rb
|
52
|
+
hpricot/htmlinfo.rb:
|
53
|
+
file: c:/ruby/Ruby-186-p383/lib/ruby/gems/1.8/gems/hpricot-0.8.1/lib/hpricot/htmlinfo.rb
|
54
|
+
hpricot/inspect.rb:
|
55
|
+
file: c:/ruby/Ruby-186-p383/lib/ruby/gems/1.8/gems/hpricot-0.8.1/lib/hpricot/inspect.rb
|
56
|
+
hpricot/modules.rb:
|
57
|
+
file: c:/ruby/Ruby-186-p383/lib/ruby/gems/1.8/gems/hpricot-0.8.1/lib/hpricot/modules.rb
|
58
|
+
hpricot/parse.rb:
|
59
|
+
file: c:/ruby/Ruby-186-p383/lib/ruby/gems/1.8/gems/hpricot-0.8.1/lib/hpricot/parse.rb
|
60
|
+
hpricot/tag.rb:
|
61
|
+
file: c:/ruby/Ruby-186-p383/lib/ruby/gems/1.8/gems/hpricot-0.8.1/lib/hpricot/tag.rb
|
62
|
+
hpricot/tags.rb:
|
63
|
+
file: c:/ruby/Ruby-186-p383/lib/ruby/gems/1.8/gems/hpricot-0.8.1/lib/hpricot/tags.rb
|
64
|
+
hpricot/traverse.rb:
|
65
|
+
file: c:/ruby/Ruby-186-p383/lib/ruby/gems/1.8/gems/hpricot-0.8.1/lib/hpricot/traverse.rb
|
66
|
+
hpricot_scan.so:
|
67
|
+
file: c:/ruby/Ruby-186-p383/lib/ruby/gems/1.8/gems/hpricot-0.8.1/lib/hpricot_scan.so
|
68
|
+
type: extension-library
|
41
69
|
net/http.rb:
|
42
|
-
file: c:/ruby/186-
|
70
|
+
file: c:/ruby/Ruby-186-p383/lib/ruby/1.8/net/http.rb
|
43
71
|
net/https.rb:
|
44
|
-
file: c:/ruby/186-
|
72
|
+
file: c:/ruby/Ruby-186-p383/lib/ruby/1.8/net/https.rb
|
45
73
|
net/protocol.rb:
|
46
|
-
file: c:/ruby/186-
|
74
|
+
file: c:/ruby/Ruby-186-p383/lib/ruby/1.8/net/protocol.rb
|
47
75
|
open-uri.rb:
|
48
|
-
file: c:/ruby/186-
|
76
|
+
file: c:/ruby/Ruby-186-p383/lib/ruby/1.8/open-uri.rb
|
49
77
|
openssl.rb:
|
50
|
-
file: c:/ruby/186-
|
78
|
+
file: c:/ruby/Ruby-186-p383/lib/ruby/1.8/openssl.rb
|
51
79
|
openssl.so:
|
52
|
-
file: c:/ruby/186-
|
80
|
+
file: c:/ruby/Ruby-186-p383/lib/ruby/1.8/i386-mingw32/openssl.so
|
53
81
|
type: extension-library
|
54
82
|
openssl/bn.rb:
|
55
|
-
file: c:/ruby/186-
|
83
|
+
file: c:/ruby/Ruby-186-p383/lib/ruby/1.8/openssl/bn.rb
|
56
84
|
openssl/buffering.rb:
|
57
|
-
file: c:/ruby/186-
|
85
|
+
file: c:/ruby/Ruby-186-p383/lib/ruby/1.8/openssl/buffering.rb
|
58
86
|
openssl/cipher.rb:
|
59
|
-
file: c:/ruby/186-
|
87
|
+
file: c:/ruby/Ruby-186-p383/lib/ruby/1.8/openssl/cipher.rb
|
60
88
|
openssl/digest.rb:
|
61
|
-
file: c:/ruby/186-
|
89
|
+
file: c:/ruby/Ruby-186-p383/lib/ruby/1.8/openssl/digest.rb
|
62
90
|
openssl/ssl.rb:
|
63
|
-
file: c:/ruby/186-
|
91
|
+
file: c:/ruby/Ruby-186-p383/lib/ruby/1.8/openssl/ssl.rb
|
64
92
|
openssl/x509.rb:
|
65
|
-
file: c:/ruby/186-
|
93
|
+
file: c:/ruby/Ruby-186-p383/lib/ruby/1.8/openssl/x509.rb
|
66
94
|
optparse.rb:
|
67
|
-
file: c:/ruby/186-
|
95
|
+
file: c:/ruby/Ruby-186-p383/lib/ruby/1.8/optparse.rb
|
68
96
|
parsedate.rb:
|
69
|
-
file: c:/ruby/186-
|
97
|
+
file: c:/ruby/Ruby-186-p383/lib/ruby/1.8/parsedate.rb
|
70
98
|
pathname.rb:
|
71
|
-
file: c:/ruby/186-
|
99
|
+
file: c:/ruby/Ruby-186-p383/lib/ruby/1.8/pathname.rb
|
72
100
|
pik/batch_file.rb:
|
73
101
|
file: ./../../lib/pik/batch_file.rb
|
74
102
|
pik/commands.rb:
|
@@ -105,6 +133,8 @@ file:
|
|
105
133
|
file: ./../../lib/pik/commands/switch_command.rb
|
106
134
|
pik/commands/tag_command.rb:
|
107
135
|
file: ./../../lib/pik/commands/tag_command.rb
|
136
|
+
pik/commands/uninstall_command.rb:
|
137
|
+
file: ./../../lib/pik/commands/uninstall_command.rb
|
108
138
|
pik/config_file.rb:
|
109
139
|
file: ./../../lib/pik/config_file.rb
|
110
140
|
pik/contrib/progressbar.rb:
|
@@ -126,70 +156,107 @@ file:
|
|
126
156
|
pik/windows_env.rb:
|
127
157
|
file: ./../../lib/pik/windows_env.rb
|
128
158
|
pik_runner:
|
159
|
+
pp.rb:
|
160
|
+
file: c:/ruby/Ruby-186-p383/lib/ruby/1.8/pp.rb
|
161
|
+
prettyprint.rb:
|
162
|
+
file: c:/ruby/Ruby-186-p383/lib/ruby/1.8/prettyprint.rb
|
129
163
|
rational.rb:
|
130
|
-
file: c:/ruby/186-
|
164
|
+
file: c:/ruby/Ruby-186-p383/lib/ruby/1.8/rational.rb
|
131
165
|
rbconfig.rb:
|
132
|
-
file: c:/ruby/186-
|
166
|
+
file: c:/ruby/Ruby-186-p383/lib/ruby/1.8/i386-mingw32/rbconfig.rb
|
167
|
+
rubygems.rb:
|
168
|
+
file: c:/ruby/Ruby-186-p383/lib/ruby/site_ruby/1.8/rubygems.rb
|
169
|
+
rubygems/builder.rb:
|
170
|
+
file: c:/ruby/Ruby-186-p383/lib/ruby/site_ruby/1.8/rubygems/builder.rb
|
171
|
+
rubygems/config_file.rb:
|
172
|
+
file: c:/ruby/Ruby-186-p383/lib/ruby/site_ruby/1.8/rubygems/config_file.rb
|
173
|
+
rubygems/custom_require.rb:
|
174
|
+
file: c:/ruby/Ruby-186-p383/lib/ruby/site_ruby/1.8/rubygems/custom_require.rb
|
175
|
+
rubygems/defaults.rb:
|
176
|
+
file: c:/ruby/Ruby-186-p383/lib/ruby/site_ruby/1.8/rubygems/defaults.rb
|
177
|
+
rubygems/dependency.rb:
|
178
|
+
file: c:/ruby/Ruby-186-p383/lib/ruby/site_ruby/1.8/rubygems/dependency.rb
|
179
|
+
rubygems/exceptions.rb:
|
180
|
+
file: c:/ruby/Ruby-186-p383/lib/ruby/site_ruby/1.8/rubygems/exceptions.rb
|
181
|
+
rubygems/gem_path_searcher.rb:
|
182
|
+
file: c:/ruby/Ruby-186-p383/lib/ruby/site_ruby/1.8/rubygems/gem_path_searcher.rb
|
183
|
+
rubygems/platform.rb:
|
184
|
+
file: c:/ruby/Ruby-186-p383/lib/ruby/site_ruby/1.8/rubygems/platform.rb
|
185
|
+
rubygems/requirement.rb:
|
186
|
+
file: c:/ruby/Ruby-186-p383/lib/ruby/site_ruby/1.8/rubygems/requirement.rb
|
187
|
+
rubygems/source_index.rb:
|
188
|
+
file: c:/ruby/Ruby-186-p383/lib/ruby/site_ruby/1.8/rubygems/source_index.rb
|
189
|
+
rubygems/specification.rb:
|
190
|
+
file: c:/ruby/Ruby-186-p383/lib/ruby/site_ruby/1.8/rubygems/specification.rb
|
191
|
+
rubygems/user_interaction.rb:
|
192
|
+
file: c:/ruby/Ruby-186-p383/lib/ruby/site_ruby/1.8/rubygems/user_interaction.rb
|
193
|
+
rubygems/version.rb:
|
194
|
+
file: c:/ruby/Ruby-186-p383/lib/ruby/site_ruby/1.8/rubygems/version.rb
|
133
195
|
singleton.rb:
|
134
|
-
file: c:/ruby/186-
|
196
|
+
file: c:/ruby/Ruby-186-p383/lib/ruby/1.8/singleton.rb
|
135
197
|
socket.so:
|
136
|
-
file: c:/ruby/186-
|
198
|
+
file: c:/ruby/Ruby-186-p383/lib/ruby/1.8/i386-mingw32/socket.so
|
137
199
|
type: extension-library
|
138
200
|
stringio.so:
|
139
|
-
file: c:/ruby/186-
|
201
|
+
file: c:/ruby/Ruby-186-p383/lib/ruby/1.8/i386-mingw32/stringio.so
|
140
202
|
type: extension-library
|
141
203
|
strscan.so:
|
142
|
-
file: c:/ruby/186-
|
204
|
+
file: c:/ruby/Ruby-186-p383/lib/ruby/1.8/i386-mingw32/strscan.so
|
143
205
|
type: extension-library
|
144
206
|
syck.so:
|
145
|
-
file: c:/ruby/186-
|
207
|
+
file: c:/ruby/Ruby-186-p383/lib/ruby/1.8/i386-mingw32/syck.so
|
146
208
|
type: extension-library
|
147
209
|
tempfile.rb:
|
148
|
-
file: c:/ruby/186-
|
210
|
+
file: c:/ruby/Ruby-186-p383/lib/ruby/1.8/tempfile.rb
|
211
|
+
thread.rb:
|
212
|
+
file: c:/ruby/Ruby-186-p383/lib/ruby/1.8/thread.rb
|
213
|
+
thread.so:
|
214
|
+
file: c:/ruby/Ruby-186-p383/lib/ruby/1.8/i386-mingw32/thread.so
|
215
|
+
type: extension-library
|
149
216
|
time.rb:
|
150
|
-
file: c:/ruby/186-
|
217
|
+
file: c:/ruby/Ruby-186-p383/lib/ruby/1.8/time.rb
|
151
218
|
timeout.rb:
|
152
|
-
file: c:/ruby/186-
|
219
|
+
file: c:/ruby/Ruby-186-p383/lib/ruby/1.8/timeout.rb
|
153
220
|
tmpdir.rb:
|
154
|
-
file: c:/ruby/186-
|
221
|
+
file: c:/ruby/Ruby-186-p383/lib/ruby/1.8/tmpdir.rb
|
155
222
|
uri.rb:
|
156
|
-
file: c:/ruby/186-
|
223
|
+
file: c:/ruby/Ruby-186-p383/lib/ruby/1.8/uri.rb
|
157
224
|
uri/common.rb:
|
158
|
-
file: c:/ruby/186-
|
225
|
+
file: c:/ruby/Ruby-186-p383/lib/ruby/1.8/uri/common.rb
|
159
226
|
uri/ftp.rb:
|
160
|
-
file: c:/ruby/186-
|
227
|
+
file: c:/ruby/Ruby-186-p383/lib/ruby/1.8/uri/ftp.rb
|
161
228
|
uri/generic.rb:
|
162
|
-
file: c:/ruby/186-
|
229
|
+
file: c:/ruby/Ruby-186-p383/lib/ruby/1.8/uri/generic.rb
|
163
230
|
uri/http.rb:
|
164
|
-
file: c:/ruby/186-
|
231
|
+
file: c:/ruby/Ruby-186-p383/lib/ruby/1.8/uri/http.rb
|
165
232
|
uri/https.rb:
|
166
|
-
file: c:/ruby/186-
|
233
|
+
file: c:/ruby/Ruby-186-p383/lib/ruby/1.8/uri/https.rb
|
167
234
|
uri/ldap.rb:
|
168
|
-
file: c:/ruby/186-
|
235
|
+
file: c:/ruby/Ruby-186-p383/lib/ruby/1.8/uri/ldap.rb
|
169
236
|
uri/mailto.rb:
|
170
|
-
file: c:/ruby/186-
|
237
|
+
file: c:/ruby/Ruby-186-p383/lib/ruby/1.8/uri/mailto.rb
|
171
238
|
win32/registry.rb:
|
172
|
-
file: c:/ruby/186-
|
239
|
+
file: c:/ruby/Ruby-186-p383/lib/ruby/1.8/win32/registry.rb
|
173
240
|
yaml.rb:
|
174
|
-
file: c:/ruby/186-
|
241
|
+
file: c:/ruby/Ruby-186-p383/lib/ruby/1.8/yaml.rb
|
175
242
|
yaml/basenode.rb:
|
176
|
-
file: c:/ruby/186-
|
243
|
+
file: c:/ruby/Ruby-186-p383/lib/ruby/1.8/yaml/basenode.rb
|
177
244
|
yaml/constants.rb:
|
178
|
-
file: c:/ruby/186-
|
245
|
+
file: c:/ruby/Ruby-186-p383/lib/ruby/1.8/yaml/constants.rb
|
179
246
|
yaml/error.rb:
|
180
|
-
file: c:/ruby/186-
|
247
|
+
file: c:/ruby/Ruby-186-p383/lib/ruby/1.8/yaml/error.rb
|
181
248
|
yaml/rubytypes.rb:
|
182
|
-
file: c:/ruby/186-
|
249
|
+
file: c:/ruby/Ruby-186-p383/lib/ruby/1.8/yaml/rubytypes.rb
|
183
250
|
yaml/stream.rb:
|
184
|
-
file: c:/ruby/186-
|
251
|
+
file: c:/ruby/Ruby-186-p383/lib/ruby/1.8/yaml/stream.rb
|
185
252
|
yaml/syck.rb:
|
186
|
-
file: c:/ruby/186-
|
253
|
+
file: c:/ruby/Ruby-186-p383/lib/ruby/1.8/yaml/syck.rb
|
187
254
|
yaml/tag.rb:
|
188
|
-
file: c:/ruby/186-
|
255
|
+
file: c:/ruby/Ruby-186-p383/lib/ruby/1.8/yaml/tag.rb
|
189
256
|
yaml/types.rb:
|
190
|
-
file: c:/ruby/186-
|
257
|
+
file: c:/ruby/Ruby-186-p383/lib/ruby/1.8/yaml/types.rb
|
191
258
|
yaml/ypath.rb:
|
192
|
-
file: c:/ruby/186-
|
259
|
+
file: c:/ruby/Ruby-186-p383/lib/ruby/1.8/yaml/ypath.rb
|
193
260
|
zip/ioextras.rb:
|
194
261
|
file: ./../../lib/pik/contrib/zip/ioextras.rb
|
195
262
|
zip/stdrubyext.rb:
|
@@ -197,10 +264,10 @@ file:
|
|
197
264
|
zip/zip.rb:
|
198
265
|
file: ./../../lib/pik/contrib/zip/zip.rb
|
199
266
|
zlib.so:
|
200
|
-
file: c:/ruby/186-
|
267
|
+
file: c:/ruby/Ruby-186-p383/lib/ruby/1.8/i386-mingw32/zlib.so
|
201
268
|
type: extension-library
|
202
269
|
zlib1.dll:
|
203
|
-
file: c:/ruby/186-
|
270
|
+
file: c:/ruby/Ruby-186-p383/bin/zlib1.dll
|
204
271
|
type: extension-library
|
205
272
|
general:
|
206
273
|
core: cui
|