pagy 2.0.0 → 2.0.1

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
  SHA256:
3
- metadata.gz: 984f87dd6d805faf04c9c980bc8b5e2da6d90963beae920805ece77a627ed6f0
4
- data.tar.gz: '095f11ccb37ee8c4a64e714f0d3384f4c7f6cdddbafc4c4f34b9a3d2efd4c2de'
3
+ metadata.gz: 8d2f8c701f3ddef6d2c1d5ab7c75084a3bb070069806a992a07f85010d8bde15
4
+ data.tar.gz: e7a939c71093a97ada5592096ea48de3898b290d597e80fff15e27cf49c7eb78
5
5
  SHA512:
6
- metadata.gz: 9ade0c565e6f30f118ee30884456c1185c3f7dde0723aa6688734ac974dfc41fb0e16979a78d25042ee469178afe02244594a8366bb3e9f2057b031a378a062c
7
- data.tar.gz: 7087679d2675ac589627085522871b53f59f27be60298fadb4e64752a12e21f3c23fcc13cd72b22ebe7c25a0bcd5c7a3064c4383aad5995e115b10fed1a4be0d
6
+ metadata.gz: 92295ab476345a4288261439e23b3fedbacdda8dcc8ec6123773d2389c002e1120bb61f17f003d920fb9cd78693d7029a13fda1735c29cc765593130e3cc742a
7
+ data.tar.gz: d67740ca65974f122c358496f734b83670656ae229d0e5985dbcac0b2006738d4c2f8f1e1dd53ad9f17b01033ed4c1bd3d6a5881c9c41fb772281e7b7cc9f641
data/lib/config/pagy.rb CHANGED
@@ -20,11 +20,11 @@
20
20
  # require 'pagy/extras/countless'
21
21
  # Pagy::VARS[:cycle] = false # default
22
22
 
23
- # Elasticsearch Rails extra: Paginate `ElasticsearchRails::Results` objects efficiently, avoiding expensive object-wrapping and without overriding.
23
+ # Elasticsearch Rails extra: Paginate `ElasticsearchRails::Results` objects
24
24
  # See https://ddnexus.github.io/pagy/extras/elasticsearch_rails
25
25
  # require 'pagy/extras/elasticsearch_rails'
26
26
 
27
- # Searchkick extra: Paginate `Searchkick::Results` objects efficiently, avoiding expensive object-wrapping and without overriding.
27
+ # Searchkick extra: Paginate `Searchkick::Results` objects
28
28
  # See https://ddnexus.github.io/pagy/extras/searchkick
29
29
  # require 'pagy/extras/searchkick'
30
30
 
@@ -76,6 +76,7 @@
76
76
 
77
77
  # Overflow extra: Allow for easy handling of overflowing pages
78
78
  # See https://ddnexus.github.io/pagy/extras/overflow
79
+ # require 'pagy/extras/overflow'
79
80
  # Pagy::VARS[:overflow] = :last_page # default (other options: :empty_page and :exception)
80
81
 
81
82
  # Trim extra: Remove the page=1 param from links
@@ -9,12 +9,12 @@ pt-br:
9
9
  zero: "Sem resultados"
10
10
  one: "Mostrando 1 %{item_name}"
11
11
  other: "Mostrando %{count} %{item_name}"
12
- multiple_pages: "Mostrando %{item_name} %{from}-%{to} no total de %{count}"
12
+ multiple_pages: "Mostrando %{item_name} %{from}-%{to} do total de %{count}"
13
13
  item_name:
14
14
  zero: "itens"
15
15
  one: "item"
16
16
  other: "itens"
17
17
  compact: "Página %{page_input} de %{pages}"
18
18
  items:
19
- one: "Mostrar %{items_input} iten por página"
19
+ one: "Mostrar %{items_input} item por página"
20
20
  other: "Mostrar %{items_input} itens por página"
data/lib/pagy.rb CHANGED
@@ -4,7 +4,7 @@
4
4
 
5
5
  require 'pathname'
6
6
 
7
- class Pagy ; VERSION = '2.0.0'
7
+ class Pagy ; VERSION = '2.0.1'
8
8
 
9
9
  class OverflowError < StandardError; attr_reader :pagy; def initialize(pagy) @pagy = pagy end; end
10
10
 
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: 2.0.0
4
+ version: 2.0.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Domizio Demichelis
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-02-23 00:00:00.000000000 Z
11
+ date: 2019-03-06 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,