client_side_validations 22.3.0 → 22.3.1

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
2
  SHA256:
3
- metadata.gz: f1342f7f8b0ec1f863f4dbeba606d8780e40c9cff18f3dc64de4b427210623ad
4
- data.tar.gz: 0dfa9f5419ed63e44bb9b650a9712f8630edfd78d2b52fea74c7327e8dd38743
3
+ metadata.gz: 7662e8aec397da640a1f6b4f08e759c3782a2076462123eef87936d1a06d6ff3
4
+ data.tar.gz: 9725cf62580eab661912618fe45ecf4c114948f7dbd3acb2289c28ef9d9c9ffa
5
5
  SHA512:
6
- metadata.gz: 4e47cf16b407a6c0499c36e3cfbac13fa54eb5cd7b2f4ec55f613c190d623e3d8634ca3ee868a34a80c769d996ec22b9c803f004ea97c45d96ce9ea6fe6cc0e8
7
- data.tar.gz: f2fa5e933de5947ac26f4a05762eb24514a5afaa807876866a31e9214327e9a2d66bc8aa459690d824deeb52ba3fe301b10f4e871e9b5a87afe198bba742e97f
6
+ metadata.gz: 4b6a935bd15704eed3f311088d803db19011d12cfb228cf906fd170104c5e5281b27f472b807bc267013993aadb99ef780443400223457ed4c1bd1992248cc01
7
+ data.tar.gz: 1999e64d1237f0fae8ebda641c440d21653a05dee87c918c9a35478060cf795de6f61f0228361d201e626a1dcf858338906cfc76c52bc9bac619de57a3c8f110
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## 22.3.1 / 2025-01-29
4
+
5
+ * [BUGFIX] `form_with` default argument exception on Rails 8.0 ([#974](https://github.com/DavyJonesLocker/client_side_validations/issues/974))
6
+
3
7
  ## 22.3.0 / 2024-11-12
4
8
 
5
9
  * [FEATURE] Rails 8.0 compatibility
@@ -4,7 +4,7 @@ module ClientSideValidations
4
4
  module ActionView
5
5
  module Helpers
6
6
  module FormHelper
7
- def form_with(model: nil, scope: nil, url: nil, format: nil, **options, &block)
7
+ def form_with(model: false, scope: nil, url: nil, format: nil, **options, &block)
8
8
  return super unless options[:validate]
9
9
 
10
10
  options[:allow_method_names_outside_object] = true
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ClientSideValidations
4
- VERSION = '22.3.0'
4
+ VERSION = '22.3.1'
5
5
  end
@@ -1,6 +1,6 @@
1
1
  /*!
2
2
  * Client Side Validations JS - v0.4.0 (https://github.com/DavyJonesLocker/client_side_validations)
3
- * Copyright (c) 2024 Geremia Taglialatela, Brian Cardarella
3
+ * Copyright (c) 2025 Geremia Taglialatela, Brian Cardarella
4
4
  * Licensed under MIT (https://opensource.org/licenses/mit-license.php)
5
5
  */
6
6
 
metadata CHANGED
@@ -1,15 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: client_side_validations
3
3
  version: !ruby/object:Gem::Version
4
- version: 22.3.0
4
+ version: 22.3.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Geremia Taglialatela
8
8
  - Brian Cardarella
9
- autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2024-11-12 00:00:00.000000000 Z
11
+ date: 2025-01-29 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: js_regex
@@ -89,7 +88,6 @@ metadata:
89
88
  bug_tracker_uri: https://github.com/DavyJonesLocker/client_side_validations/issues
90
89
  changelog_uri: https://github.com/DavyJonesLocker/client_side_validations/blob/main/CHANGELOG.md
91
90
  source_code_uri: https://github.com/DavyJonesLocker/client_side_validations
92
- post_install_message:
93
91
  rdoc_options: []
94
92
  require_paths:
95
93
  - lib
@@ -104,8 +102,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
104
102
  - !ruby/object:Gem::Version
105
103
  version: '0'
106
104
  requirements: []
107
- rubygems_version: 3.5.18
108
- signing_key:
105
+ rubygems_version: 3.6.3
109
106
  specification_version: 4
110
107
  summary: Client Side Validations
111
108
  test_files: []