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 CHANGED
@@ -1,3 +1,4 @@
1
+ 0.4.3 - Applied patch from seboslaw for BackTweets paging params
1
2
  0.4.2 - Added support for Zutual http://zutual.com
2
3
  0.4.1 - Added Auto Follow Friday support http://autoff.com
3
4
  0.4.0 - Added TweetMeme and Foller.me support
@@ -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
 
@@ -1,5 +1,5 @@
1
1
  ---
2
- :patch: 2
2
+ :patch: 3
3
3
  :major: 0
4
4
  :build:
5
5
  :minor: 4
@@ -4,7 +4,7 @@ require 'rubygems'
4
4
  gem 'mash', '0.0.3'
5
5
  require 'mash'
6
6
 
7
- gem 'httparty', '0.4.3'
7
+ gem 'httparty', '0.4.5'
8
8
  require 'httparty'
9
9
 
10
10
  module Twitterland
@@ -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
- rubyize_response(Mash.new(get("/search.json", :query => {:q => q, :key => api_key})))
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.2
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-13 00:00:00 -06:00
14
+ date: 2009-12-31 00:00:00 -06:00
15
15
  default_executable:
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency