sinatra-twitter-oauth 0.0.2 → 0.0.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/VERSION +1 -1
- data/lib/sinatra-twitter-oauth/twitter_oauth_ext.rb +8 -0
- data/sinatra-twitter-oauth.gemspec +2 -2
- metadata +2 -2
data/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
0.0.
|
|
1
|
+
0.0.3
|
|
@@ -12,6 +12,14 @@ module TwitterOAuth
|
|
|
12
12
|
self.info = info
|
|
13
13
|
end
|
|
14
14
|
|
|
15
|
+
#updates the user's status
|
|
16
|
+
# msg -- message to update to
|
|
17
|
+
# opts additional options eg lat,long
|
|
18
|
+
|
|
19
|
+
def update_status msg, opts={}
|
|
20
|
+
client.update msg, opts
|
|
21
|
+
end
|
|
22
|
+
|
|
15
23
|
def lists
|
|
16
24
|
client.get_lists(screen_name)['lists'].map {|list| List.new client, list}
|
|
17
25
|
end
|
|
@@ -5,11 +5,11 @@
|
|
|
5
5
|
|
|
6
6
|
Gem::Specification.new do |s|
|
|
7
7
|
s.name = %q{sinatra-twitter-oauth}
|
|
8
|
-
s.version = "0.0.
|
|
8
|
+
s.version = "0.0.3"
|
|
9
9
|
|
|
10
10
|
s.required_rubygems_version = Gem::Requirement.new(">= 0") if s.respond_to? :required_rubygems_version=
|
|
11
11
|
s.authors = ["Nick Howard"]
|
|
12
|
-
s.date = %q{2010-03-
|
|
12
|
+
s.date = %q{2010-03-12}
|
|
13
13
|
s.description = %q{A Sinatra Extension that simplifies using twitter for login and authentication.}
|
|
14
14
|
s.email = %q{ndh@baroquebobcat.com}
|
|
15
15
|
s.extra_rdoc_files = [
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: sinatra-twitter-oauth
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.0.
|
|
4
|
+
version: 0.0.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Nick Howard
|
|
@@ -9,7 +9,7 @@ autorequire:
|
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
11
|
|
|
12
|
-
date: 2010-03-
|
|
12
|
+
date: 2010-03-12 00:00:00 -07:00
|
|
13
13
|
default_executable:
|
|
14
14
|
dependencies:
|
|
15
15
|
- !ruby/object:Gem::Dependency
|