Skip to content

Commit

Permalink
Add WWTD gem to test both RSpec ~> 2.9 and RSpec ~> 3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
twe4ked committed Jun 27, 2014
1 parent 779b727 commit 91d9031
Show file tree
Hide file tree
Showing 6 changed files with 22 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
Gemfile.lock
pkg
gemfiles/*.lock
4 changes: 4 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
gemfile:
- gemfiles/rspec29.gemfile
- gemfiles/rspec3.gemfile
script: 'bundle exec rake spec'
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,4 +5,5 @@ gemspec
group :development, :test do
gem 'rake'
gem 'rspec'
gem 'wwtd'
end
3 changes: 2 additions & 1 deletion Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,8 @@

require 'bundler/gem_tasks'
require 'rspec/core/rake_task'
require 'wwtd/tasks'

RSpec::Core::RakeTask.new(:spec)

task :default => :spec
task :default => :wwtd
7 changes: 7 additions & 0 deletions gemfiles/rspec29.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
source 'https://rubygems.org'

gem 'rake'
gem 'wwtd'

gem 'terminal-notifier', '~> 1.4.2'
gem 'rspec', '~> 2.9'
7 changes: 7 additions & 0 deletions gemfiles/rspec3.gemfile
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
source 'https://rubygems.org'

gem 'rake'
gem 'wwtd'

gem 'terminal-notifier', '~> 1.4.2'
gem 'rspec', '~> 3.0'

0 comments on commit 91d9031

Please sign in to comment.