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:
commit
996a107b58
1 changed files with 1 additions and 1 deletions
2
Rakefile
2
Rakefile
|
@ -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
|
||||
|
|
Loading…
Add table
Reference in a new issue