vagrant-ebcommon 0.5.3 → 0.5.5
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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 18eac42361dbaaa05741efb88013984cd30c2cf9
|
|
4
|
+
data.tar.gz: 733159fe8d8c5ee3aed42782230b0be4476c3704
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 05b45bb2c510b61bfaa712ef86825bfbee76874d69dd742dc22200d77dfe4b15e331a48eb80e326053f95b4c6a6f4197c672a522aae876cd938c8abc68345a45
|
|
7
|
+
data.tar.gz: 75ee9ef3c140d565e622852089811f397db9baf14922ec4df43d7250439df72e6329113903960c6c1d51b18892e7a550e0203ffa11462fc6b5b4f3037ff6561e
|
|
@@ -48,6 +48,7 @@ module VagrantPlugins
|
|
|
48
48
|
def setup_git_hooks
|
|
49
49
|
if @ebcommon.git_hook_repos
|
|
50
50
|
plugin_hooks_dir = File.expand_path File.join(File.dirname(__FILE__), '..', 'files', 'git_hooks')
|
|
51
|
+
FileUtils.mkdir(plugin_hooks_dir) unless File.directory?(plugin_hooks_dir)
|
|
51
52
|
git_hooks = Dir.entries(plugin_hooks_dir).select {|f| !File.directory? f}
|
|
52
53
|
@env[:ui].info 'Copying over git commit hooks...'
|
|
53
54
|
|
|
@@ -13,14 +13,14 @@ end
|
|
|
13
13
|
# Print out all the relavant tests, or all if there's a lot.
|
|
14
14
|
if !ARGV[0].empty?
|
|
15
15
|
# Collect all the tests from the YAML
|
|
16
|
-
tests = ARGV.map{ |
|
|
17
|
-
if tests[0].nil?
|
|
16
|
+
tests = ARGV.map{ |file| data[file] }.compact()
|
|
17
|
+
if tests.any? && tests[0].nil?
|
|
18
18
|
# No tests to run, simply exit.
|
|
19
19
|
exit 0
|
|
20
20
|
elsif tests[0].length < 50
|
|
21
21
|
puts "The following acceptance tests are affected by your changes\n"
|
|
22
|
-
tests[0].each do |
|
|
23
|
-
puts "- #{
|
|
22
|
+
tests[0].each do |t|
|
|
23
|
+
puts "- #{t}"
|
|
24
24
|
end
|
|
25
25
|
else
|
|
26
26
|
puts "Your changes affect almost everything. I suggest you run all tests in Sauce"
|
|
@@ -30,5 +30,3 @@ else
|
|
|
30
30
|
puts "Error: Nothing was passed to this script"
|
|
31
31
|
exit 1
|
|
32
32
|
end
|
|
33
|
-
|
|
34
|
-
|
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.5.
|
|
4
|
+
version: 0.5.5
|
|
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-
|
|
11
|
+
date: 2014-10-16 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|