lev 4.3.1 → 4.3.2

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,15 +1,15 @@
1
1
  ---
2
2
  !binary "U0hBMQ==":
3
3
  metadata.gz: !binary |-
4
- NTU2OGIyM2MxZDQzZmYwMGVkNmZkZWRiZmE2YjMzZmE2NDQ2MDM3Zg==
4
+ MzhhMmY1NTUwMTc2NDllMjU4Yjc4MGM5YmFiNDRiNDU2Njc0NDQ3Mg==
5
5
  data.tar.gz: !binary |-
6
- Mjk0OTU3NDBhM2E4MjNmMWRhNmZlMzFhYWU4YjMxNTdiMjEwOWE0MQ==
6
+ OWQ0YzYxNTdjNWJiZDYyYjFiMjFkNzFjMWQ3N2U5MTFlOGRjYWJkNQ==
7
7
  SHA512:
8
8
  metadata.gz: !binary |-
9
- YTU4ZmQ3YjExMGNlNjI4MjNkYWRkOWNkM2YxOTkwYTM4ZGEyY2VlMjM4Y2Ew
10
- MmFiOTg4YTE3YTU5OTdlZWY3NmQzNWEyNGQyMmFiMzNjZmRjMDA3ODZmYzFk
11
- OWE0NjU2ZDgyOTljZTg2MGU1MmJjMWEyODIxYjI4ZTI2NzQ5ZTE=
9
+ ZmVlNWJkNGZjZWIyOGE1Nzk3MDRlODM4YjY1ZjQ2ODEzNzVmNGY3NzAwMjkz
10
+ OTRmMmRhZWY4ZTI2OTAwNGNjZTM5MDI2MDBiYTRjMmExMmRiMDlhNGRmYzNi
11
+ MzNhZTU2ZjBkYTc0MmVjY2I5MjQzYTcyNDVmMTg0ZDQ4ZGEwNDc=
12
12
  data.tar.gz: !binary |-
13
- ZjM2ZjFmMTBkMGVkMDgxMWMwOGQ2ZDBmYjY1YWI5ZmFkMTc5ODdlYWFkMDFj
14
- YmEwMWE0NzU5ODg4MDY0ODA2NTE2ZjdlNWU0NDk0MjI0NDgxOGZkNTA2MGNj
15
- YThlY2E2NDMxNzEyZjNiNjExMzFmN2IzMzI0NTdjOTI5ZjY3MzY=
13
+ YTRkYTZlYzlkOGNiNDFkODk2ODViMjc2MzJhYTk2NTY2ZjczYmVjYWQ4YzMx
14
+ ZjUzYWJjOTYwMTg5NmM2M2ZiZDFkOGIxZmY0MjUyYWRjOWIyNjZhYTExNjE5
15
+ ZTMyNWRjOTUzZDFlMWIyODMzNTUyOTNmNzgxOGMwZjYzMzc1MDc=
@@ -257,7 +257,7 @@ module Lev
257
257
  end
258
258
 
259
259
  self[attribute] << normalized_message
260
- self.types[attribute] << message if message.is_a?(Symbol)
260
+ self.types[attribute] << message.try(:to_sym)
261
261
  end
262
262
 
263
263
  # Will add an error message to each of the attributes in +attributes+ that is empty.
@@ -1,3 +1,3 @@
1
1
  module Lev
2
- VERSION = "4.3.1"
2
+ VERSION = "4.3.2"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: lev
3
3
  version: !ruby/object:Gem::Version
4
- version: 4.3.1
4
+ version: 4.3.2
5
5
  platform: ruby
6
6
  authors:
7
7
  - JP Slavinsky
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2015-07-16 00:00:00.000000000 Z
11
+ date: 2015-07-20 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: activemodel