caterer 0.7.9 → 0.7.10

Sign up to get free protection for your applications and to get access to all the features.
@@ -107,11 +107,11 @@ module Caterer
107
107
 
108
108
  data = group.data.merge(member.data)
109
109
 
110
- if json = options[:data]
111
- loaded = MultiJson.load json, :symbolize_keys => true rescue nil
112
- data.merge(loaded) if loaded and loaded.is_a? Hash
110
+ if options[:data]
111
+ json = MultiJson.load options[:data], :symbolize_keys => true rescue nil
112
+ data = data.merge(json) if json and json.is_a? Hash
113
113
  end
114
-
114
+
115
115
  data
116
116
  end
117
117
 
@@ -1,3 +1,3 @@
1
1
  module Caterer
2
- VERSION = "0.7.9"
2
+ VERSION = "0.7.10"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: caterer
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.7.9
4
+ version: 0.7.10
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: