filterrific 5.2.2 → 5.2.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
- SHA1:
3
- metadata.gz: 5226106f7944a5b6c08d8f568185d4e6fcf0c561
4
- data.tar.gz: 2e4b24d697de15d10a5dddf6a7b444b5564950ed
2
+ SHA256:
3
+ metadata.gz: 67e7935ca4ceb8fce5778b36879ee941aef8105f23e8a211d070eb6c8cc2cd82
4
+ data.tar.gz: 5285cb9d2f1c18988f00a82b51733cccbbef67fe02f9f673754a3c2387117c56
5
5
  SHA512:
6
- metadata.gz: 7829c794eb5e1a2e19a95cbb2e9651550f8c6cb5c123709a78c5fd5658c569a2c78963144f68b07cb30de9d28372ad3bfaf0087499a91f48f2e5c0597ed09d02
7
- data.tar.gz: 4c7894ba6c9c1e9e5cde222bd69a088761dda82ccc01c0a1c12a1db4ed9e489b1f03b008bdc09dad8563355d95f138491cc17bd5c78174f1b9f6b46c3a4f0ec9
6
+ metadata.gz: 797e8e2c763a3949277f1fd1e1bd2521adbac190175286331c59dd7cba17636c41ffeb6dda91325cb45bfe97c497934124b8a92c9d3ebd625a8744068337d6e5
7
+ data.tar.gz: 4272dfb90de22d22e494a9d1d800daec913ba1a64a3f7e3c399ee6e91de11aa4b82e569ad2dbd9c75f9da9b71a88860046333a6c19cc39a2e8a711da92d88a4b
data/CHANGELOG.md CHANGED
@@ -7,6 +7,10 @@ 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.3] - Mar. 18, 2022
11
+
12
+ * Added support for Rails 7
13
+
10
14
  ## [5.2.2] - Jul. 11, 2021
11
15
 
12
16
  * Fixed Ruby 2.7 deprecated warning when trying to regex match an Integer.
data/README.md CHANGED
@@ -39,13 +39,13 @@ to find out more!
39
39
 
40
40
  Every commit to Filterrific is automatically tested against the following scenarios:
41
41
 
42
- |Filterrific version | Rails version | Ruby environments | Database adapters | Build status |
43
- |--------------------|----------------|--------------------------------|------------------------------------|--------------|
44
- | 5.x | Rails 5.x, 6.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|
42
+ |Filterrific version | Rails version | Ruby environments | Database adapters | Build status |
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|
49
49
 
50
50
  ### Guidelines for submitting issues
51
51
 
data/doc/meta.md CHANGED
@@ -5,7 +5,6 @@ I use the gem-release gem
5
5
  For more info see: https://github.com/svenfuchs/gem-release#usage
6
6
 
7
7
 
8
-
9
8
  ## Steps for an update
10
9
 
11
10
  1. Update code and commit it.
@@ -22,11 +21,26 @@ For more info see: https://github.com/svenfuchs/gem-release#usage
22
21
  `gem tag`
23
22
 
24
23
 
25
-
26
24
  ## How to run specs
27
25
 
28
- `bundle exec rake`
26
+ `bundle exec rake` in the filterrific repo
27
+
28
+
29
+ ## How to support a new major Rails version
30
+
31
+ Follow these steps when starting support for a new Rails major version:
32
+
33
+ * In `filterrific`
34
+ * Archive the current major rails version into a new branch off of master, e.g., when starting to support Rails 6, create a new branch for `5.x` from current master. This will be the branch used for ongoing 5.x support, and all new development for Rails 6 will happen in the `master` branch.
35
+ * Make all changes required to support a new version of Rails.
36
+ * Release the first `filterrific` version for Rails 6: `6.0.0`.
29
37
 
38
+ * In `filterrific_demo`
39
+ * Following the same example for Rails 6:
40
+ * Make sure that the `5.x` branch is up-to-date with master, and with current filterrific.
41
+ * Create a new `6.x` branch. In that branch create a brand new rails app using a current version of Rails 6.
42
+ * Make sure that the app works with the relevant version of `filterrific`.
43
+ * Deploy demo app to heroku.
30
44
 
31
45
 
32
46
  ## Travis CI
data/doc/scratchpad.md CHANGED
@@ -2,36 +2,8 @@
2
2
 
3
3
  ## 2021 Initiative
4
4
 
5
- * Update for Rails 6
6
- * Implement API only version (no frontend)
7
- * Update scope docs to use AREL
8
- * Implement/document various front end scenarios:
9
- * React
10
- * Stimulus
11
- * jQuery
12
- * sprockets/webpacker
13
- * Thoughts: Support the rails defaults (webpacker or sprockets?) out of the box, batteries included. Document how to do everything else.
14
- * Work through issues and pull requests
15
-
16
- improve the filterrific frontend handling:
17
-
18
- * Remove invocation of init, document for devs to do it manually
19
- https://github.com/jhund/filterrific/issues/199
20
- * Replace jquery with vanilla JS
21
- * Provide filterrific API version
22
- * Make compatible with Rails 6
23
- * Remove jquery dependency, make it easier to use with webpacker, document how to do init
24
- https://github.com/jhund/filterrific/issues/198
25
-
26
- * Support the following js scenarios:
27
- * Sprockets
28
- * Webpacker
29
- * API only (e.g., for React)
30
-
31
-
32
5
  ## TODO
33
6
 
34
- * add check that no filter_name conflicts with existing methods on included ActiveRecord class (See https://github.com/jhund/filterrific/issues/17)
35
7
  * Update SW architecture and documentation according to Osterhuis Philosophy of software architecture/design book (mark advanced controller options as such to keep interface to learn simple)
36
8
 
37
9
  ## Travis
@@ -1,5 +1,5 @@
1
1
  # -*- coding: utf-8 -*-
2
2
 
3
3
  module Filterrific
4
- VERSION = "5.2.2"
4
+ VERSION = "5.2.3"
5
5
  end
data/lib/filterrific.rb CHANGED
@@ -1,7 +1,7 @@
1
1
  # -*- coding: utf-8 -*-
2
2
 
3
- if ![5,6].include?(Rails::VERSION::MAJOR)
4
- raise "\n\nThis version of Filterrific only works with Rails 5 and 6.\nPlease see the Filterrific README for the correct version of Filterrific to use with your version of Rails!\n\n"
3
+ if ![5,6,7].include?(Rails::VERSION::MAJOR)
4
+ 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"
5
5
  end
6
6
 
7
7
  require 'filterrific/version'
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.2
4
+ version: 5.2.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jo Hund
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2021-07-12 00:00:00.000000000 Z
11
+ date: 2022-03-18 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.
@@ -66,8 +66,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
66
66
  - !ruby/object:Gem::Version
67
67
  version: '0'
68
68
  requirements: []
69
- rubyforge_project:
70
- rubygems_version: 2.6.14.3
69
+ rubygems_version: 3.1.6
71
70
  signing_key:
72
71
  specification_version: 4
73
72
  summary: A Rails engine plugin for filtering ActiveRecord lists.