graphiti 1.0.alpha.6 → 1.0.alpha.7
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/graphiti/schema.rb +4 -1
- data/lib/graphiti/schema_diff.rb +1 -1
- data/lib/graphiti/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: fcbf70210b7de15182940d216ec6161f2f4bc639
|
4
|
+
data.tar.gz: d70f215f37380a952424c8f4f56ab470fe3f9b53
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e8f1118f4f3f7fb7a4761cdf7b664120ee88927f8a2c77bd4913930257f1f110eae512377c846e0d110bc8a73ab364dfae56705cff9444b33e7cee1230fb565d
|
7
|
+
data.tar.gz: adb45fc6a42f3dae9eb2815b5cab2552a2ae77f15e8e4a9189ae5dd4a573b3d03e9b274c97c732f4a38e41e0cdb65a9cc40b9469b1625a9fbd3c989d2168d94c
|
data/lib/graphiti/schema.rb
CHANGED
@@ -90,7 +90,10 @@ module Graphiti
|
|
90
90
|
}
|
91
91
|
|
92
92
|
if r.default_sort
|
93
|
-
|
93
|
+
default_sort = r.default_sort.map do |s|
|
94
|
+
{ s.keys.first.to_s => s.values.first.to_s }
|
95
|
+
end
|
96
|
+
config[:default_sort] = default_sort
|
94
97
|
end
|
95
98
|
|
96
99
|
if r.default_page_size
|
data/lib/graphiti/schema_diff.rb
CHANGED
@@ -163,7 +163,7 @@ module Graphiti
|
|
163
163
|
end
|
164
164
|
|
165
165
|
if new_filter[:dependencies] && old_filter[:dependencies]
|
166
|
-
if new_filter[:dependencies] != old_filter[:
|
166
|
+
if new_filter[:dependencies] != old_filter[:dependencies]
|
167
167
|
@errors << "#{old_resource[:name]}: filter #{name.inspect} changed dependencies from #{old_filter[:dependencies].inspect} to #{new_filter[:dependencies].inspect}."
|
168
168
|
end
|
169
169
|
end
|
data/lib/graphiti/version.rb
CHANGED