vagrant-ebcommon 0.5.1 → 0.5.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/vagrant-ebcommon/files/git_hooks/post-commit +13 -7
- data/lib/vagrant-ebcommon/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a4fcb02750c3d2334e716885b1207b59f9958827
|
4
|
+
data.tar.gz: 8dfda7ce75aac17989e1aa66681d3e399505a356
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: adc44325b601248021cdaadb7692cc908071f6ae89afc84697f5d9e52ef7714e2c12182dbf7154e3c55e2a2ae1518c13c07dfe812c9f184b8961ae3e0723278f
|
7
|
+
data.tar.gz: 29e575f502ecbfac3afa372a00c01a21917da87cc9777197ed09ea3fba93c020f7ed0c406d729b0162015c62726a2c7d920008d34b45962808e843770bc01546
|
@@ -1,12 +1,18 @@
|
|
1
|
-
#!/usr/bin/env
|
1
|
+
#!/usr/bin/env bash
|
2
2
|
#
|
3
|
+
# For the eventbrite core repository only, check to see which acceptance tests are effected by a given commit.
|
3
4
|
#
|
4
|
-
|
5
|
-
|
6
|
-
|
7
|
-
|
5
|
+
REMOTE_URL="`git config --get remote.origin.url`"
|
6
|
+
REPO_NAME="`basename $REMOTE_URL`"
|
7
|
+
|
8
|
+
if [ "$REPO_NAME" = "core.git" ]
|
9
|
+
then
|
10
|
+
DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
|
11
|
+
# Get all files separated by a space
|
12
|
+
FILES=$(git diff --name-only HEAD HEAD~1 | tee | tr '\n' ' ')
|
8
13
|
|
9
14
|
|
10
|
-
# Pass all the affected files to our Ruby script
|
11
|
-
$DIR/yaml-parser.rb $FILES
|
15
|
+
# Pass all the affected files to our Ruby script
|
16
|
+
$DIR/yaml-parser.rb $FILES
|
17
|
+
fi
|
12
18
|
exit 0
|
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.2
|
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-07-
|
11
|
+
date: 2014-07-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|