Floppy-amee 0.4.32 → 0.4.33

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -109,11 +109,15 @@ module AMEE
109
109
  raise AMEE::BadData.new("Couldn't create ProfileItem. Check that your information is correct.")
110
110
  end
111
111
 
112
- def update(options = {})
113
- response = connection.put(full_path, options)
112
+ def self.update(connection, path, options = {})
113
+ response = connection.put(path, options)
114
114
  return Item.parse(connection, response)
115
- rescue
116
- raise AMEE::BadData.new("Couldn't update ProfileItem. Check that your information is correct.")
115
+ #rescue
116
+ # raise AMEE::BadData.new("Couldn't update ProfileItem. Check that your information is correct.")
117
+ end
118
+
119
+ def update(options = {})
120
+ AMEE::Profile::Item.update(connection, full_path, options)
117
121
  end
118
122
 
119
123
  def self.delete(connection, 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 = 32
6
+ TINY = 33
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.32
4
+ version: 0.4.33
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Smith