dschn-tweetsy 0.1.2 → 0.1.3

Sign up to get free protection for your applications and to get access to all the features.
Files changed (3) hide show
  1. data/VERSION.yml +1 -1
  2. data/lib/tweetsy/client.rb +5 -0
  3. metadata +2 -2
data/VERSION.yml CHANGED
@@ -1,4 +1,4 @@
1
1
  ---
2
- :patch: 2
2
+ :patch: 3
3
3
  :major: 0
4
4
  :minor: 1
@@ -43,6 +43,11 @@ module Tweetsy
43
43
  doc = request(:post, "/friendships/create/#{id_or_screen_name}.xml", :auth => true)
44
44
  User.new(doc.at('user'))
45
45
  end
46
+
47
+ def destroy_friendship(id_or_screen_name)
48
+ doc = request(:post, "/friendships/destroy/#{id_or_screen_name}.xml", :auth => true)
49
+ User.new(doc.at('user'))
50
+ end
46
51
 
47
52
  def update(status, options = {})
48
53
  form_data = { :status => status }
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: dschn-tweetsy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.2
4
+ version: 0.1.3
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dustin Schneider
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-03-30 00:00:00 -07:00
12
+ date: 2009-03-31 00:00:00 -07:00
13
13
  default_executable:
14
14
  dependencies: []
15
15