liquid_queries 0.0.4 → 0.0.5

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: 1ed2186c51888e888496a15618d15deba591da68
4
- data.tar.gz: 8682b6aa196f2aac8f61a55a8a5b8fde7b3fe7cd
3
+ metadata.gz: 983006524eddd51fe1dabd25e6da1f80690e6c63
4
+ data.tar.gz: 5fd9791dd758b2bac6e94d959740d810ff8889c0
5
5
  SHA512:
6
- metadata.gz: 2a10a2d2c46bd727daf07a0c32a2fe1e4219070720ea827469aa1c6edba033ff3f27827985a17231ffd9f410931beaba664e90ad83388dc74e9968b706b49da3
7
- data.tar.gz: 58eb1cd76fc49dc7be217af88877586b82f9d25fef225882bf68ac17f7bbe372e90d2b949abef6d6a466ccd5c2bacb6322ec49b4ca121c8b9ef7686639c56ede
6
+ metadata.gz: 0d645b90384227008dfb9b5319a84a24218be4356a4be8c30094beb0b06dbbd8d183b77741b8ca883530737aece793563d512c0c530fd111ea6e91d247f58f81
7
+ data.tar.gz: da281e03a667dced09aa0ec49b53fe455039074987ecedd326b64baa80c889e5c9ece3bf071efcb74cd1c1e083848c57c659845b1535fe38e2a9a305b5893c05
@@ -7,6 +7,10 @@ module LiquidQueries::CollectionMethods
7
7
  collection.any?
8
8
  end
9
9
 
10
+ def current_page
11
+ collection.current_page
12
+ end
13
+
10
14
  def empty?
11
15
  collection.empty?
12
16
  end
@@ -38,4 +42,12 @@ module LiquidQueries::CollectionMethods
38
42
  def shift
39
43
  collection.shift
40
44
  end
45
+
46
+ def total_entries
47
+ collection.total_entries
48
+ end
49
+
50
+ def total_pages
51
+ collection.total_pages
52
+ end
41
53
  end
@@ -1,3 +1,3 @@
1
1
  module LiquidQueries
2
- VERSION = "0.0.4".freeze
2
+ VERSION = "0.0.5".freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: liquid_queries
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.4
4
+ version: 0.0.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - kaspernj
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-06-19 00:00:00.000000000 Z
11
+ date: 2017-06-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails