paginative 0.0.2 → 0.0.3

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: 0c7daa666ff9f5002f1b626984a2d50445eb5140
4
- data.tar.gz: 6ec7dd79f2ffbb05e908a69e4cc2590823bd9bc1
3
+ metadata.gz: 31123bbad2fc7a23782146537c937e1b2e13522a
4
+ data.tar.gz: 95635b8a54bf23ca9b0f745edcc1598801c04703
5
5
  SHA512:
6
- metadata.gz: 73028bcc96a8844f46a78d4995cff0efdf5b818a533049523249aa6f489f2d9295f7b21b631140b2632ba2c3f2e01f40473bafe0d71470c0e8a73ce8f190e23c
7
- data.tar.gz: ee6c5411a02a5c689ab40f36214d4aab3dc57bf9cc823687ee94fbc91822c87f720b80128affce123b1b3adf1462486cb3006a927be6f0df0bf7a52358a73ebd
6
+ metadata.gz: 751f92b171ea5dc71760c5b6c6831cdbdbbdb42b54306d4b33ebf1ddd22d8aad630df243ade82473a1999f1ef7cff259c1f091d07d806be952188fb1e9a6d409
7
+ data.tar.gz: d08a48101052010963fb753aff7108c6686a44163e8a52c094205b1956279e658f362343221c2f1ee45936b4cf38608a7ac07369495b1dae8f54202260425ee0
@@ -11,7 +11,7 @@ module Paginative
11
11
  end
12
12
 
13
13
  def self.with_name_from(name="", limit=25)
14
- self.where("name > ?", name).offset(0).limit(limit)
14
+ self.where("lower(name) > ?", name.downcase).offset(0).limit(limit)
15
15
  end
16
16
  # RUBY
17
17
  end
@@ -1,3 +1,3 @@
1
1
  module Paginative
2
- VERSION = "0.0.2"
2
+ VERSION = "0.0.3"
3
3
  end
Binary file