errogant 0.0.2 → 0.0.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (2) hide show
  1. data/lib/errogant.rb +2 -2
  2. metadata +3 -3
@@ -1,6 +1,6 @@
1
1
  module Errogant
2
2
 
3
- VERSION = '0.0.2'
3
+ VERSION = '0.0.3'
4
4
 
5
5
  def included
6
6
  cattr_accessor :error_map
@@ -8,7 +8,7 @@ module Errogant
8
8
 
9
9
  def pretty_errors
10
10
  output = []
11
- errors.keys.each do |error_key|
11
+ errors.each do |error_key, error_msg|
12
12
  if !self.class.error_map[error_key]
13
13
  output.push errors[error_key].full_message
14
14
  else
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: errogant
3
3
  version: !ruby/object:Gem::Version
4
- hash: 27
4
+ hash: 25
5
5
  prerelease: false
6
6
  segments:
7
7
  - 0
8
8
  - 0
9
- - 2
10
- version: 0.0.2
9
+ - 3
10
+ version: 0.0.3
11
11
  platform: ruby
12
12
  authors:
13
13
  - Zack Parker