Skip to content

Commit

Permalink
Merge branch 'dev'
Browse files Browse the repository at this point in the history
  • Loading branch information
ddnexus committed Feb 16, 2024
2 parents 00f166a + 97b76d6 commit bc35cc4
Show file tree
Hide file tree
Showing 15 changed files with 41 additions and 13 deletions.
2 changes: 1 addition & 1 deletion .github/.env
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
GEM=pagy
VERSION=7.0.0
VERSION=7.0.1
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,10 @@ None

<hr>

## Version 7.0.1

- Updates ckb translations to be complaint with ARIA in v7.x.x (#643)

## Version 7.0.0

### Breaking changes
Expand Down
4 changes: 4 additions & 0 deletions CHANGELOG_LEGACY.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,10 @@ visibility: hidden

# LEGACY CHANGELOG

## Version 6.5.0

- Add ckb: "pagination" entry (#641)

## Version 6.4.4

- Adapt pagy-ci workflow to run on current gemfile (no-failure for new gems enabled in leading version)
Expand Down
6 changes: 3 additions & 3 deletions README.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion lib/config/pagy.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# frozen_string_literal: true

# Pagy initializer file (7.0.0)
# Pagy initializer file (7.0.1)
# Customize only what you really need and notice that the core Pagy works also without any of the following lines.
# Should you just cherry pick part of this file, please maintain the require-order of the extras

Expand Down
4 changes: 2 additions & 2 deletions lib/javascripts/pagy-dev.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion lib/javascripts/pagy-module.js
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ const Pagy = (() => {
const trim = (link, param) => link.replace(new RegExp(`[?&]${param}=1\\b(?!&)|\\b${param}=1&`), "");
// Public interface
return {
version: "7.0.0",
version: "7.0.1",
// Scan for elements with a "data-pagy" attribute and call their init functions with the decoded args
init(arg) {
const target = arg instanceof Element ? arg : document;
Expand Down
2 changes: 1 addition & 1 deletion lib/javascripts/pagy.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

18 changes: 18 additions & 0 deletions lib/locales/ckb.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,18 @@
# :other pluralization (see https://github.com/ddnexus/pagy/blob/master/lib/pagy/i18n.rb)

ckb:
pagy:
item_name: "بابەت"
aria_label:
nav: "پەڕەکان"
prev: "پاش"
next: "پێش"
prev: "&lt;"
next: "&gt;"
gap: "&hellip;"
info:
no_items: "هیچ %{item_name}ێک نەدۆزرایەوە"
single_page: "پیشاندانی <b>%{count}</b> %{item_name}"
multiple_pages: "پشاندانی %{item_name}ی <b>%{from}-%{to}</b> لە کۆی <b>%{count}</b> بە گشتی"
combo_nav_js: "<label>پەڕی %{page_input} لە %{pages}</label>"
items_selector_js: "<label>نیشاندانی %{items_input} %{item_name} لە هەر پەڕێک</label>"
2 changes: 1 addition & 1 deletion lib/pagy.rb
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

# Core class
class Pagy
VERSION = '7.0.0'
VERSION = '7.0.1'

# Root pathname to get the path of Pagy files like templates or dictionaries
def self.root
Expand Down
1 change: 1 addition & 0 deletions lib/pagy/i18n.rb
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ module P11n
hash['ar'] = RULE[:arabic]
hash['be'] = RULE[:east_slavic]
hash['bs'] = RULE[:east_slavic]
hash['ckb'] = RULE[:other]
hash['cs'] = RULE[:west_slavic]
hash['id'] = RULE[:other]
hash['fr'] = RULE[:one_upto_two_other]
Expand Down
2 changes: 1 addition & 1 deletion pagy.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ Gem::Specification.new do |s|
s.version = Pagy::VERSION
s.authors = ['Domizio Demichelis']
s.email = ['dd.nexus@gmail.com']
s.summary = 'The kick-ass pagination ruby gem'
s.summary = 'The best pagination ruby gem'
s.description = 'Agnostic pagination in plain ruby. It does it all. Better.'
s.homepage = 'https://github.com/ddnexus/pagy'
s.license = 'MIT'
Expand Down
1 change: 1 addition & 0 deletions pagy.manifest
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ lib/locales/be.yml
lib/locales/bg.yml
lib/locales/bs.yml
lib/locales/ca.yml
lib/locales/ckb.yml
lib/locales/cs.yml
lib/locales/da.yml
lib/locales/de.yml
Expand Down
2 changes: 1 addition & 1 deletion retype.yml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ url: https://ddnexus.github.io/pagy

branding:
title: Pagy
label: 7.0.0
label: 7.0.1
colors:
label:
text: "#FFFFFF"
Expand Down
2 changes: 1 addition & 1 deletion src/pagy.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ const Pagy = (() => {

// Public interface
return {
version: "7.0.0",
version: "7.0.1",

// Scan for elements with a "data-pagy" attribute and call their init functions with the decoded args
init(arg?:Element | never) {
Expand Down

0 comments on commit bc35cc4

Please sign in to comment.