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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: e545015e47053611755560e1a4abe25d0e35ea96
4
- data.tar.gz: 0a674229a6cbcdc1c2b48ade49db6c231c757729
3
+ metadata.gz: a4fcb02750c3d2334e716885b1207b59f9958827
4
+ data.tar.gz: 8dfda7ce75aac17989e1aa66681d3e399505a356
5
5
  SHA512:
6
- metadata.gz: d1ddf378e14df05a1732eba10b46b1ea27c917d8073e852158d3d7503f741c735276a5821e2a1efdeb17452a1a1c2abaa24b03995c0d539b3963a82221589b13
7
- data.tar.gz: 9b923ae9dca2562a8f575690a51135fb0677ebe00dc205c76c272b523280195221f96317a1a3d3062518422ccc2ea750963b9c467da633c5f7eca496ddefb7b9
6
+ metadata.gz: adc44325b601248021cdaadb7692cc908071f6ae89afc84697f5d9e52ef7714e2c12182dbf7154e3c55e2a2ae1518c13c07dfe812c9f184b8961ae3e0723278f
7
+ data.tar.gz: 29e575f502ecbfac3afa372a00c01a21917da87cc9777197ed09ea3fba93c020f7ed0c406d729b0162015c62726a2c7d920008d34b45962808e843770bc01546
@@ -1,12 +1,18 @@
1
- #!/usr/bin/env sh
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
- DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
6
- # Get all files separated by a space
7
- FILES=$(git diff --name-only HEAD HEAD~1 | tee | tr '\n' ' ')
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
@@ -1,5 +1,5 @@
1
1
  module VagrantPlugins
2
2
  module Ebcommon
3
- VERSION = "0.5.1"
3
+ VERSION = "0.5.2"
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.5.1
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-06 00:00:00.000000000 Z
11
+ date: 2014-07-18 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler