vimjar 0.3.0 → 0.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- vimjar (0.3.0)
4
+ vimjar (0.3.1)
5
5
  thor
6
6
 
7
7
  GEM
@@ -19,7 +19,10 @@ module Vim
19
19
 
20
20
  def remove_from_cache(name)
21
21
  Dir.chdir(config.vim_home) do
22
- system("git rm -r --cached bundle/#{name}")
22
+ system("git rm -rf --cached bundle/#{name}")
23
+ end
24
+ Dir.chdir(config.vim_home) do
25
+ system("rm -rf bundle/#{name}")
23
26
  end
24
27
  end
25
28
 
@@ -3,12 +3,19 @@ module Vim
3
3
  module Plugin
4
4
  autoload :Git, 'vim-jar/plugin/git.rb'
5
5
 
6
+ extend ::Vim::Jar::Installer::Git
7
+
8
+
6
9
  def self.update
7
10
  Dir.chdir(config.vim_home) do
8
11
  system("git submodule update")
9
12
  end
10
13
  end
11
14
 
15
+ def self.uninstall(name)
16
+ uninstall_for(name)
17
+ end
18
+
12
19
  def self.installed
13
20
  @installed ||= Dir[config.bundle_home.join("*")].map { |bundle_path| File.basename(bundle_path) }
14
21
  end
@@ -1,5 +1,5 @@
1
1
  module Vim
2
2
  module Jar
3
- VERSION = "0.3.0"
3
+ VERSION = "0.3.1"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vimjar
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.0
4
+ version: 0.3.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -259,7 +259,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
259
259
  version: '0'
260
260
  segments:
261
261
  - 0
262
- hash: 1710094277052269476
262
+ hash: -1081957464841166271
263
263
  required_rubygems_version: !ruby/object:Gem::Requirement
264
264
  none: false
265
265
  requirements:
@@ -268,7 +268,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
268
268
  version: '0'
269
269
  segments:
270
270
  - 0
271
- hash: 1710094277052269476
271
+ hash: -1081957464841166271
272
272
  requirements: []
273
273
  rubyforge_project:
274
274
  rubygems_version: 1.8.24