Skip to content

Commit

Permalink
travis ready
Browse files Browse the repository at this point in the history
  • Loading branch information
xuanxu committed Aug 2, 2011
1 parent c06f68e commit b5ecd1f
Show file tree
Hide file tree
Showing 5 changed files with 42 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .travis.yml
@@ -0,0 +1,3 @@
rvm:
- 1.9.2
- ruby-head
5 changes: 5 additions & 0 deletions Gemfile
@@ -0,0 +1,5 @@
source :rubygems

gemspec

gem 'rake'
26 changes: 26 additions & 0 deletions Gemfile.lock
@@ -0,0 +1,26 @@
PATH
remote: .
specs:
random_sources (1.0)

GEM
remote: http://rubygems.org/
specs:
diff-lcs (1.1.2)
rake (0.9.2)
rspec (2.6.0)
rspec-core (~> 2.6.0)
rspec-expectations (~> 2.6.0)
rspec-mocks (~> 2.6.0)
rspec-core (2.6.4)
rspec-expectations (2.6.0)
diff-lcs (~> 1.1.2)
rspec-mocks (2.6.0)

PLATFORMS
ruby

DEPENDENCIES
rake
random_sources!
rspec (>= 2.5.0)
7 changes: 7 additions & 0 deletions Rakefile
@@ -0,0 +1,7 @@
require 'bundler'
require 'rspec/core/rake_task'

Bundler::GemHelper.install_tasks

RSpec::Core::RakeTask.new(:spec)
task :default => :spec
2 changes: 1 addition & 1 deletion random_sources.gemspec
Expand Up @@ -17,5 +17,5 @@ Gem::Specification.new do |gem|

gem.files = %w(MIT-LICENSE.txt README.rdoc) + Dir.glob("{spec,lib/**/*}") & `git ls-files -z`.split("\0")
gem.require_paths = ["lib"]
gem.add_development_dependency("rspec")
gem.add_development_dependency("rspec", ">=2.5.0")
end

0 comments on commit b5ecd1f

Please sign in to comment.