salesforce-deploy-tool 0.3.0 → 0.3.1
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 +4 -4
- data/bin/sf +10 -1
- 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: 5ae8b58481ff935e02dfabd4ac100aafa0f3bbb3
|
|
4
|
+
data.tar.gz: f8f12ed7717816ca4f09b522e20431ed946cc913
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: a8aa76d6eba422ad937a10bfd0cbf319d84a42c370498a9b2782b817a58d4feff3462ab90ab70713d5a4f96330c5d1bc5f76d659c217d4ddc267aa3878b26472
|
|
7
|
+
data.tar.gz: 1c53b48028abf296e30cc6fede7a90bc219577162575501efe10b847bb720576214db9dac174016367d27f26052e732d29c3fa1bfa7a3b323c0e3cff2eddbb83
|
data/bin/sf
CHANGED
|
@@ -34,8 +34,17 @@ command :init do |c|
|
|
|
34
34
|
c.summary = 'Initialize salesforce sandbox from git'
|
|
35
35
|
c.description = "Clone the #{config[:git_repo]} to #{config[:git_dir]}"
|
|
36
36
|
c.example 'usage', 'sf init'
|
|
37
|
+
c.option "--sandbox NAME", "-s NAME", "use 'prod' to deploy production or sandbox name"
|
|
37
38
|
c.action do |args, options|
|
|
38
|
-
|
|
39
|
+
|
|
40
|
+
# Parameter validation:
|
|
41
|
+
options.sandbox = options.s if options.s
|
|
42
|
+
if options.sandbox.nil? and sandbox.nil?
|
|
43
|
+
puts "error: please specify sandbox using --sandbox or sf sandbox"
|
|
44
|
+
exit 1
|
|
45
|
+
end
|
|
46
|
+
config[:sandbox] = options.sandbox || sandbox
|
|
47
|
+
|
|
39
48
|
# Initialize
|
|
40
49
|
sfdt = SalesforceDeployTool::App.new config
|
|
41
50
|
|
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.1
|
|
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-25 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
name: bundler
|