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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6a1254e1ad077afbd3729e03d70859351cdd708b
4
- data.tar.gz: 6954a7792f90356596badd094c0f8790691edf78
3
+ metadata.gz: 94206add54cee4c16494e9d8e4df1ffca4ec071f
4
+ data.tar.gz: f403b5c0289400f39f001c2a53b75482dd5bffa6
5
5
  SHA512:
6
- metadata.gz: 69bb403ffa0140b19b18a0936c91929fce47e3f5c99c2b7f006135d21574de3ac32ea71fa53551c69e38c0148fc77c3925385ca7cdec88a93d8bc7144f58e2ed
7
- data.tar.gz: 9c97282336b34b6c7b54bb3433c6f14c13e29614ebb07fa37d783d99dd3bee27f0d0ea242b1b7cfd777cd1d909ec9fbacecd8abe26778ec8035f5470a90f95d8
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
@@ -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
@@ -1,3 +1,3 @@
1
1
  module Folio
2
- VERSION = "0.0.8"
2
+ VERSION = "0.0.9"
3
3
  end
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.8
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-05-29 00:00:00.000000000 Z
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: