myreplicator 1.1.33 → 1.1.34
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.
|
@@ -150,8 +150,6 @@ module Myreplicator
|
|
|
150
150
|
end
|
|
151
151
|
elsif get_analyze_constraints(ops) > 0 # check for primary key/unique keys violations
|
|
152
152
|
exp = Export.find(metadata.export_id)
|
|
153
|
-
Loader.clear_older_files metadata
|
|
154
|
-
Loader.cleanup metadata
|
|
155
153
|
Kernel.p "===== DROP CURRENT TABLE ====="
|
|
156
154
|
sql = "DROP TABLE IF EXISTS #{options[:db]}.#{options[:destination_schema]}.#{options[:table]} CASCADE;"
|
|
157
155
|
# run the export. The next time loader runs, it will load the file
|
data/lib/myreplicator/version.rb
CHANGED
|
@@ -8870,3 +8870,187 @@ Connecting to database specified by database.yml
|
|
|
8870
8870
|
Connecting to database specified by database.yml
|
|
8871
8871
|
Connecting to database specified by database.yml
|
|
8872
8872
|
Connecting to database specified by database.yml
|
|
8873
|
+
Connecting to database specified by database.yml
|
|
8874
|
+
Connecting to database specified by database.yml
|
|
8875
|
+
|
|
8876
|
+
|
|
8877
|
+
Started GET "/" for 127.0.0.1 at 2013-04-24 14:09:09 -0700
|
|
8878
|
+
|
|
8879
|
+
ActionController::RoutingError (No route matches [GET] "/"):
|
|
8880
|
+
actionpack (3.2.8) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
|
|
8881
|
+
actionpack (3.2.8) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
|
|
8882
|
+
railties (3.2.8) lib/rails/rack/logger.rb:26:in `call_app'
|
|
8883
|
+
railties (3.2.8) lib/rails/rack/logger.rb:16:in `call'
|
|
8884
|
+
actionpack (3.2.8) lib/action_dispatch/middleware/request_id.rb:22:in `call'
|
|
8885
|
+
rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
|
|
8886
|
+
rack (1.4.1) lib/rack/runtime.rb:17:in `call'
|
|
8887
|
+
activesupport (3.2.8) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
|
|
8888
|
+
rack (1.4.1) lib/rack/lock.rb:15:in `call'
|
|
8889
|
+
actionpack (3.2.8) lib/action_dispatch/middleware/static.rb:62:in `call'
|
|
8890
|
+
railties (3.2.8) lib/rails/engine.rb:479:in `call'
|
|
8891
|
+
railties (3.2.8) lib/rails/application.rb:223:in `call'
|
|
8892
|
+
rack (1.4.1) lib/rack/content_length.rb:14:in `call'
|
|
8893
|
+
railties (3.2.8) lib/rails/rack/log_tailer.rb:17:in `call'
|
|
8894
|
+
rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
|
|
8895
|
+
/Users/lnguyen/.rvm/rubies/ruby-1.9.3-p374/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
|
|
8896
|
+
/Users/lnguyen/.rvm/rubies/ruby-1.9.3-p374/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
|
|
8897
|
+
/Users/lnguyen/.rvm/rubies/ruby-1.9.3-p374/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
|
|
8898
|
+
|
|
8899
|
+
|
|
8900
|
+
Rendered /Users/lnguyen/.rvm/gems/ruby-1.9.3-p374/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (5.3ms)
|
|
8901
|
+
|
|
8902
|
+
|
|
8903
|
+
Started GET "/myreplicator/" for 127.0.0.1 at 2013-04-24 14:09:25 -0700
|
|
8904
|
+
Processing by Myreplicator::HomeController#index as HTML
|
|
8905
|
+
[1m[36m (0.4ms)[0m [1mSELECT COUNT(*) FROM `myreplicator_logs` WHERE `myreplicator_logs`.`state` = 'error'[0m
|
|
8906
|
+
[1m[35m (1.5ms)[0m SELECT COUNT(*) FROM `myreplicator_logs` WHERE `myreplicator_logs`.`state` = 'running'
|
|
8907
|
+
Rendered /Users/lnguyen/Documents/myreplicator/app/views/myreplicator/home/_home_menu.erb (19.6ms)
|
|
8908
|
+
[1m[36mMyreplicator::Log Load (1.1ms)[0m [1mSELECT `myreplicator_logs`.* FROM `myreplicator_logs` WHERE `myreplicator_logs`.`state` = 'running' ORDER BY started_at DESC[0m
|
|
8909
|
+
Rendered /Users/lnguyen/Documents/myreplicator/app/views/myreplicator/home/index.html.erb within layouts/myreplicator/application (27.8ms)
|
|
8910
|
+
Completed 200 OK in 102ms (Views: 80.5ms | ActiveRecord: 10.3ms)
|
|
8911
|
+
|
|
8912
|
+
|
|
8913
|
+
Started GET "/assets/myreplicator/application.css?body=1" for 127.0.0.1 at 2013-04-24 14:09:25 -0700
|
|
8914
|
+
Served asset /myreplicator/application.css - 200 OK (12ms)
|
|
8915
|
+
|
|
8916
|
+
|
|
8917
|
+
Started GET "/assets/jquery.js?body=1" for 127.0.0.1 at 2013-04-24 14:09:25 -0700
|
|
8918
|
+
Served asset /jquery.js - 200 OK (3ms)
|
|
8919
|
+
|
|
8920
|
+
|
|
8921
|
+
Started GET "/assets/myreplicator/chosen.css?body=1" for 127.0.0.1 at 2013-04-24 14:09:25 -0700
|
|
8922
|
+
Served asset /myreplicator/chosen.css - 200 OK (3ms)
|
|
8923
|
+
|
|
8924
|
+
|
|
8925
|
+
Started GET "/assets/myreplicator/select2.css?body=1" for 127.0.0.1 at 2013-04-24 14:09:25 -0700
|
|
8926
|
+
Served asset /myreplicator/select2.css - 200 OK (3ms)
|
|
8927
|
+
|
|
8928
|
+
|
|
8929
|
+
Started GET "/assets/myreplicator/exports.css?body=1" for 127.0.0.1 at 2013-04-24 14:09:25 -0700
|
|
8930
|
+
Served asset /myreplicator/exports.css - 200 OK (5ms)
|
|
8931
|
+
|
|
8932
|
+
|
|
8933
|
+
Started GET "/assets/myreplicator/tipTip.css?body=1" for 127.0.0.1 at 2013-04-24 14:09:25 -0700
|
|
8934
|
+
Served asset /myreplicator/tipTip.css - 200 OK (3ms)
|
|
8935
|
+
|
|
8936
|
+
|
|
8937
|
+
Started GET "/assets/jquery-ui.js?body=1" for 127.0.0.1 at 2013-04-24 14:09:26 -0700
|
|
8938
|
+
Served asset /jquery-ui.js - 200 OK (37ms)
|
|
8939
|
+
|
|
8940
|
+
|
|
8941
|
+
Started GET "/assets/myreplicator/chosen.jquery.min.js?body=1" for 127.0.0.1 at 2013-04-24 14:09:26 -0700
|
|
8942
|
+
Served asset /myreplicator/chosen.jquery.min.js - 200 OK (6ms)
|
|
8943
|
+
|
|
8944
|
+
|
|
8945
|
+
Started GET "/assets/jquery_ujs.js?body=1" for 127.0.0.1 at 2013-04-24 14:09:26 -0700
|
|
8946
|
+
Served asset /jquery_ujs.js - 200 OK (2ms)
|
|
8947
|
+
|
|
8948
|
+
|
|
8949
|
+
Started GET "/assets/myreplicator/cronwtf.js?body=1" for 127.0.0.1 at 2013-04-24 14:09:26 -0700
|
|
8950
|
+
Served asset /myreplicator/cronwtf.js - 200 OK (2ms)
|
|
8951
|
+
|
|
8952
|
+
|
|
8953
|
+
Started GET "/assets/myreplicator/exports.js?body=1" for 127.0.0.1 at 2013-04-24 14:09:26 -0700
|
|
8954
|
+
Served asset /myreplicator/exports.js - 200 OK (3ms)
|
|
8955
|
+
|
|
8956
|
+
|
|
8957
|
+
Started GET "/assets/myreplicator/jquery.tipTip.minified.js?body=1" for 127.0.0.1 at 2013-04-24 14:09:26 -0700
|
|
8958
|
+
Served asset /myreplicator/jquery.tipTip.minified.js - 200 OK (2ms)
|
|
8959
|
+
|
|
8960
|
+
|
|
8961
|
+
Started GET "/assets/myreplicator/select2.js?body=1" for 127.0.0.1 at 2013-04-24 14:09:26 -0700
|
|
8962
|
+
Served asset /myreplicator/select2.js - 200 OK (2ms)
|
|
8963
|
+
|
|
8964
|
+
|
|
8965
|
+
Started GET "/assets/myreplicator/application.js?body=1" for 127.0.0.1 at 2013-04-24 14:09:26 -0700
|
|
8966
|
+
Served asset /myreplicator/application.js - 200 OK (14ms)
|
|
8967
|
+
|
|
8968
|
+
|
|
8969
|
+
Started GET "/assets/myreplicator/websymbols-regular-webfont.woff" for 127.0.0.1 at 2013-04-24 14:09:26 -0700
|
|
8970
|
+
Served asset /myreplicator/websymbols-regular-webfont.woff - 200 OK (2ms)
|
|
8971
|
+
|
|
8972
|
+
|
|
8973
|
+
Started GET "/assets/myreplicator/FrancoisOne.ttf" for 127.0.0.1 at 2013-04-24 14:09:26 -0700
|
|
8974
|
+
Served asset /myreplicator/FrancoisOne.ttf - 200 OK (3ms)
|
|
8975
|
+
|
|
8976
|
+
|
|
8977
|
+
Started GET "/myreplicator/" for 127.0.0.1 at 2013-04-24 14:09:29 -0700
|
|
8978
|
+
Processing by Myreplicator::HomeController#index as HTML
|
|
8979
|
+
[1m[35m (0.5ms)[0m SELECT COUNT(*) FROM `myreplicator_logs` WHERE `myreplicator_logs`.`state` = 'error'
|
|
8980
|
+
[1m[36m (0.4ms)[0m [1mSELECT COUNT(*) FROM `myreplicator_logs` WHERE `myreplicator_logs`.`state` = 'running'[0m
|
|
8981
|
+
Rendered /Users/lnguyen/Documents/myreplicator/app/views/myreplicator/home/_home_menu.erb (2.4ms)
|
|
8982
|
+
[1m[35mMyreplicator::Log Load (0.4ms)[0m SELECT `myreplicator_logs`.* FROM `myreplicator_logs` WHERE `myreplicator_logs`.`state` = 'running' ORDER BY started_at DESC
|
|
8983
|
+
Rendered /Users/lnguyen/Documents/myreplicator/app/views/myreplicator/home/index.html.erb within layouts/myreplicator/application (3.8ms)
|
|
8984
|
+
Completed 200 OK in 13ms (Views: 10.8ms | ActiveRecord: 1.3ms)
|
|
8985
|
+
|
|
8986
|
+
|
|
8987
|
+
Started GET "/myreplicator/exports" for 127.0.0.1 at 2013-04-24 14:09:32 -0700
|
|
8988
|
+
Processing by Myreplicator::ExportsController#index as HTML
|
|
8989
|
+
[1m[36m (0.4ms)[0m [1mSELECT COUNT(*) FROM `myreplicator_exports` [0m
|
|
8990
|
+
[1m[35mMyreplicator::Export Load (1.1ms)[0m SELECT `myreplicator_exports`.* FROM `myreplicator_exports` ORDER BY source_schema asc LIMIT 30 OFFSET 0
|
|
8991
|
+
Rendered /Users/lnguyen/Documents/myreplicator/app/views/myreplicator/exports/index.html.erb within layouts/myreplicator/application (64.1ms)
|
|
8992
|
+
Completed 200 OK in 80ms (Views: 70.9ms | ActiveRecord: 6.4ms)
|
|
8993
|
+
|
|
8994
|
+
|
|
8995
|
+
Started GET "/assets/myreplicator/plus.png" for 127.0.0.1 at 2013-04-24 14:09:32 -0700
|
|
8996
|
+
Served asset /myreplicator/plus.png - 200 OK (5ms)
|
|
8997
|
+
|
|
8998
|
+
|
|
8999
|
+
Started GET "/assets/myreplicator/bg.gif" for 127.0.0.1 at 2013-04-24 14:09:32 -0700
|
|
9000
|
+
Served asset /myreplicator/bg.gif - 200 OK (3ms)
|
|
9001
|
+
|
|
9002
|
+
|
|
9003
|
+
Started GET "/assets/myreplicator/clipboard-list.png" for 127.0.0.1 at 2013-04-24 14:09:32 -0700
|
|
9004
|
+
Served asset /myreplicator/clipboard-list.png - 200 OK (2ms)
|
|
9005
|
+
|
|
9006
|
+
|
|
9007
|
+
Started GET "/assets/myreplicator/desc-white.gif" for 127.0.0.1 at 2013-04-24 14:09:32 -0700
|
|
9008
|
+
Served asset /myreplicator/desc-white.gif - 200 OK (2ms)
|
|
9009
|
+
|
|
9010
|
+
|
|
9011
|
+
Started GET "/assets/myreplicator/status.png" for 127.0.0.1 at 2013-04-24 14:09:32 -0700
|
|
9012
|
+
Served asset /myreplicator/status.png - 200 OK (2ms)
|
|
9013
|
+
|
|
9014
|
+
|
|
9015
|
+
Started GET "/assets/myreplicator/gear.png" for 127.0.0.1 at 2013-04-24 14:09:32 -0700
|
|
9016
|
+
Served asset /myreplicator/gear.png - 200 OK (2ms)
|
|
9017
|
+
|
|
9018
|
+
|
|
9019
|
+
Started GET "/assets/myreplicator/cross.png" for 127.0.0.1 at 2013-04-24 14:09:32 -0700
|
|
9020
|
+
Served asset /myreplicator/cross.png - 200 OK (3ms)
|
|
9021
|
+
|
|
9022
|
+
|
|
9023
|
+
Started GET "/myreplicator/" for 127.0.0.1 at 2013-04-24 14:09:34 -0700
|
|
9024
|
+
Processing by Myreplicator::HomeController#index as HTML
|
|
9025
|
+
[1m[36m (1.0ms)[0m [1mSELECT COUNT(*) FROM `myreplicator_logs` WHERE `myreplicator_logs`.`state` = 'error'[0m
|
|
9026
|
+
[1m[35m (0.4ms)[0m SELECT COUNT(*) FROM `myreplicator_logs` WHERE `myreplicator_logs`.`state` = 'running'
|
|
9027
|
+
Rendered /Users/lnguyen/Documents/myreplicator/app/views/myreplicator/home/_home_menu.erb (3.1ms)
|
|
9028
|
+
[1m[36mMyreplicator::Log Load (0.5ms)[0m [1mSELECT `myreplicator_logs`.* FROM `myreplicator_logs` WHERE `myreplicator_logs`.`state` = 'running' ORDER BY started_at DESC[0m
|
|
9029
|
+
Rendered /Users/lnguyen/Documents/myreplicator/app/views/myreplicator/home/index.html.erb within layouts/myreplicator/application (4.6ms)
|
|
9030
|
+
Completed 200 OK in 12ms (Views: 9.9ms | ActiveRecord: 1.9ms)
|
|
9031
|
+
|
|
9032
|
+
|
|
9033
|
+
Started GET "/myreplicator/replications/running" for 127.0.0.1 at 2013-04-24 14:14:47 -0700
|
|
9034
|
+
|
|
9035
|
+
ActionController::RoutingError (No route matches [GET] "/myreplicator/replications/running"):
|
|
9036
|
+
actionpack (3.2.8) lib/action_dispatch/middleware/debug_exceptions.rb:21:in `call'
|
|
9037
|
+
actionpack (3.2.8) lib/action_dispatch/middleware/show_exceptions.rb:56:in `call'
|
|
9038
|
+
railties (3.2.8) lib/rails/rack/logger.rb:26:in `call_app'
|
|
9039
|
+
railties (3.2.8) lib/rails/rack/logger.rb:16:in `call'
|
|
9040
|
+
actionpack (3.2.8) lib/action_dispatch/middleware/request_id.rb:22:in `call'
|
|
9041
|
+
rack (1.4.1) lib/rack/methodoverride.rb:21:in `call'
|
|
9042
|
+
rack (1.4.1) lib/rack/runtime.rb:17:in `call'
|
|
9043
|
+
activesupport (3.2.8) lib/active_support/cache/strategy/local_cache.rb:72:in `call'
|
|
9044
|
+
rack (1.4.1) lib/rack/lock.rb:15:in `call'
|
|
9045
|
+
actionpack (3.2.8) lib/action_dispatch/middleware/static.rb:62:in `call'
|
|
9046
|
+
railties (3.2.8) lib/rails/engine.rb:479:in `call'
|
|
9047
|
+
railties (3.2.8) lib/rails/application.rb:223:in `call'
|
|
9048
|
+
rack (1.4.1) lib/rack/content_length.rb:14:in `call'
|
|
9049
|
+
railties (3.2.8) lib/rails/rack/log_tailer.rb:17:in `call'
|
|
9050
|
+
rack (1.4.1) lib/rack/handler/webrick.rb:59:in `service'
|
|
9051
|
+
/Users/lnguyen/.rvm/rubies/ruby-1.9.3-p374/lib/ruby/1.9.1/webrick/httpserver.rb:138:in `service'
|
|
9052
|
+
/Users/lnguyen/.rvm/rubies/ruby-1.9.3-p374/lib/ruby/1.9.1/webrick/httpserver.rb:94:in `run'
|
|
9053
|
+
/Users/lnguyen/.rvm/rubies/ruby-1.9.3-p374/lib/ruby/1.9.1/webrick/server.rb:191:in `block in start_thread'
|
|
9054
|
+
|
|
9055
|
+
|
|
9056
|
+
Rendered /Users/lnguyen/.rvm/gems/ruby-1.9.3-p374/gems/actionpack-3.2.8/lib/action_dispatch/middleware/templates/rescues/routing_error.erb within rescues/layout (0.9ms)
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
4522
|
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.
|
|
4
|
+
version: 1.1.34
|
|
5
5
|
prerelease:
|
|
6
6
|
platform: ruby
|
|
7
7
|
authors:
|
|
@@ -335,6 +335,7 @@ files:
|
|
|
335
335
|
- test/dummy/tmp/cache/assets/F08/560/sprockets%2F5ab2cf5fb087fdef95cfe9fe6fabf9df
|
|
336
336
|
- test/dummy/tmp/myreplicator/load_logs/public_.log
|
|
337
337
|
- test/dummy/tmp/myreplicator/load_logs/public_app_csvs.log
|
|
338
|
+
- test/dummy/tmp/pids/server.pid
|
|
338
339
|
- test/fixtures/myreplicator/exports.yml
|
|
339
340
|
- test/functional/myreplicator/exports_controller_test.rb
|
|
340
341
|
- test/integration/navigation_test.rb
|
|
@@ -359,7 +360,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
|
359
360
|
version: '0'
|
|
360
361
|
segments:
|
|
361
362
|
- 0
|
|
362
|
-
hash:
|
|
363
|
+
hash: 1834831066953572593
|
|
363
364
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
|
364
365
|
none: false
|
|
365
366
|
requirements:
|
|
@@ -368,7 +369,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
368
369
|
version: '0'
|
|
369
370
|
segments:
|
|
370
371
|
- 0
|
|
371
|
-
hash:
|
|
372
|
+
hash: 1834831066953572593
|
|
372
373
|
requirements: []
|
|
373
374
|
rubyforge_project:
|
|
374
375
|
rubygems_version: 1.8.24
|
|
@@ -472,6 +473,7 @@ test_files:
|
|
|
472
473
|
- test/dummy/tmp/cache/assets/F08/560/sprockets%2F5ab2cf5fb087fdef95cfe9fe6fabf9df
|
|
473
474
|
- test/dummy/tmp/myreplicator/load_logs/public_.log
|
|
474
475
|
- test/dummy/tmp/myreplicator/load_logs/public_app_csvs.log
|
|
476
|
+
- test/dummy/tmp/pids/server.pid
|
|
475
477
|
- test/fixtures/myreplicator/exports.yml
|
|
476
478
|
- test/functional/myreplicator/exports_controller_test.rb
|
|
477
479
|
- test/integration/navigation_test.rb
|