active_admin_pagination 0.2.0 → 0.2.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/README.md +12 -0
- data/active_admin_pagination.gemspec +2 -0
- data/lib/active_admin_pagination/version.rb +1 -1
- metadata +17 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6bdff1155987cb59a9b55186f8a0174e12f07f18
|
4
|
+
data.tar.gz: 3e4778903d9027207788a4132109bc708c7d66ea
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 688103ea0f820160ed67444ea41a25775d6d749dcdaad54d0db505a6304089b7534590d344991b91b8d1ff9c9a70f4482ce664af6b610856f78bcd1e3218f61f
|
7
|
+
data.tar.gz: e8021b09e9b74bbcaf652e651384f09c609f7af0985870bbf2fef5dae812a94ba1a3f22aeb2daf4c0f9d8911d085853afbc91a7ba331a2c849a74fc0476c0f00
|
data/README.md
CHANGED
@@ -2,6 +2,10 @@
|
|
2
2
|
|
3
3
|
Provides a pagination 'per page' interface for ActiveAdmin. It renders a sidebar section with a numeric select and modifies the Controller to use that 'per page' value.
|
4
4
|
|
5
|
+
## :warning: Unmaintained :warning:
|
6
|
+
|
7
|
+
Since [activeadmin/activeadmin#3815](https://github.com/activeadmin/activeadmin/pull/3815) ActiveAdmin has native support for 'per page' interface. So this gem is now deprecated and will no longer maintained!
|
8
|
+
|
5
9
|
## Installation
|
6
10
|
|
7
11
|
Add this line to your application's Gemfile:
|
@@ -18,6 +22,14 @@ And then execute:
|
|
18
22
|
pagination [10, 50, 100], 50
|
19
23
|
end
|
20
24
|
|
25
|
+
## TODO`s
|
26
|
+
|
27
|
+
* Use `Kaminari.config.param_name`
|
28
|
+
* Use `.arb` instead of `.erb` views
|
29
|
+
* Set ActiveAdmin dependency
|
30
|
+
* Set gemspec homepage
|
31
|
+
* Extend `Usage` section
|
32
|
+
|
21
33
|
## Contributing
|
22
34
|
|
23
35
|
1. Fork it ( https://github.com/timoschilling/active_admin_pagination/fork )
|
@@ -18,6 +18,8 @@ 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 "activeadmin", "1.0.0.pre"
|
22
|
+
|
21
23
|
spec.add_development_dependency "bundler", "~> 1.6"
|
22
24
|
spec.add_development_dependency "rake"
|
23
25
|
end
|
metadata
CHANGED
@@ -1,15 +1,29 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: active_admin_pagination
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Timo Schilling
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date:
|
11
|
+
date: 2015-03-16 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
|
+
- !ruby/object:Gem::Dependency
|
14
|
+
name: activeadmin
|
15
|
+
requirement: !ruby/object:Gem::Requirement
|
16
|
+
requirements:
|
17
|
+
- - '='
|
18
|
+
- !ruby/object:Gem::Version
|
19
|
+
version: 1.0.0.pre
|
20
|
+
type: :runtime
|
21
|
+
prerelease: false
|
22
|
+
version_requirements: !ruby/object:Gem::Requirement
|
23
|
+
requirements:
|
24
|
+
- - '='
|
25
|
+
- !ruby/object:Gem::Version
|
26
|
+
version: 1.0.0.pre
|
13
27
|
- !ruby/object:Gem::Dependency
|
14
28
|
name: bundler
|
15
29
|
requirement: !ruby/object:Gem::Requirement
|
@@ -79,7 +93,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
79
93
|
version: '0'
|
80
94
|
requirements: []
|
81
95
|
rubyforge_project:
|
82
|
-
rubygems_version: 2.
|
96
|
+
rubygems_version: 2.4.5
|
83
97
|
signing_key:
|
84
98
|
specification_version: 4
|
85
99
|
summary: Provides a pagination 'per page' interface for ActiveAdmin.
|