dm-persevere-adapter 0.25.0 → 0.26.0
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.
- data/VERSION +1 -1
- data/lib/persevere_adapter.rb +1 -1
- metadata +1 -1
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.
|
1
|
+
0.26.0
|
data/lib/persevere_adapter.rb
CHANGED
@@ -434,7 +434,7 @@ module DataMapper
|
|
434
434
|
schemas.each do |schema|
|
435
435
|
schema['properties']['id'] = { 'type' => Types::Serial}
|
436
436
|
end
|
437
|
-
return schemas.length > 1 ? schemas : schemas[0]
|
437
|
+
return schemas.length > 1 ? schemas : (schemas[0] || [])
|
438
438
|
else
|
439
439
|
return false
|
440
440
|
end
|