Skip to content

Commit

Permalink
[GEM] Version 8.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
ddnexus committed Apr 15, 2024
1 parent a6d5b31 commit d49c557
Show file tree
Hide file tree
Showing 17 changed files with 26 additions and 18 deletions.
2 changes: 1 addition & 1 deletion .github/ISSUE_TEMPLATE/Code.yml
Expand Up @@ -19,7 +19,7 @@ body:
attributes:
label: 👀 Before submitting...
options:
- label: I upgraded to pagy version 8.1.2
- label: I upgraded to pagy version 8.2.0
required: true
- label: I searched through the [Documentation](https://ddnexus.github.io/pagy/)
required: true
Expand Down
6 changes: 4 additions & 2 deletions .github/latest_release_body.md
Expand Up @@ -11,10 +11,12 @@ If you wish to keep your favorites alive, please, [vote here](https://github.com
- Better frontend helpers
- See the [CHANGELOG](https://ddnexus.github.io/pagy/changelog) for possible breaking changes

### Changes in 8.1.2
### Changes in 8.2.0

<!-- changes start -->
- Added "da" locale for aria_label.nav (closes #583)
- Fix the '#pagy_url_for' method for calendar pagination (#688)
- Extend the use of pagy_get_page to the arel, array and countless extras
- Add the pagy_get_count method to the backend
<!-- changes end -->

[CHANGELOG](https://ddnexus.github.io/pagy/changelog)
6 changes: 6 additions & 0 deletions CHANGELOG.md
Expand Up @@ -29,6 +29,12 @@ If you upgrade from version `< 8.0.0` see the following:

<hr>

## Version 8.2.0

- Fix the '#pagy_url_for' method for calendar pagination (#688)
- Extend the use of pagy_get_page to the arel, array and countless extras
- Add the pagy_get_count method to the backend

## Version 8.1.2

- Added "da" locale for aria_label.nav (closes #583)
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
Expand Up @@ -18,7 +18,7 @@
# DOC
# https://ddnexus.github.io/pagy/playground/#4-calendar-app

VERSION = '8.1.2'
VERSION = '8.2.0'

require 'bundler/inline'
gemfile(true) do
Expand Down
2 changes: 1 addition & 1 deletion gem/apps/demo.ru
Expand Up @@ -18,7 +18,7 @@
# DOC
# https://ddnexus.github.io/pagy/playground/#3-demo-app

VERSION = '8.1.2'
VERSION = '8.2.0'

require 'bundler/inline'
gemfile(true) do
Expand Down
2 changes: 1 addition & 1 deletion gem/apps/rails.ru
Expand Up @@ -15,7 +15,7 @@
# DOC
# https://ddnexus.github.io/pagy/playground/#2-rails-app

VERSION = '8.1.2'
VERSION = '8.2.0'

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

VERSION = '8.1.2'
VERSION = '8.2.0'

require 'bundler/inline'
gemfile(true) do
Expand Down
2 changes: 1 addition & 1 deletion gem/bin/pagy
@@ -1,7 +1,7 @@
#!/usr/bin/env ruby
# frozen_string_literal: true

VERSION = '8.1.2'
VERSION = '8.2.0'
APPS = %w[repro rails demo calendar].freeze

require_relative '../lib/optimist'
Expand Down
2 changes: 1 addition & 1 deletion gem/config/pagy.rb
@@ -1,6 +1,6 @@
# frozen_string_literal: true

# Pagy initializer file (8.1.2)
# Pagy initializer file (8.2.0)
# 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-dev.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion gem/javascripts/pagy-module.js
Expand Up @@ -81,7 +81,7 @@ const Pagy = (() => {
const trim = (a, param) => a.replace(new RegExp(`[?&]${param}=1\\b(?!&)|\\b${param}=1&`), "");
// Public interface
return {
version: "8.1.2",
version: "8.2.0",
// 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 gem/javascripts/pagy.js

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

2 changes: 1 addition & 1 deletion gem/lib/pagy.rb
Expand Up @@ -5,7 +5,7 @@

# Core class
class Pagy
VERSION = '8.1.2'
VERSION = '8.2.0'

# Gem root pathname to get the path of Pagy files stylesheets, javascripts, apps, locales, etc.
def self.root
Expand Down
2 changes: 1 addition & 1 deletion quick-start.md
Expand Up @@ -40,7 +40,7 @@ If you use Bundler, add the gem in the Gemfile, optionally avoiding the next maj
see [RubyGem Specifiers](http://guides.rubygems.org/patterns/#pessimistic-version-constraint)):

```ruby Gemfile
gem 'pagy', '~> 8.1' # omit patch digit
gem 'pagy', '~> 8.2' # omit patch digit
```

+++ Without Bundler
Expand Down
2 changes: 1 addition & 1 deletion retype.yml
Expand Up @@ -8,7 +8,7 @@ url: https://ddnexus.github.io/pagy

branding:
title: Pagy
label: 8.1.2
label: 8.2.0
colors:
label:
text: "#FFFFFF"
Expand Down
2 changes: 1 addition & 1 deletion src/pagy.ts
Expand Up @@ -98,7 +98,7 @@ const Pagy = (() => {

// Public interface
return {
version: "8.1.2",
version: "8.2.0",

// 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 d49c557

Please sign in to comment.