vagrant-ebcommon 0.4.6 → 0.4.7

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: 49a868ee40b52d81c90387e8279b2e88ba9549ad
4
- data.tar.gz: daa3df695f109a197b466cda2651428c9ed5d018
3
+ metadata.gz: 97b4f83a4993e307b5e2af9dbdd21e78f1c5e303
4
+ data.tar.gz: 7aa56d0f9c96986e62114336607fc5f4634c2194
5
5
  SHA512:
6
- metadata.gz: b3f2e8181a648e1caa73452ed7a5d75a189aa11d565fe571a2918e8e63d07c2ad4049facce3cffc2f4f12221fc0c9fb62d89897dbcf71c38d2af0689f0eb99dd
7
- data.tar.gz: adf9cc59df620fdd0ff9ea706de502ab576bbdb63421c7270741ad0a5da74550c17c9afddf7a95cc7504d318d7d1040fc74a20688e837e846fec26ffd5464aa0
6
+ metadata.gz: 7edcc535c5ef4bc8083cf023bebdf48a45964a24cbade22a159bd7b2c61d5e16ff640d5bba123384eb2ff8d247ac6bc54ff79ee4c706ce7652d193f0b9994fc5
7
+ data.tar.gz: 5f4de793b78347d82c021e66c5913bba04bbc67d1471643442ffa47635acdf4491428882028d6d49cc499e60c09648411995ffc1f1e77741a0ce665c0e74916b
@@ -1,4 +1,4 @@
1
- #!/bin/sh
1
+ #!/bin/bash
2
2
 
3
3
  # Our pre-push hook for python repositories. This is distributed via our
4
4
  # vagrant plugin: https://github.com/eventbrite/vagrant-ebcommon.
@@ -44,14 +44,14 @@ push_command=$(ps -ocommand= -p $PPID)
44
44
 
45
45
  is_destructive='\-\-force|\-\-delete| \-f'
46
46
 
47
- will_remove_protected_branch=':'$protected_branch
47
+ will_remove_protected_branch=' :'$protected_branch
48
48
 
49
49
  do_exit(){
50
50
  echo $policy
51
51
  exit 1
52
52
  }
53
53
 
54
- if [[ $push_command =~ $is_destructive ]] && [ $current_branch = $protected_branch ]; then
54
+ if [[ $push_command =~ $is_destructive ]] && [[ $current_branch = $protected_branch ]]; then
55
55
  do_exit
56
56
  fi
57
57
 
@@ -1,5 +1,5 @@
1
1
  module VagrantPlugins
2
2
  module Ebcommon
3
- VERSION = "0.4.6"
3
+ VERSION = "0.4.7"
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.6
4
+ version: 0.4.7
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-29 00:00:00.000000000 Z
11
+ date: 2014-06-03 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler