vrundler 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f8954ad00769ec2555b8a9d5db526fd2a32ccb4f
4
- data.tar.gz: 0146d8ef94910acaee4a4f7c8bab63bb90d70083
3
+ metadata.gz: bc16e0478c13b0f4ca818a2583069d0dc96ffcad
4
+ data.tar.gz: 2539adf0f7d0e9c56e417fc261a1a9e44186f090
5
5
  SHA512:
6
- metadata.gz: dde94e0a7ce644c9c44e1ff148dfdf507c7cb9ef8e75f5a9e13000e8c88ec8794237774f6b799469c86386509aafe0241352086f9501d256e6c8dde34ca86b19
7
- data.tar.gz: 9866b34f3a6c599640880fa90ae2a3e9b28583ea732545ea0ad1f4b04e054cd2e58b9c1b6ef0ec05692c6c187fc7c0227d2139335a5b27f9c022f85a9bc69b32
6
+ metadata.gz: 8f81220e382d572975bb81c788035a0020829049a29f46de9cfda2a36cd0964bcfc9778ca35676c1267de815c7706c3680a3c24aad491ca481bca248dce8be04
7
+ data.tar.gz: a59da74923ede561571435ae4965ff778bb658e3afbbbd762f353c33b6c9ef836773cb0a1e6e1edd449476d6e1f50a3059c9331a9cb416d1b70c44bd186fabcb
@@ -1,6 +1,6 @@
1
1
  The MIT License (MIT)
2
2
 
3
- Copyright (c) 2012 - 2014 Jean-Paul Sylvain Boodhoo
3
+ Copyright (c) 2014 Jean-Paul Sylvain Boodhoo
4
4
 
5
5
  Permission is hereby granted, free of charge, to any person obtaining a copy
6
6
  of this software and associated documentation files (the "Software"), to deal
data/README.md CHANGED
@@ -1,7 +1,184 @@
1
1
  #VRundler
2
2
 
3
- This project is a a simple utility that I wrote to manage my vim plugin ecosystem.
3
+ ##Description
4
4
 
5
- #Usage
5
+ vrundler is a simple tool for managing your vim plugin management using ruby.
6
6
 
