vagrant-ebcommon 0.4.7 → 0.4.8

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: 97b4f83a4993e307b5e2af9dbdd21e78f1c5e303
4
- data.tar.gz: 7aa56d0f9c96986e62114336607fc5f4634c2194
3
+ metadata.gz: aaa94f145b9983b9f5296a2c5b47ee9a70d0ef4d
4
+ data.tar.gz: 45868b0a0c291c37a0ee9ffda04f5c4c745a6330
5
5
  SHA512:
6
- metadata.gz: 7edcc535c5ef4bc8083cf023bebdf48a45964a24cbade22a159bd7b2c61d5e16ff640d5bba123384eb2ff8d247ac6bc54ff79ee4c706ce7652d193f0b9994fc5
7
- data.tar.gz: 5f4de793b78347d82c021e66c5913bba04bbc67d1471643442ffa47635acdf4491428882028d6d49cc499e60c09648411995ffc1f1e77741a0ce665c0e74916b
6
+ metadata.gz: 44859b5cf7326750de45578dadb724c9a2247beb898fb20d3fcaf2fcf2e10a4a6dd9332e0547bbc3c78d161a9088dc1e9a2f031ad6fefc6958fd8232869f4398
7
+ data.tar.gz: f66bf9d812a3c6b76628c897a7caade84bfdabdd327fd2c346a04f5a668202899e71be5be736be287e1f6d4a7fab23d2d16c0b32644b25df11b1529f637e6284
@@ -0,0 +1,12 @@
1
+ #!/usr/bin/env sh
2
+ #
3
+ #
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' ' ')
8
+
9
+
10
+ # Pass all the affected files to our Ruby script
11
+ $DIR/yaml-parser.rb $FILES
12
+ exit 0
@@ -0,0 +1,31 @@
1
+ #!/usr/bin/env ruby
2
+ require 'yaml'
3
+
4
+ KNOWS_FILE = Dir.pwd + '/django/src/www/eventbrite/common/automation/webdriver/static_files/knows_out.yml'
5
+
6
+ # Slurp the YAML file, die if something goes wrong
7
+ begin
8
+ data = YAML::load(File.read(KNOWS_FILE))
9
+ rescue Exception => e
10
+ puts "Something went wrong with parsing the knows file"
11
+ exit 1
12
+ end
13
+ # Print out all the relavant tests, or all if there's a lot.
14
+ if !ARGV[0].empty?
15
+ # Collect all the tests from the YAML
16
+ tests = ARGV.map{ | file | data[file] }.compact()
17
+ if tests[0].length < 50
18
+ puts "The following acceptance tests are affected by your changes\n"
19
+ tests[0].each do | test |
20
+ puts "- #{test}"
21
+ end
22
+ else
23
+ puts "Your changes affect almost everything. I suggest you run all tests in Sauce"
24
+ end
25
+ exit 0
26
+ else
27
+ puts "Error: Nothing was passed to this script"
28
+ exit 1
29
+ end
30
+
31
+
@@ -1,5 +1,5 @@
1
1
  module VagrantPlugins
2
2
  module Ebcommon
3
- VERSION = "0.4.7"
3
+ VERSION = "0.4.8"
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.7
4
+ version: 0.4.8
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-06-03 00:00:00.000000000 Z
11
+ date: 2014-06-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -58,9 +58,11 @@ files:
58
58
  - lib/vagrant-ebcommon/commands/stop-selenium.rb
59
59
  - lib/vagrant-ebcommon/config.rb
60
60
  - lib/vagrant-ebcommon/errors.rb
61
+ - lib/vagrant-ebcommon/files/git_hooks/post-commit
61
62
  - lib/vagrant-ebcommon/files/git_hooks/pre-commit
62
63
  - lib/vagrant-ebcommon/files/git_hooks/pre-push
63
64
  - lib/vagrant-ebcommon/files/git_hooks/pre_commit_hook.py
65
+ - lib/vagrant-ebcommon/files/git_hooks/yaml-parser.rb
64
66
  - lib/vagrant-ebcommon/plugin.rb
65
67
  - lib/vagrant-ebcommon/version.rb
66
68
  - locales/en.yml
@@ -92,8 +94,9 @@ required_rubygems_version: !ruby/object:Gem::Requirement
92
94
  version: '0'
93
95
  requirements: []
94
96
  rubyforge_project:
95
- rubygems_version: 2.2.2
97
+ rubygems_version: 2.0.3
96
98
  signing_key:
97
99
  specification_version: 4
98
100
  summary: Vagrant plugin to execute various Eventbrite workflows.
99
101
  test_files: []
102
+ has_rdoc: