public
Rubygem
Description: RSpec's official Ruby on Rails plugin
Clone URL: git://github.com/dchelimsky/rspec-rails.git
btakita (author)
Wed May 21 23:47:38 -0700 2008
commit  a79b21e19d99061b062bf51bb8776000385e336d
tree    fe1c3b61c30fd3e01f139211fbf079d677dc21c8
parent  6a2f1f96d190ec48c4cc9e87168ce30c31609156
rspec-rails / lib / spec / rails / version.rb
100644 24 lines (19 sloc) 0.77 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
module Spec
  module Rails
    module VERSION #:nodoc:
      BUILD_TIME_UTC = 20080522064453
    end
  end
end
 
# Verify that the plugin has the same revision as RSpec
if Spec::Rails::VERSION::BUILD_TIME_UTC != Spec::VERSION::BUILD_TIME_UTC
  raise <<-EOF
 
############################################################################
Your RSpec on Rails plugin is incompatible with your installed RSpec.
 
RSpec : #{Spec::VERSION::BUILD_TIME_UTC}
RSpec on Rails : #{Spec::Rails::VERSION::BUILD_TIME_UTC}
 
Make sure your RSpec on Rails plugin is compatible with your RSpec gem.
See http://rspec.rubyforge.org/documentation/rails/install.html for details.
############################################################################
EOF
end