ashrewdmint-chirpy 0.8.3 → 0.8.4

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.
Files changed (4) hide show
  1. data/VERSION +1 -1
  2. data/chirpy.gemspec +2 -2
  3. data/lib/chirpy.rb +8 -0
  4. metadata +4 -3
data/VERSION CHANGED
@@ -1 +1 @@
1
- 0.8.3
1
+ 0.8.4
@@ -2,11 +2,11 @@
2
2
 
3
3
  Gem::Specification.new do |s|
4
4
  s.name = %q{chirpy}
5
- s.version = "0.8.3"
5
+ s.version = "0.8.4"
6
6
 
7
7
  s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
8
8
  s.authors = ["Andrew Smith"]
9
- s.date = %q{2009-05-23}
9
+ s.date = %q{2009-08-11}
10
10
  s.description = %q{Lets you easily interact with Twitter's API; post status updates, search Twitter, and more!}
11
11
  s.email = %q{andrew.caleb.smith@gmail.com}
12
12
  s.extra_rdoc_files = [
@@ -262,6 +262,14 @@ class Chirpy
262
262
  post "direct_messages/new", post_params
263
263
  end
264
264
 
265
+ # Destroys a direct message.
266
+ #
267
+ # Authentication required.
268
+
269
+ def destroy_direct_message(direct_message_id)
270
+ delete "direct_messages/destroy/#{direct_message_id}"
271
+ end
272
+
265
273
  #-- Friendship methods
266
274
 
267
275
  # Creates a friendship between authenticated user and another user.
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ashrewdmint-chirpy
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.3
4
+ version: 0.8.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Andrew Smith
@@ -9,7 +9,7 @@ autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
11
 
12
- date: 2009-05-23 00:00:00 -07:00
12
+ date: 2009-08-11 00:00:00 -07:00
13
13
  default_executable:
14
14
  dependencies:
15
15
  - !ruby/object:Gem::Dependency
@@ -63,6 +63,7 @@ files:
63
63
  - test/test_helper.rb
64
64
  has_rdoc: false
65
65
  homepage: http://github.com/ashrewdmint/chirpy
66
+ licenses:
66
67
  post_install_message:
67
68
  rdoc_options:
68
69
  - --charset=UTF-8
@@ -83,7 +84,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
83
84
  requirements: []
84
85
 
85
86
  rubyforge_project:
86
- rubygems_version: 1.2.0
87
+ rubygems_version: 1.3.5
87
88
  signing_key:
88
89
  specification_version: 3
89
90
  summary: A simple Twitter client for Ruby, written using Hpricot and RestClient.