ratatouille 1.4.0 → 1.4.2

Sign up to get free protection for your applications and to get access to all the features.
data/CHANGELOG.md CHANGED
@@ -1,3 +1,9 @@
1
+ ## 1.4.2
2
+
3
+ ### Corrections
4
+
5
+ * BUG FIX: Exception when trying to call #collect on an error string instead of an error array.
6
+
1
7
  ## 1.4.0
2
8
 
3
9
  ### Updates
@@ -236,7 +236,7 @@ module Ratatouille
236
236
  # @param [String,Symbol] namespace
237
237
  # @return [Array]
238
238
  def namespace_error_array(arr=[], namespace="")
239
- errs_out = arr.collect do |e|
239
+ errs_out = Array(arr).collect do |e|
240
240
  split_err = e.split("|")
241
241
 
242
242
  ctxt, err = "", e
@@ -1,4 +1,4 @@
1
1
  module Ratatouille
2
2
  # Gem Version
3
- VERSION = "1.4.0"
3
+ VERSION = "1.4.2"
4
4
  end
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ratatouille
3
3
  version: !ruby/object:Gem::Version
4
- hash: 7
4
+ hash: 3
5
5
  prerelease:
6
6
  segments:
7
7
  - 1
8
8
  - 4
9
- - 0
10
- version: 1.4.0
9
+ - 2
10
+ version: 1.4.2
11
11
  platform: ruby
12
12
  authors:
13
13
  - Ryan Johnson
@@ -15,7 +15,7 @@ autorequire:
15
15
  bindir: bin
16
16
  cert_chain: []
17
17
 
18
- date: 2012-05-23 00:00:00 Z
18
+ date: 2012-07-11 00:00:00 Z
19
19
  dependencies:
20
20
  - !ruby/object:Gem::Dependency
21
21
  name: rspec