tweetabout 0.0.3 → 0.0.4

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.md CHANGED
@@ -10,11 +10,11 @@ The words are are ordered list of the most frequently tweeted words based on the
10
10
 
11
11
  ## Installation
12
12
 
13
- `gem install tweetabout`
13
+ gem install tweetabout
14
14
 
15
15
  ### Gemfile
16
16
 
17
- `gem 'tweetabout'`
17
+ gem "tweetabout", "~> 0.0.3"
18
18
 
19
19
  ### Dependencies
20
20
 
@@ -22,9 +22,12 @@ The words are are ordered list of the most frequently tweeted words based on the
22
22
 
23
23
  ## TODO
24
24
 
25
- * Better test coverage. Actually this a reqiorement before using this gem in production. And I know I am a bad Rubyist for this but I promise to get better.
26
-
27
- * Make this Gem useful. Right now it returns a list of all words, it might be interesting to strip out articles and pronouns from the list, that might actually give you an interesting insight into a person's interests.
25
+ * Test coverage. Actually this a requirement before using this gem in production. And I know I am a bad Rubyist for not writing tests first but I promise to get better.
26
+ * Make this Gem useful. Right now it returns a list of all words, it might be interesting to strip out articles and pronouns from the list, that might actually give you an interesting insight into a person's interests.
27
+ * More accurate response messages. Currently empty arrays get returned for three reasons:
28
+ 1. Twitter api is down (404)
29
+ 2. User does not exist (404)
30
+ 3. Client has exceeded API limit (400). This happens when > 150 requests are made within an hour.
28
31
 
29
32
  ##Twitter API
30
33
 
data/lib/tweetabout.rb CHANGED
@@ -1,7 +1,7 @@
1
1
  require "tweetabout/version"
2
2
  require "httparty"
3
3
 
4
- module Tweetabout
4
+ module TweetAbout
5
5
  def self.tweetabout(user)
6
6
  get_tweets(user)
7
7
 
@@ -1,3 +1,3 @@
1
1
  module Tweetabout
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tweetabout
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  prerelease:
6
6
  platform: ruby
7
7
  authors: