salesforce-deploy-tool 1.0.2 → 1.0.3

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: 3f4b94c6f8576fa46b1bfc8e25793d089e07405f
4
- data.tar.gz: 9244d96b6ec69ac3f7d2bbd2ceeae8fd2e89ad03
3
+ metadata.gz: ebac6689830eab2da274c6389bb65580fba92876
4
+ data.tar.gz: 9a949b5e006ced376b50aff46bf5a2af155c1d4f
5
5
  SHA512:
6
- metadata.gz: 483e13bce6984e2ea5c1635967f14dbdd489b620af450eb8322371c59557a2c0aa6cfacfc5cd341af712cbb30fb0ee662a2713c76bccd920ca3e635bddba483e
7
- data.tar.gz: cffb9eff79fb2ca7075e304b7733d124b0fe955d9197adf3fc88a6f96f7cd130d5245d4b5d82c8d611892b3424b0901191843d76c1f27cb6c565f2acb3e54203
6
+ metadata.gz: a9aeb58de065efad092a41df237bd25419e3e37541faa7814213e2f077e04f3d11263f2fbafac86e1722233cdfa494054f767ff2470bce59690ac7c40fba8f4a
7
+ data.tar.gz: 266b7539af2136799f8bda73a4ef6a69f4114cec359a1a1343bceec87cb4dd386c50a7b586e68659a16bb210dc9f3930de1e72777a8b0bf349abf7c6dacc4cda
data/bin/sf CHANGED
@@ -136,9 +136,8 @@ command :push do |c|
136
136
  config_tmp = config.clone
137
137
  config_tmp[:git_dir] = config_tmp[:tmp_dir]
138
138
  FileUtils.rm_rf config_tmp[:git_dir] if File.exists? config_tmp[:git_dir]
139
+ FileUtils.cp_r config[:git_dir],config_tmp[:git_dir]
139
140
  sfdt_tmp = SalesforceDeployTool::App.new config_tmp
140
- sfdt_tmp.clone
141
- sfdt_tmp.clean_git_dir
142
141
  sfdt_tmp.pull "INFO: Pulling changes from #{config[:sandbox]} to temporary directory #{config[:tmp_dir]} to generate destructiveChanges.xml "
143
142
 
144
143
  # Create destructiveChanges.xml
@@ -233,8 +232,6 @@ command :config do |c|
233
232
  config[:password] = config_new[:password]
234
233
  config[:sandbox] = sandbox
235
234
 
236
- pp config
237
-
238
235
  File.open(File.expand_path(SANDBOX_CONFIG_FILE),'w').write sandbox
239
236
  File.open(File.expand_path(CONFIG_FILE),'w').write config_new.to_yaml
240
237
 
@@ -1,3 +1,3 @@
1
1
  module SalesforceDeployTool
2
- VERSION = "1.0.2"
2
+ VERSION = "1.0.3"
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.2
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Juan Breinlinger