Permalink
Browse files

Set up Rakefile, RSpec and Travis CI

  • Loading branch information...
1 parent 607d9cb commit e30ae128d7830342214a7d74e473f678b7b429cc @programble programble committed Jul 7, 2012
Showing with 36 additions and 0 deletions.
  1. +1 −0 .rspec
  2. +8 −0 .travis.yml
  3. +3 −0 Gemfile
  4. +12 −0 Gemfile.lock
  5. +10 −0 Rakefile
  6. +2 −0 spec/spec_helper.rb
View
1 .rspec
@@ -0,0 +1 @@
+--color --require spec_helper
View
@@ -0,0 +1,8 @@
+language: ruby
+rvm:
+ - rbx-18mode
+ - rbx-19mode
+
+notifications:
+ webhooks:
+ - http://rcmp.tenthbit.net/
View
@@ -1,5 +1,8 @@
source :rubygems
group :development do
+ gem "rake", "~> 0.9.0"
+ gem "rspec", "~> 2.10.0"
+
gem "rexpl"
end
View
@@ -2,11 +2,23 @@ GEM
remote: http://rubygems.org/
specs:
ansi (1.4.3)
+ diff-lcs (1.1.3)
+ rake (0.9.2.2)
rexpl (0.0.1)
ansi
+ rspec (2.10.0)
+ rspec-core (~> 2.10.0)
+ rspec-expectations (~> 2.10.0)
+ rspec-mocks (~> 2.10.0)
+ rspec-core (2.10.1)
+ rspec-expectations (2.10.0)
+ diff-lcs (~> 1.1.3)
+ rspec-mocks (2.10.1)
PLATFORMS
ruby
DEPENDENCIES
+ rake (~> 0.9.0)
rexpl
+ rspec (~> 2.10.0)
View
@@ -0,0 +1,10 @@
+require 'bundler/setup'
+require 'bundler/gem_tasks'
+require 'rspec/core'
+require 'rspec/core/rake_task'
+
+RSpec::Core::RakeTask.new(:spec) do |spec|
+ spec.pattern = FileList['spec/**/*_spec.rb']
+end
+
+task :default => :spec
View
@@ -0,0 +1,2 @@
+require 'bundler/setup'
+require 'rspec'

0 comments on commit e30ae12

Please sign in to comment.