kanzen 0.5.0 → 0.6.0

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: 86111d6f306156d66daed4b85fe3e2169607b00d95d26ecb4e6c4585cb87920b
4
- data.tar.gz: dad3d66b21ac7cb2f43554980b3f68e12eb7b9c67058e3e1d947c05b3fa865fa
3
+ metadata.gz: 28faa50fd7f45c1dafcf6cf59c655df3d4ea68268c22fa76100be182a6771fe8
4
+ data.tar.gz: 2330312a99d66c36b47cf375efb6263e22214a252b11dfbb0e14e6a6cc05c8b5
5
5
  SHA512:
6
- metadata.gz: ab9f804fea6abdbea2cf5a27ea2d3b3ebff1fc037c2e7a27d8f1c5d3b1c521fa06732dd1b0272482d173524beea59e1f3cb387220e1d4a690f83d9b0567b80e7
7
- data.tar.gz: a36bb9a071e98dbc93fe711818bfdb0623c1f9cc3d49a503b131dd17772fd32d77358cd64f02581be905f1ccf0fbd0654d49f1dcc6b5e15d7d7b0646d86856b3
6
+ metadata.gz: 0d82c8e9365f596c11ed0f42665c07d1a2979d75abb47a46244555a329973baab7c384ea734656bae8ec3f8ef18e592f41c649d3ac2960e5c8598ceb1e12d3dd
7
+ data.tar.gz: 93d2d15a96e3f2728358ba04d06fc83f54772fde07617030edca275cafa83a625c2b1101a190fc37b8315ef188676e947af9df6eeff4f15573f8a74654a1cad2
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- kanzen (0.5.0)
4
+ kanzen (0.6.0)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -17,7 +17,7 @@ module Kanzen
17
17
  # are converted to "", we can compare that to see
18
18
  # if a given attribute is different from an empty
19
19
  # string literal
20
- DEFAULT_PROC = Proc.new do |attribute_name, value|
20
+ DEFAULT_PROC = Proc.new do |attribute_name, value, model|
21
21
  value.to_s != ""
22
22
  end
23
23
 
@@ -72,7 +72,7 @@ module Kanzen
72
72
  # is VALID and FLASE if it IS INVALID
73
73
  attribute_value = another_model.send(attribute)
74
74
 
75
- proc.call(attribute, attribute_value)
75
+ proc.call(attribute, attribute_value, another_model)
76
76
  end
77
77
 
78
78
  # Check attributes
@@ -1,3 +1,3 @@
1
1
  module Kanzen
2
- VERSION = "0.5.0"
2
+ VERSION = "0.6.0"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: kanzen
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Charles Washington