kaminari-neo4j 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/lib/kaminari-neo4j.rb +1 -0
- data/lib/kaminari/neo4j/paginated.rb +4 -0
- data/lib/kaminari/neo4j/version.rb +1 -1
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6ae3d4ce5a43d2dd82d78c74d9455cce4cc56696
|
4
|
+
data.tar.gz: 2877f7fae29251c0fd7b9c911c8dff6cd70ab38e
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c7bb788ab5babad2a95449e2e08be852d8983f5755de6e840a7420c7e3c336c8a0874c7037a56fda433f2482c10c93d920ae8abcf84bb38260ac6c46fab93302
|
7
|
+
data.tar.gz: 6c74e16735167ea705b51bde91c91d6969d72306877218bf7416ddff36c4776ea4be82e79c61c7f0d05754cbea443dba6eefa8c3d1e8c05acccc25d56334b99f
|
data/README.md
CHANGED
@@ -0,0 +1 @@
|
|
1
|
+
require "kaminari/neo4j"
|
@@ -27,6 +27,10 @@ module Kaminari
|
|
27
27
|
@items || source.skip((current_page - 1) * per_page).limit(per_page)
|
28
28
|
end
|
29
29
|
|
30
|
+
def method_missing(name, *args, &block)
|
31
|
+
items.respond_to?(name) ? items.send(name, *args, &block) : super
|
32
|
+
end
|
33
|
+
|
30
34
|
def self.create_from(source, page, per_page = 0)
|
31
35
|
new(source, page, per_page)
|
32
36
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: kaminari-neo4j
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Dieter Pisarewski
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2016-01-13 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activesupport
|
@@ -65,6 +65,7 @@ files:
|
|
65
65
|
- README.md
|
66
66
|
- Rakefile
|
67
67
|
- kaminari-neo4j.gemspec
|
68
|
+
- lib/kaminari-neo4j.rb
|
68
69
|
- lib/kaminari/neo4j.rb
|
69
70
|
- lib/kaminari/neo4j/criteria_methods.rb
|
70
71
|
- lib/kaminari/neo4j/extension.rb
|