pik 0.1.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (43) hide show
  1. data/History.txt +36 -0
  2. data/Manifest.txt +42 -0
  3. data/README.rdoc +174 -0
  4. data/Rakefile +37 -0
  5. data/bin/pik +33 -0
  6. data/lib/pik.rb +30 -0
  7. data/lib/pik/batch_file.rb +70 -0
  8. data/lib/pik/checkup.rb +11 -0
  9. data/lib/pik/commands.rb +35 -0
  10. data/lib/pik/commands/add_command.rb +65 -0
  11. data/lib/pik/commands/batch_file_editor.rb +62 -0
  12. data/lib/pik/commands/checkup_command.rb +67 -0
  13. data/lib/pik/commands/command.rb +166 -0
  14. data/lib/pik/commands/config_command.rb +28 -0
  15. data/lib/pik/commands/config_file_editor.rb +12 -0
  16. data/lib/pik/commands/default_command.rb +22 -0
  17. data/lib/pik/commands/gemsync_command.rb +69 -0
  18. data/lib/pik/commands/help_command.rb +44 -0
  19. data/lib/pik/commands/implode_command.rb +16 -0
  20. data/lib/pik/commands/list_command.rb +34 -0
  21. data/lib/pik/commands/remove_command.rb +29 -0
  22. data/lib/pik/commands/run_command.rb +37 -0
  23. data/lib/pik/commands/switch_command.rb +49 -0
  24. data/lib/pik/config_file.rb +21 -0
  25. data/lib/pik/core_ext/pathname.rb +15 -0
  26. data/lib/pik/options.rb +56 -0
  27. data/lib/pik/runner.rb +16 -0
  28. data/lib/pik/search_path.rb +51 -0
  29. data/lib/pik/windows_env.rb +64 -0
  30. data/spec/add_command_spec.rb +15 -0
  31. data/spec/batch_file_spec.rb +31 -0
  32. data/spec/command_spec.rb +34 -0
  33. data/spec/commands_spec.rb +44 -0
  34. data/spec/default_command_spec.rb +6 -0
  35. data/spec/gemsync_command_spec.rb +15 -0
  36. data/spec/help_command_spec.rb +30 -0
  37. data/spec/list_command_spec.rb +33 -0
  38. data/spec/remove_command_spec.rb +25 -0
  39. data/spec/run_command_spec.rb +36 -0
  40. data/spec/search_path_spec.rb +121 -0
  41. data/spec/spec.opts +3 -0
  42. data/spec/switch_command_spec.rb +44 -0
  43. metadata +143 -0
