[DRE-commits] [ruby-vmstat] 03/03: refresh patch

Praveen Arimbrathodiyil praveen at moszumanska.debian.org
Thu Aug 25 15:43:22 UTC 2016


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

praveen pushed a commit to branch master
in repository ruby-vmstat.

commit de8c0c1d9899db7e7c14878fd5ff66f83664a56a
Author: Pirate Praveen <praveen at debian.org>
Date:   Thu Aug 25 20:53:05 2016 +0530

    refresh patch
---
 debian/patches/001-require-rspec-its.patch | 12 +++++++-----
 1 file changed, 7 insertions(+), 5 deletions(-)

diff --git a/debian/patches/001-require-rspec-its.patch b/debian/patches/001-require-rspec-its.patch
index f320b0f..34c1816 100644
--- a/debian/patches/001-require-rspec-its.patch
+++ b/debian/patches/001-require-rspec-its.patch
@@ -1,12 +1,14 @@
 tests use rspec-its
 
---- a/spec/spec_helper.rb
-+++ b/spec/spec_helper.rb
-@@ -8,6 +8,7 @@
+Index: ruby-vmstat/spec/spec_helper.rb
+===================================================================
+--- ruby-vmstat.orig/spec/spec_helper.rb
++++ ruby-vmstat/spec/spec_helper.rb
+@@ -8,6 +8,7 @@ $:.unshift(File.expand_path("../lib", __
  require 'vmstat'
  require 'ostruct'
  require 'timecop'
 +require 'rspec/its'
  
- RSpec.configure do |config|
-   config.treat_symbols_as_metadata_keys_with_true_values = true
+ def travis?
+   ENV['TRAVIS'] == 'true'

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



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