public
Rubygem
Fork of jnunemaker/twitter
Description: command line twits and an api wrapper for twitter
Homepage: http://twitter.rubyforge.org/
Clone URL: git://github.com/technoweenie/twitter.git
setup tests to actually run, looking in ENV['HOME']/.twitter for your auth 
info, and configuring the right test globs for hoe
rick (author)
Sun Apr 27 10:38:24 -0700 2008
commit  d0e49e04d52832b8af022854881449675a6e3f41
tree    050e38a87f583ea8b2288ba3baf206eb334e686c
parent  2ef6c3e7280b64d5d4a956ca245e631b126001b0
...
1
2
3
 
 
 
 
 
 
4
5
...
1
2
3
4
5
6
7
8
9
10
11
0
@@ -1,4 +1,10 @@
0
 require 'config/requirements'
0
 require 'config/hoe' # setup Hoe + all gem configuration
0
 
0
+Hoe.new "twitter", "0.2.6" do |p|
0
+ p.author = "John Nunemaker"
0
+ p.email = 'jnunemaker@whatevs.com'
0
+ p.test_globs << "test/**/*_test.rb"
0
+end
0
+
0
 Dir['tasks/**/*.rake'].each { |rake| load rake }
0
\ No newline at end of file
...
1
2
 
3
4
 
 
5
6
7
...
18
19
20
21
22
 
23
...
1
 
2
3
4
5
6
7
8
9
...
20
21
22
 
23
24
25
0
@@ -1,7 +1,9 @@
0
 require 'test/unit'
0
-require File.dirname(__FILE__) + '/../lib/twitter'
0
+require 'rubygems'
0
 require 'mocha'
0
 require 'stubba'
0
+$LOAD_PATH.unshift File.dirname(__FILE__) + '/../lib'
0
+require 'twitter'
0
 
0
 class << Test::Unit::TestCase
0
   def test(name, &block)
0
@@ -18,4 +20,4 @@ class << Test::Unit::TestCase
0
 end
0
 
0
 # load config
0
-CONFIG = YAML::load(open('/Users/nunemaker/.twitter'))
0
\ No newline at end of file
0
+CONFIG = YAML::load(open("#{ENV['HOME']}/.twitter"))
0
\ No newline at end of file

Comments

    No one has commented yet.