-
Notifications
You must be signed in to change notification settings - Fork 5
/
Rakefile
28 lines (25 loc) · 1.01 KB
/
Rakefile
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
require 'rubygems'
gem 'rspec', '= 1.3.0'
require 'spec/rake/spectask'
desc "Run all specs"
Spec::Rake::SpecTask.new('spec') do |t|
t.spec_files = FileList['spec/**/*.rb']
t.spec_opts = %w(-fs --color)
end
task :default => :spec
begin
require 'jeweler'
Jeweler::Tasks.new do |gemspec|
gemspec.name = "twitter-stream"
gemspec.summary = "Twitter realtime API client"
gemspec.description = "Simple Ruby client library for twitter streaming API. Uses EventMachine for connection handling. Adheres to twitter's reconnection guidline. JSON format only."
gemspec.email = "voloko@gmail.com"
gemspec.homepage = "http://github.com/voloko/twitter-stream"
gemspec.authors = ["Vladimir Kolesnikov"]
gemspec.add_dependency("eventmachine", [">= 0.12.8"])
gemspec.add_dependency("roauth", [">= 0.0.2"])
gemspec.add_development_dependency("rspec", [">= 1.2.8"])
end
rescue LoadError
puts "Jeweler not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com"
end