ashrewdmint-chirpy 0.8.2 → 0.8.3
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.
- data/README.rdoc +1 -1
- data/VERSION +1 -1
- data/chirpy.gemspec +2 -2
- data/lib/chirpy.rb +3 -3
- metadata +2 -2
data/README.rdoc
CHANGED
@@ -33,7 +33,7 @@ If that failed too, you can do this:
|
|
33
33
|
Once you have the gem installed, you have to require it at the top of your Ruby document.
|
34
34
|
|
35
35
|
require 'rubygems'
|
36
|
-
require '
|
36
|
+
require 'chirpy'
|
37
37
|
|
38
38
|
Everything Chirpy returns is a Hpricot object, which lets you
|
39
39
|
easily search through XML soup and find what you need. You
|
data/VERSION
CHANGED
@@ -1 +1 @@
|
|
1
|
-
0.8.
|
1
|
+
0.8.3
|
data/chirpy.gemspec
CHANGED
@@ -2,11 +2,11 @@
|
|
2
2
|
|
3
3
|
Gem::Specification.new do |s|
|
4
4
|
s.name = %q{chirpy}
|
5
|
-
s.version = "0.8.
|
5
|
+
s.version = "0.8.3"
|
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-
|
9
|
+
s.date = %q{2009-05-23}
|
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 = [
|
data/lib/chirpy.rb
CHANGED
@@ -288,7 +288,7 @@ class Chirpy
|
|
288
288
|
|
289
289
|
def destroy_friendship(user, params = {})
|
290
290
|
args = [user, params]
|
291
|
-
delete path_from_args('friendships/
|
291
|
+
delete path_from_args('friendships/destroy', args), params_from_args(args)
|
292
292
|
end
|
293
293
|
|
294
294
|
# Checks if a friendship exists between two users; returns true or false if no error occured.
|
@@ -464,7 +464,7 @@ class Chirpy
|
|
464
464
|
|
465
465
|
def leave(user_or_params)
|
466
466
|
args = [user_or_params]
|
467
|
-
post path_from_args('notifications/leave', args), params_from_args(
|
467
|
+
post path_from_args('notifications/leave', args), params_from_args(args).merge({:post => {}})
|
468
468
|
end
|
469
469
|
|
470
470
|
#-- Block methods
|
@@ -492,7 +492,7 @@ class Chirpy
|
|
492
492
|
|
493
493
|
def block_exists(user_or_params)
|
494
494
|
args = [user_or_params]
|
495
|
-
get path_from_args('block/exists', args), params_from_args(
|
495
|
+
get path_from_args('block/exists', args), params_from_args(args)
|
496
496
|
end
|
497
497
|
|
498
498
|
# Returns a list of people the authenticated user is blocking.
|
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.
|
4
|
+
version: 0.8.3
|
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-
|
12
|
+
date: 2009-05-23 00:00:00 -07:00
|
13
13
|
default_executable:
|
14
14
|
dependencies:
|
15
15
|
- !ruby/object:Gem::Dependency
|