topsy 0.3.3 → 0.3.4
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/topsy.rb +1 -1
- data/lib/topsy/client.rb +1 -1
- data/lib/topsy/version.rb +1 -1
- metadata +4 -4
data/lib/topsy.rb
CHANGED
@@ -95,7 +95,7 @@ module Topsy
|
|
95
95
|
#
|
96
96
|
# @param [String] q the search query string
|
97
97
|
# @param [Hash] options method options
|
98
|
-
# @option options [Symbol] :window Time window for results. (default: :auto) Options: :auto - automatically pick the most recent and relevant window. :hour last hour, :day last day, :week last week, :month last month, :all all time
|
98
|
+
# @option options [Symbol] :window Time window for results. (default: :auto) Options: :auto - automatically pick the most recent and relevant window. :hour last hour, :day last day, :week last week, :month last month, :realtime, :all all time
|
99
99
|
# @option options [Integer] :page page number of the result set. (default: 1, max: 10)
|
100
100
|
# @option options [Integer] :perpage limit number of results per page. (default: 10, max: 50)
|
101
101
|
# @return [Topsy::Page]
|
data/lib/topsy/client.rb
CHANGED
@@ -3,7 +3,7 @@ module Topsy
|
|
3
3
|
include HTTParty
|
4
4
|
format :json
|
5
5
|
base_uri "http://otter.topsy.com"
|
6
|
-
@@windows = {:all => 'a', :auto => 'auto', :week => 'w', :day => 'd', :month => 'm', :hour => 'h'}
|
6
|
+
@@windows = {:all => 'a', :auto => 'auto', :week => 'w', :day => 'd', :month => 'm', :hour => 'h', :realtime => 'realtime'}
|
7
7
|
|
8
8
|
# Returns info about API rate limiting
|
9
9
|
#
|
data/lib/topsy/version.rb
CHANGED
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: topsy
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 27
|
5
5
|
prerelease: false
|
6
6
|
segments:
|
7
7
|
- 0
|
8
8
|
- 3
|
9
|
-
-
|
10
|
-
version: 0.3.
|
9
|
+
- 4
|
10
|
+
version: 0.3.4
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Wynn Netherland
|
@@ -16,7 +16,7 @@ autorequire:
|
|
16
16
|
bindir: bin
|
17
17
|
cert_chain: []
|
18
18
|
|
19
|
-
date:
|
19
|
+
date: 2011-01-07 00:00:00 -06:00
|
20
20
|
default_executable:
|
21
21
|
dependencies:
|
22
22
|
- !ruby/object:Gem::Dependency
|