liquid_queries 0.0.6 → 0.0.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: 5c1a041e96b80a24ece2b61cfc5e15b0649717a0
4
- data.tar.gz: cf458008e0cce542a7ba564c9919a56c6969b708
3
+ metadata.gz: 426ac2d5f3e15dbcc920690b8b9e9c535fa8ffb6
4
+ data.tar.gz: d4a95b463920e8af665c5c8dcabcffaae1be24bc
5
5
  SHA512:
6
- metadata.gz: '09e113c36ddf5545109eba6a5c70ff077a7ee7a398ab7f83f645b8b1368b0037d548a75bb631c453361f48d8933f66709b725d98c24897814f17b18ac00a5841'
7
- data.tar.gz: a6601bd137b73b7a6d78daeec7a6672521908290751318444587b986f18a4289e6d68eca87840604ac69161a1302ec71e1e9414ac230f7be6af050edfad91252
6
+ metadata.gz: b6a2858f8bd2ac231cf469840774f10d6c40d5baacf3052e152c424d35260566e0770af8138e59ae14de34c719d2f99d3e76d4ffb3e7b4b72fa53d0be08efb3d
7
+ data.tar.gz: 7704e6890d711709366ac145cf572838a3cfe07b3a1cc527d5848d55a937f3add0f0d8b796942dff4c2db2c46bc2c11708f2aee3fe484b8378e2a791695e1c2a
data/README.md CHANGED
@@ -26,7 +26,7 @@ Or something like this:
26
26
  ```liquid
27
27
  Users with a name that contains "kasper":
28
28
 
29
- {% for user in my_drop.users.ransack.name_cont.kasper %}
29
+ {% for user in my_drop.users.ransack.name_cont.kasper.to_a %}
30
30
  {{ user.id }} - {{ user.first_name }} {{ user.last_name }}
31
31
  {% endfor %}
32
32
  ```
@@ -43,6 +43,10 @@ module LiquidQueries::CollectionMethods
43
43
  collection.shift
44
44
  end
45
45
 
46
+ def to_a
47
+ collection.to_a
48
+ end
49
+
46
50
  def total_entries
47
51
  collection.total_entries
48
52
  end
@@ -1,3 +1,3 @@
1
1
  module LiquidQueries
2
- VERSION = "0.0.6".freeze
2
+ VERSION = "0.0.7".freeze
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: liquid_queries
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.6
4
+ version: 0.0.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - kaspernj