will_paginate 3.0.9 → 3.0.10
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/will_paginate/railtie.rb +4 -6
- data/lib/will_paginate/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: f89ac330d0bfe22322663e941baf5df56ae1665b
|
4
|
+
data.tar.gz: 34c620179735243456d33d6c8e3ef598943c6ece
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 59b1b5d2aeadabe9c32d93de3d53f6fbccbdfa7751b13aa31ddfc8dc8f2c982a69dabf0aff374c22aab231bc757f3a024666c8b9aef64828be72ee0aca928edf
|
7
|
+
data.tar.gz: 5cb99c80812edb2092fad046dc4a326560122b4ef62145b776933da12df2520720dbbbb8313a558dc056ae6b2a7ad154d3c3dd86846307606c588772970d72ee
|
@@ -18,8 +18,6 @@ module WillPaginate
|
|
18
18
|
require 'will_paginate/view_helpers/action_view'
|
19
19
|
end
|
20
20
|
|
21
|
-
self.class.add_locale_path config
|
22
|
-
|
23
21
|
# early access to ViewHelpers.pagination_options
|
24
22
|
require 'will_paginate/view_helpers'
|
25
23
|
end
|
@@ -31,10 +29,6 @@ module WillPaginate
|
|
31
29
|
ActionController::Base.extend ControllerRescuePatch
|
32
30
|
end
|
33
31
|
|
34
|
-
def self.add_locale_path(config)
|
35
|
-
config.i18n.load_path.unshift(*WillPaginate::I18n.load_path)
|
36
|
-
end
|
37
|
-
|
38
32
|
# Extending the exception handler middleware so it properly detects
|
39
33
|
# WillPaginate::InvalidPage regardless of it being a tag module.
|
40
34
|
module ShowExceptionsPatch
|
@@ -69,3 +63,7 @@ module WillPaginate
|
|
69
63
|
end
|
70
64
|
end
|
71
65
|
end
|
66
|
+
|
67
|
+
ActiveSupport.on_load :i18n do
|
68
|
+
I18n.load_path.concat(WillPaginate::I18n.load_path)
|
69
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: will_paginate
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.10
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Mislav Marohnić
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-09-
|
11
|
+
date: 2016-09-21 00:00:00.000000000 Z
|
12
12
|
dependencies: []
|
13
13
|
description: will_paginate provides a simple API for performing paginated queries
|
14
14
|
with Active Record, DataMapper and Sequel, and includes helpers for rendering pagination
|