1
0
Fork 0
mirror of https://github.com/fog/fog.git synced 2022-11-09 13:51:43 -05:00

Merge pull request #2913 from porridge/fix-coveralls

Fix #2892: "rake travis" fails with can't modify frozen String
This commit is contained in:
Kyle Rames 2014-05-09 07:52:50 -05:00
commit 996a107b58

View file

@ -214,7 +214,7 @@ require "tasks/github_release_task"
Fog::Rake::GithubReleaseTask.new
task :coveralls_push_workaround do
use_coveralls = (Gem::Version.new(RUBY_VERSION) > Gem::Version.new('1.9.2'))
use_coveralls = (Gem::Version.new(String.new(RUBY_VERSION)) > Gem::Version.new('1.9.2'))
if (ENV['COVERAGE'] != 'false') && use_coveralls
require 'coveralls/rake/task'
Coveralls::RakeTask.new