[DRE-commits] [ruby-rspec-expectations] 02/06: force external encoding in specs

Cédric Boutillier boutil at alioth.debian.org
Thu Aug 15 19:58:43 UTC 2013


This is an automated email from the git hooks/post-receive script.

boutil pushed a commit to branch master
in repository ruby-rspec-expectations.

commit a2e8e178d24d739c658f180a89eee3e1c7c35745
Author: Cédric Boutillier <boutil at debian.org>
Date:   Thu Aug 15 19:27:05 2013 +0200

    force external encoding in specs
---
 debian/ruby-tests.rake |    2 ++
 1 file changed, 2 insertions(+)

diff --git a/debian/ruby-tests.rake b/debian/ruby-tests.rake
index 89a753d..3590e92 100644
--- a/debian/ruby-tests.rake
+++ b/debian/ruby-tests.rake
@@ -1,5 +1,7 @@
 require 'rspec/core/rake_task'
 
+Encoding.default_external="UTF-8" if defined? Encoding
+
 RSpec::Core::RakeTask.new(:spec) do |spec|
   spec.pattern      = './spec/**/*_spec.rb'
 end

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-rspec-expectations.git



More information about the Pkg-ruby-extras-commits mailing list