folio-pagination 0.0.10 → 0.0.11

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: 832b40bbfc520a630238027b81a611c1a503a6bf
4
- data.tar.gz: 5f3b9010512ece27b16eb4542824216388cbbdaa
3
+ metadata.gz: 9aec00730bd1236fe759cc576bf5e29eae27ff64
4
+ data.tar.gz: 4d626f686033e152725a4baaf69186260b377ce7
5
5
  SHA512:
6
- metadata.gz: d86e58bd0076d1754ff9ca084a411445634607997d2af0027099730dd437213df7c5a44e8b20b4094a2c3a1d49cd265a52b3b97c37855fdf5dded0f538636fbd
7
- data.tar.gz: 62197be67cf3966aa7ccf28830fcccf47570bbea7525b5dbc22ae15c147917bb76ce83acb0847137b277d85c35a4a8deb4e95ec26fc442065664d12c74ace5bd
6
+ metadata.gz: 2e37ead5e804b5e9ad40fafe7b2676f57b3ea8bb8736ea962b3d7c1a0c8466383bc10b9d8bdf84981bb12bf49e1c1488c5dbb4e75571dee37f8e4dd92dbf4336
7
+ data.tar.gz: 91c2dce2d25f1e590b913be8f534739f63f43f88fdf7c87dc171bcca369fedf097456ee30bd94595eae4364afcacbaf0775875da3d28f4019dc5b136132b19e7
data/lib/folio/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Folio
2
- VERSION = "0.0.10"
2
+ VERSION = "0.0.11"
3
3
  end
@@ -120,7 +120,7 @@ module Folio
120
120
  self.scoped
121
121
  elsif self.is_a?(::ActiveRecord::Relation)
122
122
  self
123
- elsif self.is_a?(::ActiveRecord::Base)
123
+ elsif self < ::ActiveRecord::Base
124
124
  self.all
125
125
  else
126
126
  self.scope
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: folio-pagination
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.10
4
+ version: 0.0.11
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jacob Fugal
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-01-21 00:00:00.000000000 Z
11
+ date: 2016-01-22 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler