[DRE-commits] [ruby-email-validator] 02/02: Expliciting the dependency
Aurélien Joga
ajoga-guest at moszumanska.debian.org
Sat May 17 23:26:51 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 0837ad692a337e1366e8add488b641721e86cdb6
Author: Aurélien Joga <aurelienjoga at gmail.com>
Date: Sat May 17 23:25:09 2014 +0000
Expliciting the dependency
---
debian/patches/missing-require.patch | 10 ++++++++++
debian/patches/series | 1 +
2 files changed, 11 insertions(+)
diff --git a/debian/patches/missing-require.patch b/debian/patches/missing-require.patch
new file mode 100644
index 0000000..3690e5d
--- /dev/null
+++ b/debian/patches/missing-require.patch
@@ -0,0 +1,10 @@
+Index: ruby-email-validator/lib/email_validator.rb
+===================================================================
+--- ruby-email-validator.orig/lib/email_validator.rb 2014-05-14 22:41:07.277814999 +0000
++++ ruby-email-validator/lib/email_validator.rb 2014-05-14 22:42:59.172720073 +0000
+@@ -1,4 +1,5 @@
+ # Based on work from http://thelucid.com/2010/01/08/sexy-validation-in-edge-rails-rails-3/
++require 'active_model'
+ class EmailValidator < ActiveModel::EachValidator
+ @@default_options = {}
+
diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..a828bda
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+missing-require.patch
--
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