Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

add bundler tasks to Rakefile

  • Loading branch information...
commit acbc833f0ffbfb75a75b59f40c42de1c2fea206a 1 parent caa3168
Steve Agalloco spagalloco authored

Showing 1 changed file with 5 additions and 21 deletions. Show diff stats Hide diff stats

  1. +5 21 Rakefile
26 Rakefile
... ... @@ -1,28 +1,12 @@
1 1 require 'rubygems'
2 2
  3 +require 'bundler'
  4 +Bundler::GemHelper.install_tasks
  5 +
3 6 gem 'rspec', '>= 2.5.0'
4 7 require 'rspec/core/rake_task'
5 8
6 9 desc "Run all specs"
7   -RSpec::Core::RakeTask.new(:spec) do |t|
8   - # t.spec_files = FileList['spec/**/*.rb']
9   - t.rspec_opts = %w(-fs --color)
10   -end
  10 +RSpec::Core::RakeTask.new(:spec)
11 11 task :default => :spec
12   -
13   -begin
14   - require 'jeweler'
15   - Jeweler::Tasks.new do |gemspec|
16   - gemspec.name = "twitter-stream"
17   - gemspec.summary = "Twitter realtime API client"
18   - gemspec.description = "Simple Ruby client library for twitter streaming API. Uses EventMachine for connection handling. Adheres to twitter's reconnection guidline. JSON format only."
19   - gemspec.email = "voloko@gmail.com"
20   - gemspec.homepage = "http://github.com/voloko/twitter-stream"
21   - gemspec.authors = ["Vladimir Kolesnikov"]
22   - gemspec.add_dependency("eventmachine", [">= 0.12.8"])
23   - gemspec.add_dependency("roauth", [">= 0.0.2"])
24   - gemspec.add_development_dependency("rspec", [">= 1.2.8"])
25   - end
26   -rescue LoadError
27   - puts "Jeweler not available. Install it with: sudo gem install technicalpickles-jeweler -s http://gems.github.com"
28   -end
  12 +task :test => :spec

0 comments on commit acbc833

Please sign in to comment.
Something went wrong with that request. Please try again.