oneblackbear-obbistrano 1.0.64 → 1.0.65

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.
@@ -265,9 +265,9 @@ Capistrano::Configuration.instance(:must_exist).load do
265
265
  with_user("root", "#{root_pass}") do
266
266
  "#{databases}".each do |db|
267
267
  begin
268
- run "mysql -uroot -p#{root_pass} -e 'CREATE USER '#{user_to_add}'@'localhost' IDENTIFIED BY '#{passwd_to_add}';"
268
+ run "mysql -uroot -p#{root_pass} -e 'CREATE USER \'#{user_to_add}\'@\'localhost\' IDENTIFIED BY \'#{passwd_to_add}\';'"
269
269
  run "mysql -uroot -p#{root_pass} -e 'CREATE DATABASE #{db}'"
270
- run "musql -uroot -p#{root_pass} -e 'GRANT ALL PRIVILEGES ON `#{db}` . * TO '#{user_to_add}'@'localhost' IDENTIFIED BY '#{passwd_to_add}';"
270
+ run "musql -uroot -p#{root_pass} -e 'GRANT ALL PRIVILEGES ON `#{db}` . * TO \'#{user_to_add}\'@\'localhost\' IDENTIFIED BY \'#{passwd_to_add}\';'"
271
271
  rescue
272
272
  logger.info "Database #{db} already exists"
273
273
  end
data/obbistrano.gemspec CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{obbistrano}
5
- s.version = "1.0.64"
5
+ s.version = "1.0.65"
6
6
  s.authors = ["Ross Riley", "One Black Bear"]
7
7
  s.date = Time.now
8
8
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: oneblackbear-obbistrano
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.64
4
+ version: 1.0.65
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ross Riley