flydata 0.5.17 → 0.5.20
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/VERSION +1 -1
- data/flydata-core/lib/flydata-core/event/event_handler_base.rb +56 -0
- data/flydata-core/lib/flydata-core/event/flydata_event.rb +29 -0
- data/flydata-core/lib/flydata-core/event/flydata_event_handler_registry.rb +11 -0
- data/flydata-core/lib/flydata-core/event/flydata_event_processor.rb +19 -0
- data/flydata-core/lib/flydata-core/event/flydata_event_sender.rb +27 -0
- data/flydata-core/lib/flydata-core/mysql/compatibility_checker.rb +4 -5
- data/flydata-core/lib/flydata-core/table_def/redshift_table_def.rb +12 -2
- data/flydata-core/spec/event/flydata_event_handler_registry_spec.rb +33 -0
- data/flydata-core/spec/event/flydata_event_handler_spec.rb +39 -0
- data/flydata-core/spec/event/flydata_event_processor_spec.rb +42 -0
- data/flydata-core/spec/event/flydata_event_sender_spec.rb +33 -0
- data/flydata-core/spec/event/flydata_event_spec.rb +39 -0
- data/flydata-core/spec/event/shared_event.rb +33 -0
- data/flydata-core/spec/mysql/compatibility_checker_spec.rb +4 -5
- data/flydata-core/spec/table_def/mysql_to_redshift_table_def_spec.rb +25 -25
- data/flydata-core/spec/table_def/redshift_table_def_spec.rb +4 -4
- data/flydata.gemspec +0 -0
- data/lib/flydata/command/start.rb +15 -8
- data/lib/flydata/command/sync.rb +79 -61
- data/lib/flydata/errors.rb +1 -1
- data/lib/flydata/event/api_event_sender.rb +16 -0
- data/lib/flydata/fluent-plugins/mysql/ddl_query_handler.rb +8 -0
- data/lib/flydata/fluent-plugins/mysql/truncate_table_query_handler.rb +1 -1
- data/lib/flydata/output/forwarder.rb +7 -5
- data/lib/flydata/parser/mysql/dump_parser.rb +76 -12
- data/lib/flydata/queueable_thread.rb +32 -0
- data/lib/flydata/sync_file_manager.rb +45 -0
- data/spec/flydata/command/start_spec.rb +1 -1
- data/spec/flydata/fluent-plugins/mysql/alter_table_query_handler_spec.rb +10 -3
- data/spec/flydata/fluent-plugins/mysql/shared_query_handler_context.rb +10 -10
- data/spec/flydata/fluent-plugins/mysql/truncate_query_handler_spec.rb +11 -2
- data/spec/flydata/output/forwarder_spec.rb +4 -4
- metadata +15 -2
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: flydata
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.5.
|
4
|
+
version: 0.5.20
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Koichi Fujikawa
|
@@ -12,7 +12,7 @@ authors:
|
|
12
12
|
autorequire:
|
13
13
|
bindir: bin
|
14
14
|
cert_chain: []
|
15
|
-
date: 2015-11-
|
15
|
+
date: 2015-11-20 00:00:00.000000000 Z
|
16
16
|
dependencies:
|
17
17
|
- !ruby/object:Gem::Dependency
|
18
18
|
name: rest-client
|
@@ -513,6 +513,11 @@ files:
|
|
513
513
|
- flydata-core/lib/flydata-core/core_ext/object.rb
|
514
514
|
- flydata-core/lib/flydata-core/core_ext/object/prepend.rb
|
515
515
|
- flydata-core/lib/flydata-core/errors.rb
|
516
|
+
- flydata-core/lib/flydata-core/event/event_handler_base.rb
|
517
|
+
- flydata-core/lib/flydata-core/event/flydata_event.rb
|
518
|
+
- flydata-core/lib/flydata-core/event/flydata_event_handler_registry.rb
|
519
|
+
- flydata-core/lib/flydata-core/event/flydata_event_processor.rb
|
520
|
+
- flydata-core/lib/flydata-core/event/flydata_event_sender.rb
|
516
521
|
- flydata-core/lib/flydata-core/fluent-plugins/multi_buffer.rb
|
517
522
|
- flydata-core/lib/flydata-core/fluent/config_helper.rb
|
518
523
|
- flydata-core/lib/flydata-core/logger.rb
|
@@ -534,6 +539,12 @@ files:
|
|
534
539
|
- flydata-core/lib/flydata-core/thread_context.rb
|
535
540
|
- flydata-core/lib/flydata-core/wrapper_forwardable.rb
|
536
541
|
- flydata-core/spec/config/user_maintenance_spec.rb
|
542
|
+
- flydata-core/spec/event/flydata_event_handler_registry_spec.rb
|
543
|
+
- flydata-core/spec/event/flydata_event_handler_spec.rb
|
544
|
+
- flydata-core/spec/event/flydata_event_processor_spec.rb
|
545
|
+
- flydata-core/spec/event/flydata_event_sender_spec.rb
|
546
|
+
- flydata-core/spec/event/flydata_event_spec.rb
|
547
|
+
- flydata-core/spec/event/shared_event.rb
|
537
548
|
- flydata-core/spec/fluent/config_helper_spec.rb
|
538
549
|
- flydata-core/spec/logger_spec.rb
|
539
550
|
- flydata-core/spec/mysql/command_generator_spec.rb
|
@@ -600,6 +611,7 @@ files:
|
|
600
611
|
- lib/flydata/credentials.rb
|
601
612
|
- lib/flydata/cron.rb
|
602
613
|
- lib/flydata/errors.rb
|
614
|
+
- lib/flydata/event/api_event_sender.rb
|
603
615
|
- lib/flydata/fluent-plugins/idle_event_detector.rb
|
604
616
|
- lib/flydata/fluent-plugins/in_mysql_binlog_flydata.rb
|
605
617
|
- lib/flydata/fluent-plugins/mysql/alter_table_query_handler.rb
|
@@ -646,6 +658,7 @@ files:
|
|
646
658
|
- lib/flydata/parser_provider.rb
|
647
659
|
- lib/flydata/preference/data_entry_preference.rb
|
648
660
|
- lib/flydata/proxy.rb
|
661
|
+
- lib/flydata/queueable_thread.rb
|
649
662
|
- lib/flydata/sync_file_manager.rb
|
650
663
|
- lib/flydata/util/encryptor.rb
|
651
664
|
- lib/flydata/util/file_util.rb
|