myreplicator 1.1.51 → 1.1.52

Sign up to get free protection for your applications and to get access to all the features.
@@ -50,7 +50,7 @@ module Myreplicator
50
50
  Log.run(:job_type => "export", :name => schedule_name,
51
51
  :file => filename, :export_id => id) do |log|
52
52
  # TRUNCATE TABLE & Rest incremental value if there is any
53
- sql = "TRUNCATE TABLE '#{self.destination_schema}'.'#{self.table_name}';"
53
+ sql = "TRUNCATE TABLE #{self.destination_schema}.#{self.table_name};"
54
54
  if self.export_to == "vertica"
55
55
  Myreplicator::DB.exec_sql("vertica",sql)
56
56
  else
@@ -28,6 +28,7 @@ class CreateMyreplicatorExports < ActiveRecord::Migration
28
28
  t.boolean :nightly_refresh, :default => false
29
29
  t.integer :nightly_refresh_frequency, :default => nil
30
30
  t.datetime :nightly_refresh_last_run, :default => nil
31
+ t.string :removing_special_chars, :default => nil
31
32
  end
32
33
  add_index :myreplicator_exports, [:source_schema, :destination_schema, :table_name], :unique => true, :name => "unique_index"
33
34
  end
@@ -1,3 +1,3 @@
1
1
  module Myreplicator
2
- VERSION = "1.1.51"
2
+ VERSION = "1.1.52"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: myreplicator
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.1.51
4
+ version: 1.1.52
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-07-10 00:00:00.000000000 Z
12
+ date: 2013-07-15 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails
@@ -330,7 +330,6 @@ files:
330
330
  - test/dummy/tmp/cache/assets/E2D/2C0/sprockets%2Ff0c2e561abf62fabc69462c2cfeef3d8
331
331
  - test/dummy/tmp/cache/assets/E76/790/sprockets%2Fdaf734b1fcabd6ca66b333ad0f0fdbf0
332
332
  - test/dummy/tmp/cache/assets/F08/560/sprockets%2F5ab2cf5fb087fdef95cfe9fe6fabf9df
333
- - test/dummy/tmp/pids/server.pid
334
333
  - test/fixtures/myreplicator/exports.yml
335
334
  - test/functional/myreplicator/exports_controller_test.rb
336
335
  - test/integration/navigation_test.rb
@@ -355,7 +354,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
355
354
  version: '0'
356
355
  segments:
357
356
  - 0
358
- hash: 813394573647275316
357
+ hash: -3879134053226116075
359
358
  required_rubygems_version: !ruby/object:Gem::Requirement
360
359
  none: false
361
360
  requirements:
@@ -364,7 +363,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
364
363
  version: '0'
365
364
  segments:
366
365
  - 0
367
- hash: 813394573647275316
366
+ hash: -3879134053226116075
368
367
  requirements: []
369
368
  rubyforge_project:
370
369
  rubygems_version: 1.8.24
@@ -462,7 +461,6 @@ test_files:
462
461
  - test/dummy/tmp/cache/assets/E2D/2C0/sprockets%2Ff0c2e561abf62fabc69462c2cfeef3d8
463
462
  - test/dummy/tmp/cache/assets/E76/790/sprockets%2Fdaf734b1fcabd6ca66b333ad0f0fdbf0
464
463
  - test/dummy/tmp/cache/assets/F08/560/sprockets%2F5ab2cf5fb087fdef95cfe9fe6fabf9df
465
- - test/dummy/tmp/pids/server.pid
466
464
  - test/fixtures/myreplicator/exports.yml
467
465
  - test/functional/myreplicator/exports_controller_test.rb
468
466
  - test/integration/navigation_test.rb
@@ -1 +0,0 @@
1
- 1663