pjdavis-twitter 0.3.8 → 0.3.9
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.txt +8 -0
- data/lib/twitter/search.rb +5 -0
- data/lib/twitter/version.rb +1 -1
- data/spec/search_spec.rb +5 -1
- data/twitter.gemspec +1 -1
- metadata +1 -1
data/History.txt
CHANGED
@@ -1,3 +1,11 @@
|
|
1
|
+
0.3.9 - December 19, 2008
|
2
|
+
* Added page functionality for the rpp, letting you specify which page of a query to get back.
|
3
|
+
* Fixed an error in the search specfile.
|
4
|
+
|
5
|
+
0.3.8 - October 03, 2008
|
6
|
+
* added filter option to search, letting you specify options to filter by (i.e. links).
|
7
|
+
* fixed issue where Fetch would overwrite the @query[:q] array with a string, raising an undefined method error.
|
8
|
+
|
1
9
|
0.3.7 - August 26, 2008
|
2
10
|
* Fixed source param not getting through
|
3
11
|
|
data/lib/twitter/search.rb
CHANGED
data/lib/twitter/version.rb
CHANGED
data/spec/search_spec.rb
CHANGED
@@ -38,7 +38,7 @@ describe Twitter::Search do
|
|
38
38
|
end
|
39
39
|
|
40
40
|
it "should be able to specify filters" do
|
41
|
-
@search.filter('links').query[:q].should include
|
41
|
+
@search.filter('links').query[:q].should include('filter:links')
|
42
42
|
end
|
43
43
|
|
44
44
|
it "should be able to specify hashed" do
|
@@ -53,6 +53,10 @@ describe Twitter::Search do
|
|
53
53
|
@search.per_page(25).query[:rpp].should == 25
|
54
54
|
end
|
55
55
|
|
56
|
+
it "should be able to specify the page of the returned results" do
|
57
|
+
@search.page(2).query[:page].should == 2
|
58
|
+
end
|
59
|
+
|
56
60
|
it "should be able to specify only returning results greater than an id" do
|
57
61
|
@search.since(1234).query[:since_id].should == 1234
|
58
62
|
end
|
data/twitter.gemspec
CHANGED