Floppy-amee 0.4.29 → 0.4.30

Sign up to get free protection for your applications and to get access to all the features.
@@ -88,8 +88,8 @@ module AMEE
88
88
  end
89
89
  # Create object
90
90
  Category.new(data)
91
- #rescue
92
- # raise AMEE::BadData.new("Couldn't load ProfileCategory from JSON data. Check that your URL is correct.")
91
+ rescue
92
+ raise AMEE::BadData.new("Couldn't load ProfileCategory from JSON data. Check that your URL is correct.")
93
93
  end
94
94
 
95
95
  def self.parse_xml_profile_item(item)
@@ -219,8 +219,8 @@ module AMEE
219
219
  options[:recurse] = true if recurse == true
220
220
  response = connection.get(path, options)
221
221
  return Category.parse(connection, response)
222
- #rescue
223
- # raise AMEE::BadData.new("Couldn't load ProfileCategory. Check that your URL is correct.")
222
+ rescue
223
+ raise AMEE::BadData.new("Couldn't load ProfileCategory. Check that your URL is correct.")
224
224
  end
225
225
 
226
226
  def child(child_path)
data/lib/amee/version.rb CHANGED
@@ -3,7 +3,7 @@ module AMEE
3
3
  module VERSION #:nodoc:
4
4
  MAJOR = 0
5
5
  MINOR = 4
6
- TINY = 29
6
+ TINY = 30
7
7
  STRING = [MAJOR, MINOR, TINY].join('.')
8
8
  end
9
9
 
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: Floppy-amee
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.29
4
+ version: 0.4.30
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Smith