twitterland 0.4.0 → 0.4.1

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 CHANGED
@@ -1,3 +1,5 @@
1
+ 0.4.1 - Added Auto Follow Friday support http://autoff.com
2
+ 0.4.0 - Added TweetMeme and Foller.me support
1
3
  0.3.0 - Added Thumbfight support http://thumbfight.com/ (thanks to Ron Evans) http://deadprogrammersociety.blogspot.com/
2
4
  0.2.0 - Added BackTweets support http://backtweets.com
3
5
  0.1.0 - Added TweetBlocker support http://tweetblocker.com/
data/README.markdown CHANGED
@@ -181,6 +181,12 @@ Get your api_key at [http://www.backtype.com/developers](http://www.backtype.com
181
181
  # Get popular stories
182
182
  popular = Twitterland::TweetMeme::Stories.popular
183
183
 
184
+ ### Auto Follow Friday
185
+
186
+ # get the 10 most recent tweeted-to for #followfriday
187
+ Twitterland::Autoff.user('mrspengwynn')
188
+ => ["treefrogstudios", "legalzoom", "pengwynn", "str8photography", "kriscolvin", "focalpop", "ahhphotography", "digitalps", "mully", "curvezilla"]
189
+
184
190
  ### Source
185
191
  [http://github.com/squeejee/twitterland/](http://github.com/squeejee/twitterland/)
186
192
 
data/VERSION.yml CHANGED
@@ -2,4 +2,4 @@
2
2
  :major: 0
3
3
  :minor: 4
4
4
  :build:
5
- :patch: 0
5
+ :patch: 1
@@ -0,0 +1,12 @@
1
+ module Twitterland
2
+ class Autoff
3
+ include HTTParty
4
+ base_uri 'autoff.com/api'
5
+ format :json
6
+
7
+ def self.user(username)
8
+ get("/#{username}").map{|u| u.gsub('@', '')}
9
+ end
10
+
11
+ end
12
+ end
data/lib/twitterland.rb CHANGED
@@ -43,6 +43,7 @@ end
43
43
 
44
44
  directory = File.expand_path(File.dirname(__FILE__))
45
45
 
46
+ require File.join(directory, 'twitterland', 'autoff')
46
47
  require File.join(directory, 'twitterland', 'foller_me')
47
48
  require File.join(directory, 'twitterland', 'follow_cost')
48
49
  require File.join(directory, 'twitterland', 'twitter_counter')
@@ -0,0 +1 @@
1
+ ["@squeejeeinc","@adamstac","@changelogshow","@web20show","@fontsquirrel","@readernaut","@manikgupta","@nextstopbot","@font","@nextstop"]
File without changes
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.0
4
+ version: 0.4.1
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-11-02 00:00:00 -06:00
14
+ date: 2009-11-29 00:00:00 -06:00
15
15
  default_executable:
16
16
  dependencies:
17
17
  - !ruby/object:Gem::Dependency
@@ -99,6 +99,7 @@ files:
99
99
  - Rakefile
100
100
  - VERSION.yml
101
101
  - lib/twitterland.rb
102
+ - lib/twitterland/autoff.rb
102
103
  - lib/twitterland/back_tweets.rb
103
104
  - lib/twitterland/foller_me.rb
104
105
  - lib/twitterland/follow_cost.rb
@@ -111,6 +112,7 @@ files:
111
112
  - lib/twitterland/twinfluence.rb
112
113
  - lib/twitterland/twitter_counter.rb
113
114
  - lib/twitterland/twitter_grader.rb
115
+ - test/fixtures/autoff.json
114
116
  - test/fixtures/backtweets.json
115
117
  - test/fixtures/foller_me_all.json
116
118
  - test/fixtures/foller_me_hashtags.json
@@ -139,6 +141,7 @@ files:
139
141
  - test/fixtures/twitter_counter.json
140
142
  - test/fixtures/twitter_grader.json
141
143
  - test/test_helper.rb
144
+ - test/twitterland/autoff_test.rb
142
145
  - test/twitterland/back_tweets_test.rb
143
146
  - test/twitterland/foller_me_test.rb
144
147
  - test/twitterland/follow_cost_test.rb
@@ -178,6 +181,7 @@ specification_version: 3
178
181
  summary: wrappers for various twitter apis
179
182
  test_files:
180
183
  - test/test_helper.rb
184
+ - test/twitterland/autoff_test.rb
181
185
  - test/twitterland/back_tweets_test.rb
182
186
  - test/twitterland/foller_me_test.rb
183
187
  - test/twitterland/follow_cost_test.rb