pagy 1.3.2 → 1.3.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/LICENSE.txt +1 -1
- data/lib/locales/de.yml +7 -7
- data/lib/pagy.rb +1 -1
- data/lib/templates/nav.html.erb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: b68e52cc18266e62b2156ebfafb24479c052e019128a5228c42203d516a17fd6
|
4
|
+
data.tar.gz: 86065e2c0d2bfdc27330a941e165d33068eaae67cd4ef8521c8e0d18b6ef2fda
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 66c438b46a53076f3780da6f0c51c92b5571bdb3c6c627805695d0868cc25ea8edcb6122d457e59ca79f6e84e10e435e7d0f30a201bfcc6fd8130b5a2d235410
|
7
|
+
data.tar.gz: 32aa96c1331ea6a0913b6889b445e0b05fa12c1fdf6e3232bb55a93ea990a38417f89cb809f76c6b854aecd6c564ba7886a789fba0107e704bc4c0985758ef04
|
data/LICENSE.txt
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
The MIT License (MIT)
|
2
2
|
|
3
|
-
Copyright (c) 2017-
|
3
|
+
Copyright (c) 2017-2019 Domizio Demichelis
|
4
4
|
|
5
5
|
Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
6
|
of this software and associated documentation files (the "Software"), to deal
|
data/lib/locales/de.yml
CHANGED
@@ -1,8 +1,8 @@
|
|
1
1
|
de:
|
2
2
|
pagy:
|
3
3
|
nav:
|
4
|
-
prev: "‹
|
5
|
-
next: "
|
4
|
+
prev: "‹ Zurück"
|
5
|
+
next: "Weiter ›"
|
6
6
|
gap: "…"
|
7
7
|
info:
|
8
8
|
single_page:
|
@@ -11,10 +11,10 @@ de:
|
|
11
11
|
other: "Zeige <b>alle %{count}</b> %{item_name}"
|
12
12
|
multiple_pages: "Zeige %{item_name} <b>%{from}-%{to}</b> von <b>%{count}</b> gesamt"
|
13
13
|
item_name:
|
14
|
-
zero: "
|
15
|
-
one: "
|
16
|
-
other: "
|
14
|
+
zero: "Eintrag"
|
15
|
+
one: "Eintrag"
|
16
|
+
other: "Einträge"
|
17
17
|
compact: "Seite %{page_input} von %{pages}"
|
18
18
|
items:
|
19
|
-
one: "Zeige %{items_input}
|
20
|
-
other: "Zeige %{items_input}
|
19
|
+
one: "Zeige %{items_input} Eintrag pro Seite"
|
20
|
+
other: "Zeige %{items_input} Einträge pro Seite"
|
data/lib/pagy.rb
CHANGED
data/lib/templates/nav.html.erb
CHANGED
@@ -6,7 +6,7 @@
|
|
6
6
|
Usage: link.call( page_number [, text [, extra_attributes_string ]])
|
7
7
|
-%>
|
8
8
|
<% link = pagy_link_proc(pagy) -%>
|
9
|
-
<%# -%><nav aria-label="pager" class="pagy_nav
|
9
|
+
<%# -%><nav aria-label="pager" class="pagy_nav pagination" role="navigation">
|
10
10
|
<% if pagy.prev -%> <span class="page prev"><%== link.call(pagy.prev, pagy_t('pagy.nav.prev'), 'aria-label="previous"') %></span>
|
11
11
|
<% else -%> <span class="page prev disabled"><%== pagy_t('pagy.nav.prev') %></span>
|
12
12
|
<% 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: 1.3.
|
4
|
+
version: 1.3.3
|
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-
|
11
|
+
date: 2019-02-05 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,
|