1module Spec
2 module Rails
3 module VERSION #:nodoc:
4 BUILD_TIME_UTC = 20080131122909
5 end
6 end
7end
8
9# Verify that the plugin has the same revision as RSpec
10if Spec::Rails::VERSION::BUILD_TIME_UTC != Spec::VERSION::BUILD_TIME_UTC
11 raise <<-EOF
12
13############################################################################
14Your RSpec on Rails plugin is incompatible with your installed RSpec.
15
16RSpec : #{Spec::VERSION::BUILD_TIME_UTC}
17RSpec on Rails : #{Spec::Rails::VERSION::BUILD_TIME_UTC}
18
19Make sure your RSpec on Rails plugin is compatible with your RSpec gem.
20See http://rspec.rubyforge.org/documentation/rails/install.html for details.
21############################################################################
22EOF
23end