snorlax 0.1.5 → 0.1.6
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/controllers/snorlax/base.rb +1 -1
- data/lib/snorlax/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: ab822b884e44d071263e73c70fd0e06561b7e1de
|
4
|
+
data.tar.gz: 77e94db2108f8149d2a8600eb1fd3b36591152ba
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fb37230d811f14b4220526ac3fcc89dfab2e235a0671eba29417dcbb60d5afb81195b51833ce34c972e26733c1203cb7b8a28fc5da43c31a30c76baf8c306849
|
7
|
+
data.tar.gz: d30b08684c8b87e5bb198fa248b0ec63cfb7fb9e539350dbcf47855404f423422d578e31a5cb0d5b980774e1bd64c4bd41ae2d739584474973984838eb2aba39
|
@@ -97,7 +97,7 @@ module Snorlax
|
|
97
97
|
end
|
98
98
|
|
99
99
|
def page_collection(collection)
|
100
|
-
collection.offset(params[:from]).limit(params[:per] || default_page_size)
|
100
|
+
collection.offset(params[:from].to_i).limit((params[:per] || default_page_size).to_i)
|
101
101
|
end
|
102
102
|
|
103
103
|
def accessible_records
|
data/lib/snorlax/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: snorlax
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.6
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- James Kiesel (gdpelican)
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-04-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|