pagy 0.21.0 → 0.22.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.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/locales/nb.yml +20 -0
  3. data/lib/pagy.rb +1 -1
  4. metadata +4 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 9bfbf0d56b4b48272f392235024917f193e34bbb503dda18ed5a22cbe26a3f31
4
- data.tar.gz: b69e31bebaef1fa2898419c69a83b98f2b017039201336a79bc64921e13d9e62
3
+ metadata.gz: 21b36b0d990736aead01f7aaece19ad6f08d9bc82be1b59eaa4c743c73339163
4
+ data.tar.gz: 17276e97ed543f37d241799b414824e2fbd135b34b67f587fedaed6865a4713c
5
5
  SHA512:
6
- metadata.gz: 05dbed50a79d4d124fa0c4c1220033744bfd592afeb2a0954b3f0ce6bbae364366b7dfc183dbb1756ddb49980439739d477b52112cd43561b7abd53a7111686f
7
- data.tar.gz: dc3b2a46c2d240507ca371b03fe71ea202d10e96aaece4e29a1570cae885842376eff49cd24dd6809653e98915b392c1b3dc2368906c32c6802d517dc8229c6c
6
+ metadata.gz: e04ee9b7c626ef91bf8309d6752026797f1b3ad425571c6cf9eb25da58b60ca9143bd003a0ef9248efa1cd882de0b39bca8181e8e313fc6c2e9b63065fcd3a27
7
+ data.tar.gz: 76f093a5535af3ba6f29862dad799cb1c9dcc0655aa62a903699071ca3e7e1f2052e3bd50d5e2456af6a2cd8dadbb05d5039cf618f3c237046f7891bbd4bcd7c
@@ -0,0 +1,20 @@
1
+ nb:
2
+ pagy:
3
+ nav:
4
+ prev: "‹ Forrige"
5
+ next: "Neste ›"
6
+ gap: "…"
7
+ info:
8
+ single_page:
9
+ zero: "Ingen %{item_name} funnet"
10
+ one: "Viser <b>1</b> %{item_name}"
11
+ other: "Viser <b>alle %{count}</b> %{item_name}"
12
+ multiple_pages: "Viser %{item_name} <b>%{from}-%{to}</b> av totalt <b>%{count}</b>"
13
+ item_name:
14
+ zero: "resultater"
15
+ one: "resultat"
16
+ other: "resultater"
17
+ compact: "Side %{page_input} av %{pages}"
18
+ items:
19
+ one: "Vis %{items_input} resultat per side"
20
+ other: "Vis %{items_input} resultater per side"
data/lib/pagy.rb CHANGED
@@ -3,7 +3,7 @@
3
3
 
4
4
  require 'pathname'
5
5
 
6
- class Pagy ; VERSION = '0.21.0'
6
+ class Pagy ; VERSION = '0.22.0'
7
7
 
8
8
  class OutOfRangeError < StandardError; attr_reader :pagy; def initialize(pagy) @pagy = pagy end; end
9
9
 
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: 0.21.0
4
+ version: 0.22.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: 2018-10-18 00:00:00.000000000 Z
11
+ date: 2018-11-08 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,
@@ -27,6 +27,7 @@ files:
27
27
  - lib/locales/es.yml
28
28
  - lib/locales/id.yml
29
29
  - lib/locales/ja.yml
30
+ - lib/locales/nb.yml
30
31
  - lib/locales/plurals.rb
31
32
  - lib/locales/pt-br.yml
32
33
  - lib/locales/ru.yml
@@ -82,7 +83,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
82
83
  version: '0'
83
84
  requirements: []
84
85
  rubyforge_project:
85
- rubygems_version: 2.7.4
86
+ rubygems_version: 2.7.7
86
87
  signing_key:
87
88
  specification_version: 4
88
89
  summary: The Ultimate Pagination Ruby Gem