pik 0.2.3 → 0.2.4

Sign up to get free protection for your applications and to get access to all the features.
@@ -1,3 +1,10 @@
1
+ === 0.2.4 / 2009-10-28
2
+
3
+ * added rake command
4
+ * added cucumber story for rake command, refactor of run path switching, added irake.bat as a rake executable for ironruby
5
+ * fix to compile zlib1.dll into pik_runner.exe. closes gh-29 Thanks, Luis Lavena and, Roger Pack
6
+ * fixed homepage in gemspec for gemcutter.org
7
+
1
8
  === 0.2.3 / 2009-10-25
2
9
 
3
10
  * install command improvements - better error message on unrecognized implementation, better version picking, better directory naming, renamed some variables to be more concise (not everything is a version - implementations have versions, and versions have packages)
@@ -26,6 +26,7 @@ It also supports running commands/code with all versions configured.
26
26
  pik run # Runs commands on the command line
27
27
  pik ruby # Runs using the ruby interpreter for each version (ruby.exe, jruby.bat, ir.exe)
28
28
  pik gem # Runs using the gem command for each version (gem.bat, igem.bat)
29
+ pik rake # Runs using the rake command for each version (rake.bat, irake.bat)
29
30
 
30
31
 
31
32
  == FEATURES/PROBLEMS:
@@ -45,15 +46,16 @@ It also supports running commands/code with all versions configured.
45
46
  implode Removes your pik configuration.
46
47
  install|in Downloads and installs different ruby versions.
47
48
  list|ls Lists ruby versions that pik is aware of.
49
+ rake Runs the rake command with all versions that pik is aware of.
48
50
  remove|rm Removes a ruby location from pik.
49
51
  ruby|rb Runs ruby with all versions that pik is aware of.
50
52
  run Runs command with all versions of ruby that pik is aware of.
51
53
  switch|sw|use Switches ruby versions based on patterns.
52
54
  tag Adds the given tag to the current version.
53
55
  tags Runs the pik command against the given tags.
54
-
56
+
55
57
  For help on a particular command, use 'pik help COMMAND'.
56
-
58
+
57
59
  == REQUIREMENTS:
58
60
 
