mirror of
https://github.com/TracksApp/tracks.git
synced 2025-09-22 05:50:47 +02:00
23 lines
770 B
Ruby
23 lines
770 B
Ruby
module Spec
|
|
module Rails
|
|
module VERSION #:nodoc:
|
|
BUILD_TIME_UTC = 20080615141040
|
|
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
|