bin/sf in salesforce-deploy-tool-0.7.2 vs bin/sf in salesforce-deploy-tool-0.7.3

- old
+ new

@@ -183,11 +183,11 @@ end config_new = {} config_new[:username] = ask "Please enter your SalesForce production login user name" do |q| - q.validate = /^[\.@a-zA-Z\s]+$/ + q.validate = /^\S+@\S+$/ end.to_s config_new[:password] = ask "Please enter your Salesforce production password" do |q| q.echo = "x" end.to_s @@ -195,10 +195,10 @@ git_name = ask "Please enter your Full name to be used as commit owner on GIT" do |q| q.validate = /^[a-zA-Z\s]+$/ end git_email = ask "Please enter your email to be used as commit email on GIT" do |q| - q.validate = /^.+@.+$/ + q.validate = /^\S+@\S+$/ end %x[git config --global user.email "#{git_email}"] %x[git config --global user.name "#{git_name}"]