lib/rspec/expectations/version.rb in rspec-expectations-2.0.0.a7 vs lib/rspec/expectations/version.rb in rspec-expectations-2.0.0.a8
- old
+ new
@@ -1,7 +1,7 @@
module Rspec # :nodoc:
module Expectations # :nodoc:
module Version # :nodoc:
- STRING = File.read(File.expand_path('../../../../VERSION', __FILE__))
+ STRING = File.readlines(File.expand_path('../../../../VERSION', __FILE__)).first
end
end
end