From 2986ce1193cee17d4adc4255ac6fad27badaf6ce Mon Sep 17 00:00:00 2001 From: David Chelimsky Date: Sun, 21 Feb 2010 13:07:23 -0600 Subject: [PATCH] remove newline from version --- lib/rspec/version.rb | 2 +- rspec.gemspec | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/lib/rspec/version.rb b/lib/rspec/version.rb index 6b7e5b4c..dbe52a17 100644 --- a/lib/rspec/version.rb +++ b/lib/rspec/version.rb @@ -1,5 +1,5 @@ module Rspec # :nodoc: module Version # :nodoc: - STRING = File.read(File.expand_path('../../../VERSION', __FILE__)) + STRING = File.readlines(File.expand_path('../../../VERSION', __FILE__)).first end end diff --git a/rspec.gemspec b/rspec.gemspec index cd3eec21..8bf62be9 100644 --- a/rspec.gemspec +++ b/rspec.gemspec @@ -9,7 +9,7 @@ Gem::Specification.new do |s| s.required_rubygems_version = Gem::Requirement.new("> 1.3.1") if s.respond_to? :required_rubygems_version= s.authors = ["David Chelimsky", "Chad Humphries"] - s.date = %q{2010-02-20} + s.date = %q{2010-02-21} s.email = %q{dchelimsky@gmail.com;chad.humphries@gmail.com} s.extra_rdoc_files = [ "README.markdown" @@ -29,7 +29,7 @@ Gem::Specification.new do |s| s.rdoc_options = ["--charset=UTF-8"] s.require_paths = ["lib"] s.rubyforge_project = %q{rspec} - s.rubygems_version = %q{1.3.5} + s.rubygems_version = %q{1.3.6} s.summary = %q{pulls in the other rspec gems} if s.respond_to? :specification_version then