Floppy-amee 0.4.15 → 0.4.16

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,6 +109,12 @@ module AMEE
109
109
  raise AMEE::BadData.new("Couldn't update ProfileItem. Check that your information is correct.")
110
110
  end
111
111
 
112
+ def self.delete(connection, path)
113
+ connection.delete(path)
114
+ rescue
115
+ raise AMEE::BadData.new("Couldn't delete ProfileItem. Check that your information is correct.")
116
+ end
117
+
112
118
  def value(name_or_path)
113
119
  val = values.find{ |x| x[:name] == name_or_path || x[:path] == name_or_path}
114
120
  val ? val[:value] : nil
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 = 15
6
+ TINY = 16
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.15
4
+ version: 0.4.16
5
5
  platform: ruby
6
6
  authors:
7
7
  - James Smith