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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: a14f9d72e9cdb69edc09819a87b0277b2f9a3da0
4
- data.tar.gz: 16322c408ffd0cb11ecef319a5cc08fd0bc7f80c
3
+ metadata.gz: 00727cb86164996022f85a1d8fe4271102f4ee87
4
+ data.tar.gz: 977f589ee5178d9bbc9b3000d51dd58abc05e1f5
5
5
  SHA512:
6
- metadata.gz: 2eef884f5360d780a817f0b7c8891cbd7c7b1dafc5254ca9ffb9cb9198b386db03a28145a3d43e567255f54242f780d5b444c84055a5d1462249441b9490b7c7
7
- data.tar.gz: f5c5b5b73586b0f330eda7e44d1fe767673100f43665c8b2632e187fa82f2b5b594ae88e8909f654ff962e3286909ab6d25b87f3df8e8c29119b4930c1485a94
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]
@@ -1,3 +1,3 @@
1
1
  module SalesforceDeployTool
2
- VERSION = "0.11.0"
2
+ VERSION = "0.12.0"
3
3
  end
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.11.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-08 00:00:00.000000000 Z
11
+ date: 2015-01-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler