salesforce-deploy-tool 0.3.1 → 0.3.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/bin/sf +4 -6
- 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: f6d440f3c71bc7791e6bd38ecdac637926aa6ffd
|
4
|
+
data.tar.gz: 2ccec6638eb818736aeaf19f2b7f5eb61a3b84b4
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f96107b3ebfc5a9f8b8eb84e8e96ffc5274cde1cad37cdf74f4392c97321902ce788daf492e7e4339fb895186f26f138663dd268df58708a14b765754f03611f
|
7
|
+
data.tar.gz: 9636162439d11e4f1b17c3f4e055e2582a07bcae700558c91bafa4525232d6cee5683b9b4347beaed4f54bfdc3ce9ee8ec18612f39377f2619042aa723fc140e
|
data/bin/sf
CHANGED
@@ -59,14 +59,12 @@ command :pull do |c|
|
|
59
59
|
c.summary = 'Pull code from the sandbox'
|
60
60
|
c.description = "Pull code from sandbox and update #{config[:git_dir]}"
|
61
61
|
c.example 'usage:', 'sf pull'
|
62
|
-
c.
|
63
|
-
c.option "--no-clean", "-c", "Do not clean the currrent source code before pulling"
|
62
|
+
c.option "--append", "Pull code appending it to the local repository"
|
64
63
|
c.option "--debug", "Verbose output"
|
65
64
|
c.option "--sandbox NAME", "-s NAME", "use 'prod' to deploy production or sandbox name"
|
66
65
|
c.action do |args, options|
|
67
66
|
|
68
|
-
|
69
|
-
options.sandbox = options.s if options.s
|
67
|
+
pp options
|
70
68
|
|
71
69
|
# Parameter validation:
|
72
70
|
if options.sandbox.nil? and sandbox.nil?
|
@@ -80,7 +78,7 @@ command :pull do |c|
|
|
80
78
|
sfdt = SalesforceDeployTool::App.new config
|
81
79
|
|
82
80
|
# Clean all files from repo
|
83
|
-
sfdt.clean_git_dir unless options.
|
81
|
+
sfdt.clean_git_dir unless options.append
|
84
82
|
|
85
83
|
# Pull the changes
|
86
84
|
sfdt.pull "INFO: Pulling changes from #{config[:sandbox]} "
|
@@ -152,7 +150,7 @@ end
|
|
152
150
|
|
153
151
|
command :sandbox do |c|
|
154
152
|
c.syntax = 'sf sandbox SANDBOX_NAME'
|
155
|
-
c.summary = 'Set sandbox to work on, this
|
153
|
+
c.summary = 'Set sandbox to work on, this can be overriden by --sandbox '
|
156
154
|
c.description = 'Set the sandbox to work with pull and push. If no parameter defined, it will print the current sandbox selected.'
|
157
155
|
c.action do |args, options|
|
158
156
|
|
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.3.
|
4
|
+
version: 0.3.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-11-
|
11
|
+
date: 2014-11-26 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|