chop 0.31.1 → 0.32.0

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: 158fa51ecc35f7dd713a47d04e038ad4fee577f919dca67d8d1902cdba1654bd
4
- data.tar.gz: 86fd8fa4d9c7f3f37de1f89009a99fe6cf147419d547e099894e0058f5442d36
3
+ metadata.gz: d1e9f882b300abe754b58f1d631350e4f7707e4276021a3f6a73aa612a2f7a88
4
+ data.tar.gz: d9611f8ea5d9d0fd8a163744b1768728db7f272e0e1231e6af087461e821fceb
5
5
  SHA512:
6
- metadata.gz: 8a368238f01db7db5d00796bd1e480ca3389024ee1ce68f6d86c0d4053792747ea31925528339df4ed3f92ef692b9cafcebd7f65a017214a440e6285a21b1844
7
- data.tar.gz: 79584ba932bc5282fbddb521ee5fb6283ab0d204059e90b95f2a5b6f06a354bda6a328ca355c5fa59b392f293dd3a893e7573a5d598c3cd0b15068fee8eeaa2e
6
+ metadata.gz: 4a93a6ba5a3bb3394ba1370d3a880c8641f59bfc9822e093edf193a10a6f16c2cdf05a4ce89c7911d39c15004e4cffc71ba0b2b5c780405c5b2ebfa3e7330e4e
7
+ data.tar.gz: 5f939099bd94c7e79e4f56a6cc260147c114c759fb2e37bf859c49588fcd2dc4344b00f2617978c829a99a4e3eb0f8585215282ee2a8639acfc481879195a6df
data/lib/chop/form.rb CHANGED
@@ -35,6 +35,7 @@ module Chop
35
35
  field = Field.from(session, field)
36
36
  fields + [[label.text(:all), field.get_value.to_s]]
37
37
  end
38
+ block.call(actual, root) if block_given?
38
39
  table.diff! actual, surplus_row: false, misplaced_col: false
39
40
  end
40
41
 
data/lib/chop/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Chop
2
- VERSION = "0.31.1"
2
+ VERSION = "0.32.0"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: chop
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.31.1
4
+ version: 0.32.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Micah Geisel
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2025-01-17 00:00:00.000000000 Z
11
+ date: 2025-01-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activerecord