lib/rspec/expectations/version.rb in rspec-expectations-2.0.0.a6 vs lib/rspec/expectations/version.rb in rspec-expectations-2.0.0.a7

- old
+ new

@@ -1,16 +1,7 @@ module Rspec # :nodoc: module Expectations # :nodoc: module Version # :nodoc: - unless defined?(MAJOR) - MAJOR = 2 - MINOR = 0 - TINY = 0 - PRE = 'a6' - - STRING = [MAJOR, MINOR, TINY, PRE].compact.join('.') - - SUMMARY = "rspec-expectations " + STRING - end + STRING = File.read(File.expand_path('../../../../VERSION', __FILE__)) end end end