delynn-uuid_fu 1.0.1 → 1.0.3

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.
@@ -9,10 +9,10 @@ module UuidFu
9
9
  def type_to_sql_with_uuid(type, limit = nil, precision = nil, scale = nil)
10
10
  case type.to_s
11
11
  when "uuid" then
12
- type = :uuid
12
+ type = "varchar(32)"
13
13
  limit = 32
14
14
  when "uuid_key" then
15
- type = 'varchar(32) primary key'
15
+ type = "varchar(32) primary key"
16
16
  limit = 32
17
17
  end
18
18
  type_to_sql_without_uuid(type, limit, precision, scale)
@@ -1,3 +1,4 @@
1
+ gem 'uuid', '=2.0.1'
1
2
  require 'uuid'
2
3
 
3
4
  if defined?(UUID) && defined?(UUID::VERSION) && UUID::VERSION == '2.0.1'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: delynn-uuid_fu
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.1
4
+ version: 1.0.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - DeLynn Berry
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-03-25 00:00:00 -07:00
12
+ date: 2009-04-12 00:00:00 -07:00
13
13
  default_executable:
14
14
  dependencies: []
15
15