jungle_path 0.0.19 → 0.0.20
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.
- checksums.yaml +4 -4
- data/lib/jungle_path/db_model/schema.rb +1 -1
- data/lib/jungle_path/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 9f75a5f755ee775b5762ef2d8c064696c8cbbed8
|
4
|
+
data.tar.gz: a04114132b7366da76df710c9f1646baa8a107bf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 48b7c6aec25411319ddc11a0dfe14f244662dcd51411657ab6489c1bee5bf795cdcf4a4266021db93e8df9b3161bd5b285a376b23134d4a355d8474766946766
|
7
|
+
data.tar.gz: 213c0f79c406d2182a1c932c37fe6bc43c00855247d7294f526135d62c2fd9a0d9379ece05907055240d37ca3b26af518d4cead375e73dc77e7d65cf0773a204
|
@@ -66,7 +66,7 @@ module JunglePath
|
|
66
66
|
args_hash[:default] = column.default_value unless column.default_value == nil
|
67
67
|
args << args_hash
|
68
68
|
puts "\t\tmethod: #{method}. args:#{args}.\n"
|
69
|
-
made_pk = true if column.type == :primary_key # only
|
69
|
+
made_pk = true if column.type == :primary_key and table_class.primary_key_columns.count == 1 # should only happen when pk is single column.
|
70
70
|
puts "column: #{column.name}, override_type: #{column.override_type}, override_type.class: #{column.override_type.class}, method: #{method}, args: #{args}."
|
71
71
|
send(method, *args)
|
72
72
|
|
data/lib/jungle_path/version.rb
CHANGED