vagrant-orchestrate 0.5.2 → 0.5.3

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: f8bd501392dfda5915b4bbc00a06d46a27dd08c9
4
- data.tar.gz: 0280f99653f43635042074898fd54ddbf428231c
3
+ metadata.gz: e792cb68c033c004720ce8142c97148c62d3d3b3
4
+ data.tar.gz: f923b195cde3ae62356f3acd78419f829859cb03
5
5
  SHA512:
6
- metadata.gz: e411ded7b83942b15f621d0c9ac97ef170b0a0748fafc294e591268a7eb8ce8bd76ccde29b79593223103440d5f8334c5567730091c2381b0ba65b1c44ff8201
7
- data.tar.gz: 6dd06ba49cd7ce2b4ae961edc2f9cf267f51c9fb4f5ba31d219daab4dd99af92b0527e712c75619d7eebb3cf099e80edecb5b8ca149a6d4ed33551aa16a954f7
6
+ metadata.gz: a4a923bbb339a50c8660a98b47e0622890f6a5857514ad93e262d0de7215cc6edda47a11b0732aea3499aca8160044b19081e4b5feeb456be80e10cbdd016ee4
7
+ data.tar.gz: cc35054d935113db19f082744ac4a2d4eb720765ddcb55bde0dd098d021b1d2e98d3d7931a70750b9f50d48d7290b4e1b3117297e59a7243c90e10f99bc96d11
data/CHANGELOG.md CHANGED
@@ -1,3 +1,9 @@
1
+ 0.5.3 (May 13th, 2015)
2
+
3
+ - Fix a bug where the VAGRANT_ORCHESTRATE_USERNAME and VAGRANT_ORCHESTRATE_PASSWORD
4
+ environment variable overrides weren't being read properly. The bug was repro'd
5
+ on a Windows environment.
6
+
1
7
  0.5.2 (May 8th, 2015)
2
8
 
3
9
  - Add the `--no-provision` option to the `orchestrate push` command. Useful for
@@ -6,8 +6,14 @@ module VagrantPlugins
6
6
  return unless config_creds
7
7
 
8
8
  # Use environment variable overrides, or else what was provided in the config file
9
- config_creds.username = ENV["VAGRANT_ORCHESTRATE_USERNAME"] || config_creds.username
10
- config_creds.password = ENV["VAGRANT_ORCHESTRATE_PASSWORD"] || config_creds.password
9
+ if ENV["VAGRANT_ORCHESTRATE_USERNAME"]
10
+ ui.info("Using VAGRANT_ORCHESTRATE_USERNAME environment variable override")
11
+ config_creds.username = ENV["VAGRANT_ORCHESTRATE_USERNAME"].dup
12
+ end
13
+ if ENV["VAGRANT_ORCHESTRATE_PASSWORD"]
14
+ ui.info("Using VAGRANT_ORCHESTRATE_PASSWORD environment variable override")
15
+ config_creds.password = ENV["VAGRANT_ORCHESTRATE_PASSWORD"].dup
16
+ end
11
17
 
12
18
  # Use credentials file to any username or password that is still undiscovered
13
19
  check_creds_file(config_creds, ui) unless config_creds.username && config_creds.password
@@ -162,7 +162,7 @@ module VagrantPlugins
162
162
  creds.apply_creds(machine, username, password)
163
163
  end
164
164
  else
165
- @env.ui.warn "Vagrant-orchestrate could not gather credentials. Continuing with default credentials."
165
+ @env.ui.warn "Vagrant-orchestrate did find any credentials. Continuing with default credentials."
166
166
  end
167
167
  end
168
168
 
@@ -1,5 +1,5 @@
1
1
  module VagrantPlugins
2
2
  module Orchestrate
3
- VERSION = "0.5.2"
3
+ VERSION = "0.5.3"
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.5.2
4
+ version: 0.5.3
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-08 00:00:00.000000000 Z
11
+ date: 2015-05-13 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler