jnunemaker-twitter 0.5.2 → 0.5.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/History +4 -0
- data/VERSION.yml +1 -1
- data/lib/twitter/base.rb +3 -1
- metadata +2 -2
data/History
CHANGED
|
@@ -1,3 +1,7 @@
|
|
|
1
|
+
0.5.3 - April 10, 2009
|
|
2
|
+
* 1 minor fix
|
|
3
|
+
* Twitter API assumed follow true whether true or false. Now only sending follow along to request if follow is true for calls to friendship_create.
|
|
4
|
+
|
|
1
5
|
0.5.2 - April 8, 2009
|
|
2
6
|
* 4 minor fixes
|
|
3
7
|
* added mash as an install dependency, forgot it initially
|
data/VERSION.yml
CHANGED
data/lib/twitter/base.rb
CHANGED
|
@@ -69,7 +69,9 @@ module Twitter
|
|
|
69
69
|
end
|
|
70
70
|
|
|
71
71
|
def friendship_create(id, follow=false)
|
|
72
|
-
|
|
72
|
+
body = {}
|
|
73
|
+
body.merge!(:follow => follow) if follow
|
|
74
|
+
perform_post("/friendships/create/#{id}.json", :body => body)
|
|
73
75
|
end
|
|
74
76
|
|
|
75
77
|
def friendship_destroy(id)
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: jnunemaker-twitter
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.5.
|
|
4
|
+
version: 0.5.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- John Nunemaker
|
|
@@ -9,7 +9,7 @@ autorequire:
|
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
11
|
|
|
12
|
-
date: 2009-04-
|
|
12
|
+
date: 2009-04-10 00:00:00 -07:00
|
|
13
13
|
default_executable:
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|