filterrific 5.2.5 → 5.2.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7a53832d4bfd9c1cb30eed06e91d869a4f0b342463ec90114a7e7c3daa8f182e
4
- data.tar.gz: f3de3b1fdf50a5c7f6edf6db0b344975e63c3f5f5d0360719b2d3985da42367f
3
+ metadata.gz: 7f1d0e784f15fd5299bbed23b51583d92ecaf5fe69266512e37ab22d69d95511
4
+ data.tar.gz: 21151763285bf9e056b15464c52720a84e7f82a9cf440551d264e0c662171eae
5
5
  SHA512:
6
- metadata.gz: 9350f8e1758891f7bde26afb7eb71b85c84a91f6a74f7dfacd04e47daa2f599e0ea9fba93620c3ce7af5704bb52daf350860e413dffbb9a37e6e8a0381b1de24
7
- data.tar.gz: 1ed64d381e113c63ada585acee2bdc4f17cda96aff0b2f408e1cb9e06fe2a05c7cb33d223ef857f3170573e0f2aa210fa065d0f7f45e231c20dccacc2c079237
6
+ metadata.gz: da68038a6fca6bf057ce10c06c747363e69549bc1b67e89eac622b18052d085e954c72dd0a54037dbf32c7d2fe1b9f89500ce676a42ac58ea3d5b20a5e74b749
7
+ data.tar.gz: e4905fe75b2fd122f6155bb5b2ff8f6e1d2ddcdb4fc9615de142173e1edbb2c95c854300217f9cac0365c06781edba1eb8a2778823323768e383bcc5a53d6271
data/CHANGELOG.md CHANGED
@@ -7,6 +7,14 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
7
7
 
8
8
  Filterrific major versions match the Ruby on Rails major versions they work with.
9
9
 
10
+ ## [5.2.6] - Feb 28, 2025
11
+
12
+ * Explicitly require OpenStruct
13
+
14
+ ## [5.2.6] - Jan 24, 2025
15
+
16
+ * Supports Rails 8
17
+
10
18
  ## [5.2.5] - Feb 12, 2023
11
19
 
12
20
  * Fixes an issue around presence of current_sorting
data/README.md CHANGED
@@ -41,11 +41,11 @@ Every commit to Filterrific is automatically tested against the following scenar
41
41
 
42
42
  |Filterrific version | Rails version | Ruby environments | Database adapters | Build status |
43
43
  |--------------------|---------------------|--------------------------------|------------------------------------|--------------|
44
- | 5.x | Rails 5.x, 6.x, 7.x | MRI 2.0.0, 2.1.7, 2.2.3, 2.3.1 | mysql2, postgresql |[![Build Status](https://travis-ci.org/jhund/filterrific_demo.svg?branch=rails-5.x)](https://travis-ci.org/jhund/filterrific_demo)|
45
- | 4.x | Rails 4.x | MRI 2.0.0, 2.1.7, 2.2.3, 2.3.1 | mysql, mysql2, postgresql, sqlite3 |[![Build Status](https://travis-ci.org/jhund/filterrific_demo.svg?branch=rails-4.x)](https://travis-ci.org/jhund/filterrific_demo)|
46
- | 3.x | Rails 3.2 | MRI 2.0.0, 2.1.7 | mysql, mysql2, postgresql, sqlite3 | Not tested|
47
- | 2.x | Rails 3.2 | MRI 1.9.3 | mysql, mysql2, postgresql, sqlite3 | Not tested|
48
- | 1.x | < 3.2 | MRI <= 1.9.3 | mysql, mysql2, postgresql, sqlite3 | Not tested|
44
+ | 5.x | Rails 5.x, 6.x, 7.x, 8.x | MRI 2.0.0, 2.1.7, 2.2.3, 2.3.1 | mysql2, postgresql |[![Build Status](https://travis-ci.org/jhund/filterrific_demo.svg?branch=rails-5.x)](https://travis-ci.org/jhund/filterrific_demo)|
45
+ | 4.x | Rails 4.x | MRI 2.0.0, 2.1.7, 2.2.3, 2.3.1 | mysql, mysql2, postgresql, sqlite3 |[![Build Status](https://travis-ci.org/jhund/filterrific_demo.svg?branch=rails-4.x)](https://travis-ci.org/jhund/filterrific_demo)|
46
+ | 3.x | Rails 3.2 | MRI 2.0.0, 2.1.7 | mysql, mysql2, postgresql, sqlite3 | Not tested|
47
+ | 2.x | Rails 3.2 | MRI 1.9.3 | mysql, mysql2, postgresql, sqlite3 | Not tested|
48
+ | 1.x | < 3.2 | MRI <= 1.9.3 | mysql, mysql2, postgresql, sqlite3 | Not tested|
49
49
 
50
50
  ### Guidelines for submitting issues
51
51
 
@@ -1,5 +1,6 @@
1
1
  require "active_support/all"
2
2
  require "digest/sha1"
3
+ require "ostruct"
3
4
 
4
5
  module Filterrific
5
6
  # FilterParamSet is a container to store FilterParams
@@ -1,3 +1,3 @@
1
1
  module Filterrific
2
- VERSION = "5.2.5"
2
+ VERSION = "5.2.7"
3
3
  end
data/lib/filterrific.rb CHANGED
@@ -1,4 +1,4 @@
1
- if ![5,6,7].include?(Rails::VERSION::MAJOR)
1
+ if ![5,6,7,8].include?(Rails::VERSION::MAJOR)
2
2
  raise "\n\nThis version of Filterrific only works with Rails 5, 6 and 7.\nPlease see the Filterrific README for the correct version of Filterrific to use with your version of Rails!\n\n"
3
3
  end
4
4
 
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: filterrific
3
3
  version: !ruby/object:Gem::Version
4
- version: 5.2.5
4
+ version: 5.2.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jo Hund
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2023-02-12 00:00:00.000000000 Z
11
+ date: 2025-02-28 00:00:00.000000000 Z
12
12
  dependencies: []
13
13
  description: Filterrific is a Rails Engine plugin that makes it easy to filter, search,
14
14
  and sort your ActiveRecord lists.