va 0.0.3 → 0.0.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (4) hide show
  1. checksums.yaml +4 -4
  2. data/lib/va.rb +1 -1
  3. data/lib/va/version.rb +1 -1
  4. metadata +1 -1
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 842b924ccdb0e783a6452a0112a8a151e0f0905e
4
- data.tar.gz: adaff6c5ef19f94720f44d8052a4d67cd9a6c5cf
3
+ metadata.gz: 812d1fe28b3e808709aba9b2b35ecd7c4405d807
4
+ data.tar.gz: dc76e8781210a33e85a1bf4e4aef040e22b3ea52
5
5
  SHA512:
6
- metadata.gz: 0890f8a6c210a77e31402f664e2923cb12da3eb511c05a512692d71f6473ef39af0801c06172d8def6d1a5c86b8f811cbb20dc1dbfa3376322f067a9f171930f
7
- data.tar.gz: 68c368b22efcfecbedc1f4dd82f9155dd43bb90157ccd4dffe73ea866d3044a839bc43aa89fa09b15a188e7799d80f9a6b8e2e036ee7bd07a65ed053b7e8792e
6
+ metadata.gz: 8e385075c38f9043f302a2a6773ff1637761da362f710a6d81d274dd590aaa715cf379497fc47276c88c83b54bf3f53dcf8e7acf2f5d5d8a6a91dcbe0adb854e
7
+ data.tar.gz: 5362e5da675c8684d36ccd5cb41b4532cce92f9e1ed77cdde6d01326e923ae0e753977d68388f2e8fd62b91dce8942484fab2d83ee48c50589dc3e25cac3a038
data/lib/va.rb CHANGED
@@ -14,7 +14,7 @@ module Va
14
14
 
15
15
  def valid?
16
16
  self.class.validations.all? { |attrs, validation|
17
- validation.call(attrs.map { |attr| self.send(attr)})
17
+ validation.call(*attrs.map { |attr| self.send(attr)})
18
18
  }
19
19
  end
20
20
 
@@ -1,3 +1,3 @@
1
1
  module Va
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: va
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Federico Iachetti