59
61
  Windows, more than one version of Ruby (otherwise, what's the point?) and Rubygems
data/Rakefile CHANGED
@@ -3,13 +3,22 @@
3
3
  require 'rubygems'
4
4
  require 'win32/process'
5
5
 
6
- file 'tools/pik/pik.exy' do
6
+ ENV['SPEC_OPTS']= '-O spec/spec.opts'
7
+
8
+ file 'tools/pik/pik_runner.exy' do
7
9
  Dir.chdir 'tools/pik' do
8
10
  sh('ruby -rexerb/mkexy pik_runner')
9
11
  end
12
+ exy = YAML.load(File.read('tools/pik/pik_runner.exy'))
13
+ zlib1 = {
14
+ 'file' => 'c:/ruby/186-p368-mingw32/bin/zlib1.dll',
15
+ 'type' => 'extension-library'
16
+ }
17
+ exy['file']['zlib1.dll'] = zlib1
18
+ File.open('tools/pik/pik_runner.exy', 'w+'){ |f| f.puts YAML.dump(exy) }
10
19
  end
11
20
 
12
- file 'tools/pik/pik.exe', :needs => 'tools/pik/pik.exy' do
21
+ file 'tools/pik/pik.exe', :needs => ['tools/pik/pik_runner.exy'] do
13
22
  Dir.chdir 'tools/pik' do
14
23
  sh('ruby -S exerb pik_runner.exy')
15
24
  end
@@ -26,7 +35,7 @@ task :clobber_exe do
26
35
  end
27
36
 
28
37
  task :clobber_exy, :needs => :clobber_exe do
29
- rm_rf 'tools/pik/pik.exy'
38
+ rm_rf 'tools/pik/pik_runner.exy'
30
39
  end
31
40
 
32
41
  task :rebuild, :needs => [:clobber_exy, :build]
@@ -45,6 +54,7 @@ Hoe.spec('pik') do
45
54
 
46
55
  developer('Gordon Thiesfeld', 'gthiesfeld@gmail.com')
47
56
 
57
+ self.need_tar = false
48
58
  self.extra_deps = {'highline' => '>= 0.0.0'}
49
59
  self.readme_file = 'README.rdoc'
50
60
  self.post_install_message =<<-PIM
@@ -98,6 +108,7 @@ namespace :cucumber do
98
108
  sh "pik install ironruby"
99
109
  sh "pik install ruby"
100
110
  sh "pik install ruby 1.8"
111
+ sh "pik gem in rake"
101
112
  end
102
113
 
103
114
  namespace :phonyweb do
@@ -1,6 +1,8 @@
1
1
  config=<<CONFIG
2
2
  ---
3
3
  "091: IronRuby 0.9.1.0 on .NET 2.0.0.0":
4
+ :gem_home: !ruby/object:Pathname
5
+ path: c:/temp/more spaces in path/ruby/IronRuby-091/lib/ironruby/gems/1.8
4
6
  :path: !ruby/object:Pathname
5
7
  path: c:/temp/more spaces in path/ruby/ironruby-091/bin
6
8
  "140: jruby 1.4.0RC2 (ruby 1.8.7 patchlevel 174) (2009-10-21 7e77f32) (Java HotSpot(TM) Client VM 1.6.0_14) [x86-java]":
@@ -19,4 +19,9 @@ Feature: run command
19
19
  When I run "pik gem -v"
20
20
  Then I should find "\n\d\.\d\.\d\n" 5 times
21
21
  And I should see each version listed.
22
+
23
+ Scenario: rake command
24
+ When I run "pik rake -V"
25
+ Then I should find "rake, version \d\.\d\.\d\n" 5 times
26
+ And I should see each version listed.
22
27
 
data/lib/pik.rb CHANGED
@@ -1,5 +1,5 @@
1
1
  module Pik
2
- VERSION = '0.2.3'
2
+ VERSION = '0.2.4'
3
3
  end
4
4
 
5
5
  $LOAD_PATH.unshift(File.dirname(__FILE__))
@@ -156,6 +156,10 @@ module Pik
156
156
  File.delete(f) if File.ctime(f) < cutoff
157
157
  end
158
158
  end
159
+
160
+ def cmd_name
161
+ self.class.cmd_name
162
+ end
159
163
 
160
164
  # Installs a sigint handler.
161
165
 
@@ -5,6 +5,7 @@ module Pik
5
5
  it "Runs command with all versions of ruby that pik is aware of."
6
6
 
7
7
  def execute
8
+ check_args
8
9
  @config.sort.each do |version,hash|
9
10
  begin
10
11
  switch_path_to(hash)
@@ -41,31 +42,22 @@ module Pik
41
42
 
42
43
  SEP
43
44
  end
44
-
45
+
45
46
  def parse_options
46
47
  end
47
48
 
48
- def switch_path_to(new_ver)
49
- dir = Which::Ruby.find
50
- current_config = config[ find_config_from_path(dir) ]
49
+ def switch_path_to(other)
50
+ current = Which::Ruby.find
51
+
52
+ new_path = SearchPath.new(ENV['PATH'])
53
+ new_path.replace_or_add(current, other[:path])
54
+
55
+ # if there is currently a GEM_HOME, remove it's bin dir from the path
56
+ new_path.remove(Pathname.new(ENV['GEM_HOME']) + 'bin') if ENV['GEM_HOME']
57
+
58
+ # if the new version has a GEM_HOME, add it's bin dir to the path
59
+ new_path.add(Pathname.new(other[:gem_home]) + 'bin') if other[:gem_home]
51
60
 
52
- new_path = SearchPath.new(ENV['PATH']).replace_or_add(dir, new_ver[:path])
53
- if new_gem_home = new_ver[:gem_home]
54
-
55
- new_gem_bin = Pathname.new(new_gem_home) + 'bin'
56
-
57
- if current_config && (current_gem_home = current_config[:gem_home])
58
- current_gem_bin = Pathname.new(current_gem_home) + 'bin'
59
- new_path.replace(current_gem_bin, new_gem_bin)
60
- else
61
- new_path.add(new_gem_bin)
62
- end
63
- else
64
- if current_config && (current_gem_home = current_config[:gem_home])
65
- current_gem_bin = Pathname.new(current_gem_home) + 'bin'
66
- new_path.remove(current_gem_bin)
67
- end
68
- end
69
61
  ENV['PATH'] = new_path.join
70
62
  end
71
63
 
@@ -80,6 +72,16 @@ SEP
80
72
  raise "Unable to find a Ruby executable at #{path}" unless rb
81
73
  puts `"#{rb}" -v `
82
74
  end
75
+
76
+ def check_args
77
+ if args_required? && @args.empty?
78
+ raise "The #{cmd_name} command must be called with an argument"
79
+ end
80
+ end
81
+
82
+ def args_required?
83
+ true
84
+ end
83
85
 
84
86
  end
85
87
 
@@ -125,6 +127,29 @@ SEP
125
127
  end
126
128
 
127
129
  end
130
+
131
+ class Rake < Run
128
132
 
133
+ it "Runs the rake command with all versions that pik is aware of."
134
+
135
+ def command(cmd=Which::Rake.bat.basename)
136
+ super(cmd)
137
+ end
138
+
139
+ def help_message
140
+ sep =<<SEP
141
+ Examples:
142
+
143
+ C:\\>pik rake spec
144
+
145
+ SEP
146
+ end
147
+
148
+ def args_required?
149
+ false
150
+ end
151
+
152
+ end
153
+
129
154
  end
130
155
 
@@ -8,7 +8,7 @@ class SearchPath
8
8
  end
9
9
 
10
10
  def remove(old_path)
11
- old = Pathname(old_path).expand_path.to_windows
11
+ old = Pathname(old_path).expand_path
12
12
  @path = @path.reject{|dir| Pathname(dir) == old }
13
13
  @path = @path.uniq
14
14
  self
@@ -43,6 +43,12 @@ module Which
43
43
 
44
44
  end
45
45
 
46
+ class Rake < Base
47
+ def self.executables
48
+ ['rake.bat', 'irake.bat']
49
+ end
50
+ end
51
+
46
52
  class SevenZip < Base
47
53
  def self.executables
48
54
  ['7za.exe']
Binary file
@@ -1,208 +1,208 @@
1
- # Generated by mkexy
2
- # on 2009-10-26 13:52
3
-
4
- general:
5
- startup: pik_runner
6
- core: cui
7
- kcode: none
8
-
9
- file:
10
- pik_runner:
11
- stringio.so:
12
- file: c:/ruby/186-p368-mingw32/lib/ruby/1.8/i386-mingw32/stringio.so
13
- type: extension-library
14
- yaml/error.rb:
15
- file: c:/ruby/186-p368-mingw32/lib/ruby/1.8/yaml/error.rb
16
- syck.so:
17
- file: c:/ruby/186-p368-mingw32/lib/ruby/1.8/i386-mingw32/syck.so
1
+ ---
2
+ file:
3
+ ./../../lib/pik.rb:
4
+ English.rb:
5
+ file: c:/ruby/186-p368-mingw32/lib/ruby/1.8/English.rb
6
+ Win32API.so:
7
+ file: c:/ruby/186-p368-mingw32/lib/ruby/1.8/i386-mingw32/Win32API.so
18
8
  type: extension-library
19
- yaml/ypath.rb:
20
- file: c:/ruby/186-p368-mingw32/lib/ruby/1.8/yaml/ypath.rb
21
- yaml/basenode.rb:
22
- file: c:/ruby/186-p368-mingw32/lib/ruby/1.8/yaml/basenode.rb
23
- yaml/syck.rb:
24
- file: c:/ruby/186-p368-mingw32/lib/ruby/1.8/yaml/syck.rb
25
- yaml/tag.rb:
26
- file: c:/ruby/186-p368-mingw32/lib/ruby/1.8/yaml/tag.rb
27
- yaml/stream.rb:
28
- file: c:/ruby/186-p368-mingw32/lib/ruby/1.8/yaml/stream.rb
29
- yaml/constants.rb:
30
- file: c:/ruby/186-p368-mingw32/lib/ruby/1.8/yaml/constants.rb
31
- rational.rb:
32
- file: c:/ruby/186-p368-mingw32/lib/ruby/1.8/rational.rb
33
- date/format.rb:
34
- file: c:/ruby/186-p368-mingw32/lib/ruby/1.8/date/format.rb
35
- date.rb:
9
+ abbrev.rb:
10
+ file: c:/ruby/186-p368-mingw32/lib/ruby/1.8/abbrev.rb
11
+ cgi.rb:
12
+ file: c:/ruby/186-p368-mingw32/lib/ruby/1.8/cgi.rb
13
+ date.rb:
36
14
  file: c:/ruby/186-p368-mingw32/lib/ruby/1.8/date.rb
37
- yaml/rubytypes.rb:
38
- file: c:/ruby/186-p368-mingw32/lib/ruby/1.8/yaml/rubytypes.rb
39
- yaml/types.rb:
40
- file: c:/ruby/186-p368-mingw32/lib/ruby/1.8/yaml/types.rb
41
- yaml.rb:
42
- file: c:/ruby/186-p368-mingw32/lib/ruby/1.8/yaml.rb
43
- pathname.rb:
44
- file: c:/ruby/186-p368-mingw32/lib/ruby/1.8/pathname.rb
45
- etc.so:
15
+ date/format.rb:
16
+ file: c:/ruby/186-p368-mingw32/lib/ruby/1.8/date/format.rb
17
+ delegate.rb:
18
+ file: c:/ruby/186-p368-mingw32/lib/ruby/1.8/delegate.rb
19
+ erb.rb:
20
+ file: c:/ruby/186-p368-mingw32/lib/ruby/1.8/erb.rb
21
+ etc.so:
46
22
  file: c:/ruby/186-p368-mingw32/lib/ruby/1.8/i386-mingw32/etc.so
47
23
  type: extension-library
48
- fileutils.rb:
49
- file: c:/ruby/186-p368-mingw32/lib/ruby/1.8/fileutils.rb
50
- rbconfig.rb:
51
- file: c:/ruby/186-p368-mingw32/lib/ruby/1.8/i386-mingw32/rbconfig.rb
52
- pik/pik.rb:
53
- file: ./../../lib/pik/pik.rb
54
- pik/batch_file.rb:
55
- file: ./../../lib/pik/batch_file.rb
56
- pik/core_ext/pathname.rb:
57
- file: ./../../lib/pik/core_ext/pathname.rb
58
- pik/commands.rb:
59
- file: ./../../lib/pik/commands.rb
60
- pik/commands/config_file_editor.rb:
61
- file: ./../../lib/pik/commands/config_file_editor.rb
62
- pik/commands/batch_file_editor.rb:
63
- file: ./../../lib/pik/commands/batch_file_editor.rb
64
- optparse.rb:
65
- file: c:/ruby/186-p368-mingw32/lib/ruby/1.8/optparse.rb
66
- pik/commands/command.rb:
67
- file: ./../../lib/pik/commands/command.rb
68
- English.rb:
69
- file: c:/ruby/186-p368-mingw32/lib/ruby/1.8/English.rb
70
- delegate.rb:
71
- file: c:/ruby/186-p368-mingw32/lib/ruby/1.8/delegate.rb
72
- cgi.rb:
73
- file: c:/ruby/186-p368-mingw32/lib/ruby/1.8/cgi.rb
74
- uri/common.rb:
75
- file: c:/ruby/186-p368-mingw32/lib/ruby/1.8/uri/common.rb
76
- uri/generic.rb:
77
- file: c:/ruby/186-p368-mingw32/lib/ruby/1.8/uri/generic.rb
78
- uri/ftp.rb:
79
- file: c:/ruby/186-p368-mingw32/lib/ruby/1.8/uri/ftp.rb
80
- uri/http.rb:
81
- file: c:/ruby/186-p368-mingw32/lib/ruby/1.8/uri/http.rb
82
- uri/https.rb:
83
- file: c:/ruby/186-p368-mingw32/lib/ruby/1.8/uri/https.rb
84
- uri/ldap.rb:
85
- file: c:/ruby/186-p368-mingw32/lib/ruby/1.8/uri/ldap.rb
86
- uri/mailto.rb:
87
- file: c:/ruby/186-p368-mingw32/lib/ruby/1.8/uri/mailto.rb
88
- uri.rb:
89
- file: c:/ruby/186-p368-mingw32/lib/ruby/1.8/uri.rb
90
- socket.so:
91
- file: c:/ruby/186-p368-mingw32/lib/ruby/1.8/i386-mingw32/socket.so
24
+ fcntl.so:
25
+ file: c:/ruby/186-p368-mingw32/lib/ruby/1.8/i386-mingw32/fcntl.so
92
26
  type: extension-library
93
- timeout.rb:
94
- file: c:/ruby/186-p368-mingw32/lib/ruby/1.8/timeout.rb
95
- net/protocol.rb:
96
- file: c:/ruby/186-p368-mingw32/lib/ruby/1.8/net/protocol.rb
97
- net/http.rb:
27
+ fileutils.rb:
28
+ file: c:/ruby/186-p368-mingw32/lib/ruby/1.8/fileutils.rb
29
+ highline.rb:
30
+ file: c:/ruby/186-p368-mingw32/lib/ruby/site_ruby/1.8/highline.rb
31
+ highline/color_scheme.rb:
32
+ file: c:/ruby/186-p368-mingw32/lib/ruby/site_ruby/1.8/highline/color_scheme.rb
33
+ highline/compatibility.rb:
34
+ file: c:/ruby/186-p368-mingw32/lib/ruby/site_ruby/1.8/highline/compatibility.rb
35
+ highline/menu.rb:
36
+ file: c:/ruby/186-p368-mingw32/lib/ruby/site_ruby/1.8/highline/menu.rb
37
+ highline/question.rb:
38
+ file: c:/ruby/186-p368-mingw32/lib/ruby/site_ruby/1.8/highline/question.rb
39
+ highline/system_extensions.rb:
40
+ file: c:/ruby/186-p368-mingw32/lib/ruby/site_ruby/1.8/highline/system_extensions.rb
41
+ net/http.rb:
98
42
  file: c:/ruby/186-p368-mingw32/lib/ruby/1.8/net/http.rb
99
- openssl.so:
43
+ net/https.rb:
44
+ file: c:/ruby/186-p368-mingw32/lib/ruby/1.8/net/https.rb
45
+ net/protocol.rb:
46
+ file: c:/ruby/186-p368-mingw32/lib/ruby/1.8/net/protocol.rb
47
+ open-uri.rb:
48
+ file: c:/ruby/186-p368-mingw32/lib/ruby/1.8/open-uri.rb
49
+ openssl.rb:
50
+ file: c:/ruby/186-p368-mingw32/lib/ruby/1.8/openssl.rb
51
+ openssl.so:
100
52
  file: c:/ruby/186-p368-mingw32/lib/ruby/1.8/i386-mingw32/openssl.so
101
53
  type: extension-library
102
- openssl/bn.rb:
54
+ openssl/bn.rb:
103
55
  file: c:/ruby/186-p368-mingw32/lib/ruby/1.8/openssl/bn.rb
104
- openssl/cipher.rb:
56
+ openssl/buffering.rb:
57
+ file: c:/ruby/186-p368-mingw32/lib/ruby/1.8/openssl/buffering.rb
58
+ openssl/cipher.rb:
105
59
  file: c:/ruby/186-p368-mingw32/lib/ruby/1.8/openssl/cipher.rb
106
- openssl/digest.rb:
60
+ openssl/digest.rb:
107
61
  file: c:/ruby/186-p368-mingw32/lib/ruby/1.8/openssl/digest.rb
108
- openssl/buffering.rb:
109
- file: c:/ruby/186-p368-mingw32/lib/ruby/1.8/openssl/buffering.rb
110
- fcntl.so:
111
- file: c:/ruby/186-p368-mingw32/lib/ruby/1.8/i386-mingw32/fcntl.so
112
- type: extension-library
113
- openssl/ssl.rb:
62
+ openssl/ssl.rb:
114
63
  file: c:/ruby/186-p368-mingw32/lib/ruby/1.8/openssl/ssl.rb
115
- openssl/x509.rb:
64
+ openssl/x509.rb:
116
65
  file: c:/ruby/186-p368-mingw32/lib/ruby/1.8/openssl/x509.rb
117
- openssl.rb:
118
- file: c:/ruby/186-p368-mingw32/lib/ruby/1.8/openssl.rb
119
- net/https.rb:
120
- file: c:/ruby/186-p368-mingw32/lib/ruby/1.8/net/https.rb
121
- Win32API.so:
122
- file: c:/ruby/186-p368-mingw32/lib/ruby/1.8/i386-mingw32/Win32API.so
123
- type: extension-library
124
- tmpdir.rb:
125
- file: c:/ruby/186-p368-mingw32/lib/ruby/1.8/tmpdir.rb
126
- tempfile.rb:
127
- file: c:/ruby/186-p368-mingw32/lib/ruby/1.8/tempfile.rb
128
- pik/contrib/uri_ext.rb:
129
- file: ./../../lib/pik/contrib/uri_ext.rb
130
- singleton.rb:
131
- file: c:/ruby/186-p368-mingw32/lib/ruby/1.8/singleton.rb
132
- zlib.so:
133
- file: c:/ruby/186-p368-mingw32/lib/ruby/1.8/i386-mingw32/zlib.so
134
- type: extension-library
135
- zip/stdrubyext.rb:
136
- file: ./../../lib/pik/contrib/zip/stdrubyext.rb
137
- zip/ioextras.rb:
138
- file: ./../../lib/pik/contrib/zip/ioextras.rb
139
- zip/zip.rb:
140
- file: ./../../lib/pik/contrib/zip/zip.rb
141
- pik/contrib/unzip.rb:
142
- file: ./../../lib/pik/contrib/unzip.rb
143
- pik/contrib/progressbar.rb:
144
- file: ./../../lib/pik/contrib/progressbar.rb
145
- pik/commands/install_command.rb:
146
- file: ./../../lib/pik/commands/install_command.rb
147
- pik/commands/list_command.rb:
148
- file: ./../../lib/pik/commands/list_command.rb
149
- pik/commands/add_command.rb:
66
+ optparse.rb:
67
+ file: c:/ruby/186-p368-mingw32/lib/ruby/1.8/optparse.rb
68
+ parsedate.rb:
69
+ file: c:/ruby/186-p368-mingw32/lib/ruby/1.8/parsedate.rb
70
+ pathname.rb:
71
+ file: c:/ruby/186-p368-mingw32/lib/ruby/1.8/pathname.rb
72
+ pik/batch_file.rb:
73
+ file: ./../../lib/pik/batch_file.rb
74
+ pik/commands.rb:
75
+ file: ./../../lib/pik/commands.rb
76
+ pik/commands/add_command.rb:
150
77
  file: ./../../lib/pik/commands/add_command.rb
151
- pik/commands/help_command.rb:
152
- file: ./../../lib/pik/commands/help_command.rb
153
- pik/commands/switch_command.rb:
154
- file: ./../../lib/pik/commands/switch_command.rb
155
- pik/commands/run_command.rb:
156
- file: ./../../lib/pik/commands/run_command.rb
157
- pik/commands/remove_command.rb:
158
- file: ./../../lib/pik/commands/remove_command.rb
159
- pik/commands/checkup_command.rb:
78
+ pik/commands/batch_file_editor.rb:
79
+ file: ./../../lib/pik/commands/batch_file_editor.rb
80
+ pik/commands/checkup_command.rb:
160
81
  file: ./../../lib/pik/commands/checkup_command.rb
161
- pik/commands/config_command.rb:
82
+ pik/commands/command.rb:
83
+ file: ./../../lib/pik/commands/command.rb
84
+ pik/commands/config_command.rb:
162
85
  file: ./../../lib/pik/commands/config_command.rb
163
- pik/commands/gemsync_command.rb:
164
- file: ./../../lib/pik/commands/gemsync_command.rb
165
- pik/commands/default_command.rb:
86
+ pik/commands/config_file_editor.rb:
87
+ file: ./../../lib/pik/commands/config_file_editor.rb
88
+ pik/commands/default_command.rb:
166
89
  file: ./../../lib/pik/commands/default_command.rb
167
- pik/commands/implode_command.rb:
90
+ pik/commands/gemsync_command.rb:
91
+ file: ./../../lib/pik/commands/gemsync_command.rb
92
+ pik/commands/help_command.rb:
93
+ file: ./../../lib/pik/commands/help_command.rb
94
+ pik/commands/implode_command.rb:
168
95
  file: ./../../lib/pik/commands/implode_command.rb
169
- pik/commands/tag_command.rb:
96
+ pik/commands/install_command.rb:
97
+ file: ./../../lib/pik/commands/install_command.rb
98
+ pik/commands/list_command.rb:
99
+ file: ./../../lib/pik/commands/list_command.rb
100
+ pik/commands/remove_command.rb:
101
+ file: ./../../lib/pik/commands/remove_command.rb
102
+ pik/commands/run_command.rb:
103
+ file: ./../../lib/pik/commands/run_command.rb
104
+ pik/commands/switch_command.rb:
105
+ file: ./../../lib/pik/commands/switch_command.rb
106
+ pik/commands/tag_command.rb:
170
107
  file: ./../../lib/pik/commands/tag_command.rb
171
- pik/config_file.rb:
108
+ pik/config_file.rb:
172
109
  file: ./../../lib/pik/config_file.rb
173
- parsedate.rb:
174
- file: c:/ruby/186-p368-mingw32/lib/ruby/1.8/parsedate.rb
175
- time.rb:
176
- file: c:/ruby/186-p368-mingw32/lib/ruby/1.8/time.rb
177
- open-uri.rb:
178
- file: c:/ruby/186-p368-mingw32/lib/ruby/1.8/open-uri.rb
179
- pik/implementations.rb:
110
+ pik/contrib/progressbar.rb:
111
+ file: ./../../lib/pik/contrib/progressbar.rb
112
+ pik/contrib/unzip.rb:
113
+ file: ./../../lib/pik/contrib/unzip.rb
114
+ pik/contrib/uri_ext.rb:
115
+ file: ./../../lib/pik/contrib/uri_ext.rb
116
+ pik/core_ext/pathname.rb:
117
+ file: ./../../lib/pik/core_ext/pathname.rb
118
+ pik/implementations.rb:
180
119
  file: ./../../lib/pik/implementations.rb
181
- win32/registry.rb:
182
- file: c:/ruby/186-p368-mingw32/lib/ruby/1.8/win32/registry.rb
183
- pik/windows_env.rb:
184
- file: ./../../lib/pik/windows_env.rb
185
- pik/which.rb:
186
- file: ./../../lib/pik/which.rb
187
- pik/search_path.rb:
120
+ pik/pik.rb:
121
+ file: ./../../lib/pik/pik.rb
122
+ pik/search_path.rb:
188
123
  file: ./../../lib/pik/search_path.rb
189
- strscan.so:
124
+ pik/which.rb:
125
+ file: ./../../lib/pik/which.rb
126
+ pik/windows_env.rb:
127
+ file: ./../../lib/pik/windows_env.rb
128
+ pik_runner:
129
+ rational.rb:
130
+ file: c:/ruby/186-p368-mingw32/lib/ruby/1.8/rational.rb
131
+ rbconfig.rb:
132
+ file: c:/ruby/186-p368-mingw32/lib/ruby/1.8/i386-mingw32/rbconfig.rb
133
+ singleton.rb:
134
+ file: c:/ruby/186-p368-mingw32/lib/ruby/1.8/singleton.rb
135
+ socket.so:
136
+ file: c:/ruby/186-p368-mingw32/lib/ruby/1.8/i386-mingw32/socket.so
137
+ type: extension-library
138
+ stringio.so:
139
+ file: c:/ruby/186-p368-mingw32/lib/ruby/1.8/i386-mingw32/stringio.so
140
+ type: extension-library
141
+ strscan.so:
190
142
  file: c:/ruby/186-p368-mingw32/lib/ruby/1.8/i386-mingw32/strscan.so
191
143
  type: extension-library
192
- erb.rb:
193
- file: c:/ruby/186-p368-mingw32/lib/ruby/1.8/erb.rb
194
- abbrev.rb:
195
- file: c:/ruby/186-p368-mingw32/lib/ruby/1.8/abbrev.rb
196
- highline/compatibility.rb:
197
- file: c:/ruby/186-p368-mingw32/lib/ruby/site_ruby/1.8/highline/compatibility.rb
198
- highline/system_extensions.rb:
199
- file: c:/ruby/186-p368-mingw32/lib/ruby/site_ruby/1.8/highline/system_extensions.rb
200
- highline/question.rb:
201
- file: c:/ruby/186-p368-mingw32/lib/ruby/site_ruby/1.8/highline/question.rb
202
- highline/menu.rb:
203
- file: c:/ruby/186-p368-mingw32/lib/ruby/site_ruby/1.8/highline/menu.rb
204
- highline/color_scheme.rb:
205
- file: c:/ruby/186-p368-mingw32/lib/ruby/site_ruby/1.8/highline/color_scheme.rb
206
- highline.rb:
207
- file: c:/ruby/186-p368-mingw32/lib/ruby/site_ruby/1.8/highline.rb
208
- ./../../lib/pik.rb:
144
+ syck.so:
145
+ file: c:/ruby/186-p368-mingw32/lib/ruby/1.8/i386-mingw32/syck.so
146
+ type: extension-library
147
+ tempfile.rb:
148
+ file: c:/ruby/186-p368-mingw32/lib/ruby/1.8/tempfile.rb
149
+ time.rb:
150
+ file: c:/ruby/186-p368-mingw32/lib/ruby/1.8/time.rb
151
+ timeout.rb:
152
+ file: c:/ruby/186-p368-mingw32/lib/ruby/1.8/timeout.rb
153
+ tmpdir.rb:
154
+ file: c:/ruby/186-p368-mingw32/lib/ruby/1.8/tmpdir.rb
155
+ uri.rb:
156
+ file: c:/ruby/186-p368-mingw32/lib/ruby/1.8/uri.rb
157
+ uri/common.rb:
158
+ file: c:/ruby/186-p368-mingw32/lib/ruby/1.8/uri/common.rb
159
+ uri/ftp.rb:
160
+ file: c:/ruby/186-p368-mingw32/lib/ruby/1.8/uri/ftp.rb
161
+ uri/generic.rb:
162
+ file: c:/ruby/186-p368-mingw32/lib/ruby/1.8/uri/generic.rb
163
+ uri/http.rb:
164
+ file: c:/ruby/186-p368-mingw32/lib/ruby/1.8/uri/http.rb
165
+ uri/https.rb:
166
+ file: c:/ruby/186-p368-mingw32/lib/ruby/1.8/uri/https.rb
167
+ uri/ldap.rb:
168
+ file: c:/ruby/186-p368-mingw32/lib/ruby/1.8/uri/ldap.rb
169
+ uri/mailto.rb:
170
+ file: c:/ruby/186-p368-mingw32/lib/ruby/1.8/uri/mailto.rb
171
+ win32/registry.rb:
172
+ file: c:/ruby/186-p368-mingw32/lib/ruby/1.8/win32/registry.rb
173
+ yaml.rb:
174
+ file: c:/ruby/186-p368-mingw32/lib/ruby/1.8/yaml.rb
175
+ yaml/basenode.rb:
176
+ file: c:/ruby/186-p368-mingw32/lib/ruby/1.8/yaml/basenode.rb
177
+ yaml/constants.rb:
178
+ file: c:/ruby/186-p368-mingw32/lib/ruby/1.8/yaml/constants.rb
179
+ yaml/error.rb:
180
+ file: c:/ruby/186-p368-mingw32/lib/ruby/1.8/yaml/error.rb
181
+ yaml/rubytypes.rb:
182
+ file: c:/ruby/186-p368-mingw32/lib/ruby/1.8/yaml/rubytypes.rb
183
+ yaml/stream.rb:
184
+ file: c:/ruby/186-p368-mingw32/lib/ruby/1.8/yaml/stream.rb
185
+ yaml/syck.rb:
186
+ file: c:/ruby/186-p368-mingw32/lib/ruby/1.8/yaml/syck.rb
187
+ yaml/tag.rb:
188
+ file: c:/ruby/186-p368-mingw32/lib/ruby/1.8/yaml/tag.rb
189
+ yaml/types.rb:
190
+ file: c:/ruby/186-p368-mingw32/lib/ruby/1.8/yaml/types.rb
191
+ yaml/ypath.rb:
192
+ file: c:/ruby/186-p368-mingw32/lib/ruby/1.8/yaml/ypath.rb
193
+ zip/ioextras.rb:
194
+ file: ./../../lib/pik/contrib/zip/ioextras.rb
195
+ zip/stdrubyext.rb:
196
+ file: ./../../lib/pik/contrib/zip/stdrubyext.rb
197
+ zip/zip.rb:
198
+ file: ./../../lib/pik/contrib/zip/zip.rb
199
+ zlib.so:
200
+ file: c:/ruby/186-p368-mingw32/lib/ruby/1.8/i386-mingw32/zlib.so
201
+ type: extension-library
202
+ zlib1.dll:
203
+ file: c:/ruby/186-p368-mingw32/bin/zlib1.dll
204
+ type: extension-library
205
+ general:
206
+ core: cui
207
+ kcode: none
208
+ startup: pik_runner
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pik
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.3
4
+ version: 0.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Gordon Thiesfeld
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-10-26 00:00:00 -05:00
12
+ date: 2009-10-28 00:00:00 -05:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -47,6 +47,7 @@ description: |-
47
47
  pik run # Runs commands on the command line
48
48
  pik ruby # Runs using the ruby interpreter for each version (ruby.exe, jruby.bat, ir.exe)
49
49
  pik gem # Runs using the gem command for each version (gem.bat, igem.bat)
50
+ pik rake # Runs using the rake command for each version (rake.bat, irake.bat)
50
51
  email:
51
52
  - gthiesfeld@gmail.com
52
53
  executables: