commit:     44084248e42d566f5b6cc9b104c22df47098b65c
Author:     Hans de Graaff <hans <AT> degraaff <DOT> org>
AuthorDate: Tue Sep 16 11:14:18 2014 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Tue Sep 16 11:14:18 2014 +0000
URL:        
http://sources.gentoo.org/gitweb/?p=dev/graaff.git;a=commit;h=44084248

Avoid silly deprecation message that cannot be avoided by making code changes.

Package-Manager: portage-2.2.8-r1

---
 dev-ruby/formtastic/ChangeLog               | 4 ++++
 dev-ruby/formtastic/formtastic-3.0.0.ebuild | 5 +++++
 2 files changed, 9 insertions(+)

diff --git a/dev-ruby/formtastic/ChangeLog b/dev-ruby/formtastic/ChangeLog
index ead2439..1dff28f 100644
--- a/dev-ruby/formtastic/ChangeLog
+++ b/dev-ruby/formtastic/ChangeLog
@@ -2,6 +2,10 @@
 # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+  16 Sep 2014; Hans de Graaff <[email protected]> formtastic-3.0.0.ebuild:
+  Avoid silly deprecation message that cannot be avoided by making code
+  changes.
+
 *formtastic-3.0.0 (16 Sep 2014)
 
   16 Sep 2014; Hans de Graaff <[email protected]> +formtastic-3.0.0.ebuild:

diff --git a/dev-ruby/formtastic/formtastic-3.0.0.ebuild 
b/dev-ruby/formtastic/formtastic-3.0.0.ebuild
index 94ea8e1..c1648c2 100644
--- a/dev-ruby/formtastic/formtastic-3.0.0.ebuild
+++ b/dev-ruby/formtastic/formtastic-3.0.0.ebuild
@@ -23,3 +23,8 @@ KEYWORDS="~amd64"
 IUSE=""
 
 ruby_add_rdepend ">=dev-ruby/actionpack-3.2.13"
+
+all_ruby_prepare() {
+       # Remove silly deprecation message that cannot be avoided.
+       sed -e '/deprecated_version_of_rails/,/end/ s:^:#:' -i 
lib/formtastic.rb || die
+}

Reply via email to