client_side_validations 20.0.0 → 20.0.1
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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 425f8909a6f06e2e3517c641b9f04627bec7e2c7b7a95ec79da2a471b30a156d
|
|
4
|
+
data.tar.gz: 17ff1058ef71b8456b9de695363bf58351054641de0b94d472b15d7c33cee788
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 803c6e9370de4a64b0a491e6ca81a889224a0a17abce24975131a4067deff9d7495a1480ca6b4e78b737106b4ee50a72e945d05e83899d68d187434138bac08d
|
|
7
|
+
data.tar.gz: 3bfe946cad1d6858a2e91fbad1d12b69b9564f9895189839681bf0663b1d8a53dcce868f5bfcf48bf59ce8b68c892e71e0b839f1d5b927b0d66ede1fec7cda9b
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,10 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 20.0.1 / 2021-12-22
|
|
4
|
+
|
|
5
|
+
* [BUGFIX] Fix missing HTTP method ([#867](https://github.com/DavyJonesLocker/client_side_validations/issue/867))
|
|
6
|
+
* [ENHANCEMENT] Update development dependencies
|
|
7
|
+
|
|
3
8
|
## 20.0.0 / 2021-12-16
|
|
4
9
|
|
|
5
10
|
* [FEATURE] Add Rails 7 compatibility - POSSIBLE BREAKING CHANGE ([#862](https://github.com/DavyJonesLocker/client_side_validations/pull/862))
|
|
@@ -38,6 +38,7 @@ module ClientSideValidations
|
|
|
38
38
|
|
|
39
39
|
def apply_csv_form_for_options!(record, object, options)
|
|
40
40
|
options[:html][:validate] = true if options[:validate]
|
|
41
|
+
options[:html][:method] ||= options[:method]
|
|
41
42
|
|
|
42
43
|
if method(:apply_form_for_options!).arity == 2
|
|
43
44
|
apply_form_for_options! object, options
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: client_side_validations
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 20.0.
|
|
4
|
+
version: 20.0.1
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Geremia Taglialatela
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date: 2021-12-
|
|
12
|
+
date: 2021-12-22 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: rails
|