vim-epidemic 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
data/README.md CHANGED
@@ -2,6 +2,56 @@
2
2
 
3
3
  Downloads vim plugins and installs them into the pathogen.vim bundle directory.
4
4
 
5
+ # list installed plugins
6
+ vim-epidemic
7
+
8
+ # register plugins from git repositories (on GitHub by default)
9
+ vim-epidemic add tpope/vim-fugitive
10
+ vim-epidemic add git://github.com/tpope/vim-rails.git
11
+
12
+ # install/update registered plugins
13
+ vim-epidemic update
14
+
15
+ **v0.0.3: at the moment, epidemic.vim only supports plugins in the form of git repositories.**
16
+
17
+ ## Requirements
18
+
19
+ The `git` command must be available in the PATH.
20
+
21
+ ## Installation
22
+
23
+ gem install vim-epidemic
24
+
25
+ ## Usage
26
+
27
+ Add plugin repositories with `vim-epidemic add <REPO>` (see <a href="#configuration">Configuration</a>).
28
+
29
+ Install/update all registered plugins with `vim-epidemic update`. New plugin repositories will be cloned into `.vim/bundle`; existing ones will be updated with `git pull`.
30
+
31
+ The repositories must be publicly accessible.
32
+
33
+ <a name="configuration"></a>
34
+ ## Configuration
35
+
36
+ epidemic.vim looks for `~/.epidemic.vim.rb` by default. This file is automatically created when you use the `add` command.
37
+
38
+ ### Register Plugins
39
+
40
+ A plugin from a git repository can be added from the command line like this:
41
+
42
+ vim-epidemic add git://github.com/tpope/vim-rails.git
43
+
44
+ For GitHub repositories, the `username/repo` part is sufficient:
45
+
46
+ vim-epidemic add tpope/vim-fugitive
47
+
48
+ Or you can manually edit the configuration file:
49
+
50
+ ```ruby
51
+ install "tpope/vim-fugitive"
52
+ install "git://github.com/tpope/vim-rails.git"
53
+ ```
54
+
5
55
  ## License (MIT)
6
56
 
7
57
  Copyright (c) 2011 Alpha Hydrae
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.0.3
1
+ 0.0.4
@@ -4,7 +4,7 @@ require 'which_works'
4
4
  require 'fileutils'
5
5
 
6
6
  module VimEpidemic
7
- VERSION = '0.0.3'
7
+ VERSION = '0.0.4'
8
8
  end
9
9
 
10
10
  [ :config, :controller, :plugin ].each do |lib|
@@ -21,7 +21,7 @@ module VimEpidemic
21
21
  @plugins.empty?
22
22
  end
23
23
 
24
- def install *args, &block
24
+ def add *args, &block
25
25
  @plugins << Plugin.new(self, *args, block)
26
26
  end
27
27
 
@@ -48,7 +48,7 @@ module VimEpidemic
48
48
  File.open(@config.file, 'a') do |f|
49
49
  f.write %|\ninstall "#{args.first}"|
50
50
  end
51
- @config.install *args
51
+ @config.add *args
52
52
  end
53
53
  show_info
54
54
  end
@@ -5,7 +5,7 @@
5
5
 
6
6
  Gem::Specification.new do |s|
7
7
  s.name = "vim-epidemic"
8
- s.version = "0.0.3"
8
+ s.version = "0.0.4"
9
9
 
10
10
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
11
11
  s.authors = ["AlphaHydrae"]
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vim-epidemic
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: