client_side_validations 20.0.0 → 20.0.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: 8d053793972cfeadf6eb418493b6290913f624536d45fd289e8186f6ed337906
4
- data.tar.gz: 783525ab3929c02a6c3ac3af8a3fc5d0c5d549e7513fe46c56a4be8d320244e0
3
+ metadata.gz: 425f8909a6f06e2e3517c641b9f04627bec7e2c7b7a95ec79da2a471b30a156d
4
+ data.tar.gz: 17ff1058ef71b8456b9de695363bf58351054641de0b94d472b15d7c33cee788
5
5
  SHA512:
6
- metadata.gz: 1e9f42f6a856f7ee3487ae38b552a881e7fca16fada4e11cb4027067fa0956c7c4623eb571bc0b6da6e69a0eb001b88f847ff1e0e268010cba9f7169d47ce3eb
7
- data.tar.gz: c08fca1ba13d7bcc86e924d195950f1f05c52ba06defcb51ed287bffdd0b58a93db27734dbb61f8308c3393d2dc773146a2130388043736cebac725bbacbd312
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
@@ -1,5 +1,5 @@
1
1
  # frozen_string_literal: true
2
2
 
3
3
  module ClientSideValidations
4
- VERSION = '20.0.0'
4
+ VERSION = '20.0.1'
5
5
  end
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.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-16 00:00:00.000000000 Z
12
+ date: 2021-12-22 00:00:00.000000000 Z
13
13
  dependencies:
14
14
  - !ruby/object:Gem::Dependency
15
15
  name: rails