[DRE-commits] [ruby-tdiff] 01/02: Imported Upstream version 0.3.3

Abhijith PA abhijithpa-guest at moszumanska.debian.org
Sat Nov 14 15:01:07 UTC 2015


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

abhijithpa-guest pushed a commit to branch master
in repository ruby-tdiff.

commit 2bd4dc4d146a91985cd0379d9757eb86e23f31e4
Author: Abhijith PA <abhijith at openmailbox.org>
Date:   Sat Nov 14 20:26:31 2015 +0530

    Imported Upstream version 0.3.3
---
 debian/changelog                      |   5 --
 debian/compat                         |   1 -
 debian/control                        |  26 -------
 debian/copyright                      |  31 ---------
 debian/patches/series                 |   1 -
 debian/patches/test-rspec3-port.patch | 124 ----------------------------------
 debian/ruby-tdiff.docs                |   2 -
 debian/ruby-tests.rake                |   7 --
 debian/rules                          |  15 ----
 debian/source/format                  |   1 -
 debian/tests/control.ex               |  13 ----
 debian/watch                          |   2 -
 12 files changed, 228 deletions(-)

diff --git a/debian/changelog b/debian/changelog
deleted file mode 100644
index 659f3b8..0000000
--- a/debian/changelog
+++ /dev/null
@@ -1,5 +0,0 @@
-ruby-tdiff (0.3.3-1) UNRELEASED; urgency=medium
-
-  * Initial release (Closes: #805088)
-
- -- Abhijith PA <abhijith at openmailbox.org>  Sat, 26 Sep 2015 13:36:39 +0530
diff --git a/debian/compat b/debian/compat
deleted file mode 100644
index 7f8f011..0000000
--- a/debian/compat
+++ /dev/null
@@ -1 +0,0 @@
-7
diff --git a/debian/control b/debian/control
deleted file mode 100644
index 56ee526..0000000
--- a/debian/control
+++ /dev/null
@@ -1,26 +0,0 @@
-Source: ruby-tdiff
-Maintainer: Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers at lists.alioth.debian.org>
-Uploaders: Abhijith PA <abhijith at openmailbox.org>
-Section: ruby
-Testsuite: autopkgtest
-Priority: optional
-Build-Depends: debhelper (>= 7.0.50~),
-               gem2deb,
-               ruby-rspec,
-               rake,
-               yard
-Standards-Version: 3.9.6
-Vcs-Browser: https://anonscm.debian.org/cgit/pkg-ruby-extras/ruby-tdiff.git
-Vcs-Git: git://anonscm.debian.org/pkg-ruby-extras/ruby-tdiff.git
-Homepage: https://github.com/postmodern/tdiff
-XS-Ruby-Versions: all
-
-Package: ruby-tdiff
-Architecture: all
-Depends: ${shlibs:Depends},
-         ${misc:Depends},
-         ruby | ruby-interpreter
-Description: Calculates the differences between two tree-like structures
- Tdiff calculates the differences between two tree-like structures. 
- It is similar to Rubys built-in TSort module.
-XB-Ruby-Versions: ${ruby:Versions}
diff --git a/debian/copyright b/debian/copyright
deleted file mode 100644
index e2facc8..0000000
--- a/debian/copyright
+++ /dev/null
@@ -1,31 +0,0 @@
-Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
-Upstream-Name: tdiff
-Source: https://github.com/postmodern/tdiff
-
-Files: *
-Copyright: 2010 Postmodern <postmodern.mod3 at gmail.com>
-License: Expat
-
-Files: debian/*
-Copyright: 2015 Abhijith PA <abhijith at openmailbox.org>
-License: Expat
-Comment: the Debian packaging is licensed under the same terms as the original package.
-
-License: Expat
- Permission is hereby granted, free of charge, to any person obtaining a copy
- of this software and associated documentation files (the "Software"), to deal
- in the Software without restriction, including without limitation the rights
- to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
- copies of the Software, and to permit persons to whom the Software is
- furnished to do so, subject to the following conditions:
- .
- The above copyright notice and this permission notice shall be included in
- all copies or substantial portions of the Software.
- .
- THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
- IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
- FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
- AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
- LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
- OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
- THE SOFTWARE.
diff --git a/debian/patches/series b/debian/patches/series
deleted file mode 100644
index da7fbea..0000000
--- a/debian/patches/series
+++ /dev/null
@@ -1 +0,0 @@
-test-rspec3-port.patch
diff --git a/debian/patches/test-rspec3-port.patch b/debian/patches/test-rspec3-port.patch
deleted file mode 100644
index e7b44ae..0000000
--- a/debian/patches/test-rspec3-port.patch
+++ /dev/null
@@ -1,124 +0,0 @@
-Author: Balasankar C<balasankarc at autistici.org.org>
-
----
-Date: <14/11/2015>
-
---- ruby-tdiff-0.3.3.orig/spec/spec_helper.rb
-+++ ruby-tdiff-0.3.3/spec/spec_helper.rb
-@@ -1,4 +1,4 @@
--gem 'rspec', '~> 2.4'
-+#gem 'rspec', '~> 2.4'
- require 'rspec'
- 
- require 'helpers/trees'
---- ruby-tdiff-0.3.3.orig/spec/tdiff_examples.rb
-+++ ruby-tdiff-0.3.3/spec/tdiff_examples.rb
-@@ -5,36 +5,36 @@ shared_examples_for 'TDiff' do |method|
-   include Helpers::Trees
- 
-   it "should tell if two trees are identical" do
--    @tree.send(method, at tree).all? { |change,node|
-+    expect(@tree.send(method, at tree).all? { |change,node|
-       change == ' '
--    }.should == true
-+    }).to eq(true)
-   end
- 
-   it "should stop if the root nodes have changed" do
-     changes = @tree.send(method, at different_root).to_a
- 
--    changes.length.should == 2
-+    expect(changes.length).to eq(2)
- 
--    changes[0][0].should == '-'
--    changes[0][1].should == @tree
-+    expect(changes[0][0]).to eq('-')
-+    expect(changes[0][1]).to eq(@tree)
- 
--    changes[1][0].should == '+'
--    changes[1][1].should == @different_root
-+    expect(changes[1][0]).to eq('+')
-+    expect(changes[1][1]).to eq(@different_root)
-   end
- 
-   it "should tell when sub-nodes are added" do
-     changes = @tree.send(method, at added).select { |change,node| change == '+' }
- 
--    changes.length.should == 1
--    changes[0][0].should == '+'
--    changes[0][1].should == @added.children[0].children[1]
-+    expect(changes.length).to eq(1)
-+    expect(changes[0][0]).to eq('+')
-+    expect(changes[0][1]).to eq(@added.children[0].children[1])
-   end
- 
-   it "should tell when sub-nodes are removed" do
-     changes = @tree.send(method, at removed).select { |change,node| change == '-' }
- 
--    changes.length.should == 1
--    changes[0][0].should == '-'
--    changes[0][1].should == @tree.children[0].children[1]
-+    expect(changes.length).to eq(1)
-+    expect(changes[0][0]).to eq('-')
-+    expect(changes[0][1]).to eq(@tree.children[0].children[1])
-   end
- end
---- ruby-tdiff-0.3.3.orig/spec/tdiff_spec.rb
-+++ ruby-tdiff-0.3.3/spec/tdiff_spec.rb
-@@ -11,24 +11,24 @@ describe TDiff do
-   it "should detect when the order of children has changed" do
-     changes = @tree.tdiff(@changed_order).to_a
- 
--    changes.length.should == 6
-+    expect(changes.length).to eq(6)
- 
--    changes[0][0].should == ' '
--    changes[0][1].should == @tree
-+    expect(changes[0][0]).to eq(' ')
-+    expect(changes[0][1]).to eq(@tree)
- 
--    changes[1][0].should == '-'
--    changes[1][1].should == @tree.children[0]
-+    expect(changes[1][0]).to eq('-')
-+    expect(changes[1][1]).to eq(@tree.children[0])
- 
--    changes[2][0].should == ' '
--    changes[2][1].should == @tree.children[1]
-+    expect(changes[2][0]).to eq(' ')
-+    expect(changes[2][1]).to eq(@tree.children[1])
- 
--    changes[3][0].should == '+'
--    changes[3][1].should == @changed_order.children[1]
-+    expect(changes[3][0]).to eq('+')
-+    expect(changes[3][1]).to eq(@changed_order.children[1])
- 
--    changes[4][0].should == ' '
--    changes[4][1].should == @tree.children[1].children[0]
-+    expect(changes[4][0]).to eq(' ')
-+    expect(changes[4][1]).to eq(@tree.children[1].children[0])
- 
--    changes[5][0].should == ' '
--    changes[5][1].should == @tree.children[1].children[1]
-+    expect(changes[5][0]).to eq(' ')
-+    expect(changes[5][1]).to eq(@tree.children[1].children[1])
-   end
- end
---- ruby-tdiff-0.3.3.orig/spec/unordered_spec.rb
-+++ ruby-tdiff-0.3.3/spec/unordered_spec.rb
-@@ -11,7 +11,7 @@ describe TDiff::Unordered do
-       include TDiff::Unordered
-     end
- 
--    base.should include(TDiff)
-+    expect(base).to include(TDiff)
-   end
- 
-   it_should_behave_like 'TDiff', :tdiff_unordered
-@@ -21,6 +21,6 @@ describe TDiff::Unordered do
-       change != ' '
-     end
- 
--    changes.should be_empty
-+    expect(changes).to be_empty
-   end
- end
diff --git a/debian/ruby-tdiff.docs b/debian/ruby-tdiff.docs
deleted file mode 100644
index 07b3c9e..0000000
--- a/debian/ruby-tdiff.docs
+++ /dev/null
@@ -1,2 +0,0 @@
-# FIXME: READMEs found
-# README.md
diff --git a/debian/ruby-tests.rake b/debian/ruby-tests.rake
deleted file mode 100644
index 99987ae..0000000
--- a/debian/ruby-tests.rake
+++ /dev/null
@@ -1,7 +0,0 @@
-require 'rspec/core/rake_task'
-
-RSpec::Core::RakeTask.new(:spec) do |spec|
-  spec.pattern = './spec/*_spec.rb'
-end
-
-task :default => :spec
diff --git a/debian/rules b/debian/rules
deleted file mode 100755
index d81794d..0000000
--- a/debian/rules
+++ /dev/null
@@ -1,15 +0,0 @@
-#!/usr/bin/make -f
-#export DH_VERBOSE=1
-#
-# Uncomment to ignore all test failures (but the tests will run anyway)
-#export DH_RUBY_IGNORE_TESTS=all
-#
-# Uncomment to ignore some test failures (but the tests will run anyway).
-# Valid values:
-#export DH_RUBY_IGNORE_TESTS=ruby2.1 require-rubygems
-#
-# If you need to specify the .gemspec (eg there is more than one)
-#export DH_RUBY_GEMSPEC=gem.gemspec
-
-%:
-	dh $@ --buildsystem=ruby --with ruby
diff --git a/debian/source/format b/debian/source/format
deleted file mode 100644
index 163aaf8..0000000
--- a/debian/source/format
+++ /dev/null
@@ -1 +0,0 @@
-3.0 (quilt)
diff --git a/debian/tests/control.ex b/debian/tests/control.ex
deleted file mode 100644
index 429a392..0000000
--- a/debian/tests/control.ex
+++ /dev/null
@@ -1,13 +0,0 @@
-# AUTOGENERATED FILE
-#
-# As of autopkgtest 3.5, Ruby packages that use gem2deb are automatically
-# detected, and if debian/tests/control does not exist the contents below will
-# be assumed (with the exception of gem2deb being filtered out from
-# @builddeps@):
-
-Test-Command: gem2deb-test-runner --autopkgtest 2>&1
-Depends: @, @builddeps@, gem2deb-test-runner
-
-# if you would need to change something to the above, to that and rename this
-# file to `control`. Otherwise, you should probably delete this file
-# (recommended).
diff --git a/debian/watch b/debian/watch
deleted file mode 100644
index a2931f1..0000000
--- a/debian/watch
+++ /dev/null
@@ -1,2 +0,0 @@
-version=3
-http://pkg-ruby-extras.alioth.debian.org/cgi-bin/gemwatch/tdiff .*/tdiff-(.*).tar.gz

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



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