salesforce-deploy-tool 0.5.0 → 0.6.0

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: 9dce47a26541df7dfda04252f90a57898bd8bfa2
4
- data.tar.gz: acdd4c53647d02a98a97bf91e165b274713ab182
3
+ metadata.gz: 017c01cab1d76fa386f3d7ce393179bfc4f90e5e
4
+ data.tar.gz: ebd31823a6824baf96f2dd932a8be0bd04b99682
5
5
  SHA512:
6
- metadata.gz: d8826584ab3c55e27763c48f8cfda802b590facdd1459c8f4bd8c0796108f468c6882e4b7d7c6eba07545d179ce7ed24e7b145d2879357b6cd2d5ad1a39f24ff
7
- data.tar.gz: 635dfa6c2c3dda44923b7b5aa31d08af6c9307f6cd57fabb87dbcc72aa85f809b698d4ec44587f495657253ba4206d0970ac40aacf4a69af01c0a1d63be94a82
6
+ metadata.gz: 4bb293aac72a795e695f3cd7883f7a7ccdc6ed1182a5a4b07986231349e83c905e79b880ed343147dc25ec3bfbae561b6127cdb94db7a1046fd8f3094fdb4d19
7
+ data.tar.gz: 8230741c51cec8be54a6f4cf9608b3170829dd3cf8a6fb794ee0284a85222743be988f5f16b445173dbb31017caef5c627574ed832d310daafeb488ed7fc5be9
@@ -11,6 +11,7 @@ module SalesforceDeployTool
11
11
  @password = config[:password]
12
12
  @debug = config[:debug]
13
13
  @test = config[:test]
14
+ @deploy_ignore_files = config[:deploy_ignore_files]
14
15
 
15
16
  @server_url = @sandbox == 'prod' ? 'https://login.salesforce.com' : 'https://test.salesforce.com'
16
17
 
@@ -107,6 +108,12 @@ module SalesforceDeployTool
107
108
  full_cmd = env_vars + cmd
108
109
 
109
110
  Dir.chdir @git_dir
111
+
112
+ # Delete files to be ignored:
113
+ @deploy_ignore_files.each do |file|
114
+ FileUtils.rm file if File.exists? file
115
+ end
116
+
110
117
  exit_code = myexec full_cmd, exec_options
111
118
 
112
119
  exit exit_code if exit_code != 0
@@ -1,3 +1,3 @@
1
1
  module SalesforceDeployTool
2
- VERSION = "0.5.0"
2
+ VERSION = "0.6.0"
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: 0.5.0
4
+ version: 0.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Juan Breinlinger