[DRE-commits] [ruby-fog-rackspace] 04/06: adding patch files

Sagar Ippalpalli isaagar-guest at moszumanska.debian.org
Tue Aug 9 08:38:37 UTC 2016


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

isaagar-guest pushed a commit to branch master
in repository ruby-fog-rackspace.

commit 7876c2a6693912a22ede245087c1d932e1990b93
Author: Sagar Ippalpalli <i.vikram15 at gmail.com>
Date:   Tue Aug 9 13:19:43 2016 +0530

    adding patch files
---
 debian/patches/change_helper_test.patch    | 29 +++++++++++++++++++++++++++++
 debian/patches/remove_git_in_gemspec.patch | 16 ++++++++++++++++
 debian/patches/series                      |  2 ++
 3 files changed, 47 insertions(+)

diff --git a/debian/patches/change_helper_test.patch b/debian/patches/change_helper_test.patch
new file mode 100644
index 0000000..ca95f54
--- /dev/null
+++ b/debian/patches/change_helper_test.patch
@@ -0,0 +1,29 @@
+Description: change helper.rb
+ avoid bundler testing
+Author: Sagar Ippalpalli <i.vikram15 at gmail.com>
+Last-Update: 2016-08-09
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- a/tests/helper.rb
++++ b/tests/helper.rb
+@@ -1,13 +1,13 @@
+-begin
+-  require "codeclimate-test-reporter"
+-  CodeClimate::TestReporter.start
+-rescue LoadError => e
+-  $stderr.puts "not recording test coverage: #{e.inspect}"
+-end
++#begin
++#  require "codeclimate-test-reporter"
++#  CodeClimate::TestReporter.start
++#rescue LoadError => e
++#  $stderr.puts "not recording test coverage: #{e.inspect}"
++#end
+ 
+ require File.expand_path('../../lib/fog/rackspace', __FILE__)
+ 
+-Bundler.require(:test)
++#Bundler.require(:test)
+ 
+ Excon.defaults.merge!(:debug_request => true, :debug_response => true)
+ 
diff --git a/debian/patches/remove_git_in_gemspec.patch b/debian/patches/remove_git_in_gemspec.patch
new file mode 100644
index 0000000..452aecb
--- /dev/null
+++ b/debian/patches/remove_git_in_gemspec.patch
@@ -0,0 +1,16 @@
+Description: Remove git usage in gemspec
+Author: Sagar Ippalpalli <i.vikram15 at gmail.com>
+Last-Update: 2016-08-09 
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- a/fog-rackspace.gemspec
++++ b/fog-rackspace.gemspec
+@@ -14,7 +14,7 @@
+   spec.homepage      = "http://developer.rackspace.com"
+   spec.license       = "MIT"
+ 
+-  spec.files         = `git ls-files -z`.split("\x0").reject { |f| f.match(%r{^(test|spec|features)/}) }
++  spec.files         = ''
+   spec.bindir        = "exe"
+   spec.executables   = spec.files.grep(%r{^exe/}) { |f| File.basename(f) }
+   spec.require_paths = ["lib"]
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..e4bfdcc
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1,2 @@
+change_helper_test.patch
+remove_git_in_gemspec.patch

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



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