[DRE-commits] [ruby-licensee] 05/08: add new patches to pass test case

Sagar Ippalpalli isaagar-guest at moszumanska.debian.org
Wed Aug 2 03:27:56 UTC 2017


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

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

commit aab7659343326f8ed1f20c7b53f7a06e0f441dd8
Author: Sagar Ippalpalli <i.vikram15 at gmail.com>
Date:   Tue Aug 1 11:39:33 2017 +0530

    add new patches to pass test case
---
 debian/patches/add_lib_path.patch                  | 13 +++++++++++++
 debian/patches/change_license_match_sequence.patch | 16 ++++++++++++++++
 2 files changed, 29 insertions(+)

diff --git a/debian/patches/add_lib_path.patch b/debian/patches/add_lib_path.patch
new file mode 100644
index 0000000..5e4121f
--- /dev/null
+++ b/debian/patches/add_lib_path.patch
@@ -0,0 +1,13 @@
+Description: add spec_helper as requirement
+Author: I Sagar <i.vikram15 at gmail.com>
+Last-Update: 2017-08-01
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- a/spec/integration_spec.rb
++++ b/spec/integration_spec.rb
+@@ -1,3 +1,5 @@
++require 'spec_helper'
++
+ RSpec.describe 'integration test' do
+   [Licensee::FSProject, Licensee::GitProject].each do |project_type|
+     context "with a #{project_type} project" do
diff --git a/debian/patches/change_license_match_sequence.patch b/debian/patches/change_license_match_sequence.patch
new file mode 100644
index 0000000..dac4ff5
--- /dev/null
+++ b/debian/patches/change_license_match_sequence.patch
@@ -0,0 +1,16 @@
+Description: Change match sequence of license file to pass test case
+Author: I Sagar <i.vikram15 at gmail.com>
+Last-Update: 2017-08-01
+---
+This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
+--- a/spec/licensee/matchers/dice_matcher_spec.rb
++++ b/spec/licensee/matchers/dice_matcher_spec.rb
+@@ -17,7 +17,7 @@
+   end
+ 
+   it 'builds a list of potential licenses' do
+-    expect(subject.potential_licenses).to eql([agpl, gpl])
++    expect(subject.potential_licenses).to eql([gpl, agpl])
+   end
+ 
+   it 'sorts licenses by similarity' do

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



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