Skip to content

Commit

Permalink
Preparing for 1.3.4 release
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.caldersphere.net/svn/main/rubyforge/ci_reporter/trunk@121 b03c2d0b-2f10-0410-a2f9-fc8001506dfa
  • Loading branch information
nicksieger committed Aug 22, 2007
1 parent f3f5ca0 commit ddc4c09
Show file tree
Hide file tree
Showing 4 changed files with 18 additions and 12 deletions.
3 changes: 3 additions & 0 deletions History.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,9 @@

- Call #to_s on the object passed in as the test suite name; compatibility fix for RSpec
trunk which passes a Spec::DSL::Description instead of a string
- Fix broken spec due to pending feature introduced in recent RSpec
- Fix compatibility for JRuby
- Add stub.rake file as another way to wrap existing Rakefile

== 1.3.3

Expand Down
7 changes: 1 addition & 6 deletions lib/ci/reporter/rake/rspec_loader.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,5 @@
# See the file LICENSE.txt included with the distribution for
# software license details.

require 'rubygems'
begin
gem 'ci_reporter'
rescue => e
$: << File.dirname(__FILE__) + "/../../../lib"
end
$: << File.dirname(__FILE__) + "/../../../lib"
require 'ci/reporter/rspec'
13 changes: 13 additions & 0 deletions lib/ci/reporter/rake/stub.rake
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
# (c) Copyright 2006-2007 Nick Sieger <nicksieger@gmail.com>
# See the file LICENSE.txt included with the distribution for
# software license details.
#
# Use this stub rakefile as a wrapper around a regular Rakefile. Run in the
# same directory as the real Rakefile.
#
# rake -f /path/to/ci_reporter/lib/ci/reporter/rake/stub.rake ci:setup:rspec default
#

load File.dirname(__FILE__) + '/rspec.rb'
load File.dirname(__FILE__) + '/test_unit.rb'
load 'Rakefile'
7 changes: 1 addition & 6 deletions lib/ci/reporter/rake/test_unit_loader.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,12 +2,7 @@
# See the file LICENSE.txt included with the distribution for
# software license details.

require 'rubygems'
begin
gem 'ci_reporter'
rescue
$: << File.dirname(__FILE__) + "/../../../lib"
end
$: << File.dirname(__FILE__) + "/../../../lib"
require 'ci/reporter/test_unit'

module Test #:nodoc:all
Expand Down

0 comments on commit ddc4c09

Please sign in to comment.