metadata ADDED
@@ -0,0 +1,143 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: pik
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.1.0
5
+ platform: ruby
6
+ authors:
7
+ - Gordon Thiesfeld
8
+ autorequire:
9
+ bindir: bin
10
+ cert_chain: []
11
+
12
+ date: 2009-09-24 00:00:00 -05:00
13
+ default_executable:
14
+ dependencies:
15
+ - !ruby/object:Gem::Dependency
16
+ name: highline
17
+ type: :runtime
18
+ version_requirement:
19
+ version_requirements: !ruby/object:Gem::Requirement
20
+ requirements:
21
+ - - ">="
22
+ - !ruby/object:Gem::Version
23
+ version: 0.0.0
24
+ version:
25
+ - !ruby/object:Gem::Dependency
26
+ name: hoe
27
+ type: :development
28
+ version_requirement:
29
+ version_requirements: !ruby/object:Gem::Requirement
30
+ requirements:
31
+ - - ">="
32
+ - !ruby/object:Gem::Version
33
+ version: 2.3.3
34
+ version:
35
+ description: |-
36
+ Pik is a tool to switch between multiple versions of ruby on Windows.
37
+
38
+ Or to put it another way
39
+
40
+ doskey rvm=pik $* # (sort of)
41
+
42
+ You have to tell it where your different ruby versions live using
43
+ 'pik add'. Then you can change to one by using 'pik switch'.
44
+
45
+ It also has a "sort of" multiruby functionality in 'pik run'.
46
+ email:
47
+ - gthiesfeld@gmail.com
48
+ executables:
49
+ - pik
50
+ extensions: []
51
+
52
+ extra_rdoc_files:
53
+ - History.txt
54
+ - Manifest.txt
55
+ files:
56
+ - History.txt
57
+ - Manifest.txt
58
+ - README.rdoc
59
+ - Rakefile
60
+ - bin/pik
61
+ - lib/pik.rb
62
+ - lib/pik/batch_file.rb
63
+ - lib/pik/checkup.rb
64
+ - lib/pik/commands.rb
65
+ - lib/pik/commands/add_command.rb
66
+ - lib/pik/commands/batch_file_editor.rb
67
+ - lib/pik/commands/checkup_command.rb
68
+ - lib/pik/commands/command.rb
69
+ - lib/pik/commands/config_command.rb
70
+ - lib/pik/commands/config_file_editor.rb
71
+ - lib/pik/commands/default_command.rb
72
+ - lib/pik/commands/gemsync_command.rb
73
+ - lib/pik/commands/help_command.rb
74
+ - lib/pik/commands/implode_command.rb
75
+ - lib/pik/commands/list_command.rb
76
+ - lib/pik/commands/remove_command.rb
77
+ - lib/pik/commands/run_command.rb
78
+ - lib/pik/commands/switch_command.rb
79
+ - lib/pik/config_file.rb
80
+ - lib/pik/core_ext/pathname.rb
81
+ - lib/pik/options.rb
82
+ - lib/pik/runner.rb
83
+ - lib/pik/search_path.rb
84
+ - lib/pik/windows_env.rb
85
+ - spec/add_command_spec.rb
86
+ - spec/batch_file_spec.rb
87
+ - spec/command_spec.rb
88
+ - spec/commands_spec.rb
89
+ - spec/default_command_spec.rb
90
+ - spec/gemsync_command_spec.rb
91
+ - spec/help_command_spec.rb
92
+ - spec/list_command_spec.rb
93
+ - spec/remove_command_spec.rb
94
+ - spec/run_command_spec.rb
95
+ - spec/search_path_spec.rb
96
+ - spec/spec.opts
97
+ - spec/switch_command_spec.rb
98
+ has_rdoc: true
99
+ homepage: http://github.com/vertiginous/pik
100
+ licenses: []
101
+
102
+ post_install_message: |+
103
+
104
+ ----------------------------------------------------------------------------
105
+
106
+ 1. Use 'pik add' to add all versions of ruby to your pik config,
107
+ or use 'pik add -i' for an interactive console to do the same.
108
+ The current ruby version is added by default.
109
+
110
+ see 'pik help add' for more info
111
+
112
+ 2. Run 'pik run "gem install pik"' to install pik to all Ruby versions.
113
+
114
+ 3. Run 'pik help' for help.
115
+
116
+ ----------------------------------------------------------------------------
117
+
118
+ rdoc_options:
119
+ - --main
120
+ - README.rdoc
121
+ require_paths:
122
+ - lib
123
+ required_ruby_version: !ruby/object:Gem::Requirement
124
+ requirements:
125
+ - - ">="
126
+ - !ruby/object:Gem::Version
127
+ version: "0"
128
+ version:
129
+ required_rubygems_version: !ruby/object:Gem::Requirement
130
+ requirements:
131
+ - - ">="
132
+ - !ruby/object:Gem::Version
133
+ version: "0"
134
+ version:
135
+ requirements: []
136
+
137
+ rubyforge_project: pik
138
+ rubygems_version: 1.3.5
139
+ signing_key:
140
+ specification_version: 3
141
+ summary: Pik is a tool to switch between multiple versions of ruby on Windows
142
+ test_files: []
143
+