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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 76f66fd795d4e6043e32435ad220086cce05a682
4
- data.tar.gz: 7b20102e40d63ddd963c28438b60cdda88eedc1a
3
+ metadata.gz: 6ae3d4ce5a43d2dd82d78c74d9455cce4cc56696
4
+ data.tar.gz: 2877f7fae29251c0fd7b9c911c8dff6cd70ab38e
5
5
  SHA512:
6
- metadata.gz: 639da9d0504f514f06701147b4988f6eda1af0f8d8810815d9767a61beb19024febd6fe5fadc0c155dfa9c36ab7f2a40f0c9efbf4d75950bfff2333f313201c9
7
- data.tar.gz: 6d98af4d836c77de054872a88645b6de03eb11bbf09cce1ed508e488ce72dc8c90719ee1020e3d3c79f3915f98dbf7cf8aca1acbcaf3d617a44766c088ea830d
6
+ metadata.gz: c7bb788ab5babad2a95449e2e08be852d8983f5755de6e840a7420c7e3c336c8a0874c7037a56fda433f2482c10c93d920ae8abcf84bb38260ac6c46fab93302
7
+ data.tar.gz: 6c74e16735167ea705b51bde91c91d6969d72306877218bf7416ddff36c4776ea4be82e79c61c7f0d05754cbea443dba6eefa8c3d1e8c05acccc25d56334b99f
data/README.md CHANGED
@@ -7,7 +7,7 @@ Adds [neo4j](https://github.com/neo4jrb/neo4j) support to [kaminari](https://git
7
7
  Add this line to your application's Gemfile:
8
8
 
9
9
  ```ruby
10
- gem 'kaminari-neo4j'
10
+ gem 'kaminari-neo4j', require: 'kaminari/neo4j'
11
11
  ```
12
12
 
13
13
  And then execute:
@@ -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
@@ -1,5 +1,5 @@
1
1
  module Kaminari
2
2
  module Neo4j
3
- VERSION = '0.0.3'
3
+ VERSION = '0.0.4'
4
4
  end
5
5
  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.3
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: 2015-11-27 00:00:00.000000000 Z
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