insxsync 0.0.9 → 0.0.10
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.
- data/lib/insxsync/version.rb +1 -1
- data/lib/sync_point_restore.rb +2 -3
- metadata +1 -1
data/lib/insxsync/version.rb
CHANGED
data/lib/sync_point_restore.rb
CHANGED
@@ -221,7 +221,6 @@ class SyncPointRestore < ErrorHandlingIface
|
|
221
221
|
raise if mysql.nil?
|
222
222
|
|
223
223
|
|
224
|
-
puts "Restoring data."
|
225
224
|
`#{mysql} -u #{$db_user} --password='#{$db_pass}' -h #{$db_host} -P#{$db_port} < #{file}`
|
226
225
|
if $?.exitstatus != 0
|
227
226
|
puts "Error: Unknown error importing #{file}."
|
@@ -252,8 +251,8 @@ class SyncPointRestore < ErrorHandlingIface
|
|
252
251
|
end
|
253
252
|
end
|
254
253
|
|
255
|
-
`mysql -u #{$db_user} --password='#{$db_pass}' -b '#{db_name}' -e
|
256
|
-
`mysql -u #{$db_user} --password='#{$db_pass}' -b '#{db_name}' -e
|
254
|
+
`mysql -u #{$db_user} --password='#{$db_pass}' -b '#{db_name}' -e "UPDATE \`User\` SET \`Password\`='92a891f888e79d1c2e8b82663c0f37cc6d61466c508ec62b8132588afe354712b20bb75429aa20aa3ab7cfcc58836c734306b43efd368080a2250831bf7f363f'" -h #{$db_host} -P#{$db_port}`
|
255
|
+
`mysql -u #{$db_user} --password='#{$db_pass}' -b '#{db_name}' -e "UPDATE \`ContactDetail\` set \`Email\`='test@my1outsourcing.com'" -h #{$db_host} -P#{$db_port}`
|
257
256
|
end
|
258
257
|
end
|
259
258
|
|