thoughtbot-sortable_table 0.0.5 → 0.0.6
Sign up to get free protection for your applications and to get access to all the features.
data/Rakefile
CHANGED
@@ -17,7 +17,7 @@ module SortableTable
|
|
17
17
|
define_sort_order(acceptable_columns, mappings)
|
18
18
|
end
|
19
19
|
|
20
|
-
def pop_hash_from_list(
|
20
|
+
def pop_hash_from_list(args)
|
21
21
|
if args.last.is_a?(Hash)
|
22
22
|
args.pop
|
23
23
|
else
|
@@ -27,7 +27,7 @@ module SortableTable
|
|
27
27
|
|
28
28
|
def join_array_and_hash_values(array, hash)
|
29
29
|
array.collect { |each| each.to_s } +
|
30
|
-
hash.
|
30
|
+
hash.keys.collect { |each| each.to_s }
|
31
31
|
end
|
32
32
|
|
33
33
|
def define_sort_order(acceptable_columns, mappings)
|
@@ -89,7 +89,5 @@ module SortableTable
|
|
89
89
|
|
90
90
|
end
|
91
91
|
end
|
92
|
-
end
|
92
|
+
end
|
93
93
|
end
|
94
|
-
|
95
|
-
|