site_blog 0.12.0 → 0.13.0

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
  SHA256:
3
- metadata.gz: '04381e66937aae5aeacf3feef9ab99fb9dfb56e639e84fcd60dc1039b7830a9b'
4
- data.tar.gz: bfe3e36c1619ab08257a08603c668269a8024b6833947b09b4b3833f531f739e
3
+ metadata.gz: '096554105a3aff053c1250f5aeb0e6921c4e0456a6b8846ca99bb94604af3032'
4
+ data.tar.gz: dbd69e2738818771b24bdae75ddbe8bd45deba6c069fc0facf6ec4b47ac538cb
5
5
  SHA512:
6
- metadata.gz: 458120de3332498bfdf5fd61bc48cf839d069bf0e3a7ff356c31900022883f7a3a7e23e9ff056964946191a8d6d69577dd118a8846a3791e86b531d3677d25da
7
- data.tar.gz: fce6e95dbd5f01060908e17daa4ec0921fac521c8e69c5a3c71eee9f31eb3b962955f7880856e353c9ae3717e39f517fd4084a2ba624782f66a7536d9b323883
6
+ metadata.gz: fd7701929be83bb6775dc3ace88a010804c106b144b1d69f26e7b0326820fcf674a772d2c9ee57dd47f168f6a47d22f7c41bf27427245c5da9bd4c376d06c37b
7
+ data.tar.gz: d32c0276d3eda5bbe729f1c31cb8d9d30d6e892f987476a614a679e35cdfde8f77696db2818b4d029e32f0d5142cea6000a223e06826e74986d07f1204aaabde
@@ -35,8 +35,7 @@ module SiteBlog
35
35
  data = data.search(params[:query]) if params[:query].present?
36
36
  count = data.count
37
37
  data = data.order('created_at DESC')
38
- data = data.page(params[:page]).per(20)
39
- data = data.limit(params[:limit]) if params[:limit]
38
+ data = data.page(params[:page]).per(params[:limit])
40
39
 
41
40
  {
42
41
  total_count: count,
@@ -1,3 +1,3 @@
1
1
  module SiteBlog
2
- VERSION = "0.12.0"
2
+ VERSION = "0.13.0"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: site_blog
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.12.0
4
+ version: 0.13.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Eldar