vimpack 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (62) hide show
  1. data/.autotest +13 -0
  2. data/.gitignore +6 -0
  3. data/.rspec +2 -0
  4. data/.rvmrc +1 -0
  5. data/Gemfile +2 -0
  6. data/LICENSE +21 -0
  7. data/README.md +47 -0
  8. data/Rakefile +5 -0
  9. data/autotest/discover.rb +2 -0
  10. data/bin/vimpack +103 -0
  11. data/cucumber.yml +13 -0
  12. data/features/commands/environments.feature +26 -0
  13. data/features/commands/git.feature +77 -0
  14. data/features/commands/info.feature +28 -0
  15. data/features/commands/init.feature +47 -0
  16. data/features/commands/install.feature +50 -0
  17. data/features/commands/list.feature +18 -0
  18. data/features/commands/search.feature +137 -0
  19. data/features/commands/uninstall.feature +46 -0
  20. data/features/step_definitions/environment_steps.rb +3 -0
  21. data/features/step_definitions/file_utils_steps.rb +36 -0
  22. data/features/step_definitions/initialize_steps.rb +14 -0
  23. data/features/step_definitions/output_steps.rb +12 -0
  24. data/features/step_definitions/vimpack_git_steps.rb +91 -0
  25. data/features/support/env.rb +11 -0
  26. data/features/support/executable_paths.rb +15 -0
  27. data/lib/vimpack/commands/command.rb +46 -0
  28. data/lib/vimpack/commands/git.rb +32 -0
  29. data/lib/vimpack/commands/info.rb +26 -0
  30. data/lib/vimpack/commands/init.rb +23 -0
  31. data/lib/vimpack/commands/install.rb +35 -0
  32. data/lib/vimpack/commands/list.rb +14 -0
  33. data/lib/vimpack/commands/search.rb +37 -0
  34. data/lib/vimpack/commands/uninstall.rb +27 -0
  35. data/lib/vimpack/commands.rb +8 -0
  36. data/lib/vimpack/models/apibase.rb +7 -0
  37. data/lib/vimpack/models/base.rb +29 -0
  38. data/lib/vimpack/models/repo.rb +117 -0
  39. data/lib/vimpack/models/script.rb +110 -0
  40. data/lib/vimpack/models.rb +8 -0
  41. data/lib/vimpack/utils/api.rb +39 -0
  42. data/lib/vimpack/utils/file.rb +66 -0
  43. data/lib/vimpack/utils/file_path.rb +25 -0
  44. data/lib/vimpack/utils/git.rb +103 -0
  45. data/lib/vimpack/utils/github.rb +41 -0
  46. data/lib/vimpack/utils/io.rb +26 -0
  47. data/lib/vimpack/utils/process.rb +61 -0
  48. data/lib/vimpack/utils/vimscripts.rb +64 -0
  49. data/lib/vimpack/version.rb +4 -0
  50. data/lib/vimpack.rb +46 -0
  51. data/simplecov_setup.rb +5 -0
  52. data/spec/spec_helper.rb +32 -0
  53. data/spec/vimpack/models/repo_spec.rb +150 -0
  54. data/spec/vimpack/models/script_spec.rb +230 -0
  55. data/spec/vimpack/utils/github_spec.rb +39 -0
  56. data/spec/vimpack/utils/vimscripts_spec.rb +38 -0
  57. data/tasks/cucumber.rake +8 -0
  58. data/tasks/default.rake +2 -0
  59. data/tasks/rspec.rake +5 -0
  60. data/templates/vimrc.erb +6 -0
  61. data/vimpack.gemspec +42 -0
  62. metadata +333 -0
