salesforce-deploy-tool 0.10.3 → 0.11.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: b1d32664261e96fb8b095c996454f880d3fe91fd
4
- data.tar.gz: 4d8a8e844c8792619b8c1ec0ad6bc3e4f9648772
3
+ metadata.gz: a14f9d72e9cdb69edc09819a87b0277b2f9a3da0
4
+ data.tar.gz: 16322c408ffd0cb11ecef319a5cc08fd0bc7f80c
5
5
  SHA512:
6
- metadata.gz: 135bc9c753230c57cd4d2233c4e13516414907e65604c4db817526998bcdaf7a583910716f76373915b44603bed48ecfe0d419d1d9d1510ccb889ead5ed02f88
7
- data.tar.gz: f6708cc8063d824273ac27409e418332403889984cac233b9e9de9f562d462750daf93ff20bc0b58935c18495ef52177fbef1fc5422c016932d5c0b49255350c
6
+ metadata.gz: 2eef884f5360d780a817f0b7c8891cbd7c7b1dafc5254ca9ffb9cb9198b386db03a28145a3d43e567255f54242f780d5b444c84055a5d1462249441b9490b7c7
7
+ data.tar.gz: f5c5b5b73586b0f330eda7e44d1fe767673100f43665c8b2632e187fa82f2b5b594ae88e8909f654ff962e3286909ab6d25b87f3df8e8c29119b4930c1485a94
data/bin/sf CHANGED
@@ -176,6 +176,7 @@ command :push do |c|
176
176
  end
177
177
 
178
178
  if ! options.append
179
+
179
180
  # Pull changes from sandbox to temporary directory:
180
181
  config_tmp = config.clone
181
182
  config_tmp[:git_dir] = config_tmp[:tmp_dir]
@@ -192,15 +193,10 @@ command :push do |c|
192
193
  dc_gen.destination = File.join(config[:tmp_dir],'src')
193
194
  dc_gen.output = DESTRUCTIVE_CHANGE_FILE
194
195
  dc_gen.exclude = options.exclude.split(',') unless options.exclude.nil?
195
-
196
- # Capture stdout when running generate_destructive_Changes, TODO: fix dcgen
197
- stringio = StringIO.new
198
- stdout_tmp = $stdout
199
- $stdout = stringio unless options.debug
196
+ dc_gen.verbose = false if not options.debug
200
197
  dc_gen.generate_destructive_changes
201
- $stdout = stdout_tmp
202
198
 
203
- # Destructive push
199
+ # Push code to sandbox with Destructive changes
204
200
  begin
205
201
  # Set version
206
202
  sfdt.build_number = options.build_number if not options.build_number.nil?
@@ -1,3 +1,3 @@
1
1
  module SalesforceDeployTool
2
- VERSION = "0.10.3"
2
+ VERSION = "0.11.0"
3
3
  end
@@ -24,5 +24,5 @@ Gem::Specification.new do |spec|
24
24
  spec.add_runtime_dependency 'git', "~> 1.2"
25
25
  spec.add_runtime_dependency 'colorize', "~> 0.7"
26
26
  spec.add_runtime_dependency 'commander', "~> 4.2"
27
- spec.add_runtime_dependency 'salesforce-dcgen', "~> 0.5.0"
27
+ spec.add_runtime_dependency 'salesforce-dcgen', "~> 0.6.0"
28
28
  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.10.3
4
+ version: 0.11.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-12-11 00:00:00.000000000 Z
11
+ date: 2015-01-08 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -86,14 +86,14 @@ dependencies:
86
86
  requirements:
87
87
  - - "~>"
88
88
  - !ruby/object:Gem::Version
89
- version: 0.5.0
89
+ version: 0.6.0
90
90
  type: :runtime
91
91
  prerelease: false
92
92
  version_requirements: !ruby/object:Gem::Requirement
93
93
  requirements:
94
94
  - - "~>"
95
95
  - !ruby/object:Gem::Version
96
- version: 0.5.0
96
+ version: 0.6.0
97
97
  description: ''
98
98
  email:
99
99
  - "<juan.brein@breins.net>"
@@ -133,7 +133,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
133
133
  version: '0'
134
134
  requirements: []
135
135
  rubyforge_project:
136
- rubygems_version: 2.2.2
136
+ rubygems_version: 2.4.3
137
137
  signing_key:
138
138
  specification_version: 4
139
139
  summary: A tool to help you at deploying and pulling code and metadata from salesforce