sql2avro 0.5.0 → 0.5.1

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.
Files changed (2) hide show
  1. data/lib/interface/mysql.rb +2 -2
  2. metadata +6 -6
@@ -167,10 +167,10 @@ class MySql < DbInterface
167
167
  # See https://dev.mysql.com/doc/refman/5.0/en/numeric-type-overview.html
168
168
  when /tinyint\(1\)/, /bool/, /boolean/
169
169
  'boolean'
170
- when /tinyint/, /smallint/, /mediumint/, /integer/, /int/
171
- 'int'
172
170
  when /bigint/, /serial/
173
171
  'long'
172
+ when /tinyint/, /smallint/, /mediumint/, /integer/, /int/
173
+ 'int'
174
174
  when /decimal/, /dec/
175
175
  'string'
176
176
  when /float/
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sql2avro
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.5.1
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors:
@@ -9,11 +9,11 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2013-07-30 00:00:00.000000000 Z
12
+ date: 2013-07-31 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: yajl-ruby
16
- requirement: &70283680850780 !ruby/object:Gem::Requirement
16
+ requirement: &70355169762620 !ruby/object:Gem::Requirement
17
17
  none: false
18
18
  requirements:
19
19
  - - ! '>='
@@ -21,7 +21,7 @@ dependencies:
21
21
  version: '0'
22
22
  type: :runtime
23
23
  prerelease: false
24
- version_requirements: *70283680850780
24
+ version_requirements: *70355169762620
25
25
  description: sql2avro extracts data from a specified SQL database table and transforms
26
26
  it into an Avro file with a schema based on the database table's schema. The intended
27
27
  use case is to incrementally load data out of an SQL database and into HDFS for
@@ -52,7 +52,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
52
52
  version: '0'
53
53
  segments:
54
54
  - 0
55
- hash: 1417159064959416851
55
+ hash: 2620294621784604529
56
56
  required_rubygems_version: !ruby/object:Gem::Requirement
57
57
  none: false
58
58
  requirements:
@@ -61,7 +61,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
61
61
  version: '0'
62
62
  segments:
63
63
  - 0
64
- hash: 1417159064959416851
64
+ hash: 2620294621784604529
65
65
  requirements: []
66
66
  rubyforge_project:
67
67
  rubygems_version: 1.8.10