twitterland 0.2.0 → 0.2.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/README.markdown CHANGED
@@ -137,6 +137,23 @@ Including:
137
137
  Twitterland::TweetBlocker.rate_limit
138
138
 
139
139
  => <Mash hourly_limit=100 remaining_hits=100 reset_time="2009-08-11 23:12:41 UTC" reset_time_in_seconds=2746>
140
+
141
+ ### BackTweets
142
+
143
+ Get your api_key at [http://www.backtype.com/developers](http://www.backtype.com/developers)
144
+
145
+ #### Search
146
+ # Return tweet referencing a URL
147
+ results = Twitterland::BackTweets.search('http://squeejee.com', 'OU812')
148
+ results.tweets.size
149
+ => 25
150
+ results.tweets.first.from_user
151
+ => "euromarianne"
152
+ results.items_per_page
153
+ => 25
154
+ results.total_results
155
+ => 3301
156
+
140
157
 
141
158
  ### Source
142
159
  [http://github.com/squeejee/twitterland/](http://github.com/squeejee/twitterland/)
@@ -147,5 +164,3 @@ Including:
147
164
  ### Copyright
148
165
  Copyright (c) 2009 Squeejee. See LICENSE for details.
149
166
 
150
-
151
-
data/VERSION.yml CHANGED
@@ -1,4 +1,4 @@
1
1
  ---
2
- :patch: 0
2
+ :patch: 1
3
3
  :major: 0
4
4
  :minor: 2
@@ -8,7 +8,7 @@ module Twitterland
8
8
  #
9
9
  # Twitterland::TweetBlocker.user('bradleyjoyce')
10
10
  def self.user(username)
11
- @result ||= Mash.new(self.get("/username/#{username}.json")).user
11
+ Mash.new(self.get("/username/#{username}.json")).user
12
12
  end
13
13
 
14
14
  # Report user as spammer
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.2.0
4
+ version: 0.2.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Wynn Netherland