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.
@@ -1,3 +1,3 @@
1
1
  module InsxSync
2
- VERSION = "0.0.9"
2
+ VERSION = "0.0.10"
3
3
  end
@@ -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 'UPDATE \`User\` SET \`Password\` = '92a891f888e79d1c2e8b82663c0f37cc6d61466c508ec62b8132588afe354712b20bb75429aa20aa3ab7cfcc58836c734306b43efd368080a2250831bf7f363f';' -h #{$db_host} -P#{$db_port}`
256
- `mysql -u #{$db_user} --password='#{$db_pass}' -b '#{db_name}' -e 'UPDATE ContactDetail set Email = 'test@my1outsourcing.com';' -h #{$db_host} -P#{$db_port}`
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
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: insxsync
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.9
4
+ version: 0.0.10
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: