twitterscour 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/test/tc_tweets.rb CHANGED
@@ -42,10 +42,10 @@ class TwitterScourTest < Test::Unit::TestCase #:nodoc: all
42
42
  assert_not_nil tweets
43
43
  assert_equal 40, tweets.length
44
44
  [tweets[1], tweets[21]].each do |t|
45
- assert_equal "Yeah #Giants! Good pitching always beats good hitting. Finally a team I like wins the world series, first time since the 05 White Sox", t.text
45
+ assert_equal "Got something working this AM that I spent all afternoon yesterday trying to figure out, and I didn't change anything...", t.text
46
46
  assert_equal "sowersb", t.author_name
47
- assert_equal "http://a3.twimg.com/profile_images/1084691799/Brent-sm_mini.jpg", t.author_pic
48
- assert_equal Time.gm(2010,11,2,2,34,3).getlocal, t.time
47
+ assert_equal "http://a0.twimg.com/profile_images/1420695224/Snapshot_of_me_1_normal.jpg", t.author_pic
48
+ assert(t.time >= Time.now - 86401 && t.time <= Time.now - 86399, "Now = #{Time.now - 86400}, t time = #{t.time}")
49
49
  assert_nil t.location
50
50
  end
51
51
  end
metadata CHANGED
@@ -2,7 +2,7 @@
2
2
  name: twitterscour
3
3
  version: !ruby/object:Gem::Version
4
4
  prerelease:
5
- version: 0.2.0
5
+ version: 0.2.1
6
6
  platform: ruby
7
7
  authors:
8
8
  - Brent Sowers
@@ -10,8 +10,7 @@ autorequire:
10
10
  bindir: bin
11
11
  cert_chain: []
12
12
 
13
- date: 2011-07-28 00:00:00 -04:00
14
- default_executable:
13
+ date: 2011-12-30 00:00:00 Z
15
14
  dependencies:
16
15
  - !ruby/object:Gem::Dependency
17
16
  name: httparty
@@ -65,7 +64,6 @@ files:
65
64
  - test/tc_tweets.rb
66
65
  - History.txt
67
66
  - README
68
- has_rdoc: true
69
67
  homepage: http://coordinatecommons.com/twitterscour/
70
68
  licenses: []
71
69
 
@@ -89,7 +87,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
89
87
  requirements: []
90
88
 
91
89
  rubyforge_project:
92
- rubygems_version: 1.6.2
90
+ rubygems_version: 1.8.7
93
91
  signing_key:
94
92
  specification_version: 3
95
93
  summary: Class for retrieving tweets from Twitter, by user and search term