flydata 0.3.22 → 0.3.23

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 9e5b9816ca7b0901b9716d3361a344f8842f4e67
4
- data.tar.gz: 6c1061fd528b620f93273b5ba737da1f78d81803
3
+ metadata.gz: 65c746356a222838bb65756fb206ac897ccc236d
4
+ data.tar.gz: 8a057f92fa831366d156ffd3c1a2b295ace4e682
5
5
  SHA512:
6
- metadata.gz: 3b8295cd89f049cde9393e02bd8ea07b37f0cc08d0584bfde3ae54b735af78172bcc6157045f58a81dfffab05361df8dc83886be48f881777f4656b3d2626825
7
- data.tar.gz: 6f67eac41f7ba8a7794d696c1b7bfe2466628a54153be62b40ace4a8fce70b4f4201ec44807e9609dd565b5021b8682551e68072f22101cb78fb1763e76173c8
6
+ metadata.gz: 9b61f370d5295a8249f8b4485c0ba4e3011b0aa2c2fb7b79d1215c022a6fba9dd503d8e5f2a22c86c42b38da1953b6feb7ff72a90e7a1cdfa6bfdcd3943ac1d0
7
+ data.tar.gz: d2593d38159c408fad8c84842163ad579fe3251a71875a3c0eee172d65be00599c9f1658f24eb113e8e52f61a063665b059b6a9e585e8705377087b3c801e9cb
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.3.22
1
+ 0.3.23
@@ -2,16 +2,16 @@
2
2
  # DO NOT EDIT THIS FILE DIRECTLY
3
3
  # Instead, edit Jeweler::Tasks in Rakefile, and run 'rake gemspec'
4
4
  # -*- encoding: utf-8 -*-
5
- # stub: flydata 0.3.22 ruby lib
5
+ # stub: flydata 0.3.23 ruby lib
6
6
 
7
7
  Gem::Specification.new do |s|
8
8
  s.name = "flydata"
9
- s.version = "0.3.22"
9
+ s.version = "0.3.23"
10
10
 
11
11
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
12
12
  s.require_paths = ["lib"]
13
13
  s.authors = ["Koichi Fujikawa", "Masashi Miyazaki", "Matthew Luu", "Mak Inada", "Sriram NS"]
14
- s.date = "2015-05-14"
14
+ s.date = "2015-05-16"
15
15
  s.description = "FlyData Agent"
16
16
  s.email = "sysadmin@flydata.com"
17
17
  s.executables = ["fdmysqldump", "flydata", "serverinfo"]
@@ -181,7 +181,7 @@ Gem::Specification.new do |s|
181
181
  ]
182
182
  s.homepage = "http://flydata.com/"
183
183
  s.licenses = ["All right reserved."]
184
- s.rubygems_version = "2.2.2"
184
+ s.rubygems_version = "2.4.6"
185
185
  s.summary = "FlyData Agent"
186
186
 
187
187
  if s.respond_to? :specification_version then
@@ -31,7 +31,14 @@ module Flydata
31
31
  STATUS_WAITING = 'WAITING'
32
32
  STATUS_COMPLETE = 'COMPLETE'
33
33
 
34
- attr_reader :full_initial_sync, :full_tables, :new_tables, :ddl_tables, :input_tables
34
+ attr_reader :full_initial_sync, # true if full initial sync
35
+ :full_tables, # all tables (same as data_entry['mysql_data_entry_preference']['tables'])
36
+ :new_tables, # tables which is not finihed initial-sync(pos file doesn't exist)
37
+ :ddl_tables, # tables generated ddl
38
+ :input_tables # tables which user put
39
+
40
+ #target_tables # target tables for current command(sync/reset/generate_table_ddl)
41
+ #target_tables_for_api # target tables for calling api(tables parameter needs to be empty for full_initial_sync)
35
42
 
36
43
  class SyncDataEntryError < StandardError
37
44
  end
@@ -347,7 +354,7 @@ EOS
347
354
  Flydata::Command::Conf.new.copy_templates
348
355
  end
349
356
  generate_mysqldump(de, sync_fm, !opts.dump_stream?) do |mysqldump_io, binlog_pos, db_bytesize|
350
- sync_fm.save_sync_info(@full_initial_sync, de['mysql_data_entry_preference']['tables'])
357
+ sync_fm.save_sync_info(@full_initial_sync, target_tables)
351
358
  parse_mysqldump_and_send(mysqldump_io, dp, de, sync_fm, binlog_pos, db_bytesize)
352
359
  end
353
360
  wait_for_mysqldump_processed(dp, de, sync_fm)
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.3.22
4
+ version: 0.3.23
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-05-14 00:00:00.000000000 Z
15
+ date: 2015-05-16 00:00:00.000000000 Z
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency
18
18
  name: rest-client
@@ -621,7 +621,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
621
621
  version: '0'
622
622
  requirements: []
623
623
  rubyforge_project:
624
- rubygems_version: 2.2.2
624
+ rubygems_version: 2.4.6
625
625
  signing_key:
626
626
  specification_version: 4
627
627
  summary: FlyData Agent