nested_hash 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
data/Changelog CHANGED
@@ -1,10 +1,10 @@
1
+ 2012-05-23 Guillermo Alvarez <guillermo@cientifico.net>
1
2
 
2
- 2012-05-23 Guillermo Alvarez Fernandez <guillermo@cientifico.net>
3
-
4
- * nested_hash.rb (sanitize_long_key): Added the ability of sanitize the
3
+ * nested_hash.rb (sanitize_long_key): Added the ability of sanitize the
5
4
  single key, or the initial key of the hash.
6
-
7
- * nested_hash.rb (process_nested): Now the index of the array are respected.
5
+ * nested_hash.rb (process_nested): Now the index of the array are respected.
6
+ * nested_hash.rb (log_exception): [bug] log_exception was marked as a
7
+ funcion with only one argument. Fixed to include all the arguments.
8
8
 
9
9
  2012-05-16 Guillermo Alvarez Fernandez <guillermo@cientifico.net>
10
10
 
@@ -1,3 +1,3 @@
1
1
  class NestedHash < Hash
2
- VERSION = "0.1.2"
2
+ VERSION = "0.1.3"
3
3
  end
data/lib/nested_hash.rb CHANGED
@@ -87,7 +87,7 @@ class NestedHash < Hash
87
87
  raise e unless continue_on_exceptions?
88
88
  end
89
89
 
90
- def log_exception(e)
90
+ def log_exception(e, key, value)
91
91
  $stderr.puts "Problem procesing the pair \"#{key}\" => \"#{value}\""
92
92
  end
93
93
 
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: nested_hash
3
3
  version: !ruby/object:Gem::Version
4
- hash: 31
4
+ hash: 29
5
5
  prerelease:
6
6
  segments:
7
7
  - 0
8
8
  - 1
9
- - 2
10
- version: 0.1.2
9
+ - 3
10
+ version: 0.1.3
11
11
  platform: ruby
12
12
  authors:
13
13
  - "Guillermo A\xCC\x81lvarez"