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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 975dad572ef34968528d26e2e1b345cb5d2f8d3c
4
- data.tar.gz: 6eee154e3527492a6d76a9d04bfffbc88f47c810
3
+ metadata.gz: f89ac330d0bfe22322663e941baf5df56ae1665b
4
+ data.tar.gz: 34c620179735243456d33d6c8e3ef598943c6ece
5
5
  SHA512:
6
- metadata.gz: 9c0dd733f25ddc7f00d8569c0403a22babeab49403211ba6393bf9887e601053ad43909dc48cfcebbff5e6883e64f906175fbf9dafd5545787ccec0e30170143
7
- data.tar.gz: 188fa84891bd3ae2a1e63ceb347b9a57c23cf5c90cc2f0f367946d228615cf722f1b71ce1eae1e4c28b07045b75028f7f5418df50b7bd2841e6525c69c0014ac
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
@@ -2,7 +2,7 @@ module WillPaginate #:nodoc:
2
2
  module VERSION #:nodoc:
3
3
  MAJOR = 3
4
4
  MINOR = 0
5
- TINY = 9
5
+ TINY = 10
6
6
 
7
7
  STRING = [MAJOR, MINOR, TINY].join('.')
8
8
  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.9
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-20 00:00:00.000000000 Z
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