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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 69e750144a6574da061660c56e1aa50befa4368e
4
- data.tar.gz: 69604b4c27d5998aa0673b150be4aef60af3e7fa
3
+ metadata.gz: e69120d601860e8077dce62bc32b24afde136e88
4
+ data.tar.gz: 3bc0ed9c3d988ab615558eb69ae7e550d4bac11e
5
5
  SHA512:
6
- metadata.gz: cf7d612f8c70e33c6a123f3e983cc00c14f5ec73c856ccd8ccc771eadd23589f9fd70e1b03759d28b85a87f7c2bdfe70b363674cf98aeb19a0a8078755ea4e0a
7
- data.tar.gz: 13f6b67e32464c1ad1d54df03ada88cbecb0cf42a7fa3c02d096fce9f96bb403b02857e756668266e751b3d45626b3ee7eaa5a43df1498b0c93bfec079ce08d9
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 + "." + @env
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 + "." + @env
83
+ env_vars += " SF_USERNAME=" + @username
84
84
  env_vars += " SF_PASSWORD=" + @password
85
85
  env_vars += " SF_SERVERURL=" + @server_url
86
86
 
@@ -1,3 +1,3 @@
1
1
  module SalesforceDeployTool
2
- VERSION = "0.1.0"
2
+ VERSION = "0.2.0"
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.1.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-23 00:00:00.000000000 Z
11
+ date: 2014-11-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler