Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
0 parents
commit 6049ad4
Showing
24 changed files
with
606 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
pkg | ||
doc | ||
.DS_Store | ||
tmp | ||
*.log | ||
.test-result |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
== 0.0.1 2009-05-01 | ||
|
||
* 1 major enhancement: | ||
* Initial release |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,44 @@ | ||
History.txt | ||
Manifest.txt | ||
PostInstall.txt | ||
README.rdoc | ||
Rakefile | ||
bin/tweet-tail | ||
features/command_line_app.feature | ||
features/development.feature | ||
features/step_definitions/common_steps.rb | ||
features/step_definitions/twitter_data_steps.rb | ||
features/support/common.rb | ||
features/support/env.rb | ||
features/support/matchers.rb | ||
lib/tweet-tail.rb | ||
lib/tweet-tail/cli.rb | ||
script/console | ||
script/destroy | ||
script/generate | ||
test/fixtures/search-jaoo.html | ||
test/fixtures/search-jaoo_files/Photo_24_normal.jpg | ||
test/fixtures/search-jaoo_files/Picture_2_normal.png | ||
test/fixtures/search-jaoo_files/Steve_Hayes_Thumbnail_normal.jpg | ||
test/fixtures/search-jaoo_files/c_all.js | ||
test/fixtures/search-jaoo_files/charlie_normal.jpg | ||
test/fixtures/search-jaoo_files/expanding.gif | ||
test/fixtures/search-jaoo_files/ga.js | ||
test/fixtures/search-jaoo_files/gnome_normal.jpg | ||
test/fixtures/search-jaoo_files/jquery-latest.txt | ||
test/fixtures/search-jaoo_files/krab_60x60_normal.jpg | ||
test/fixtures/search-jaoo_files/luke_g_normal.jpg | ||
test/fixtures/search-jaoo_files/portraetminineu_normal.jpg | ||
test/fixtures/search-jaoo_files/rmk_manga2_normal.jpg | ||
test/fixtures/search-jaoo_files/rss.png | ||
test/fixtures/search-jaoo_files/search_search.css | ||
test/fixtures/search-jaoo_files/thread.png | ||
test/fixtures/search-jaoo_files/thread_002.png | ||
test/fixtures/search-jaoo_files/twitjaoo_normal.jpg | ||
test/fixtures/search-jaoo_files/twitter-logo-small.png | ||
test/fixtures/search-jaoo_files/twitter.css | ||
test/fixtures/search-jaoo_files/twitter.png | ||
test/fixtures/search.atom | ||
test/test_helper.rb | ||
test/test_tweet-tail.rb | ||
test/test_tweet-tail_cli.rb |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
|
||
For more information on tweet-tail, see http://tweet-tail.rubyforge.org | ||
|
||
NOTE: Change this information in PostInstall.txt | ||
You can also delete it if you don't want it. | ||
|
||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,48 @@ | ||
= tweet-tail | ||
|
||
* http://github.com/drnic/tweet-tail | ||
|
||
== DESCRIPTION: | ||
|
||
FIX (describe your package) | ||
|
||
== FEATURES/PROBLEMS: | ||
|
||
* FIX (list of features or problems) | ||
|
||
== SYNOPSIS: | ||
|
||
FIX (code sample of usage) | ||
|
||
== REQUIREMENTS: | ||
|
||
* FIX (list of requirements) | ||
|
||
== INSTALL: | ||
|
||
* FIX (sudo gem install, anything else) | ||
|
||
== LICENSE: | ||
|
||
(The MIT License) | ||
|
||
Copyright (c) 2009 FIXME full name | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining | ||
a copy of this software and associated documentation files (the | ||
'Software'), to deal in the Software without restriction, including | ||
without limitation the rights to use, copy, modify, merge, publish, | ||
distribute, sublicense, and/or sell copies of the Software, and to | ||
permit persons to whom the Software is furnished to do so, subject to | ||
the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be | ||
included in all copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED 'AS IS', WITHOUT WARRANTY OF ANY KIND, | ||
EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF | ||
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. | ||
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY | ||
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, | ||
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE | ||
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,29 @@ | ||
require 'rubygems' unless ENV['NO_RUBYGEMS'] | ||
%w[rake rake/clean fileutils newgem rubigen].each { |f| require f } | ||
require File.dirname(__FILE__) + '/lib/tweet-tail' | ||
|
||
# Generate all the Rake tasks | ||
# Run 'rake -T' to see list of generated tasks (from gem root directory) | ||
$hoe = Hoe.new('tweet-tail', TweetTail::VERSION) do |p| | ||
p.developer('Dr Nic', 'drnicwilliams@gmail.com') | ||
p.changes = p.paragraphs_of("History.txt", 0..1).join("\n\n") | ||
p.post_install_message = 'PostInstall.txt' # TODO remove if post-install message not required | ||
p.rubyforge_name = p.name # TODO this is default value | ||
# p.extra_deps = [ | ||
# ['activesupport','>= 2.0.2'], | ||
# ] | ||
p.extra_dev_deps = [ | ||
['newgem', ">= #{::Newgem::VERSION}"] | ||
] | ||
|
||
p.clean_globs |= %w[**/.DS_Store tmp *.log] | ||
path = (p.rubyforge_name == p.name) ? p.rubyforge_name : "\#{p.rubyforge_name}/\#{p.name}" | ||
p.remote_rdoc_dir = File.join(path.gsub(/^#{p.rubyforge_name}\/?/,''), 'rdoc') | ||
p.rsync_args = '-av --delete --ignore-errors' | ||
end | ||
|
||
require 'newgem/tasks' # load /tasks/*.rake | ||
Dir['tasks/**/*.rake'].each { |t| load t } | ||
|
||
# TODO - want other tests/tasks run by default? Add them to the list | ||
# task :default => [:spec, :features] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#!/usr/bin/env ruby | ||
# | ||
# Created on 2009-5-1. | ||
# Copyright (c) 2009. All rights reserved. | ||
|
||
require File.expand_path(File.dirname(__FILE__) + "/../lib/tweet-tail") | ||
|
||
require "tweet-tail/cli" | ||
|
||
TweetTail::CLI.execute(STDOUT, ARGV) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
Feature: Live twitter search results on command line | ||
In order to reduce cost of getting live search results | ||
As a twitter user | ||
I want twitter search results appearing in the console | ||
|
||
Scenario: Display current search results | ||
Given a safe folder | ||
And twitter has some search results for "jaoo" | ||
When I run local executable "tweet-tail" with arguments "jaoo" | ||
Then I should see | ||
""" | ||
mattnhodges: Come speak with me at JAOO next week - http://jaoo.dk/ | ||
Steve_Hayes: @VenessaP I think they went out for noodles. #jaoo | ||
theRMK: Come speak with Matt at JAOO next week | ||
drnic: reading my own abstract for JAOO presentation | ||
""" | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
Feature: Development processes of newgem itself (rake tasks) | ||
|
||
As a Newgem maintainer or contributor | ||
I want rake tasks to maintain and release the gem | ||
So that I can spend time on the tests and code, and not excessive time on maintenance processes | ||
|
||
Scenario: Generate RubyGem | ||
Given this project is active project folder | ||
And "pkg" folder is deleted | ||
When I invoke task "rake gem" | ||
Then folder "pkg" is created | ||
And file with name matching "pkg/*.gem" is created else you should run "rake manifest" to fix this | ||
And gem spec key "rdoc_options" contains /--mainREADME.rdoc/ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,56 @@ | ||
{ | ||
"results": [ | ||
{ | ||
"text": "reading my own abstract for JAOO presentation", | ||
"to_user_id": null, | ||
"from_user": "drnic", | ||
"id": 1666627310, | ||
"from_user_id": 5075, | ||
"iso_language_code": "en", | ||
"source": "<a href="http:\/\/iconfactory.com\/software\/twitterrific">twitterrific<\/a>", | ||
"profile_image_url": "http:\/\/s3.amazonaws.com\/twitter_production\/profile_images\/55631479\/Photo_24_normal.jpg", | ||
"created_at": "Fri, 01 May 2009 04:45:42 +0000" | ||
}, | ||
{ | ||
"text": "Come speak with Matt at JAOO next week", | ||
"to_user_id": null, | ||
"from_user": "theRMK", | ||
"id": 1666334207, | ||
"from_user_id": 8783115, | ||
"iso_language_code": "en", | ||
"source": "<a href="http:\/\/83degrees.com\/to\/powertwitter">Power Twitter<\/a>", | ||
"profile_image_url": "http:\/\/s3.amazonaws.com\/twitter_production\/profile_images\/110356397\/rmk_manga2_normal.jpg", | ||
"created_at": "Fri, 01 May 2009 04:01:38 +0000" | ||
}, | ||
{ | ||
"text": "@VenessaP I think they went out for noodles. #jaoo", | ||
"to_user_id": 102294, | ||
"to_user": "VenessaP", | ||
"from_user": "Steve_Hayes", | ||
"id": 1666166639, | ||
"from_user_id": 3169244, | ||
"iso_language_code": "en", | ||
"source": "<a href="http:\/\/www.atebits.com\/">Tweetie<\/a>", | ||
"profile_image_url": "http:\/\/s3.amazonaws.com\/twitter_production\/profile_images\/68791310\/Steve_Hayes_Thumbnail_normal.jpg", | ||
"created_at": "Fri, 01 May 2009 03:38:48 +0000" | ||
}, | ||
{ | ||
"text": "Come speak with me at JAOO next week - http:\/\/jaoo.dk\/", | ||
"to_user_id": null, | ||
"from_user": "mattnhodges", | ||
"id": 1664823944, | ||
"from_user_id": 503163, | ||
"iso_language_code": "en", | ||
"source": "<a href="http:\/\/desktop.seesmic.com\/">Seesmic Desktop<\/a>", | ||
"profile_image_url": "http:\/\/s3.amazonaws.com\/twitter_production\/profile_images\/86466627\/Picture_2_normal.png", | ||
"created_at": "Fri, 01 May 2009 01:06:48 +0000" | ||
}], | ||
"since_id": 0, | ||
"max_id": 1682666650, | ||
"refresh_url": "?since_id=1682666650&q=jaoo", | ||
"results_per_page": 15, | ||
"next_page": "?page=2&max_id=1682666650&q=jaoo", | ||
"completed_in": 0.03198, | ||
"page": 1, | ||
"query": "jaoo" | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
{ | ||
"results": [ | ||
{ | ||
"text": "reading my own abstract for JAOO presentation", | ||
"from_user": "drnic", | ||
"id": 1666627310, | ||
}, | ||
{ | ||
"text": "Come speak with Matt at JAOO next week", | ||
"from_user": "theRMK", | ||
"id": 1666334207, | ||
}, | ||
{ | ||
"text": "@VenessaP I think they went out for noodles. #jaoo", | ||
"to_user": "VenessaP", | ||
"from_user": "Steve_Hayes", | ||
}, | ||
{ | ||
"text": "Come speak with me at JAOO next week - http:\/\/jaoo.dk\/", | ||
"from_user": "mattnhodges", | ||
"id": 1664823944, | ||
}], | ||
"refresh_url": "?since_id=1682666650&q=jaoo", | ||
"results_per_page": 15, | ||
"next_page": "?page=2&max_id=1682666650&q=jaoo" | ||
} |
Oops, something went wrong.