Blob of rspec_on_rails/lib/spec/rails/version.rb (raw blob data)

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