taps 0.3.17 → 0.3.18

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/VERSION.yml +2 -2
  2. data/lib/taps/utils.rb +1 -1
  3. metadata +5 -5
@@ -1,5 +1,5 @@
1
1
  ---
2
2
  :build:
3
- :minor: 3
4
- :patch: 17
5
3
  :major: 0
4
+ :minor: 3
5
+ :patch: 18
@@ -45,7 +45,7 @@ module Utils
45
45
  table = opts[:table]
46
46
 
47
47
  max_lengths = schema.inject({}) do |hash, (column, meta)|
48
- if meta[:db_type] =~ /^\w+\((\d+)\)/
48
+ if meta[:db_type] =~ /^varchar\((\d+)\)/
49
49
  hash.update(column => $1.to_i)
50
50
  end
51
51
  hash
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: taps
3
3
  version: !ruby/object:Gem::Version
4
- hash: 49
4
+ hash: 55
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 3
9
- - 17
10
- version: 0.3.17
9
+ - 18
10
+ version: 0.3.18
11
11
  platform: ruby
12
12
  authors:
13
13
  - Ricardo Chimal, Jr.
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2011-02-25 00:00:00 -08:00
18
+ date: 2011-03-04 00:00:00 -05:00
19
19
  default_executable:
20
20
  dependencies:
21
21
  - !ruby/object:Gem::Dependency
@@ -258,7 +258,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
258
258
  requirements: []
259
259
 
260
260
  rubyforge_project:
261
- rubygems_version: 1.4.2
261
+ rubygems_version: 1.5.0
262
262
  signing_key:
263
263
  specification_version: 3
264
264
  summary: simple database import/export app