mysql_binlog 0.3.1 → 0.3.2

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.
@@ -97,6 +97,11 @@ else
97
97
  end
98
98
 
99
99
  binlog.each_event do |event|
100
- pp event
101
- puts
100
+ puts "%-30s%-20s%20d" % [
101
+ event[:type],
102
+ event[:filename],
103
+ event[:position],
104
+ ]
105
+ #pp event
106
+ #puts
102
107
  end
@@ -1,3 +1,4 @@
1
+ require 'mysql_binlog/version'
1
2
  require 'mysql_binlog/mysql_character_set'
2
3
  require 'mysql_binlog/binlog'
3
4
  require 'mysql_binlog/binlog_field_parser'
@@ -0,0 +1,3 @@
1
+ module MysqlBinlog
2
+ VERSION = "0.3.2"
3
+ end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mysql_binlog
3
3
  version: !ruby/object:Gem::Version
4
- hash: 17
4
+ hash: 23
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 3
9
- - 1
10
- version: 0.3.1
9
+ - 2
10
+ version: 0.3.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Jeremy Cole
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2012-08-21 00:00:00 Z
18
+ date: 2012-11-07 00:00:00 Z
19
19
  dependencies: []
20
20
 
21
21
  description: Library for parsing MySQL binary logs in Ruby
@@ -35,6 +35,7 @@ files:
35
35
  - lib/mysql_binlog/reader/binlog_file_reader.rb
36
36
  - lib/mysql_binlog/reader/binlog_stream_reader.rb
37
37
  - lib/mysql_binlog/reader/debugging_reader.rb
38
+ - lib/mysql_binlog/version.rb
38
39
  - bin/mysql_binlog_dump
39
40
  homepage: http://jcole.us/
40
41
  licenses: []