vagrant-orchestrate 0.6.1 → 0.6.2

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: bb9fd67dca532ed2ec013c497982be36e4d41b2a
4
- data.tar.gz: 862d2f308b47c5eb93fb3107ab640ec4f32eb481
3
+ metadata.gz: 80b84f5db56bf4767530fe1403673e231e82fd16
4
+ data.tar.gz: 00b853143e5e3bf505b5837b7b1b6915fd5a304c
5
5
  SHA512:
6
- metadata.gz: 58850ee323d7aa033de78c7e215209aa3ec738d4302a8ed911922017f5ece5231dce88b48e2fcd60386a2d1206a8f0136124317e17c91f0e54421e9ce6b95015
7
- data.tar.gz: 1c2226b9a068345cfc40f93ebdc82547c844b0e4767f7b42de1739d195a4de53311140b9c5c1125992c861138e60213cde6eaec74a92dbf5a88ef0ba1866aa44
6
+ metadata.gz: 77a0d874b43a58ffbc7191cee88e52ce1c4cafaa972b853e93af2381863e5fc5132e958005befddc8d7136a688ac98cccd63aae7e53c8edee1934e7389b87e9f
7
+ data.tar.gz: af691174d2a81c8fe780ecfb16433e1126d625bbfc10cc1e75c37ea44c43ae7d0c35964b454a75c14fe74dfb6ed43a195f19f4820313a23415bbfa261aaea97b
data/CHANGELOG.md CHANGED
@@ -1,3 +1,9 @@
1
+ 0.6.2 (May 25th, 2015)
2
+
3
+ - Change the implementation of the `RepoStatus.repo` method from relying on a
4
+ remote named `origin` to using the state of the local file system. Thanks @rnowosielski
5
+ for the bug report.
6
+
1
7
  0.6.1 (May 23rd, 2015)
2
8
 
3
9
  - Change the credentials manager to add the `smb_username` and `smb_password` to
@@ -6,6 +6,7 @@ describe "vagrant orchestrate status", component: "orchestrate/status" do
6
6
 
7
7
  TEST_REF = "050bfd9c686b06c292a9614662b0ab1bbf652db3"
8
8
  TEST_REMOTE_ORIGIN_URL = "http://github.com/Cimpress-MCP/vagrant-orchestrate.git"
9
+ TEST_REPO = "/users/cbaldauf/dev/vagrant-orchestrate"
9
10
 
10
11
  before do
11
12
  environment.skeleton("basic")
@@ -25,6 +26,7 @@ describe "vagrant orchestrate status", component: "orchestrate/status" do
25
26
  # environment variables. See vagrant-orchestrate/repo_status.rb for impl.
26
27
  ENV["VAGRANT_ORCHESTRATE_STATUS_TEST_REF"] = TEST_REF
27
28
  ENV["VAGRANT_ORCHESTRATE_STATUS_TEST_REMOTE_ORIGIN_URL"] = TEST_REMOTE_ORIGIN_URL
29
+ ENV["VAGRANT_ORCHESTRATE_STATUS_TEST_REPO"] = TEST_REPO
28
30
  ENV["VAGRANT_ORCHESTRATE_NO_GUARD_CLEAN"] = "true"
29
31
  execute("vagrant", "orchestrate", "push", "/managed-1/")
30
32
  result = execute("vagrant", "orchestrate", "status", "/managed-1/")
@@ -26,7 +26,8 @@ module VagrantPlugins
26
26
  end
27
27
 
28
28
  def repo
29
- @repo ||= File.basename(remote_origin_url, ".git")
29
+ @repo ||= ENV["VAGRANT_ORCHESTRATE_STATUS_TEST_REPO"]
30
+ @repo ||= File.basename(`git rev-parse --show-toplevel`.chomp)
30
31
  @repo
31
32
  end
32
33
 
@@ -1,5 +1,5 @@
1
1
  module VagrantPlugins
2
2
  module Orchestrate
3
- VERSION = "0.6.1"
3
+ VERSION = "0.6.2"
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: vagrant-orchestrate
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.6.1
4
+ version: 0.6.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Christopher Baldauf
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-05-23 00:00:00.000000000 Z
11
+ date: 2015-05-25 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler