tenderloin 0.2.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (73) hide show
  1. data/LICENCE +21 -0
  2. data/README.md +50 -0
  3. data/Version +1 -0
  4. data/bin/loin +5 -0
  5. data/config/default.rb +26 -0
  6. data/lib/tenderloin/actions/base.rb +93 -0
  7. data/lib/tenderloin/actions/box/add.rb +22 -0
  8. data/lib/tenderloin/actions/box/destroy.rb +14 -0
  9. data/lib/tenderloin/actions/box/download.rb +63 -0
  10. data/lib/tenderloin/actions/box/unpackage.rb +46 -0
  11. data/lib/tenderloin/actions/runner.rb +138 -0
  12. data/lib/tenderloin/actions/vm/boot.rb +52 -0
  13. data/lib/tenderloin/actions/vm/destroy.rb +18 -0
  14. data/lib/tenderloin/actions/vm/halt.rb +14 -0
  15. data/lib/tenderloin/actions/vm/import.rb +32 -0
  16. data/lib/tenderloin/actions/vm/move_hard_drive.rb +53 -0
  17. data/lib/tenderloin/actions/vm/provision.rb +71 -0
  18. data/lib/tenderloin/actions/vm/reload.rb +17 -0
  19. data/lib/tenderloin/actions/vm/shared_folders.rb +47 -0
  20. data/lib/tenderloin/actions/vm/start.rb +17 -0
  21. data/lib/tenderloin/actions/vm/up.rb +55 -0
  22. data/lib/tenderloin/box.rb +143 -0
  23. data/lib/tenderloin/busy.rb +73 -0
  24. data/lib/tenderloin/cli.rb +59 -0
  25. data/lib/tenderloin/commands.rb +154 -0
  26. data/lib/tenderloin/config.rb +144 -0
  27. data/lib/tenderloin/downloaders/base.rb +13 -0
  28. data/lib/tenderloin/downloaders/file.rb +21 -0
  29. data/lib/tenderloin/downloaders/http.rb +47 -0
  30. data/lib/tenderloin/env.rb +156 -0
  31. data/lib/tenderloin/fusion_vm.rb +85 -0
  32. data/lib/tenderloin/ssh.rb +49 -0
  33. data/lib/tenderloin/util.rb +51 -0
  34. data/lib/tenderloin/vm.rb +63 -0
  35. data/lib/tenderloin/vmx_file.rb +28 -0
  36. data/lib/tenderloin.rb +14 -0
  37. data/script/tenderloin-ssh-expect.sh +23 -0
  38. data/templates/Tenderfile +8 -0
  39. data/test/tenderloin/actions/base_test.rb +32 -0
  40. data/test/tenderloin/actions/box/add_test.rb +37 -0
  41. data/test/tenderloin/actions/box/destroy_test.rb +18 -0
  42. data/test/tenderloin/actions/box/download_test.rb +118 -0
  43. data/test/tenderloin/actions/box/unpackage_test.rb +100 -0
  44. data/test/tenderloin/actions/runner_test.rb +262 -0
  45. data/test/tenderloin/actions/vm/boot_test.rb +55 -0
  46. data/test/tenderloin/actions/vm/destroy_test.rb +24 -0
  47. data/test/tenderloin/actions/vm/down_test.rb +32 -0
  48. data/test/tenderloin/actions/vm/export_test.rb +88 -0
  49. data/test/tenderloin/actions/vm/forward_ports_test.rb +50 -0
  50. data/test/tenderloin/actions/vm/halt_test.rb +27 -0
  51. data/test/tenderloin/actions/vm/import_test.rb +36 -0
  52. data/test/tenderloin/actions/vm/move_hard_drive_test.rb +108 -0
  53. data/test/tenderloin/actions/vm/package_test.rb +181 -0
  54. data/test/tenderloin/actions/vm/provision_test.rb +103 -0
  55. data/test/tenderloin/actions/vm/reload_test.rb +44 -0
  56. data/test/tenderloin/actions/vm/resume_test.rb +27 -0
  57. data/test/tenderloin/actions/vm/shared_folders_test.rb +117 -0
  58. data/test/tenderloin/actions/vm/start_test.rb +28 -0
  59. data/test/tenderloin/actions/vm/suspend_test.rb +27 -0
  60. data/test/tenderloin/actions/vm/up_test.rb +98 -0
  61. data/test/tenderloin/box_test.rb +139 -0
  62. data/test/tenderloin/busy_test.rb +83 -0
  63. data/test/tenderloin/commands_test.rb +269 -0
  64. data/test/tenderloin/config_test.rb +123 -0
  65. data/test/tenderloin/downloaders/base_test.rb +20 -0
  66. data/test/tenderloin/downloaders/file_test.rb +32 -0
  67. data/test/tenderloin/downloaders/http_test.rb +40 -0
  68. data/test/tenderloin/env_test.rb +345 -0
  69. data/test/tenderloin/ssh_test.rb +103 -0
  70. data/test/tenderloin/util_test.rb +64 -0
  71. data/test/tenderloin/vm_test.rb +89 -0
  72. data/test/test_helper.rb +92 -0
  73. metadata +241 -0
metadata ADDED
@@ -0,0 +1,241 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: tenderloin
3
+ version: !ruby/object:Gem::Version
4
+ version: 0.2.0
5
+ prerelease:
6
+ platform: ruby
7
+ authors:
8
+ - Mitchell Hashimoto
9
+ - John Bender
10
+ - Lincoln Stoll
11
+ autorequire:
12
+ bindir: bin
13
+ cert_chain: []
14
+ date: 2012-08-30 00:00:00.000000000 Z
15
+ dependencies:
16
+ - !ruby/object:Gem::Dependency
17
+ name: net-ssh
18
+ requirement: !ruby/object:Gem::Requirement
19
+ none: false
20
+ requirements:
21
+ - - ! '>='
22
+ - !ruby/object:Gem::Version
23
+ version: 2.0.19
24
+ type: :runtime
25
+ prerelease: false
26
+ version_requirements: !ruby/object:Gem::Requirement
27
+ none: false
28
+ requirements:
29
+ - - ! '>='
30
+ - !ruby/object:Gem::Version
31
+ version: 2.0.19
32
+ - !ruby/object:Gem::Dependency
33
+ name: net-scp
34
+ requirement: !ruby/object:Gem::Requirement
35
+ none: false
36
+ requirements:
37
+ - - ! '>='
38
+ - !ruby/object:Gem::Version
39
+ version: 1.0.2
40
+ type: :runtime
41
+ prerelease: false
42
+ version_requirements: !ruby/object:Gem::Requirement
43
+ none: false
44
+ requirements:
45
+ - - ! '>='
46
+ - !ruby/object:Gem::Version
47
+ version: 1.0.2
48
+ - !ruby/object:Gem::Dependency
49
+ name: json
50
+ requirement: !ruby/object:Gem::Requirement
51
+ none: false
52
+ requirements:
53
+ - - ! '>='
54
+ - !ruby/object:Gem::Version
55
+ version: 1.2.0
56
+ type: :runtime
57
+ prerelease: false
58
+ version_requirements: !ruby/object:Gem::Requirement
59
+ none: false
60
+ requirements:
61
+ - - ! '>='
62
+ - !ruby/object:Gem::Version
63
+ version: 1.2.0
64
+ - !ruby/object:Gem::Dependency
65
+ name: archive-tar-minitar
66
+ requirement: !ruby/object:Gem::Requirement
67
+ none: false
68
+ requirements:
69
+ - - '='
70
+ - !ruby/object:Gem::Version
71
+ version: 0.5.2
72
+ type: :runtime
73
+ prerelease: false
74
+ version_requirements: !ruby/object:Gem::Requirement
75
+ none: false
76
+ requirements:
77
+ - - '='
78
+ - !ruby/object:Gem::Version
79
+ version: 0.5.2
80
+ - !ruby/object:Gem::Dependency
81
+ name: thor
82
+ requirement: !ruby/object:Gem::Requirement
83
+ none: false
84
+ requirements:
85
+ - - ! '>='
86
+ - !ruby/object:Gem::Version
87
+ version: '0'
88
+ type: :runtime
89
+ prerelease: false
90
+ version_requirements: !ruby/object:Gem::Requirement
91
+ none: false
92
+ requirements:
93
+ - - ! '>='
94
+ - !ruby/object:Gem::Version
95
+ version: '0'
96
+ description: Tenderloin is a tool for building and distributing virtualized development
97
+ environments using VMWare fusion.
98
+ email:
99
+ - mitchell.hashimoto@gmail.com
100
+ - john.m.bender@gmail.com
101
+ - lstoll@me.com
102
+ executables:
103
+ - loin
104
+ extensions: []
105
+ extra_rdoc_files:
106
+ - LICENCE
107
+ - README.md
108
+ files:
109
+ - lib/tenderloin/actions/base.rb
110
+ - lib/tenderloin/actions/box/add.rb
111
+ - lib/tenderloin/actions/box/destroy.rb
112
+ - lib/tenderloin/actions/box/download.rb
113
+ - lib/tenderloin/actions/box/unpackage.rb
114
+ - lib/tenderloin/actions/runner.rb
115
+ - lib/tenderloin/actions/vm/boot.rb
116
+ - lib/tenderloin/actions/vm/destroy.rb
117
+ - lib/tenderloin/actions/vm/halt.rb
118
+ - lib/tenderloin/actions/vm/import.rb
119
+ - lib/tenderloin/actions/vm/move_hard_drive.rb
120
+ - lib/tenderloin/actions/vm/provision.rb
121
+ - lib/tenderloin/actions/vm/reload.rb
122
+ - lib/tenderloin/actions/vm/shared_folders.rb
123
+ - lib/tenderloin/actions/vm/start.rb
124
+ - lib/tenderloin/actions/vm/up.rb
125
+ - lib/tenderloin/box.rb
126
+ - lib/tenderloin/busy.rb
127
+ - lib/tenderloin/cli.rb
128
+ - lib/tenderloin/commands.rb
129
+ - lib/tenderloin/config.rb
130
+ - lib/tenderloin/downloaders/base.rb
131
+ - lib/tenderloin/downloaders/file.rb
132
+ - lib/tenderloin/downloaders/http.rb
133
+ - lib/tenderloin/env.rb
134
+ - lib/tenderloin/fusion_vm.rb
135
+ - lib/tenderloin/ssh.rb
136
+ - lib/tenderloin/util.rb
137
+ - lib/tenderloin/vm.rb
138
+ - lib/tenderloin/vmx_file.rb
139
+ - lib/tenderloin.rb
140
+ - bin/loin
141
+ - script/tenderloin-ssh-expect.sh
142
+ - templates/Tenderfile
143
+ - config/default.rb
144
+ - LICENCE
145
+ - README.md
146
+ - Version
147
+ - test/tenderloin/actions/base_test.rb
148
+ - test/tenderloin/actions/box/add_test.rb
149
+ - test/tenderloin/actions/box/destroy_test.rb
150
+ - test/tenderloin/actions/box/download_test.rb
151
+ - test/tenderloin/actions/box/unpackage_test.rb
152
+ - test/tenderloin/actions/runner_test.rb
153
+ - test/tenderloin/actions/vm/boot_test.rb
154
+ - test/tenderloin/actions/vm/destroy_test.rb
155
+ - test/tenderloin/actions/vm/down_test.rb
156
+ - test/tenderloin/actions/vm/export_test.rb
157
+ - test/tenderloin/actions/vm/forward_ports_test.rb
158
+ - test/tenderloin/actions/vm/halt_test.rb
159
+ - test/tenderloin/actions/vm/import_test.rb
160
+ - test/tenderloin/actions/vm/move_hard_drive_test.rb
161
+ - test/tenderloin/actions/vm/package_test.rb
162
+ - test/tenderloin/actions/vm/provision_test.rb
163
+ - test/tenderloin/actions/vm/reload_test.rb
164
+ - test/tenderloin/actions/vm/resume_test.rb
165
+ - test/tenderloin/actions/vm/shared_folders_test.rb
166
+ - test/tenderloin/actions/vm/start_test.rb
167
+ - test/tenderloin/actions/vm/suspend_test.rb
168
+ - test/tenderloin/actions/vm/up_test.rb
169
+ - test/tenderloin/box_test.rb
170
+ - test/tenderloin/busy_test.rb
171
+ - test/tenderloin/commands_test.rb
172
+ - test/tenderloin/config_test.rb
173
+ - test/tenderloin/downloaders/base_test.rb
174
+ - test/tenderloin/downloaders/file_test.rb
175
+ - test/tenderloin/downloaders/http_test.rb
176
+ - test/tenderloin/env_test.rb
177
+ - test/tenderloin/ssh_test.rb
178
+ - test/tenderloin/util_test.rb
179
+ - test/tenderloin/vm_test.rb
180
+ - test/test_helper.rb
181
+ homepage: http://github.com/lstoll/tenderloin
182
+ licenses: []
183
+ post_install_message:
184
+ rdoc_options:
185
+ - --charset=UTF-8
186
+ require_paths:
187
+ - lib
188
+ required_ruby_version: !ruby/object:Gem::Requirement
189
+ none: false
190
+ requirements:
191
+ - - ! '>='
192
+ - !ruby/object:Gem::Version
193
+ version: '0'
194
+ required_rubygems_version: !ruby/object:Gem::Requirement
195
+ none: false
196
+ requirements:
197
+ - - ! '>='
198
+ - !ruby/object:Gem::Version
199
+ version: '0'
200
+ requirements: []
201
+ rubyforge_project:
202
+ rubygems_version: 1.8.23
203
+ signing_key:
204
+ specification_version: 3
205
+ summary: Tenderloin is a tool for building and distributing virtualized development
206
+ environments using VMWare fusion.
207
+ test_files:
208
+ - test/tenderloin/actions/base_test.rb
209
+ - test/tenderloin/actions/box/add_test.rb
210
+ - test/tenderloin/actions/box/destroy_test.rb
211
+ - test/tenderloin/actions/box/download_test.rb
212
+ - test/tenderloin/actions/box/unpackage_test.rb
213
+ - test/tenderloin/actions/runner_test.rb
214
+ - test/tenderloin/actions/vm/boot_test.rb
215
+ - test/tenderloin/actions/vm/destroy_test.rb
216
+ - test/tenderloin/actions/vm/down_test.rb
217
+ - test/tenderloin/actions/vm/export_test.rb
218
+ - test/tenderloin/actions/vm/forward_ports_test.rb
219
+ - test/tenderloin/actions/vm/halt_test.rb
220
+ - test/tenderloin/actions/vm/import_test.rb
221
+ - test/tenderloin/actions/vm/move_hard_drive_test.rb
222
+ - test/tenderloin/actions/vm/package_test.rb
223
+ - test/tenderloin/actions/vm/provision_test.rb
224
+ - test/tenderloin/actions/vm/reload_test.rb
225
+ - test/tenderloin/actions/vm/resume_test.rb
226
+ - test/tenderloin/actions/vm/shared_folders_test.rb
227
+ - test/tenderloin/actions/vm/start_test.rb
228
+ - test/tenderloin/actions/vm/suspend_test.rb
229
+ - test/tenderloin/actions/vm/up_test.rb
230
+ - test/tenderloin/box_test.rb
231
+ - test/tenderloin/busy_test.rb
232
+ - test/tenderloin/commands_test.rb
233
+ - test/tenderloin/config_test.rb
234
+ - test/tenderloin/downloaders/base_test.rb
235
+ - test/tenderloin/downloaders/file_test.rb
236
+ - test/tenderloin/downloaders/http_test.rb
237
+ - test/tenderloin/env_test.rb
238
+ - test/tenderloin/ssh_test.rb
239
+ - test/tenderloin/util_test.rb
240
+ - test/tenderloin/vm_test.rb
241
+ - test/test_helper.rb