Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

- Prepare for 1.2.4 release

git-svn-id: http://svn.caldersphere.net/svn/main/rubyforge/ci_reporter/trunk@89 b03c2d0b-2f10-0410-a2f9-fc8001506dfa
  • Loading branch information...
commit 674e745659b8021b3e617a1a87e9bd1f48f6a69e 1 parent 30bfbbb
@nicksieger nicksieger authored
Showing with 13 additions and 1 deletion.
  1. +5 −0 History.txt
  2. +2 −0  README.txt
  3. +6 −1 lib/ci/reporter/rspec.rb
View
5 History.txt
@@ -1,3 +1,8 @@
+== 1.2.4
+
+- Allow to report on RSpec specs when working with non-gem RSpec
+- Note: CI::Reporter is only compatible with RSpec up to 0.8.2
+
== 1.2.3
- Append to TESTOPTS and RSPECOPTS environment variables (Bret Pettichord) so that other apps can put values
View
2  README.txt
@@ -4,6 +4,8 @@ CI::Reporter is an add-on to Test::Unit and RSpec that allows you to generate XM
CI::Reporter has one required dependency on Builder, but since many will have a viable version of Builder via Rails' ActiveSupport gem, Builder is not a direct dependency of the project at the moment. Instead, ensure that you have either the +builder+ or +activesupport+ gem installed before continuing.
+*NOTE*: As of this release, CI::Reporter is only compatible with RSpec up through version 0.8.2. The 0.9 series has introduced an incompatibility that has not been rectified yet.
+
== Installation
CI::Reporter is available as a gem. To install the gem, use the usual gem command:
View
7 lib/ci/reporter/rspec.rb
@@ -3,7 +3,12 @@
# software license details.
require 'ci/reporter/core'
-gem 'rspec'
+begin
+ gem 'rspec'
+rescue Gem::LoadError
+ # Needed for non-gem RSpec (e.g., reporting on RSpec's own specs);
+ # if spec isn't found, the next require will blow up
+end
require 'spec'
module CI
Please sign in to comment.
Something went wrong with that request. Please try again.