rare_map 0.9.5.beta → 0.9.6.beta
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/rare_map/version.rb +1 -1
- data/lib/rare_map.rb +5 -1
- metadata +2 -2
data/lib/rare_map/version.rb
CHANGED
data/lib/rare_map.rb
CHANGED
@@ -14,7 +14,11 @@ class RareMap
|
|
14
14
|
info = {}
|
15
15
|
|
16
16
|
databases = DatabaseToSchemaBuilder.build
|
17
|
-
databases.each do |group_name, tables|
|
17
|
+
databases.each do |group_name, tables|
|
18
|
+
[:foreign_key, :alias, :primary_key].each do |sym|
|
19
|
+
opt[sym] ||= {}
|
20
|
+
opt[sym][group_name] ||= {}
|
21
|
+
end
|
18
22
|
foreign_keys = opt[:foreign_key][group_name]
|
19
23
|
aliases = opt[:alias][group_name]
|
20
24
|
primary_keys = opt[:primary_key][group_name]
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: rare_map
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.9.
|
4
|
+
version: 0.9.6.beta
|
5
5
|
prerelease: 6
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -140,7 +140,7 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
140
140
|
version: '0'
|
141
141
|
segments:
|
142
142
|
- 0
|
143
|
-
hash:
|
143
|
+
hash: 1146274272557933272
|
144
144
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
145
145
|
none: false
|
146
146
|
requirements:
|