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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 815315ceb63f00493b1ff51982de163c97f92b9fad5a9b372124be3c685cbf18
4
- data.tar.gz: 26a892148d17b4c1d3dc66f8cdd9656e43f40979ad97233734dfef51360d8f38
3
+ metadata.gz: b68e52cc18266e62b2156ebfafb24479c052e019128a5228c42203d516a17fd6
4
+ data.tar.gz: 86065e2c0d2bfdc27330a941e165d33068eaae67cd4ef8521c8e0d18b6ef2fda
5
5
  SHA512:
6
- metadata.gz: 0e72b4d3fe0bcbcfe7f769b233bf265eef25384bc5eafcbbd4d711f363d89770be737a914bbf39f50977a386c39e9b023ba6471aa3a37ead0688d427b9875265
7
- data.tar.gz: d388a1d003cfa5129c67fc53f7838866a1dc56df42f16c729bbdced4e6d6b9fd9cddc516125f92c74eabca9001c93da213709d70007358a8b1ee8d46140ed0e3
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-2018 Domizio Demichelis
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: "‹ vor"
5
- next: "weiter ›"
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: "Stück"
15
- one: "Stück"
16
- other: "Stücke"
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} Stück pro Seite"
20
- other: "Zeige %{items_input} Stücke pro Seite"
19
+ one: "Zeige %{items_input} Eintrag pro Seite"
20
+ other: "Zeige %{items_input} Einträge pro Seite"
data/lib/pagy.rb CHANGED
@@ -3,7 +3,7 @@
3
3
 
4
4
  require 'pathname'
5
5
 
6
- class Pagy ; VERSION = '1.3.2'
6
+ class Pagy ; VERSION = '1.3.3'
7
7
 
8
8
  class OverflowError < StandardError; attr_reader :pagy; def initialize(pagy) @pagy = pagy end; end
9
9
 
@@ -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 agination" role="navigation">
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.2
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-01-23 00:00:00.000000000 Z
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,