Skip to content

Commit 54743b5

Browse files
authored
Drop EOL dependencies (#1000)
1 parent a2a0005 commit 54743b5

17 files changed

Lines changed: 43 additions & 160 deletions

File tree

.github/workflows/ruby.yml

Lines changed: 2 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ jobs:
1515
runs-on: ubuntu-latest
1616
strategy:
1717
matrix:
18-
ruby-version: ['3.1', '3.2', '3.3', '3.4', '4.0']
19-
gemfile: [rails_6.1, rails_7.0, rails_7.1, rails_7.2, rails_8.0, rails_8.1]
18+
ruby-version: ['3.2', '3.3', '3.4', '4.0']
19+
gemfile: [rails_7.2, rails_8.0, rails_8.1]
2020
channel: ['stable']
2121

2222
include:
@@ -40,24 +40,6 @@ jobs:
4040
channel: 'experimental'
4141

4242
exclude:
43-
- ruby-version: '3.1'
44-
gemfile: rails_8.0
45-
- ruby-version: '3.1'
46-
gemfile: rails_8.1
47-
- ruby-version: '3.2'
48-
gemfile: rails_6.1
49-
- ruby-version: '3.3'
50-
gemfile: rails_6.1
51-
- ruby-version: '3.4'
52-
gemfile: rails_6.1
53-
- ruby-version: '3.4'
54-
gemfile: rails_7.0
55-
- ruby-version: '4.0'
56-
gemfile: rails_6.1
57-
- ruby-version: '4.0'
58-
gemfile: rails_7.0
59-
- ruby-version: '4.0'
60-
gemfile: rails_7.1
6143
- ruby-version: '4.0'
6244
gemfile: rails_7.2
6345

.rubocop.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ plugins:
66
- rubocop-rake
77

88
AllCops:
9-
TargetRailsVersion: 6.1
10-
TargetRubyVersion: 3.1
9+
TargetRailsVersion: 7.2
10+
TargetRubyVersion: 3.2
1111
NewCops: enable
1212
DisplayStyleGuide: true
1313
ExtraDetails: true

Appraisals

Lines changed: 0 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -1,20 +1,5 @@
11
# frozen_string_literal: true
22

3-
appraise 'rails-6.1' do
4-
gem 'rails', '~> 6.1.0'
5-
gem 'sqlite3', '~> 1.7'
6-
gem 'concurrent-ruby', '< 1.3.5' # Ref: rails/rails#54260
7-
end
8-
9-
appraise 'rails-7.0' do
10-
gem 'rails', '~> 7.0.0'
11-
gem 'sqlite3', '~> 1.7'
12-
end
13-
14-
appraise 'rails-7.1' do
15-
gem 'rails', '~> 7.1.0'
16-
end
17-
183
appraise 'rails-7.2' do
194
gem 'rails', '~> 7.2.0'
205
end

CHANGELOG.md

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,12 @@
88
- `data-validate` => `data-csv-validate`
99
* [FEATURE] Use data attributes instead of `jQuery.data()`
1010
* [FEATURE] Drop Internet Explorer and other older browsers support
11-
* [FEATURE] Drop Ruby < 3.1
11+
* [FEATURE] Drop Ruby < 3.2
12+
* [FEATURE] Drop Rails < 7.2
1213
* [FEATURE] Drop jQuery < 3.7.1 Compatibility
1314
* [BUGFIX] Allow `proc` values in length validator options
14-
* [ENHANCEMENT] Update QUnit to 2.24.3
15-
* [ENHANCEMENT] Test against Ruby 3.4
15+
* [ENHANCEMENT] Update QUnit to 2.25.0
16+
* [ENHANCEMENT] Test against Ruby 3.4 and 4.0
1617

1718
## 22.3.1 / 2025-01-29
1819

README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88
[![Coverage Status](https://coveralls.io/repos/github/DavyJonesLocker/client_side_validations/badge.svg?branch=main)](https://coveralls.io/github/DavyJonesLocker/client_side_validations?branch=main)
99

1010

11-
`ClientSideValidations` made easy for your Rails 6.1, 7.x, and 8.0 applications!
11+
`ClientSideValidations` made easy for your Rails 7.2 and 8.x applications!
1212

1313
## Project Goals ##
1414

@@ -56,7 +56,7 @@ config/initializers/client_side_validations.rb
5656

5757
Instructions depend on your technology stack.
5858

59-
Please note that CSV depends on jQuery >= 1.12.4 (jQuery slim is fine).
59+
Please note that CSV depends on jQuery >= 3.7.1 (jQuery slim is fine).
6060

6161
#### When using Webpacker ####
6262

@@ -99,7 +99,7 @@ Make sure that `jquery-rails` is part of your bundled gems and `application.js`,
9999
otherwise add:
100100

101101
```ruby
102-
gem 'jquery-rails', '~> 4.3'
102+
gem 'jquery-rails'
103103
```
104104

105105
to your `Gemfile`, run `bundle`, and add

client_side_validations.gemspec

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ Gem::Specification.new do |spec|
1111
spec.email = ['tagliala.dev@gmail.com', 'bcardarella@gmail.com']
1212

1313
spec.summary = 'Client Side Validations'
14-
spec.description = 'Client Side Validations made easy for your Rails 6.1, 7.x, and 8.0 applications'
14+
spec.description = 'Client Side Validations made easy for your Rails 7.2 and 8.x applications'
1515
spec.homepage = 'https://github.com/DavyJonesLocker/client_side_validations'
1616
spec.license = 'MIT'
1717

@@ -25,8 +25,8 @@ Gem::Specification.new do |spec|
2525
spec.require_paths = ['lib']
2626

2727
spec.platform = Gem::Platform::RUBY
28-
spec.required_ruby_version = '>= 3.1'
28+
spec.required_ruby_version = '>= 3.2'
2929

30-
spec.add_dependency 'js_regex', '~> 3.7'
31-
spec.add_dependency 'rails', '>= 6.1'
30+
spec.add_dependency 'js_regex', '>= 3.14'
31+
spec.add_dependency 'rails', '>= 7.2'
3232
end

dist/client-side-validations.esm.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/client-side-validations.js

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gemfiles/rails_6.1.gemfile

Lines changed: 0 additions & 26 deletions
This file was deleted.

gemfiles/rails_7.0.gemfile

Lines changed: 0 additions & 25 deletions
This file was deleted.

0 commit comments

Comments
 (0)