twitter-stats 0.0.1 → 0.0.2
Sign up to get free protection for your applications and to get access to all the features.
- data/README.md +12 -2
- data/lib/twitter-stats/version.rb +1 -1
- data/twitter-stats.gemspec +1 -1
- metadata +2 -2
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# Twitter::Stats
|
2
2
|
|
3
|
-
|
3
|
+
Retrieves some Twitter stats using Topsy.
|
4
4
|
|
5
5
|
## Installation
|
6
6
|
|
@@ -18,7 +18,17 @@ Or install it yourself as:
|
|
18
18
|
|
19
19
|
## Usage
|
20
20
|
|
21
|
-
|
21
|
+
```bash
|
22
|
+
twitter-stats <username> <keyword> [days_ago]
|
23
|
+
```
|
24
|
+
|
25
|
+
or directly into your code
|
26
|
+
|
27
|
+
```ruby
|
28
|
+
require 'twitter-stats'
|
29
|
+
|
30
|
+
puts Twitter::Stats::Count.new('olistik', 'ruby', 100).value
|
31
|
+
```
|
22
32
|
|
23
33
|
## Contributing
|
24
34
|
|
data/twitter-stats.gemspec
CHANGED
@@ -6,7 +6,7 @@ Gem::Specification.new do |gem|
|
|
6
6
|
gem.email = ["maurizio.demagnis@gmail.com"]
|
7
7
|
gem.description = %q{Makes some stats about twitter usage, using Topsy}
|
8
8
|
gem.summary = %q{Right now it only counts the number of tweets with a specified keyword.}
|
9
|
-
gem.homepage = ""
|
9
|
+
gem.homepage = "https://github.com/olistik/twitter-stats"
|
10
10
|
|
11
11
|
gem.add_dependency 'nokogiri', '~> 1.5.2'
|
12
12
|
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: twitter-stats
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.0.
|
4
|
+
version: 0.0.2
|
5
5
|
prerelease:
|
6
6
|
platform: ruby
|
7
7
|
authors:
|
@@ -44,7 +44,7 @@ files:
|
|
44
44
|
- lib/twitter-stats.rb
|
45
45
|
- lib/twitter-stats/version.rb
|
46
46
|
- twitter-stats.gemspec
|
47
|
-
homepage:
|
47
|
+
homepage: https://github.com/olistik/twitter-stats
|
48
48
|
licenses: []
|
49
49
|
post_install_message:
|
50
50
|
rdoc_options: []
|