salesforce-deploy-tool 0.11.0 → 0.12.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/sf +0 -21
- 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: 00727cb86164996022f85a1d8fe4271102f4ee87
|
4
|
+
data.tar.gz: 977f589ee5178d9bbc9b3000d51dd58abc05e1f5
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: afcf3d0ef709add78e69c4ba2fa73f6325e8dcf9671a817578190ac34df6acf9a3b53c53a9f8d60be872d685d46fd9e8fcc83712588a7798e3f7fcd554ee56eb
|
7
|
+
data.tar.gz: 0fb937f9c4ce063b3f794dbde07b3ba50c59e21e35dc7158f62059238e5547f3796cf29f7a4f034cc6755e789eaf60fa750708acba15f2fb9023415523f2d3d7
|
data/bin/sf
CHANGED
@@ -155,28 +155,7 @@ command :push do |c|
|
|
155
155
|
DESTRUCTIVE_CHANGE_FILE = File.join(config[:git_dir],'src','destructiveChanges.xml')
|
156
156
|
FileUtils.rm DESTRUCTIVE_CHANGE_FILE if File.exists? DESTRUCTIVE_CHANGE_FILE
|
157
157
|
|
158
|
-
# Push the code without destructiveChanges.xml. This step is allways necessary
|
159
|
-
# even when it is a destructive change. This is because if a class is referencing
|
160
|
-
# a field to be deleted, then we first need to push the class to remove that
|
161
|
-
# reference and only then SF will allow us to remove the field on the second
|
162
|
-
# push
|
163
|
-
begin
|
164
|
-
# Set version
|
165
|
-
sfdt.build_number = options.build_number if not options.build_number.nil?
|
166
|
-
sfdt.set_version
|
167
|
-
|
168
|
-
# Disable test deploy unless is an append. The test deploy will happen
|
169
|
-
# at the end
|
170
|
-
sfdt.test = false if ! options.append
|
171
|
-
|
172
|
-
# push
|
173
|
-
sfdt.push
|
174
|
-
ensure
|
175
|
-
sfdt.clean_version
|
176
|
-
end
|
177
|
-
|
178
158
|
if ! options.append
|
179
|
-
|
180
159
|
# Pull changes from sandbox to temporary directory:
|
181
160
|
config_tmp = config.clone
|
182
161
|
config_tmp[:git_dir] = config_tmp[:tmp_dir]
|
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.
|
4
|
+
version: 0.12.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: 2015-01-
|
11
|
+
date: 2015-01-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|