folio-pagination 0.0.8 → 0.0.9
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile +3 -0
- data/README.md +14 -0
- data/folio-pagination.gemspec +0 -2
- data/lib/folio/version.rb +1 -1
- metadata +3 -16
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 94206add54cee4c16494e9d8e4df1ffca4ec071f
|
4
|
+
data.tar.gz: f403b5c0289400f39f001c2a53b75482dd5bffa6
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2e97cf79296562e8887f54734d1e717a912772ccaa508bff551ac10aff5d593273b67cc5f030ea0f45305591c836109e1f3e78373c4ce5d9c77b55a1fafd9788
|
7
|
+
data.tar.gz: 8e7d031be30734a29a46ffd86aab32e7c66e2730e133f5ca990e4bc6ca2c9ef9ea3f7a0fc8966ae4fd4c9101fb81be781ee6ff55bd8cdf3070a1ff4da283320c
|
data/Gemfile
CHANGED
@@ -8,6 +8,9 @@ end
|
|
8
8
|
|
9
9
|
group :will_paginate do
|
10
10
|
gem 'rails', '>= 3.0', '< 4.1'
|
11
|
+
# this isn't in the gemspec because folio/rails.rb loads only part of
|
12
|
+
# will_paginate, and only if folio/rails.rb is required. see the README.
|
13
|
+
gem 'will_paginate', '~> 3.0.7'
|
11
14
|
end
|
12
15
|
|
13
16
|
group :test do
|
data/README.md
CHANGED
@@ -22,6 +22,20 @@ Or install it yourself as:
|
|
22
22
|
|
23
23
|
$ gem install folio-pagination
|
24
24
|
|
25
|
+
### Rails Support
|
26
|
+
|
27
|
+
To use Folio's optional Rails support, you will need to load the 'will_paginate'
|
28
|
+
gem into your application along with folio, but don't require it. For
|
29
|
+
instance in your Gemfile:
|
30
|
+
|
31
|
+
gem 'will_paginate', require: false
|
32
|
+
|
33
|
+
And then you can:
|
34
|
+
|
35
|
+
require 'folio/rails'
|
36
|
+
|
37
|
+
This will load just the necessary portions of the will_paginate gem.
|
38
|
+
|
25
39
|
## Usage
|
26
40
|
|
27
41
|
The core `Folio` interface is defined by two mixins. Mixing `Folio` into
|
data/folio-pagination.gemspec
CHANGED
@@ -22,8 +22,6 @@ Gem::Specification.new do |spec|
|
|
22
22
|
spec.test_files = spec.files.grep(%r{^(test|spec|features)/})
|
23
23
|
spec.require_paths = ["lib"]
|
24
24
|
|
25
|
-
spec.add_dependency "will_paginate", "~> 3.0.7"
|
26
|
-
|
27
25
|
spec.add_development_dependency "bundler", "~> 1.3"
|
28
26
|
spec.add_development_dependency "rake"
|
29
27
|
spec.add_development_dependency "guard"
|
data/lib/folio/version.rb
CHANGED
metadata
CHANGED
@@ -1,29 +1,15 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: folio-pagination
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.9
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Jacob Fugal
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2015-
|
11
|
+
date: 2015-06-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
|
-
- !ruby/object:Gem::Dependency
|
14
|
-
name: will_paginate
|
15
|
-
requirement: !ruby/object:Gem::Requirement
|
16
|
-
requirements:
|
17
|
-
- - "~>"
|
18
|
-
- !ruby/object:Gem::Version
|
19
|
-
version: 3.0.7
|
20
|
-
type: :runtime
|
21
|
-
prerelease: false
|
22
|
-
version_requirements: !ruby/object:Gem::Requirement
|
23
|
-
requirements:
|
24
|
-
- - "~>"
|
25
|
-
- !ruby/object:Gem::Version
|
26
|
-
version: 3.0.7
|
27
13
|
- !ruby/object:Gem::Dependency
|
28
14
|
name: bundler
|
29
15
|
requirement: !ruby/object:Gem::Requirement
|
@@ -152,3 +138,4 @@ test_files:
|
|
152
138
|
- test/folio/will_paginate/view_helpers_test.rb
|
153
139
|
- test/folio_test.rb
|
154
140
|
- test/setup/active_record.rb
|
141
|
+
has_rdoc:
|