binlog-server 1.0.0-java → 1.1.0-java

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: 8068ff5855601d667a1549e0290db5f1c37e32a2
4
- data.tar.gz: 44658257e1ad786807bac2464fccbe4a82c039aa
3
+ metadata.gz: a94fc90491dd090bd6081ed4dc674ed218bfa900
4
+ data.tar.gz: 7e8a0d791cfca723fff7d92920bd85a45d5a2978
5
5
  SHA512:
6
- metadata.gz: ea37aa377a1855d7285ea7b47e1ea4780eb47f9551998bb6e16532140fc0ef080547020d2de3bb0b8d24eb1b7bd12180465a40a1b3852ae9679e740f1fc9bb18
7
- data.tar.gz: 37b411efcf9c71ee4e3946ff784c47d32685640268ba80adac6c8981157e0dc8a47022be73e082d03d1a9efa9d5f01175217ea80f0fb636f41396f09ec529d39
6
+ metadata.gz: 2ad34d7083fae1539dc6c8e6bdaabdc322a719801a5e2f75c152e06740d3a8d5d3966158e30673d0c72409794df3725526cf60d414b8945f79c7f13ce34c6b9e
7
+ data.tar.gz: 20350ac01a34c25dd9f54209d9be7ab8bcf3259b98f41f862d95de500b2fcca95336c66c3e9edb318be9e9f0eacff424101d14cc73fc4a1c3a85d3dab626bdae
data/example/server.rb CHANGED
@@ -32,17 +32,21 @@ class MyRowEventListener
32
32
  puts "Begin transaction"
33
33
  end
34
34
 
35
- def update(event)
35
+ def on_update(event)
36
36
  puts "Update"
37
37
  end
38
38
 
39
- def write(event)
39
+ def on_write(event)
40
40
  puts "Write"
41
41
  end
42
42
 
43
- def delete(event)
43
+ def on_delete(event)
44
44
  puts "Delete"
45
45
  end
46
+
47
+ def on_error(error)
48
+ puts "Error"
49
+ end
46
50
 
47
51
  def commit_transaction
48
52
  puts "Commit Transaction"
@@ -1,3 +1,3 @@
1
1
  module Binlog
2
- VERSION = "1.0.0"
2
+ VERSION = "1.1.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: binlog-server
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0
4
+ version: 1.1.0
5
5
  platform: java
6
6
  authors:
7
7
  - Ben Curren
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2014-12-06 00:00:00.000000000 Z
11
+ date: 2014-12-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  requirement: !ruby/object:Gem::Requirement
@@ -48,7 +48,7 @@ files:
48
48
  - example/server.rb
49
49
  - lib/binlog-server.rb
50
50
  - lib/binlog/version.rb
51
- - target/binlog-server-1.0.0.jar
51
+ - target/binlog-server-1.1.0.jar
52
52
  - binlog-server.gemspec
53
53
  - Rakefile
54
54
  - README.md