vagrant-ebcommon 0.4.2 → 0.4.3

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.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: dd9fc1a431da6d7ce20cc54c747d589b14a97e15
4
- data.tar.gz: ab7217b1f378e20510587589b32491ccd40f7ba7
3
+ metadata.gz: 0d6469c25ac5b137124b0c9594966b5714b14f4e
4
+ data.tar.gz: a9d9140d6113310d885ccd9bc4eadbd18df82b8c
5
5
  SHA512:
6
- metadata.gz: 7c85d90d18e7077fd54a1f51e55ed71eff75f1123e0c43c1b187d59628e271d252dcac9d0e2161a9299f434fccba06084a2cb7daa09f7d130b59fa52e777e77b
7
- data.tar.gz: 722a28ccef7b5398bfff34764855a4051c476af6e769c63a19980ad03a0192c070632694f869ffb07776a93a87118585d45df46340219dbfb16799c476e17604
6
+ metadata.gz: 93ef1d36f30a706546836393edc717a3059bf945f42822aac4242974a0dd0c894d1c0eaca3b349a1df77e529b6901968aa808d52bb4fd3626dac30d3939da29a
7
+ data.tar.gz: 1c07561e75e7de6ef2db79018bddb3ffd741bd3c0c69d022930977c9668ff37e489e6c4cc4a75237013b2028dab96d49ab4489393b81cfe5dfd10b108439b2d1
@@ -40,19 +40,19 @@ module VagrantPlugins
40
40
 
41
41
  # Copy over our git commit hooks
42
42
  def setup_git_hooks
43
- plugin_hooks_dir = File.expand_path File.join(File.dirname(__FILE__), '..', 'files', 'git_hooks')
44
- git_hooks = Dir.entries(plugin_hooks_dir).select {|f| !File.directory? f}
45
43
  if @ebcommon.git_hook_repos
44
+ plugin_hooks_dir = File.expand_path File.join(File.dirname(__FILE__), '..', 'files', 'git_hooks')
45
+ git_hooks = Dir.entries(plugin_hooks_dir).select {|f| !File.directory? f}
46
46
  @env[:ui].info 'Copying over git commit hooks...'
47
- end
48
47
 
49
- @ebcommon.git_hook_repos.each do |repo_path|
50
- target_directory = File.join @ebcommon.git_hook_root_dir, repo_path, '.git', 'hooks'
51
- if File.directory? target_directory
52
- git_hooks.each do |hook|
53
- @env[:ui].success "Copying over git hook: #{hook} to #{target_directory}"
54
- source = File.join plugin_hooks_dir, hook
55
- FileUtils.cp source, target_directory
48
+ @ebcommon.git_hook_repos.each do |repo_path|
49
+ target_directory = File.join @ebcommon.git_hook_root_dir, repo_path, '.git', 'hooks'
50
+ if File.directory? target_directory
51
+ git_hooks.each do |hook|
52
+ @env[:ui].success "Copying over git hook: #{hook} to #{target_directory}"
53
+ source = File.join plugin_hooks_dir, hook
54
+ FileUtils.cp source, target_directory
55
+ end
56
56
  end
57
57
  end
58
58
  end
@@ -1,5 +1,5 @@
1
1
  module VagrantPlugins
2
2
  module Ebcommon
3
- VERSION = "0.4.2"
3
+ VERSION = "0.4.3"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vagrant-ebcommon
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.2
4
+ version: 0.4.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Hahn
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-05-09 00:00:00.000000000 Z
11
+ date: 2014-05-10 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler