[DRE-commits] [ruby-devise] 01/04: Imported Debian patch 3.4.0-1

Nitesh A Jain niteshjain-guest at moszumanska.debian.org
Mon Nov 17 19:41:15 UTC 2014


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

niteshjain-guest pushed a commit to branch master
in repository ruby-devise.

commit e6cdec606af6e051ac83225fbe67053ac6c6bfc8
Author: Nitesh A Jain <niteshjain92 at gmail.com>
Date:   Fri Oct 17 21:12:10 2014 +0530

    Imported Debian patch 3.4.0-1
---
 debian/changelog                   |  5 +++++
 debian/compat                      |  1 +
 debian/control                     | 20 ++++++++++++++++++++
 debian/copyright                   | 35 +++++++++++++++++++++++++++++++++++
 debian/patches/remove_bundle.patch | 26 ++++++++++++++++++++++++++
 debian/patches/series              |  1 +
 debian/ruby-devise.docs            |  2 ++
 debian/ruby-tests.rake             |  6 ++++++
 debian/rules                       | 15 +++++++++++++++
 debian/source/format               |  1 +
 debian/tests/control.ex            | 13 +++++++++++++
 debian/watch                       |  2 ++
 12 files changed, 127 insertions(+)

diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..0fbda1d
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+ruby-devise (3.4.0-1) UNRELEASED; urgency=medium
+
+  * Initial release (Closes: #647074)
+
+ -- Nitesh A Jain <niteshjain92 at gmail.com>  Fri, 17 Oct 2014 21:12:10 +0530
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..3c3bc83
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,20 @@
+Source: ruby-devise
+Section: ruby
+Priority: optional
+Maintainer: Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers at lists.alioth.debian.org>
+Uploaders:  <>
+Build-Depends: debhelper (>= 7.0.50~), gem2deb, ruby-orm-adapter, ruby-responders, ruby-warden
+Standards-Version: 3.9.6
+Vcs-Git: git://anonscm.debian.org/pkg-ruby-extras/ruby-devise.git
+Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-ruby-extras/ruby-devise.git;a=summary
+Homepage: https://github.com/plataformatec/devise
+Testsuite: autopkgtest
+XS-Ruby-Versions: all
+
+Package: ruby-devise
+Architecture: all
+XB-Ruby-Versions: ${ruby:Versions}
+Depends: ${shlibs:Depends}, ${misc:Depends}, ruby | ruby-interpreter
+# warden (~> 1.2.3), orm_adapter (~> 0.1), bcrypt (~> 3.0), thread_safe (~> 0.1), railties (< 5, >= 3.2.6), responders (>= 0)
+Description: Flexible authentication solution for Rails with Warden
+ Flexible authentication solution for Rails with Warden
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..84b2da2
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,35 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: devise
+Source: FIXME <http://example.com/>
+
+Files: *
+Copyright: <years> <put author's name and email here>
+           <years> <likewise for another author>
+License: GPL-2+ (FIXME)
+
+Files: debian/*
+Copyright: 2014  <>
+License: GPL-2+ (FIXME)
+Comment: the Debian packaging is licensed under the same terms as the original package.
+
+License: GPL-2+ (FIXME)
+ This program is free software; you can redistribute it
+ and/or modify it under the terms of the GNU General Public
+ License as published by the Free Software Foundation; either
+ version 2 of the License, or (at your option) any later
+ version.
+ .
+ This program is distributed in the hope that it will be
+ useful, but WITHOUT ANY WARRANTY; without even the implied
+ warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+ PURPOSE.  See the GNU General Public License for more
+ details.
+ .
+ You should have received a copy of the GNU General Public
+ License along with this package; if not, write to the Free
+ Software Foundation, Inc., 51 Franklin St, Fifth Floor,
+ Boston, MA  02110-1301 USA
+ .
+ On Debian systems, the full text of the GNU General Public
+ License version 2 can be found in the file
+ `/usr/share/common-licenses/GPL-2'.
diff --git a/debian/patches/remove_bundle.patch b/debian/patches/remove_bundle.patch
new file mode 100644
index 0000000..3dd22b5
--- /dev/null
+++ b/debian/patches/remove_bundle.patch
@@ -0,0 +1,26 @@
+--- a/test/rails_app/bin/bundle
++++ b/test/rails_app/bin/bundle
+@@ -1,3 +1 @@
+ #!/usr/bin/env ruby
+-ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../Gemfile', __FILE__)
+-load Gem.bin_path('bundler', 'bundle')
+--- a/test/rails_app/config/application.rb
++++ b/test/rails_app/config/application.rb
+@@ -4,8 +4,6 @@
+ require "action_mailer/railtie"
+ require "rails/test_unit/railtie"
+ 
+-Bundler.require :default, DEVISE_ORM
+-
+ begin
+   require "#{DEVISE_ORM}/railtie"
+ rescue LoadError
+--- a/test/rails_app/config/boot.rb
++++ b/test/rails_app/config/boot.rb
+@@ -9,6 +9,3 @@
+   end
+ end
+ 
+-# Set up gems listed in the Gemfile.
+-ENV['BUNDLE_GEMFILE'] ||= File.expand_path('../../../../Gemfile', __FILE__)
+-require 'bundler/setup' if File.exists?(ENV['BUNDLE_GEMFILE'])
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..d0e2c64
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+remove_bundle.patch
diff --git a/debian/ruby-devise.docs b/debian/ruby-devise.docs
new file mode 100644
index 0000000..07b3c9e
--- /dev/null
+++ b/debian/ruby-devise.docs
@@ -0,0 +1,2 @@
+# FIXME: READMEs found
+# README.md
diff --git a/debian/ruby-tests.rake b/debian/ruby-tests.rake
new file mode 100644
index 0000000..b43784a
--- /dev/null
+++ b/debian/ruby-tests.rake
@@ -0,0 +1,6 @@
+require 'gem2deb/rake/testtask'
+
+Gem2Deb::Rake::TestTask.new do |t|
+  t.libs << 'test' << '.'
+  t.test_files = FileList['test/*.rb']
+end
diff --git a/debian/rules b/debian/rules
new file mode 100755
index 0000000..d81794d
--- /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=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
new file mode 100644
index 0000000..163aaf8
--- /dev/null
+++ b/debian/source/format
@@ -0,0 +1 @@
+3.0 (quilt)
diff --git a/debian/tests/control.ex b/debian/tests/control.ex
new file mode 100644
index 0000000..429a392
--- /dev/null
+++ b/debian/tests/control.ex
@@ -0,0 +1,13 @@
+# 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
new file mode 100644
index 0000000..61610a3
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,2 @@
+version=3
+http://pkg-ruby-extras.alioth.debian.org/cgi-bin/gemwatch/devise .*/devise-(.*).tar.gz

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



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