salesforce-deploy-tool 0.7.2 → 0.7.3

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: 60482f101768e4e27d99ebf02f26db82d90e13de
4
- data.tar.gz: 3e8783681d2694159a7304bb9c921466b1df3675
3
+ metadata.gz: 9312bcf7bdcde9cf1de413cf832eea3b994bb528
4
+ data.tar.gz: 37aa56ed035fb246e3746805b0155c2fecea5401
5
5
  SHA512:
6
- metadata.gz: 9c17337d920710674026504b5b43d02789092c7f8a27cf5ae4d90e4a821a7d7132056447313a75bf83aecf85622a7f57b81c5e26025b7304befb124a12d9fc22
7
- data.tar.gz: 2b8a364a4bc0fdbb7b3ec15bbb1063a4882f0426613f59226a8848507a5d968739e2928877b0d7f192cfdb91d73a591dd13f566ecea4662e3981f853df46b79c
6
+ metadata.gz: 9a967b03aa7e93240372f8251212b264336d3082015df4aa1ecd0c14dd6fb5760ce6072ee0dc696dafbb84d6cd1011e64ce73182d7671039bc4f432a654ea9bf
7
+ data.tar.gz: 4129b5575a9ddbc19863712777b98c5c69f34069a4c5329a83cc5bee5359ac208d7af38b8b67ce4738c5a4dfe393d9d34701c361c02f8cd9ea0b043eb7850b7f
data/bin/sf CHANGED
@@ -185,7 +185,7 @@ command :config do |c|
185
185
  config_new = {}
186
186
 
187
187
  config_new[:username] = ask "Please enter your SalesForce production login user name" do |q|
188
- q.validate = /^[\.@a-zA-Z\s]+$/
188
+ q.validate = /^\S+@\S+$/
189
189
  end.to_s
190
190
 
191
191
  config_new[:password] = ask "Please enter your Salesforce production password" do |q|
@@ -197,7 +197,7 @@ command :config do |c|
197
197
  end
198
198
 
199
199
  git_email = ask "Please enter your email to be used as commit email on GIT" do |q|
200
- q.validate = /^.+@.+$/
200
+ q.validate = /^\S+@\S+$/
201
201
  end
202
202
 
203
203
  %x[git config --global user.email "#{git_email}"]
@@ -1,3 +1,3 @@
1
1
  module SalesforceDeployTool
2
- VERSION = "0.7.2"
2
+ VERSION = "0.7.3"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: salesforce-deploy-tool
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.2
4
+ version: 0.7.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Juan Breinlinger