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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 0a4f63955694824b8fa8d6f788f6ed3414efeaed
4
- data.tar.gz: b5f1938ed0e2f3af1f8efa024e6ad86682116fd0
3
+ metadata.gz: 50bc37ca6a46bdf0c814c26460110e8f1d2df1fd
4
+ data.tar.gz: 9e0efc65b45b3dc858ed95a3f760b99774290355
5
5
  SHA512:
6
- metadata.gz: 375eb2fc1c59cc5744b1484ba6634e8371609aebdb418a175673b46f03703781c0dc481e7a1a57957d6ddd4f45ede786b90d33314268a1850ff6e9ba2ebbb944
7
- data.tar.gz: bab7dacb28773ecd81ca1a719eb0e6101b4ddfd89d161f19c790842fd4d04549660571fad39d865989a758156ce3c60c057520fe4f685a081f51c0cbb2f67342
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, :message => message, :default => defaults)
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
@@ -1,3 +1,3 @@
1
1
  module CollectionErrors
2
- VERSION = "0.0.1"
2
+ VERSION = "0.0.2"
3
3
  end
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.1
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-27 00:00:00.000000000 Z
11
+ date: 2013-08-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler