informix_rails 0.3.2 → 0.3.3

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
  SHA256:
3
- metadata.gz: 13d5a9446d218b2cb7e72c441c6a817ccff8dc8929dcecb81f1bb2371b3cfdb2
4
- data.tar.gz: a7d37bbbdfe98a994d278764a817f6c19ce60a3f837e542bc4d9d08e330e763e
3
+ metadata.gz: 34b1eb85bd1d9aeda546a94b8fba1abf0caeecb4b9739cee28cd29f9ed7e312d
4
+ data.tar.gz: d19cec69d0b7fcfcb8e8448b06203f6d19e4ff5522fba880179e078b8711c46f
5
5
  SHA512:
6
- metadata.gz: '027494e1d7c4af8b404ab6bce4f8446d8d019123b339954bce7d0b9ae365da3f8969ae3f5f7a7be20f13f441608f08686cf42b566aa4e95421004a43191ff6e0'
7
- data.tar.gz: 2422d43d0bc38737a7dd111fe7ad65477800fae116456c8c04beef7790b1ef1634937bf4031e41605ccba590b59e9850aeb25333efb0996870d433278fbc97aa
6
+ metadata.gz: 21ba6c78fa35fc13147c14f9e68ccb62f57126eebbc01099dd73189c1d8ed1f05bca1832bfdb8ddb99112e9bbd73c00e90f0b75983b150b88e683cfbfd05fa6c
7
+ data.tar.gz: 35cc222d960035a904deb18fb3377a61ba8d89c068855ea93fde521fd89441ae1830d85ebc4f13d9cf92982d6231662405ca403f88cde99a6bb09a60fe067827
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- informix_rails (0.3.2)
4
+ informix_rails (0.3.3)
5
5
  rake
6
6
  rspec
7
7
  thor (~> 1.2.1)
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module InformixRails
4
- VERSION = "0.3.2"
4
+ VERSION = "0.3.3"
5
5
  end
@@ -146,7 +146,11 @@ module InformixRails
146
146
  end
147
147
 
148
148
  def detect_field_size(item)
149
- if item.size < 10
149
+ if item.size < 4
150
+ size="-xxs"
151
+ elsif item.size < 7
152
+ size="-xs"
153
+ elsif item.size < 10
150
154
  size="-s"
151
155
  elsif item.size < 14
152
156
  size="-m"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: informix_rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.3.2
4
+ version: 0.3.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Michael Pope