pagy 3.13.0 → 3.14.0

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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: e16e1b508c2096d675f846a898da3e1338e8535b460074535e1742cd08a3c6cb
4
- data.tar.gz: 450a453312266d3af1f8b18a9cd0734ebc002a6533b9f6c269d7802706f66116
3
+ metadata.gz: 49a179c68fcaeb3e1f5785db7c2faa3edb4da583ed521974876c87be9c81fba4
4
+ data.tar.gz: 86e717c64839653506d14ac2a1f092f68c97e220ab8716c2e68419a375d2369f
5
5
  SHA512:
6
- metadata.gz: da6eccb117de48a28d0572d011b29040c7c5f17dcb8282a1a7eadc0c5d11f38aea062e6a4f8e6db40ceba2b2022a54af1deb74e7a2eeb720f0b76b4fdba11098
7
- data.tar.gz: 873549bfee07251e7c5948eb24837f01309db20b69e512cffa53a8552e5ca6c634c60a49239d0e87480635118e83e213acc29981d9cbd0d30874a912443e4a6d
6
+ metadata.gz: 5d7222fe9b3445448cc1f7993b763bf8ca72a301c46090ee0884108c44a7aed935b35aebce2b814d9c1cf067a745293bcd069133a4879e744e1745134de44b7c
7
+ data.tar.gz: 6d37feee515609f118f0612e255ce6cd52b9618b03451c724325f72409d6bea1b63059b211a97c60e5d23c17df9f5e41786dfbccc5dd0ea27a61329c4e4a0709
data/lib/config/pagy.rb CHANGED
@@ -1,7 +1,7 @@
1
1
  # encoding: utf-8
2
2
  # frozen_string_literal: true
3
3
 
4
- # Pagy initializer file (3.13.0)
4
+ # Pagy initializer file (3.14.0)
5
5
  # Customize only what you really need and notice that Pagy works also without any of the following lines.
6
6
  # Should you just cherry pick part of this file, please maintain the require-order of the extras
7
7
 
@@ -2,7 +2,7 @@
2
2
 
3
3
  function Pagy(){}
4
4
 
5
- Pagy.version = '3.13.0';
5
+ Pagy.version = '3.14.0';
6
6
 
7
7
  Pagy.init = function(arg){
8
8
  var target = arg instanceof Event || arg === undefined ? document : arg,
data/lib/pagy.rb CHANGED
@@ -4,7 +4,7 @@
4
4
 
5
5
  require 'pathname'
6
6
 
7
- class Pagy ; VERSION = '3.13.0'
7
+ class Pagy ; VERSION = '3.14.0'
8
8
 
9
9
  # Root pathname to get the path of Pagy files like templates or dictionaries
10
10
  def self.root; @root ||= Pathname.new(__FILE__).dirname.freeze end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: pagy
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.13.0
4
+ version: 3.14.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Domizio Demichelis
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-04-20 00:00:00.000000000 Z
11
+ date: 2021-06-10 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: 'Agnostic pagination in plain ruby: it works with any framework, ORM
14
14
  and DB type, with all kinds of collections, even pre-paginated, scopes, Arrays,
@@ -99,7 +99,16 @@ homepage: https://github.com/ddnexus/pagy
99
99
  licenses:
100
100
  - MIT
101
101
  metadata: {}
102
- post_install_message:
102
+ post_install_message: |2+
103
+
104
+ IMPORTANT: Pagy 4.8+ has been backported and supports ruby 2.5+ now!
105
+
106
+ If you run on ruby 2.5+, upgrading requires no change in the code
107
+ unless you are using the searchkick or the elasticsearch_rails extras
108
+ (and in that case it requires just a single rename).
109
+
110
+ See https://github.com/ddnexus/pagy for details.
111
+
103
112
  rdoc_options: []
104
113
  require_paths:
105
114
  - lib