salesforce-deploy-tool 0.3.1 → 0.3.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5ae8b58481ff935e02dfabd4ac100aafa0f3bbb3
4
- data.tar.gz: f8f12ed7717816ca4f09b522e20431ed946cc913
3
+ metadata.gz: f6d440f3c71bc7791e6bd38ecdac637926aa6ffd
4
+ data.tar.gz: 2ccec6638eb818736aeaf19f2b7f5eb61a3b84b4
5
5
  SHA512:
6
- metadata.gz: a8aa76d6eba422ad937a10bfd0cbf319d84a42c370498a9b2782b817a58d4feff3462ab90ab70713d5a4f96330c5d1bc5f76d659c217d4ddc267aa3878b26472
7
- data.tar.gz: 1c53b48028abf296e30cc6fede7a90bc219577162575501efe10b847bb720576214db9dac174016367d27f26052e732d29c3fa1bfa7a3b323c0e3cff2eddbb83
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.example 'usage:', 'sf pull -c -d'
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
- options.no_clean = true unless options.c
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.no_clean
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 will override --sandbox '
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
 
@@ -1,3 +1,3 @@
1
1
  module SalesforceDeployTool
2
- VERSION = "0.3.1"
2
+ VERSION = "0.3.2"
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.3.1
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-25 00:00:00.000000000 Z
11
+ date: 2014-11-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler