salesforce-deploy-tool 0.0.9 → 0.1.0
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 +4 -4
- data/bin/sfd +10 -10
- data/lib/salesforcedeploytool/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 69e750144a6574da061660c56e1aa50befa4368e
|
4
|
+
data.tar.gz: 69604b4c27d5998aa0673b150be4aef60af3e7fa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: cf7d612f8c70e33c6a123f3e983cc00c14f5ec73c856ccd8ccc771eadd23589f9fd70e1b03759d28b85a87f7c2bdfe70b363674cf98aeb19a0a8078755ea4e0a
|
7
|
+
data.tar.gz: 13f6b67e32464c1ad1d54df03ada88cbecb0cf42a7fa3c02d096fce9f96bb403b02857e756668266e751b3d45626b3ee7eaa5a43df1498b0c93bfec079ce08d9
|
data/bin/sfd
CHANGED
@@ -102,17 +102,17 @@ command :push do |c|
|
|
102
102
|
# Initialize
|
103
103
|
sfdt = SalesforceDeployTool::App.new config
|
104
104
|
|
105
|
-
# Pull changes from sandbox to temporary directory:
|
106
|
-
config_tmp = config.clone
|
107
|
-
config_tmp[:git_dir] = config_tmp[:tmp_dir]
|
108
|
-
FileUtils.rm_rf config_tmp[:git_dir] if File.exists? config_tmp[:git_dir]
|
109
|
-
sfdt_tmp = SalesforceDeployTool::App.new config_tmp
|
110
|
-
sfdt_tmp.clone
|
111
|
-
sfdt_tmp.clean_git_dir
|
112
|
-
sfdt_tmp.pull "INFO: Pulling changes from #{config[:env]} to temporary directory #{config[:tmp_dir]} to generate destructiveChanges.xml "
|
113
|
-
|
114
|
-
# Create destructiveChanges.xml
|
115
105
|
if ! options.append
|
106
|
+
# Pull changes from sandbox to temporary directory:
|
107
|
+
config_tmp = config.clone
|
108
|
+
config_tmp[:git_dir] = config_tmp[:tmp_dir]
|
109
|
+
FileUtils.rm_rf config_tmp[:git_dir] if File.exists? config_tmp[:git_dir]
|
110
|
+
sfdt_tmp = SalesforceDeployTool::App.new config_tmp
|
111
|
+
sfdt_tmp.clone
|
112
|
+
sfdt_tmp.clean_git_dir
|
113
|
+
sfdt_tmp.pull "INFO: Pulling changes from #{config[:env]} to temporary directory #{config[:tmp_dir]} to generate destructiveChanges.xml "
|
114
|
+
|
115
|
+
# Create destructiveChanges.xml
|
116
116
|
puts "INFO: Creating destructive changes xml"
|
117
117
|
dc_gen = Dcgen::App.new
|
118
118
|
dc_gen.master = File.join(config[:git_dir],'src')
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: salesforce-deploy-tool
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0
|
4
|
+
version: 0.1.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Juan Breinlinger
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2014-11-
|
11
|
+
date: 2014-11-23 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|