salesforce-deploy-tool 0.1.0 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/salesforcedeploytool/app.rb +3 -3
- 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: e69120d601860e8077dce62bc32b24afde136e88
|
4
|
+
data.tar.gz: 3bc0ed9c3d988ab615558eb69ae7e550d4bac11e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f1d6df22e189a1fe4cac89bba028ad7ca8ddbe35ecbc8fb4b6bd152af15c7b4c6c156d349b3feb68a57ceeb96611bffc4ed7cb4efdfd4052a8959c1e922f2ee7
|
7
|
+
data.tar.gz: d99364b4f0e746249f2570cb36eacd6d6944b2c09526275dc7dad3706c0c9c6af2f5771e7b2cb5d134a6d4e400cf475fc44988fa15fa8b0f5585f28ac7784651
|
@@ -7,7 +7,7 @@ module SalesforceDeployTool
|
|
7
7
|
@git_repo = config[:git_repo]
|
8
8
|
@git_dir = config[:git_dir]
|
9
9
|
@env = config[:env]
|
10
|
-
@username = config[:username]
|
10
|
+
@username = @env == prod ? config[:username] : config[:username] + '.' + @env
|
11
11
|
@password = config[:password]
|
12
12
|
@debug = config[:debug]
|
13
13
|
|
@@ -46,7 +46,7 @@ module SalesforceDeployTool
|
|
46
46
|
def pull message = nil
|
47
47
|
|
48
48
|
env_vars = ""
|
49
|
-
env_vars += " SF_USERNAME=" + @username
|
49
|
+
env_vars += " SF_USERNAME=" + @username
|
50
50
|
env_vars += " SF_PASSWORD=" + @password
|
51
51
|
env_vars += " SF_SERVERURL=" + @server_url
|
52
52
|
cmd = " ant retrieveCode"
|
@@ -80,7 +80,7 @@ module SalesforceDeployTool
|
|
80
80
|
|
81
81
|
# Set env variables to run ant
|
82
82
|
env_vars = ""
|
83
|
-
env_vars += " SF_USERNAME=" + @username
|
83
|
+
env_vars += " SF_USERNAME=" + @username
|
84
84
|
env_vars += " SF_PASSWORD=" + @password
|
85
85
|
env_vars += " SF_SERVERURL=" + @server_url
|
86
86
|
|
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.
|
4
|
+
version: 0.2.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-11-
|
11
|
+
date: 2014-11-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|