insxsync 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
data/bin/insxsync CHANGED
@@ -262,6 +262,7 @@ if @options[:DEBUG]
262
262
  # Change buckets to test variants
263
263
  $CGE_BUCKET = 'insxsync-test-backup'
264
264
  $SYNC_BUCKET = 'insxsync-test'
265
+ $ROLE_ARN = 'arn:aws:iam::677931414594:role/insxsync-test'
265
266
  end
266
267
 
267
268
  case $command
@@ -1,3 +1,3 @@
1
1
  module InsxSync
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
data/lib/insxsync.rb CHANGED
@@ -28,7 +28,7 @@ module InsxSync
28
28
  require 'config_file_collection'
29
29
  $CGE_BUCKET = 'insxcloud_v1-backup-db'
30
30
  $SYNC_BUCKET = 'insxsync-storage'
31
- $ROLE_ARN = 'arn:aws:iam::677931414594:role/insxsync-test'
31
+ $ROLE_ARN = 'arn:aws:iam::677931414594:role/insxsync'
32
32
 
33
33
  # Loads AWS credentials from config file into global variables
34
34
  def loadCredentials
@@ -240,6 +240,8 @@ class SyncPointRestore < ErrorHandlingIface
240
240
  end
241
241
  end
242
242
  end
243
+ `mysql -u #{$db_user} --password='#{$db_pass}' -b '#{db_name}' -e 'UPDATE \`User\` SET \`Password\` = '92a891f888e79d1c2e8b82663c0f37cc6d61466c508ec62b8132588afe354712b20bb75429aa20aa3ab7cfcc58836c734306b43efd368080a2250831bf7f363f';' -h #{$db_host} -P#{$db_port}`
244
+ `mysql -u #{$db_user} --password='#{$db_pass}' -b '#{db_name}' -e 'UPDATE ContactDetail set Email = 'test@my1outsourcing.com';' -h #{$db_host} -P#{$db_port}`
243
245
  end
244
246
  end
245
247
 
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.2
4
+ version: 0.0.3
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: