[DRE-commits] [ruby-email-validator] 01/01: Imported Debian patch 1.4.0-1

Aurélien Joga ajoga-guest at moszumanska.debian.org
Fri Apr 4 17:28:43 UTC 2014


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

ajoga-guest pushed a commit to branch master
in repository ruby-email-validator.

commit be31d727d6a55e8247ec83e816b9c5ff895c21fa
Author: Aurélien Joga <aurelienjoga at gmail.com>
Date:   Fri Apr 4 17:11:00 2014 +0000

    Imported Debian patch 1.4.0-1
---
 debian/changelog                   |  5 +++++
 debian/compat                      |  1 +
 debian/control                     | 19 +++++++++++++++++++
 debian/copyright                   | 31 +++++++++++++++++++++++++++++++
 debian/patches/fix-spec-path.patch | 10 ++++++++++
 debian/patches/series              |  1 +
 debian/ruby-email-validator.docs   |  1 +
 debian/ruby-tests.rb               |  3 +++
 debian/rules                       | 15 +++++++++++++++
 debian/source/format               |  1 +
 debian/watch                       |  2 ++
 11 files changed, 89 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..2bd5702
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+ruby-email-validator (1.4.0-1) UNRELEASED; urgency=low
+
+  * Initial release (Closes: #743306)
+
+ -- Aurélien Joga <aurelienjoga at gmail.com>  Fri, 04 Apr 2014 17:11:00 +0000
diff --git a/debian/compat b/debian/compat
new file mode 100644
index 0000000..7f8f011
--- /dev/null
+++ b/debian/compat
@@ -0,0 +1 @@
+7
diff --git a/debian/control b/debian/control
new file mode 100644
index 0000000..4b2151e
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,19 @@
+Source: ruby-email-validator
+Section: ruby
+Priority: optional
+Maintainer: Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers at lists.alioth.debian.org>
+Uploaders: Aurélien Joga <aurelienjoga at gmail.com>
+DM-Upload-Allowed: yes
+Build-Depends: debhelper (>= 7.0.50~), gem2deb (>= 0.3.0~), rake, ruby-rspec, ruby-activemodel-3.2
+Standards-Version: 3.9.3
+Vcs-Git: git://git.debian.org/pkg-ruby-extras/ruby-email-validator.git
+Vcs-Browser: http://git.debian.org/?p=pkg-ruby-extras/ruby-email-validator.git;a=summary
+Homepage: https://github.com/balexand/email_validator
+XS-Ruby-Versions: all
+
+Package: ruby-email-validator
+Architecture: all
+XB-Ruby-Versions: ${ruby:Versions}
+Depends: ${misc:Depends}, ruby | ruby-interpreter, ruby-activemodel-3.2
+Description: An email validator for Rails 3+.
+ An email validator for Rails 3+. See homepage for details: http://github.com/balexand/email_validator
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..e5e30e6
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,31 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: email_validator
+Source: https://github.com/balexand/email_validator
+
+Files: *
+Copyright: 2010 - 2014 Brian Alexander <balexand at gmail.com>
+License: MIT
+ 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.
+
+Files: debian/*
+Copyright: 2014 Aurélien Joga <aurelienjoga at gmail.com>
+License: GPL-3
+ On Debian systems, the complete text of the GNU General Public License
+ version 3 can be found in `/usr/share/common-licenses/GPL-3'.
diff --git a/debian/patches/fix-spec-path.patch b/debian/patches/fix-spec-path.patch
new file mode 100644
index 0000000..bc2b581
--- /dev/null
+++ b/debian/patches/fix-spec-path.patch
@@ -0,0 +1,10 @@
+Index: ruby-email-validator-1.4.0/spec/email_validator_spec.rb
+===================================================================
+--- ruby-email-validator-1.4.0.orig/spec/email_validator_spec.rb	2014-03-31 21:41:25.176983069 +0000
++++ ruby-email-validator-1.4.0/spec/email_validator_spec.rb	2014-03-31 21:43:31.533227771 +0000
+@@ -1,4 +1,4 @@
+-require 'spec_helper'
++require './spec/spec_helper.rb'
+ 
+ class TestUser < TestModel
+   validates :email, :email => true
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..43f5601
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+fix-spec-path.patch
diff --git a/debian/ruby-email-validator.docs b/debian/ruby-email-validator.docs
new file mode 100644
index 0000000..b43bf86
--- /dev/null
+++ b/debian/ruby-email-validator.docs
@@ -0,0 +1 @@
+README.md
diff --git a/debian/ruby-tests.rb b/debian/ruby-tests.rb
new file mode 100644
index 0000000..95e266a
--- /dev/null
+++ b/debian/ruby-tests.rb
@@ -0,0 +1,3 @@
+$: << 'lib' << '.'
+require 'spec/email_validator_spec.rb'
+
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..a5e7dc8
--- /dev/null
+++ b/debian/rules
@@ -0,0 +1,15 @@
+#!/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=ruby1.8 ruby1.9.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
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..20d6459
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,2 @@
+version=3
+http://pkg-ruby-extras.alioth.debian.org/cgi-bin/gemwatch/email_validator .*/email_validator-(.*).tar.gz

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



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