[DRE-commits] [ruby-protected-attributes] 01/03: Imported Debian patch 1.0.8-1
Antonio Terceiro
terceiro at moszumanska.debian.org
Fri Aug 29 22:03:21 UTC 2014
This is an automated email from the git hooks/post-receive script.
terceiro pushed a commit to branch master
in repository ruby-protected-attributes.
commit a4d67fd7db9e2eb0963f5366455a45ba58db3684
Author: Antonio Terceiro <terceiro at debian.org>
Date: Fri Aug 29 14:43:52 2014 -0700
Imported Debian patch 1.0.8-1
---
debian/changelog | 5 +++++
debian/compat | 1 +
debian/control | 20 ++++++++++++++++++++
debian/copyright | 35 +++++++++++++++++++++++++++++++++++
debian/ruby-protected-attributes.docs | 2 ++
debian/ruby-test-files.yaml | 24 ++++++++++++++++++++++++
debian/rules | 15 +++++++++++++++
debian/source/format | 1 +
debian/tests/control | 9 +++++++++
debian/watch | 2 ++
10 files changed, 114 insertions(+)
diff --git a/debian/changelog b/debian/changelog
new file mode 100644
index 0000000..9c6fece
--- /dev/null
+++ b/debian/changelog
@@ -0,0 +1,5 @@
+ruby-protected-attributes (1.0.8-1) UNRELEASED; urgency=medium
+
+ * Initial release (Closes: #nnnn)
+
+ -- Antonio Terceiro <terceiro at debian.org> Fri, 29 Aug 2014 14:43:52 -0700
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..ba6ec4a
--- /dev/null
+++ b/debian/control
@@ -0,0 +1,20 @@
+Source: ruby-protected-attributes
+Section: ruby
+Priority: optional
+Maintainer: Debian Ruby Extras Maintainers <pkg-ruby-extras-maintainers at lists.alioth.debian.org>
+Uploaders: Antonio Terceiro <terceiro at debian.org>
+Build-Depends: debhelper (>= 7.0.50~), gem2deb (>= 0.9.0~)
+Standards-Version: 3.9.5
+#Vcs-Git: git://anonscm.debian.org/pkg-ruby-extras/ruby-protected-attributes.git
+#Vcs-Browser: http://anonscm.debian.org/gitweb/?p=pkg-ruby-extras/ruby-protected-attributes.git;a=summary
+Homepage: https://github.com/rails/protected_attributes
+Testsuite: autopkgtest
+XS-Ruby-Versions: all
+
+Package: ruby-protected-attributes
+Architecture: all
+XB-Ruby-Versions: ${ruby:Versions}
+Depends: ${shlibs:Depends}, ${misc:Depends}, ruby | ruby-interpreter
+# activemodel (< 5.0, >= 4.0.1), activerecord (< 5.0, >= 4.0.1, development), actionpack (< 5.0, >= 4.0.1, development), sqlite3 (>= 0, development), mocha (>= 0, development)
+Description: Protect attributes from mass assignment in Active Record models
+ Protect attributes from mass assignment
diff --git a/debian/copyright b/debian/copyright
new file mode 100644
index 0000000..19ad062
--- /dev/null
+++ b/debian/copyright
@@ -0,0 +1,35 @@
+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
+Upstream-Name: protected_attributes
+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 Antonio Terceiro <terceiro at debian.org>
+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/ruby-protected-attributes.docs b/debian/ruby-protected-attributes.docs
new file mode 100644
index 0000000..07b3c9e
--- /dev/null
+++ b/debian/ruby-protected-attributes.docs
@@ -0,0 +1,2 @@
+# FIXME: READMEs found
+# README.md
diff --git a/debian/ruby-test-files.yaml b/debian/ruby-test-files.yaml
new file mode 100644
index 0000000..639eeaf
--- /dev/null
+++ b/debian/ruby-test-files.yaml
@@ -0,0 +1,24 @@
+---
+- test/abstract_unit.rb
+- test/accessible_params_wrapper_test.rb
+- test/ar_helper.rb
+- test/attribute_sanitization_test.rb
+- test/mass_assignment_security/black_list_test.rb
+- test/mass_assignment_security/permission_set_test.rb
+- test/mass_assignment_security/sanitizer_test.rb
+- test/mass_assignment_security/white_list_test.rb
+- test/mass_assignment_security_test.rb
+- test/models/battle.rb
+- test/models/company.rb
+- test/models/group.rb
+- test/models/keyboard.rb
+- test/models/mass_assignment_specific.rb
+- test/models/membership.rb
+- test/models/person.rb
+- test/models/pirate.rb
+- test/models/subscriber.rb
+- test/models/task.rb
+- test/models/team.rb
+- test/models/vampire.rb
+- test/models/wolf.rb
+- test/test_helper.rb
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 b/debian/tests/control
new file mode 100644
index 0000000..ba12c70
--- /dev/null
+++ b/debian/tests/control
@@ -0,0 +1,9 @@
+Test-Command: gem2deb-test-runner --autopkgtest 2>&1
+Depends: @, gem2deb-test-runner
+#FIXME: add to Depends ruby-rspec, ruby-test-unit... if needed
+#Restrictions: allow-stderr
+
+#FIXME: replace LIB by the name of the main file of the library
+#Test-Command: ruby -r LIB -e "puts true"
+#Depends: @
+
diff --git a/debian/watch b/debian/watch
new file mode 100644
index 0000000..ded579c
--- /dev/null
+++ b/debian/watch
@@ -0,0 +1,2 @@
+version=3
+http://pkg-ruby-extras.alioth.debian.org/cgi-bin/gemwatch/protected_attributes .*/protected_attributes-(.*).tar.gz
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-ruby-extras/ruby-protected-attributes.git
More information about the Pkg-ruby-extras-commits
mailing list