filterer 1.0.0.beta.4 → 1.0.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
  SHA1:
3
- metadata.gz: 3efc0fb25168f9f7fa99430550bbd7e39a05d688
4
- data.tar.gz: 8ec865378c61652d08186102c4a406e322387646
3
+ metadata.gz: cd3aae394197b00be651ba79a1fccbcb062de3b7
4
+ data.tar.gz: 3431174e285213891cef2baaa9c236fb249ec232
5
5
  SHA512:
6
- metadata.gz: 21643251655d6df18e54566e47f7c48941e725c99d7f95374a4181304f8d65e46d4461547018a117d1212af0088eb43add03237be5f8369a7f45f9ba16cbf2df
7
- data.tar.gz: c128279343a9807477efab1d5e5ed27224114405e2ba2bfed3bd55262314271f79f3d16bef2decd4190e0331aaab49762df092a1e8a60c66cdf37a2b119056e8
6
+ metadata.gz: 20156098e5ca54997ca684cd7293f143648a06a837ddd619c281569c8de714db972fc96ca615819e11ad952cd68523d96840e452d7643de36b0d5b57442eef87
7
+ data.tar.gz: d99dd3c5d90aaef3cd2cb99927c13706c264b3d61394ad96df07c62f762954ecdc4b9c2ba7e962c48d873e8b2112fda2044a4afc28af1d616dc262c4f73c60e6
data/lib/filterer/base.rb CHANGED
@@ -161,7 +161,7 @@ module Filterer
161
161
 
162
162
  def per_page
163
163
  if self.class.allow_per_page_override && params[:per_page].present?
164
- [params[:per_page], per_page_max].min
164
+ [params[:per_page].to_i, per_page_max].min
165
165
  else
166
166
  self.class.per_page
167
167
  end
@@ -1,3 +1,3 @@
1
1
  module Filterer
2
- VERSION = '1.0.0.beta.4'
2
+ VERSION = '1.0.0'
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: filterer
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.0.beta.4
4
+ version: 1.0.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Adam Becker
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-06-26 00:00:00.000000000 Z
11
+ date: 2015-07-30 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -199,9 +199,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
199
199
  version: '0'
200
200
  required_rubygems_version: !ruby/object:Gem::Requirement
201
201
  requirements:
202
- - - ">"
202
+ - - ">="
203
203
  - !ruby/object:Gem::Version
204
- version: 1.3.1
204
+ version: '0'
205
205
  requirements: []
206
206
  rubyforge_project:
207
207
  rubygems_version: 2.2.2