snfoil-rails 0.5.1 → 0.5.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 552d48b3b6acfe4814b6c058c65ae6b93853c8a8d954447e916b96252439cf7c
4
- data.tar.gz: 9fc7c3fcae1f33429ae733ea74ea1eefd0a9be03852b3796ba60cd4169c6659b
3
+ metadata.gz: 73e5f3f298f380d6961452b753e3d5ff22f35a4a466b99590cd2409a78ea339e
4
+ data.tar.gz: 2ce8432635e0d889791954955d984d7b81d2d99888dbcbd5ab728e98019eadc6
5
5
  SHA512:
6
- metadata.gz: 18575fcc9acd7102cb6b9d023dda3f911f38864824ea4b02144ac37471c48b271bfea04d62aeb2da644b5c2343f6fdd462a59a0ae184c0e03ffe58ead39ed9b1
7
- data.tar.gz: 3393de5fd2ed5bbee912f67c19e3573f1179c95e66d20385df01c70d0d658459c705ef46ed94a17fd6cf9af200006a6eab0c2b5a6a9e2311197a8955b324cdd9
6
+ metadata.gz: 8767df32da2db2772c633123436bcef81a98f9fe2c37cc1739922e8f07543e0cb593a3fb0a126bc15bfa0cb9abd4f7a419a951c925413c54951e9f4f16b01d45
7
+ data.tar.gz: d2e717c282cf33e7f1a5dd7f42feffe0c1b726c472368d477837f1e64676b2f9dc933d71231c4de5d84f2eb55546c42001dc9bffdb912f26d4d029bf7e710658
@@ -50,6 +50,7 @@ module SnFoil
50
50
  end
51
51
 
52
52
  def meta(results, **options)
53
+ results = paginate(results, **options)
53
54
  total_pages = results.respond_to?(:total_pages) ? results.total_pages : nil
54
55
  total_count = results.respond_to?(:total_count) ? results.total_count : nil
55
56
 
@@ -2,6 +2,6 @@
2
2
 
3
3
  module SnFoil
4
4
  module Rails
5
- VERSION = '0.5.1'
5
+ VERSION = '0.5.2'
6
6
  end
7
7
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: snfoil-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.1
4
+ version: 0.5.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - Matthew Howes
@@ -9,7 +9,7 @@ authors:
9
9
  autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
- date: 2020-04-16 00:00:00.000000000 Z
12
+ date: 2020-06-03 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: activesupport