metadata ADDED
@@ -0,0 +1,333 @@
1
+ --- !ruby/object:Gem::Specification
2
+ name: vimpack
3
+ version: !ruby/object:Gem::Version
4
+ prerelease:
5
+ version: 0.0.1
6
+ platform: ruby
7
+ authors:
8
+ - Bram Swenson
9
+ autorequire:
10
+ bindir: bin
11
+ cert_chain: []
12
+
13
+ date: 2011-05-20 00:00:00 -07:00
14
+ default_executable:
15
+ dependencies:
16
+ - !ruby/object:Gem::Dependency
17
+ name: bundler
18
+ prerelease: false
19
+ requirement: &id001 !ruby/object:Gem::Requirement
20
+ none: false
21
+ requirements:
22
+ - - ">="
23
+ - !ruby/object:Gem::Version
24
+ version: 1.0.13
25
+ type: :runtime
26
+ version_requirements: *id001
27
+ - !ruby/object:Gem::Dependency
28
+ name: trollop
29
+ prerelease: false
30
+ requirement: &id002 !ruby/object:Gem::Requirement
31
+ none: false
32
+ requirements:
33
+ - - ~>
34
+ - !ruby/object:Gem::Version
35
+ version: 1.16.2
36
+ type: :runtime
37
+ version_requirements: *id002
38
+ - !ruby/object:Gem::Dependency
39
+ name: rainbow
40
+ prerelease: false
41
+ requirement: &id003 !ruby/object:Gem::Requirement
42
+ none: false
43
+ requirements:
44
+ - - ~>
45
+ - !ruby/object:Gem::Version
46
+ version: 1.1.1
47
+ type: :runtime
48
+ version_requirements: *id003
49
+ - !ruby/object:Gem::Dependency
50
+ name: childprocess
51
+ prerelease: false
52
+ requirement: &id004 !ruby/object:Gem::Requirement
53
+ none: false
54
+ requirements:
55
+ - - ~>
56
+ - !ruby/object:Gem::Version
57
+ version: 0.1.8
58
+ type: :runtime
59
+ version_requirements: *id004
60
+ - !ruby/object:Gem::Dependency
61
+ name: activemodel
62
+ prerelease: false
63
+ requirement: &id005 !ruby/object:Gem::Requirement
64
+ none: false
65
+ requirements:
66
+ - - ~>
67
+ - !ruby/object:Gem::Version
68
+ version: 3.0.4
69
+ type: :runtime
70
+ version_requirements: *id005
71
+ - !ruby/object:Gem::Dependency
72
+ name: yajl-ruby
73
+ prerelease: false
74
+ requirement: &id006 !ruby/object:Gem::Requirement
75
+ none: false
76
+ requirements:
77
+ - - ~>
78
+ - !ruby/object:Gem::Version
79
+ version: 0.8.1
80
+ type: :runtime
81
+ version_requirements: *id006
82
+ - !ruby/object:Gem::Dependency
83
+ name: enviro
84
+ prerelease: false
85
+ requirement: &id007 !ruby/object:Gem::Requirement
86
+ none: false
87
+ requirements:
88
+ - - ">="
89
+ - !ruby/object:Gem::Version
90
+ version: 0.0.4
91
+ type: :runtime
92
+ version_requirements: *id007
93
+ - !ruby/object:Gem::Dependency
94
+ name: nokogiri
95
+ prerelease: false
96
+ requirement: &id008 !ruby/object:Gem::Requirement
97
+ none: false
98
+ requirements:
99
+ - - ~>
100
+ - !ruby/object:Gem::Version
101
+ version: 1.4.4
102
+ type: :runtime
103
+ version_requirements: *id008
104
+ - !ruby/object:Gem::Dependency
105
+ name: octokit
106
+ prerelease: false
107
+ requirement: &id009 !ruby/object:Gem::Requirement
108
+ none: false
109
+ requirements:
110
+ - - ~>
111
+ - !ruby/object:Gem::Version
112
+ version: 0.6.3
113
+ type: :runtime
114
+ version_requirements: *id009
115
+ - !ruby/object:Gem::Dependency
116
+ name: vcr
117
+ prerelease: false
118
+ requirement: &id010 !ruby/object:Gem::Requirement
119
+ none: false
120
+ requirements:
121
+ - - ">="
122
+ - !ruby/object:Gem::Version
123
+ version: "0"
124
+ type: :development
125
+ version_requirements: *id010
126
+ - !ruby/object:Gem::Dependency
127
+ name: webmock
128
+ prerelease: false
129
+ requirement: &id011 !ruby/object:Gem::Requirement
130
+ none: false
131
+ requirements:
132
+ - - ">="
133
+ - !ruby/object:Gem::Version
134
+ version: "0"
135
+ type: :development
136
+ version_requirements: *id011
137
+ - !ruby/object:Gem::Dependency
138
+ name: cucumber
139
+ prerelease: false
140
+ requirement: &id012 !ruby/object:Gem::Requirement
141
+ none: false
142
+ requirements:
143
+ - - ">="
144
+ - !ruby/object:Gem::Version
145
+ version: "0"
146
+ type: :development
147
+ version_requirements: *id012
148
+ - !ruby/object:Gem::Dependency
149
+ name: rspec
150
+ prerelease: false
151
+ requirement: &id013 !ruby/object:Gem::Requirement
152
+ none: false
153
+ requirements:
154
+ - - ">="
155
+ - !ruby/object:Gem::Version
156
+ version: "0"
157
+ type: :development
158
+ version_requirements: *id013
159
+ - !ruby/object:Gem::Dependency
160
+ name: aruba
161
+ prerelease: false
162
+ requirement: &id014 !ruby/object:Gem::Requirement
163
+ none: false
164
+ requirements:
165
+ - - ">="
166
+ - !ruby/object:Gem::Version
167
+ version: "0"
168
+ type: :development
169
+ version_requirements: *id014
170
+ - !ruby/object:Gem::Dependency
171
+ name: autotest-standalone
172
+ prerelease: false
173
+ requirement: &id015 !ruby/object:Gem::Requirement
174
+ none: false
175
+ requirements:
176
+ - - ">="
177
+ - !ruby/object:Gem::Version
178
+ version: "0"
179
+ type: :development
180
+ version_requirements: *id015
181
+ - !ruby/object:Gem::Dependency
182
+ name: autotest-growl
183
+ prerelease: false
184
+ requirement: &id016 !ruby/object:Gem::Requirement
185
+ none: false
186
+ requirements:
187
+ - - ">="
188
+ - !ruby/object:Gem::Version
189
+ version: "0"
190
+ type: :development
191
+ version_requirements: *id016
192
+ - !ruby/object:Gem::Dependency
193
+ name: simplecov
194
+ prerelease: false
195
+ requirement: &id017 !ruby/object:Gem::Requirement
196
+ none: false
197
+ requirements:
198
+ - - ">="
199
+ - !ruby/object:Gem::Version
200
+ version: "0"
201
+ type: :development
202
+ version_requirements: *id017
203
+ - !ruby/object:Gem::Dependency
204
+ name: ruby-debug19
205
+ prerelease: false
206
+ requirement: &id018 !ruby/object:Gem::Requirement
207
+ none: false
208
+ requirements:
209
+ - - ">="
210
+ - !ruby/object:Gem::Version
211
+ version: "0"
212
+ type: :development
213
+ version_requirements: *id018
214
+ description: " Vim Script Package Manager based on pathogen.vim by Tim Pope "
215
+ email:
216
+ - bram@craniumisajar.com
217
+ executables:
218
+ - vimpack
219
+ extensions: []
220
+
221
+ extra_rdoc_files: []
222
+
223
+ files:
224
+ - .autotest
225
+ - .gitignore
226
+ - .rspec
227
+ - .rvmrc
228
+ - Gemfile
229
+ - LICENSE
230
+ - README.md
231
+ - Rakefile
232
+ - autotest/discover.rb
233
+ - bin/vimpack
234
+ - cucumber.yml
235
+ - features/commands/environments.feature
236
+ - features/commands/git.feature
237
+ - features/commands/info.feature
238
+ - features/commands/init.feature
239
+ - features/commands/install.feature
240
+ - features/commands/list.feature
241
+ - features/commands/search.feature
242
+ - features/commands/uninstall.feature
243
+ - features/step_definitions/environment_steps.rb
244
+ - features/step_definitions/file_utils_steps.rb
245
+ - features/step_definitions/initialize_steps.rb
246
+ - features/step_definitions/output_steps.rb
247
+ - features/step_definitions/vimpack_git_steps.rb
248
+ - features/support/env.rb
249
+ - features/support/executable_paths.rb
250
+ - lib/vimpack.rb
251
+ - lib/vimpack/commands.rb
252
+ - lib/vimpack/commands/command.rb
253
+ - lib/vimpack/commands/git.rb
254
+ - lib/vimpack/commands/info.rb
255
+ - lib/vimpack/commands/init.rb
256
+ - lib/vimpack/commands/install.rb
257
+ - lib/vimpack/commands/list.rb
258
+ - lib/vimpack/commands/search.rb
259
+ - lib/vimpack/commands/uninstall.rb
260
+ - lib/vimpack/models.rb
261
+ - lib/vimpack/models/apibase.rb
262
+ - lib/vimpack/models/base.rb
263
+ - lib/vimpack/models/repo.rb
264
+ - lib/vimpack/models/script.rb
265
+ - lib/vimpack/utils/api.rb
266
+ - lib/vimpack/utils/file.rb
267
+ - lib/vimpack/utils/file_path.rb
268
+ - lib/vimpack/utils/git.rb
269
+ - lib/vimpack/utils/github.rb
270
+ - lib/vimpack/utils/io.rb
271
+ - lib/vimpack/utils/process.rb
272
+ - lib/vimpack/utils/vimscripts.rb
273
+ - lib/vimpack/version.rb
274
+ - simplecov_setup.rb
275
+ - spec/spec_helper.rb
276
+ - spec/vimpack/models/repo_spec.rb
277
+ - spec/vimpack/models/script_spec.rb
278
+ - spec/vimpack/utils/github_spec.rb
279
+ - spec/vimpack/utils/vimscripts_spec.rb
280
+ - tasks/cucumber.rake
281
+ - tasks/default.rake
282
+ - tasks/rspec.rake
283
+ - templates/vimrc.erb
284
+ - vimpack.gemspec
285
+ has_rdoc: true
286
+ homepage: ""
287
+ licenses: []
288
+
289
+ post_install_message:
290
+ rdoc_options: []
291
+
292
+ require_paths:
293
+ - lib
294
+ required_ruby_version: !ruby/object:Gem::Requirement
295
+ none: false
296
+ requirements:
297
+ - - ">="
298
+ - !ruby/object:Gem::Version
299
+ version: "0"
300
+ required_rubygems_version: !ruby/object:Gem::Requirement
301
+ none: false
302
+ requirements:
303
+ - - ">="
304
+ - !ruby/object:Gem::Version
305
+ version: "0"
306
+ requirements: []
307
+
308
+ rubyforge_project: vimpack
309
+ rubygems_version: 1.6.1
310
+ signing_key:
311
+ specification_version: 3
312
+ summary: Vim Script Package Manager
313
+ test_files:
314
+ - features/commands/environments.feature
315
+ - features/commands/git.feature
316
+ - features/commands/info.feature
317
+ - features/commands/init.feature
318
+ - features/commands/install.feature
319
+ - features/commands/list.feature
320
+ - features/commands/search.feature
321
+ - features/commands/uninstall.feature
322
+ - features/step_definitions/environment_steps.rb
323
+ - features/step_definitions/file_utils_steps.rb
324
+ - features/step_definitions/initialize_steps.rb
325
+ - features/step_definitions/output_steps.rb
326
+ - features/step_definitions/vimpack_git_steps.rb
327
+ - features/support/env.rb
328
+ - features/support/executable_paths.rb
329
+ - spec/spec_helper.rb
330
+ - spec/vimpack/models/repo_spec.rb
331
+ - spec/vimpack/models/script_spec.rb
332
+ - spec/vimpack/utils/github_spec.rb
333
+ - spec/vimpack/utils/vimscripts_spec.rb