7
- TODO
7
+ ##Installation
8
+
9
+ ```bash
10
+ gem install vrundler
11
+ ```
12
+
13
+ ##Usage and documentation
14
+
15
+ Create a configuration file for VRundler that allows you to specify the bundles you want vim to use. The following code is a configuration file that uses all of the features of vrundler:
16
+
17
+ ```ruby
18
+ # Specify the path where you want your bundles installed
19
+ bundles_dir '/Users/developwithpassion/.vim_runtime/bundle'
20
+
21
+ # A github group allows you to specify a github user name
22
+ github 'vim-scripts' do
23
+
24
+ # A bundle is a named vim plugin repo for the user, you can specify
25
+ # multiple by separating each plugin with a comma, this is useful if you are
26
+ # getting multiple plugins from a single author, you can also specify each plugin
27
+ # with separate calls to: bundle '[PLUGIN]'
28
+ bundle 'dbext.vim',
29
+ 'vimgrep.vim'
30
+ end
31
+
32
+ github :altercation do
33
+ bundle 'vim-colors-solarized'
34
+ end
35
+
36
+ github :benmills do
37
+ bundle 'vimux'
38
+ end
39
+
40
+ github :developwithpassion do
41
+ bundle 'TwitVim'
42
+ end
43
+
44
+ # A symlink bundle is just a vim plugin that is on your local file system somewhere
45
+ # and you want it symlinked into your vim bundle folder, the first argument is
46
+ # the name the symlink will be given in your plugin folder
47
+ symlink :dwp_vim_general, '/to_backup/repositories/open_source/dwp_vim_general'
48
+
49
+ github :ecomba do
50
+ bundle 'vim-ruby-refactoring'
51
+ end
52
+
53
+ github :elzr do
54
+ bundle 'vim-json'
55
+ end
56
+
57
+ github :ervandew do
58
+ bundle 'supertab'
59
+ end
60
+
61
+ github :nanotech do
62
+ bundle 'jellybeans.vim'
63
+ end
64
+
65
+ github :kana do
66
+ bundle 'vim-fakeclip'
67
+ end
68
+
69
+ github :kien do
70
+ bundle 'ctrlp.vim'
71
+ end
72
+
73
+ github :MarcWeber do
74
+ bundle 'vim-addon-mw-utils'
75
+ end
76
+
77
+ github :scrooloose do
78
+ bundle 'syntastic' ,
79
+ 'nerdtree'
80
+ end
81
+
82
+ github :jistr do
83
+ bundle 'vim-nerdtree-tabs'
84
+ end
85
+
86
+ github :sukima do
87
+ bundle 'xmledit'
88
+ end
89
+
90
+ github :timcharper do
91
+ bundle 'textile.vim'
92
+ end
93
+
94
+ github :thoughtbot do
95
+ bundle 'vim-rspec'
96
+ end
97
+
98
+ github :pangloss do
99
+ bundle 'vim-javascript'
100
+ end
101
+
102
+ github :SirVer do
103
+ bundle 'ultisnips'
104
+ end
105
+
106
+ github :tomtom do
107
+ bundle 'tcomment_vim',
108
+ 'tlib_vim'
109
+ end
110
+
111
+ github :tpope do
112
+ bundle 'vim-cucumber',
113
+ 'vim-endwise',
114
+ 'vim-fugitive',
115
+ 'vim-git',
116
+ 'vim-haml',
117
+ 'vim-markdown',
118
+ 'vim-rails',
119
+ 'vim-repeat',
120
+ 'vim-surround',
121
+ 'vim-vividchalk'
122
+ end
123
+
124
+ github :Lokaltog do
125
+ bundle 'vim-distinguished'
126
+ end
127
+
128
+ github :Valloric do
129
+ bundle 'YouCompleteMe' do |b, context|
130
+ b.after_download do
131
+ Dir.chdir(context.output_folder(b)) do
132
+ system("git submodule update --init --recursive && ./install.sh")
133
+ end
134
+ end
135
+ end
136
+ bundle 'MatchTagAlways'
137
+ end
138
+
139
+ github 'vim-ruby' do
140
+ bundle 'vim-ruby'
141
+ end
142
+
143
+
144
+ # A vimscripts group allows you to pull down individual script files from vimscripts.org
145
+ vimscripts do
146
+
147
+ # when you define a group inside a vimscripts section, the first arugment specifies
148
+ # what type of plugin the script is
149
+ group :plugins do
150
+ script 'IndexedSearch', 7062
151
+ script 'autotag', 12473
152
+ script 'DirDiff', 13435
153
+ end
154
+
155
+ group :syntax do
156
+ script 'jquery', 12276
157
+ end
158
+ end
159
+
160
+ # A vimzips group allows you to pull down individual zip files from vimscripts.org
161
+ vimzips do
162
+ zip :vimgrep, 3407
163
+ zip :bufexplorer, 20953
164
+ end
165
+ ```
166
+
167
+ With the configuration file in place, if you are in the folder that contains the configuration file, you can just run:
168
+
169
+
170
+ ```bash
171
+ vrundler install
172
+ ```
173
+
174
+ If not, you will need to provide a path to the configuration file as an argument:
175
+
176
+ ```bash
177
+ vrundler install --config_file=PATH_TO_YOUR_CONFIG_FILE
178
+ ```
179
+
180
+ ##License
181
+
182
+ Released under the MIT License. See the [LICENSE][] file for further details.
183
+
184
+ [license]: LICENSE.md
data/bin/vrundler CHANGED
@@ -4,13 +4,13 @@ require 'thor'
4
4
  require 'vrundler'
5
5
 
6
6
  class CLI < Thor
7
- class_option :vrundles_file, type: :string, default: "VRundles"
7
+ class_option :config_file, type: :string, default: "VRundles"
8
8
 
9
9
  desc 'install', 'Installs the vim bundles you have specified in your VRundles file'
10
10
  def install
11
- ensure_vrundles_file_provided
11
+ ensure_config_file_provided
12
12
 
13
- load vrundles_file
13
+ load config_file
14
14
 
15
15
  Dir.chdir Bundles.bundles_dir do
16
16
  Bundles.unpack_all_bundles
@@ -18,17 +18,17 @@ class CLI < Thor
18
18
  end
19
19
 
20
20
  no_commands do
21
- def vrundles_file?
22
- File.exist?(vrundles_file)
21
+ def config_file?
22
+ File.exist?(config_file)
23
23
  end
24
24
 
25
- def vrundles_file
26
- options[:vrundles_file]
25
+ def config_file
26
+ options[:config_file]
27
27
  end
28
28
 
29
- def ensure_vrundles_file_provided
30
- unless vrundles_file?
31
- puts "You need to run this when you are in a folder that contains a VRundlesFile. Or specify a path to a valid VRundler configuration file using --vrundles_file=FILE"
29
+ def ensure_config_file_provided
30
+ unless config_file?
31
+ puts "You need to run this when you are in a folder that contains a VRundlesFile. Or specify a path to a valid VRundler configuration file using --config_file=FILE"
32
32
  exit
33
33
  end
34
34
  end
@@ -1,3 +1,3 @@
1
1
  module VRundler
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vrundler
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Develop With Passion®
@@ -34,7 +34,7 @@ extra_rdoc_files: []
34
34
  files:
35
35
  - ".gitignore"
36
36
  - Gemfile
37
- - LICENSE
37
+ - LICENSE.md
38
38
  - README.md
39
39
  - Rakefile
40
40
  - bin/vrundler