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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: d7c1746bfb06d696a267ff57810838ea0f5da577
4
- data.tar.gz: 76133042dda4240b704a4a3f2903f1f5297ccc86
3
+ metadata.gz: fcbf70210b7de15182940d216ec6161f2f4bc639
4
+ data.tar.gz: d70f215f37380a952424c8f4f56ab470fe3f9b53
5
5
  SHA512:
6
- metadata.gz: a2e690b8375aef1392a9d59a6d1e51be0eb177a5ffa8ffd82950baaf7103ba4315bd96a5530155bf214577a853ee250eddf1ec326cb7f8d7bd521e6818d594f3
7
- data.tar.gz: 08f1879eb8ae822005635f386b4c6b89287d657d771adacfb7b8cc364a2240b36d8e18edd4db68913017b75dcbeac80c0747286c773536b0c00f29ac0e66d05c
6
+ metadata.gz: e8f1118f4f3f7fb7a4761cdf7b664120ee88927f8a2c77bd4913930257f1f110eae512377c846e0d110bc8a73ab364dfae56705cff9444b33e7cee1230fb565d
7
+ data.tar.gz: adb45fc6a42f3dae9eb2815b5cab2552a2ae77f15e8e4a9189ae5dd4a573b3d03e9b274c97c732f4a38e41e0cdb65a9cc40b9469b1625a9fbd3c989d2168d94c
@@ -90,7 +90,10 @@ module Graphiti
90
90
  }
91
91
 
92
92
  if r.default_sort
93
- config[:default_sort] = r.default_sort
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
@@ -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[:dependenices]
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
@@ -1,3 +1,3 @@
1
1
  module Graphiti
2
- VERSION = "1.0.alpha.6"
2
+ VERSION = "1.0.alpha.7"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: graphiti
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.alpha.6
4
+ version: 1.0.alpha.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Lee Richmond