hookercookerman-amee 0.0.8 → 0.0.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/lib/amee/parser.rb +1 -1
  2. data/lib/amee.rb +1 -1
  3. metadata +1 -1
data/lib/amee/parser.rb CHANGED
@@ -57,7 +57,7 @@ module Amee
57
57
  def self.process(data)
58
58
  profile_categories = {"profile_categories" => data["children"].delete("dataCategories")}
59
59
  profile_items = {"profile_items" => data["children"]["profileItems"].delete("rows")} if data["children"]["profileItems"]
60
- profile_items["profile_items"].each{ |profile_item| profile_item.merge!({"profile" => data["profile"]})} if profile_items
60
+ profile_items["profile_items"].each{ |profile_item| profile_item.merge!({"profile" => data["profile"]})} if profile_items && profile_items["profile_items"]
61
61
  data.merge(profile_items).merge(profile_categories).
62
62
  merge({"resource_path" => data["path"]})
63
63
  end
data/lib/amee.rb CHANGED
@@ -33,5 +33,5 @@ require "amee/profile_api/profile_category"
33
33
  require "amee/profile_api/profile"
34
34
 
35
35
  module Amee
36
- VERSION = '0.0.8'
36
+ VERSION = '0.0.9'
37
37
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: hookercookerman-amee
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.8
4
+ version: 0.0.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Richard Hooker