salesforce-deploy-tool 1.0.0 → 1.0.1

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: f0187f9d3c8b96465eff801d720921eb54dd8bea
4
- data.tar.gz: 5da419996326662b10deaf34fcd32aec60099fc7
3
+ metadata.gz: 3ba8e2644e0037a6634260ef1518601c1b47f401
4
+ data.tar.gz: ebc8ff213c385189f37662594c3bf01745ef59d6
5
5
  SHA512:
6
- metadata.gz: f8f7dcafe1335100865ca5dc8ecf6c28a21b7d29b3155ec220df5d4f3f22df844ed09eea1b20da2a8f7c70ff9e8b1d207249541524ebdf1100e099b1c2832a74
7
- data.tar.gz: c17f60805fe445ef8ed7331e3fe2a5ccc732d325484efd8f6f8c1956a21c19635368577340ea7eaa07bef372baf4e89075ef5be1c4a1bec2c0f06b6431c1c144
6
+ metadata.gz: f7009526e56fbae17284cde20525479b323973f61e9765d05d8922d3afad68a806c3b2039dc0bba7db85b9c1ea8db64cde8ff1c107ebe96b7877135529f3456c
7
+ data.tar.gz: df730bdf0b66954e89135367031ae40e4ce0a5e4ee5efd346e731fec7626a4b44442366298c3f0a47732cb352aff0caa31df5781b1076a74d5c6a8e6fba4767b
data/bin/sf CHANGED
@@ -28,7 +28,6 @@ config = {}
28
28
  end
29
29
 
30
30
  # Grab variables from env if not in the config files
31
- config[:buildxml_dir] = ENV["SFDT_BUILDXML_DIR"] || config[:buildxml_dir]
32
31
  config[:git_dir] = ENV["SFDT_GIT_DIR"] || config[:git_dir]
33
32
  config[:tmp_dir] = ENV["SFDT_TMP_DIR"] || config[:tmp_dir]
34
33
  config[:version_file] = ENV["SFDT_VERSION_FILE"] || config[:version_file]
@@ -39,6 +38,9 @@ config[:username] = ENV["SFDT_USERNAME"] || config[:
39
38
  config[:password] = ENV["SFDT_PASSWORD"] || config[:password]
40
39
  config[:deploy_ignore_files] = ENV["SFDT_DEPLOY_IGNORE_FILES"].nil? ? config[:deploy_ignore_files] : ENV["DEPLOY_IGNORE_FILES"].split(',')
41
40
 
41
+ # Default values
42
+ config[:buildxml_dir] = ENV["SFDT_BUILDXML_DIR"] || config[:buildxml_dir] || ''
43
+
42
44
  # Minimal config validation
43
45
  abort "Config error: git_dir not found in #{GLOBAL_CONFIG_FILE} or through SFDT_GIT_DIR" if config[:git_dir].nil?
44
46
  abort "Config error: tmp_dir not found in #{GLOBAL_CONFIG_FILE} or through SFDT_TMP_DIR" if config[:tmp_dir].nil?
@@ -1,3 +1,3 @@
1
1
  module SalesforceDeployTool
2
- VERSION = "1.0.0"
2
+ VERSION = "1.0.1"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: salesforce-deploy-tool
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Juan Breinlinger