kaminari-cells 0.1.0 → 1.0.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +2 -2
- data/kaminari-cells.gemspec +1 -1
- data/lib/kaminari-cells.rb +2 -2
- data/lib/kaminari/cells/version.rb +1 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: c297a5829f59630ae8de741d665997de93c61466
|
4
|
+
data.tar.gz: deb84ba06a8cb5a593b8ccb65d0174c235bff15f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 51418be8a4f502aacac9d023e1a0662420e3f3314fb5a5e93f2f8e696e9211320f56b9a3efec2e4f0d8b87b7a746d410e02597a4bd2990c1978cc32aea8f5ac7
|
7
|
+
data.tar.gz: c4c65d2fe3f9671967113a0e517652bc77e765f706cc4cfd8942a4f4907a044257b629df59ff47ff79932801345c0392678ada679816df2f18f866a80aefb493
|
data/README.md
CHANGED
@@ -2,13 +2,13 @@
|
|
2
2
|
|
3
3
|
_Use Kaminari in Cells._
|
4
4
|
|
5
|
-
|
6
5
|
## Installation
|
7
6
|
|
8
7
|
Add this line to your application's Gemfile:
|
9
8
|
|
10
9
|
gem 'kaminari-cells'
|
11
10
|
|
11
|
+
For Kaminari `1.0.*`, use kaminari-cells `1.0.0` or higher. For Kaminari versions lower than `1.0.0`, use kaminari-cells `0.1.*`.
|
12
12
|
|
13
13
|
## Usage
|
14
14
|
|
@@ -19,4 +19,4 @@ To use the wonderful [Kaminari](https://github.com/amatsuda/kaminari) gem in you
|
|
19
19
|
include Kaminari::Cells
|
20
20
|
```
|
21
21
|
|
22
|
-
You can now use `#paginate` in your cell and it will work.
|
22
|
+
You can now use `#paginate` in your cell and it will work.
|
data/kaminari-cells.gemspec
CHANGED
@@ -18,7 +18,7 @@ Gem::Specification.new do |spec|
|
|
18
18
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
19
19
|
spec.require_paths = ["lib"]
|
20
20
|
|
21
|
-
spec.add_dependency "kaminari", "~> 0.
|
21
|
+
spec.add_dependency "kaminari", "~> 1.0.0"
|
22
22
|
spec.add_dependency "cells", ">= 4.0.0", "<= 5.0.0"
|
23
23
|
spec.add_development_dependency "bundler", "~> 1.6"
|
24
24
|
spec.add_development_dependency "cells-erb"
|
data/lib/kaminari-cells.rb
CHANGED
@@ -1,5 +1,5 @@
|
|
1
1
|
require "cells"
|
2
|
-
require "kaminari"
|
2
|
+
require "kaminari/helpers/helper_methods"
|
3
3
|
require "kaminari/cells/version"
|
4
4
|
require "cell/partial"
|
5
5
|
|
@@ -7,7 +7,7 @@ ActiveSupport.on_load :action_view do
|
|
7
7
|
module Kaminari
|
8
8
|
module Helpers
|
9
9
|
module CellsHelper
|
10
|
-
include Kaminari::
|
10
|
+
include Kaminari::Helpers::HelperMethods
|
11
11
|
include ActionView::Helpers::OutputSafetyHelper
|
12
12
|
include ActionView::Helpers::TranslationHelper
|
13
13
|
include Cell::ViewModel::Partial
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: kaminari-cells
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version:
|
4
|
+
version: 1.0.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Nick Sutterer
|
@@ -16,14 +16,14 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - "~>"
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: 0.
|
19
|
+
version: 1.0.0
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
24
|
- - "~>"
|
25
25
|
- !ruby/object:Gem::Version
|
26
|
-
version: 0.
|
26
|
+
version: 1.0.0
|
27
27
|
- !ruby/object:Gem::Dependency
|
28
28
|
name: cells
|
29
29
|
requirement: !ruby/object:Gem::Requirement
|