salesforce-deploy-tool 1.0.1 → 1.0.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: 3ba8e2644e0037a6634260ef1518601c1b47f401
4
- data.tar.gz: ebc8ff213c385189f37662594c3bf01745ef59d6
3
+ metadata.gz: 3f4b94c6f8576fa46b1bfc8e25793d089e07405f
4
+ data.tar.gz: 9244d96b6ec69ac3f7d2bbd2ceeae8fd2e89ad03
5
5
  SHA512:
6
- metadata.gz: f7009526e56fbae17284cde20525479b323973f61e9765d05d8922d3afad68a806c3b2039dc0bba7db85b9c1ea8db64cde8ff1c107ebe96b7877135529f3456c
7
- data.tar.gz: df730bdf0b66954e89135367031ae40e4ce0a5e4ee5efd346e731fec7626a4b44442366298c3f0a47732cb352aff0caa31df5781b1076a74d5c6a8e6fba4767b
6
+ metadata.gz: 483e13bce6984e2ea5c1635967f14dbdd489b620af450eb8322371c59557a2c0aa6cfacfc5cd341af712cbb30fb0ee662a2713c76bccd920ca3e635bddba483e
7
+ data.tar.gz: cffb9eff79fb2ca7075e304b7733d124b0fe955d9197adf3fc88a6f96f7cd130d5245d4b5d82c8d611892b3424b0901191843d76c1f27cb6c565f2acb3e54203
data/bin/sf CHANGED
@@ -36,7 +36,7 @@ config[:commit_hash_pattern] = ENV["SFDT_COMMIT_HASH_PATTERN"] || config[:
36
36
  config[:git_repo] = ENV["SFDT_GIT_REPO"] || config[:git_repo]
37
37
  config[:username] = ENV["SFDT_USERNAME"] || config[:username]
38
38
  config[:password] = ENV["SFDT_PASSWORD"] || config[:password]
39
- config[:deploy_ignore_files] = ENV["SFDT_DEPLOY_IGNORE_FILES"].nil? ? config[:deploy_ignore_files] : ENV["DEPLOY_IGNORE_FILES"].split(',')
39
+ config[:deploy_ignore_files] = ENV["SFDT_DEPLOY_IGNORE_FILES"].nil? ? config[:deploy_ignore_files] : ENV["SFDT_DEPLOY_IGNORE_FILES"].split(',')
40
40
 
41
41
  # Default values
42
42
  config[:buildxml_dir] = ENV["SFDT_BUILDXML_DIR"] || config[:buildxml_dir] || ''
@@ -122,3 +122,18 @@ Feature: Push code to salesforce
122
122
  ^INFO: Deploying code to env_a:.*OK$
123
123
  """
124
124
 
125
+ @new
126
+ Scenario: Push code to a sandbox excluding files
127
+ Given I set the environment variables to:
128
+ | variable | value |
129
+ | SFDT_DEPLOY_IGNORE_FILES | src/layouts/test.layout,src/layouts/another_test.layout |
130
+ When I run `sf push`
131
+ #TODO: Then the files listed in SFDT_DEPLOY_IGNORE_FILES should be ignored by sf when deploying
132
+ Then the exit status should be 0
133
+ And the output should match:
134
+ """
135
+ ^INFO: Pulling changes from env_a to temporary directory .*tmp_repo.* to generate destructiveChanges.xml.*OK$
136
+ ^INFO: Creating destructive changes xml$
137
+ ^INFO: Deploying code to env_a:.*OK$
138
+ """
139
+
@@ -1,3 +1,3 @@
1
1
  module SalesforceDeployTool
2
- VERSION = "1.0.1"
2
+ VERSION = "1.0.2"
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.1
4
+ version: 1.0.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Juan Breinlinger