twitterland 0.4.2 → 0.4.3
Sign up to get free protection for your applications and to get access to all the features.
- data/History +1 -0
- data/README.markdown +8 -0
- data/VERSION.yml +1 -1
- data/lib/twitterland.rb +1 -1
- data/lib/twitterland/back_tweets.rb +3 -2
- metadata +2 -2
data/History
CHANGED
data/README.markdown
CHANGED
@@ -13,6 +13,7 @@ Including:
|
|
13
13
|
* Thumbfight
|
14
14
|
* TweetMeme
|
15
15
|
* FollerMe
|
16
|
+
* Zutual
|
16
17
|
|
17
18
|
### Install
|
18
19
|
sudo gem install twitterland
|
@@ -187,6 +188,13 @@ Get your api_key at [http://www.backtype.com/developers](http://www.backtype.com
|
|
187
188
|
Twitterland::Autoff.user('mrspengwynn')
|
188
189
|
=> ["treefrogstudios", "legalzoom", "pengwynn", "str8photography", "kriscolvin", "focalpop", "ahhphotography", "digitalps", "mully", "curvezilla"]
|
189
190
|
|
191
|
+
### Zutual
|
192
|
+
|
193
|
+
You can compare what topics any two Twitter users have in common:
|
194
|
+
|
195
|
+
Twitterland::Zutual.match('pengwynn', 'adamstac')
|
196
|
+
=> [<Mash strength=87 topic="google">, <Mash strength=87 topic="interview">, <Mash strength=67 topic="google chrome">, <Mash strength=60 topic="sass">, <Mash strength=52 topic="rsync">, <Mash strength=52 topic="rake">, <Mash strength=47 topic="gemcutter">, <Mash strength=45 topic="facebook">, <Mash strength=42 topic="wordpress deployment">, <Mash strength=42 topic="haml">, <Mash strength=42 topic="github">, <Mash strength=35 topic="dallas">, <Mash strength=32 topic="logo">, <Mash strength=32 topic="village church">, <Mash strength=32 topic="css">, <Mash strength=32 topic="mac">, <Mash strength=22 topic="tv">, <Mash strength=22 topic="fix-me">, <Mash strength=22 topic="dns">, <Mash strength=22 topic="lord">]
|
197
|
+
|
190
198
|
### Source
|
191
199
|
[http://github.com/squeejee/twitterland/](http://github.com/squeejee/twitterland/)
|
192
200
|
|
data/VERSION.yml
CHANGED
data/lib/twitterland.rb
CHANGED
@@ -8,8 +8,9 @@ module Twitterland
|
|
8
8
|
# Get your api_key at http://www.backtype.com/developers
|
9
9
|
#
|
10
10
|
# Twitterland::BackTweets.search('http://squeejee.com', 'OU812')
|
11
|
-
def self.search(q, api_key)
|
12
|
-
|
11
|
+
def self.search(q, api_key, options={})
|
12
|
+
options['itemsperpage'] = options.delete(:items_per_page) if options[:items_per_page]
|
13
|
+
rubyize_response(Mash.new(get("/search.json", :query => {:q => q, :key => api_key}.merge(options))))
|
13
14
|
end
|
14
15
|
|
15
16
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: twitterland
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Wynn Netherland
|
@@ -11,7 +11,7 @@ autorequire:
|
|
11
11
|
bindir: bin
|
12
12
|
cert_chain: []
|
13
13
|
|
14
|
-
date: 2009-12-
|
14
|
+
date: 2009-12-31 00:00:00 -06:00
|
15
15
|
default_executable:
|
16
16
|
dependencies:
|
17
17
|
- !ruby/object:Gem::Dependency
|