Skip to content

Commit

Permalink
Version 9.0.6
Browse files Browse the repository at this point in the history
  • Loading branch information
ddnexus committed Aug 25, 2024
1 parent 851b74d commit dbf9663
Show file tree
Hide file tree
Showing 18 changed files with 27 additions and 21 deletions.
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/Code.yml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ body:
attributes:
label: 👀 Before submitting...
options:
- label: I upgraded to pagy version 9.0.5
- label: I upgraded to pagy version 9.0.6
required: true
- label: I searched through the [Documentation](https://ddnexus.github.io/pagy/)
required: true
Expand Down
5 changes: 3 additions & 2 deletions .github/latest_release_body.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,11 @@
- See the [Changelog](https://ddnexus.github.io/pagy/changelog) for possible breaking changes
<!-- whats_new_end -->

### Changes in 9.0.5
### Changes in 9.0.6

<!-- changes_start -->
- Fix for missing variables passed to pagy_anchor from pagy_nav (closes #728)
- Fix docs (closes #732)
- Replace pluck with pick
<!-- changes_end -->

[CHANGELOG](https://ddnexus.github.io/pagy/changelog)
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,11 @@ If you upgrade from version `< 9.0.0` see the following:
- None
<hr>

## Version 9.0.6

- Fix docs (closes #732)
- Replace pluck with pick

## Version 9.0.5

- Fix for missing variables passed to pagy_anchor from pagy_nav (closes #728)
Expand Down
2 changes: 1 addition & 1 deletion Gemfile.lock
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
PATH
remote: gem
specs:
pagy (9.0.5)
pagy (9.0.6)

GEM
remote: https://rubygems.org/
Expand Down
2 changes: 1 addition & 1 deletion README.md

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion gem/apps/calendar.ru
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# DOC
# https://ddnexus.github.io/pagy/playground/#5-calendar-app

VERSION = '9.0.5'
VERSION = '9.0.6'

# Gemfile
require 'bundler/inline'
Expand Down
2 changes: 1 addition & 1 deletion gem/apps/demo.ru
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
# DOC
# https://ddnexus.github.io/pagy/playground/#3-demo-app

VERSION = '9.0.5'
VERSION = '9.0.6'

require 'bundler/inline'
require 'bundler'
Expand Down
2 changes: 1 addition & 1 deletion gem/apps/rails.ru
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# DOC
# https://ddnexus.github.io/pagy/playground/#2-rails-app

VERSION = '9.0.5'
VERSION = '9.0.6'

# Gemfile
require 'bundler/inline'
Expand Down
2 changes: 1 addition & 1 deletion gem/apps/repro.ru
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
# DOC
# https://ddnexus.github.io/pagy/playground/#1-repro-app

VERSION = '9.0.5'
VERSION = '9.0.6'

require 'bundler/inline'
require 'bundler'
Expand Down
2 changes: 1 addition & 1 deletion gem/bin/pagy
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/usr/bin/env ruby
# frozen_string_literal: true

VERSION = '9.0.5'
VERSION = '9.0.6'
APPS = %w[repro rails demo calendar keyset_ar keyset_s].freeze
LINUX = RbConfig::CONFIG['host_os'].include?('linux')
HOST = '0.0.0.0'
Expand Down
2 changes: 1 addition & 1 deletion gem/config/pagy.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# frozen_string_literal: true

# Pagy initializer file (9.0.5)
# Pagy initializer file (9.0.6)
# 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 gem/javascripts/pagy.min.js

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

6 changes: 3 additions & 3 deletions gem/javascripts/pagy.min.js.map

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion gem/javascripts/pagy.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ const Pagy = (() => {
};
const trim = (a, param) => a.replace(new RegExp(`[?&]${param}=1\\b(?!&)|\\b${param}=1&`), "");
return {
version: "9.0.5",
version: "9.0.6",
init(arg) {
const target = arg instanceof Element ? arg : document;
const elements = target.querySelectorAll("[data-pagy]");
Expand Down
2 changes: 1 addition & 1 deletion gem/lib/pagy.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

# Top superclass: it should define only what's common to all the subclasses
class Pagy
VERSION = '9.0.5'
VERSION = '9.0.6'

# Core default: constant for easy access, but mutable for customizable defaults
DEFAULT = { count_args: [:all], # rubocop:disable Style/MutableConstant
Expand Down
2 changes: 1 addition & 1 deletion gem/pagy.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Gem::Specification.new do |s|
s.name = 'pagy'
s.version = '9.0.5'
s.version = '9.0.6'
s.authors = ['Domizio Demichelis']
s.email = ['dd.nexus@gmail.com']
s.summary = 'The best pagination ruby gem'
Expand Down
2 changes: 1 addition & 1 deletion retype.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ url: https://ddnexus.github.io/pagy

branding:
title: Pagy
label: 9.0.5
label: 9.0.6
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 @@ -94,7 +94,7 @@ const Pagy = (() => {

// Public interface
return {
version: "9.0.5",
version: "9.0.6",

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

0 comments on commit dbf9663

Please sign in to comment.