collection_errors 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/collection_errors/separate.rb +1 -1
- data/lib/collection_errors/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 50bc37ca6a46bdf0c814c26460110e8f1d2df1fd
|
4
|
+
data.tar.gz: 9e0efc65b45b3dc858ed95a3f760b99774290355
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 51805cda413352e37665e9f77a1ec1ad908b23ba2b26d471998c189c21135db15ba28eb8f027c0725e5069256ab4c68734619fdf8941006554fe8f81bd85fe4e
|
7
|
+
data.tar.gz: 21e2cf88dcb2e5d9b492f83fca96bc7bf3c4fe85d592b260ddf44c3832e1e6d7061d8522f899fd92de0665caa4433dd2622bbc4c05f7971ee58e0475d0e43e26
|
@@ -19,7 +19,7 @@ module CollectionErrors
|
|
19
19
|
defaults.compact!
|
20
20
|
defaults.flatten!
|
21
21
|
|
22
|
-
I18n.translate(defaults.shift, :collection_name => self.class.human_attribute_name(collection_name), :index => index, :
|
22
|
+
I18n.translate(defaults.shift, :collection_name => self.class.human_attribute_name(collection_name), :index => index, :original_message => message, :default => defaults)
|
23
23
|
end
|
24
24
|
|
25
25
|
module ClassMethods
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: collection_errors
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- nay3
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-08-
|
11
|
+
date: 2013-08-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|