salesforce-deploy-tool 0.8.1 → 0.8.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 +4 -4
- data/bin/sf +11 -5
- 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: 999b8948c7bec86caa12cc3b4094ce127a2c845c
|
|
4
|
+
data.tar.gz: 3aad5f771f486b1b804a30a7c8ef983af3e4df24
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: b9c4d24562d7a55054f8b6f6a46e476883e03ba997aeeeeb67edf689d589db8816f0dad61053cfee435f6b6c723b90f90c6dd0651ae3c09faa2b88ac1961ba1f
|
|
7
|
+
data.tar.gz: 02f4229e6a3666e9068dd58143e507a27bd55c7bab4d817a18c9e588cfd3294faa1703b0458761199f3dccb0675978b8441baabdcf448f0ea5c749dceae3c90c
|
data/bin/sf
CHANGED
|
@@ -123,6 +123,14 @@ command :push do |c|
|
|
|
123
123
|
# Initialize
|
|
124
124
|
sfdt = SalesforceDeployTool::App.new config
|
|
125
125
|
|
|
126
|
+
# Push the code without destructiveChanges.xml. This step is allways necessary
|
|
127
|
+
# even when it is a destructive change. This is because if a class is referencing
|
|
128
|
+
# a field to be deleted, then we first need to push the class to remove that
|
|
129
|
+
# reference and only then SF will allow us to remove the field on the second
|
|
130
|
+
# push
|
|
131
|
+
sfdt.build_number = options.build_number if not options.build_number.nil?
|
|
132
|
+
sfdt.push
|
|
133
|
+
|
|
126
134
|
if ! options.append
|
|
127
135
|
# Pull changes from sandbox to temporary directory:
|
|
128
136
|
config_tmp = config.clone
|
|
@@ -147,12 +155,10 @@ command :push do |c|
|
|
|
147
155
|
$stdout = stringio unless options.debug
|
|
148
156
|
dc_gen.generate_destructive_changes
|
|
149
157
|
$stdout = stdout_tmp
|
|
158
|
+
|
|
159
|
+
# Destructive push
|
|
160
|
+
sfdt.push
|
|
150
161
|
end
|
|
151
|
-
|
|
152
|
-
# Finally push:
|
|
153
|
-
sfdt.build_number = options.build_number if not options.build_number.nil?
|
|
154
|
-
sfdt.push
|
|
155
|
-
|
|
156
162
|
end
|
|
157
163
|
end
|
|
158
164
|
|
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.8.
|
|
4
|
+
version: 0.8.2
|
|
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-12-
|
|
11
|
+
date: 2014-12-04 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|