From: "Hans de Graaff" <graaff@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] dev/graaff:master commit in: dev-ruby/draper/
Date: Mon, 10 Sep 2012 08:45:50 +0000 (UTC) [thread overview]
Message-ID: <1347266740.35b8f5f7992d7e1ba570c7f1a916790a7020b472.graaff@gentoo> (raw)
commit: 35b8f5f7992d7e1ba570c7f1a916790a7020b472
Author: Hans de Graaff <hans <AT> degraaff <DOT> org>
AuthorDate: Mon Sep 10 08:45:40 2012 +0000
Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Mon Sep 10 08:45:40 2012 +0000
URL: http://git.overlays.gentoo.org/gitweb/?p=dev/graaff.git;a=commit;h=35b8f5f7
Add 0.17.0 again, this time for ruby18 and ruby19. Skip tests failing on ruby18 since these do not seem to be a problem for our application in practice.
(Portage version: 2.1.11.9/git/Linux x86_64, signed Manifest commit with key 0x8883FA56A308A8D7!)
---
dev-ruby/draper/ChangeLog | 5 +++
dev-ruby/draper/Manifest | 7 +++--
dev-ruby/draper/draper-0.17.0.ebuild | 48 ++++++++++++++++++++++++++++++++++
3 files changed, 57 insertions(+), 3 deletions(-)
diff --git a/dev-ruby/draper/ChangeLog b/dev-ruby/draper/ChangeLog
index f2dad63..e230a2a 100644
--- a/dev-ruby/draper/ChangeLog
+++ b/dev-ruby/draper/ChangeLog
@@ -2,6 +2,11 @@
# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+ 10 Sep 2012; Hans de Graaff <graaff@gentoo.org> +draper-0.17.0.ebuild:
+ Add 0.17.0 again, this time for ruby18 and ruby19. Skip tests failing on
+ ruby18 since these do not seem to be a problem for our application in
+ practice.
+
03 Sep 2012; Hans de Graaff <graaff@gentoo.org> -draper-0.17.0.ebuild:
Remove ruby19-only version of draper since we still need a ruby18 version.
diff --git a/dev-ruby/draper/Manifest b/dev-ruby/draper/Manifest
index 5b0c75d..9f52b4b 100644
--- a/dev-ruby/draper/Manifest
+++ b/dev-ruby/draper/Manifest
@@ -2,10 +2,11 @@
Hash: SHA256
DIST draper-0.14.0.gem 79360 SHA256 8bea54981f04c6b27ac48f74ee396768fc366d4ea1eb39a45022faa6456fba27 SHA512 7838456dd3c810057b7500f5e60a3d814c05586b625ab4ac624a33f750ce8ae94f227f465c6a0155120e6000dad3bb033f4dccf663dc073b1140c8afb78635e0 WHIRLPOOL 136ab85bc22a97ccdca184e8e0b7a8ed171ba6e46d4cc96d24b20fc71e53a511f32df4b52f9b27a8b79370292d49a2d1a84d3826edece00500b37109d8476cda
+DIST draper-0.17.0.gem 81408 SHA256 e2cdcba4c59620afc15e16c5fd2462a150296bdf38f5f41a4333c4507bd6add3 SHA512 ffbb5eb8ff24296730d63002c919e2773260ff8a3222cf3d94a0c5e530a6855ceabc5d69eab490d9a47a6d6420ee9741f72b957ef1601e362cf242142ed82d59 WHIRLPOOL d62770f6183de374ae090e68eada8952488e17907fa65399fb3aa9da3ef442f536d1c76ff328e3c4461acd09fded07cab6496172f40990c453915d00bd0b7761
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (GNU/Linux)
-iF4EAREIAAYFAlBEe6MACgkQiIP6VqMIqNd9AgD+J9AJc/ALj/zOk1wetJp0peQe
-GxSr6msJMorxk04RtcMA+gOrNVMTVnUTKHzYr1tH3vS8obxMFB6PJLqcDStKylbi
-=9g5G
+iF4EAREIAAYFAlBNqLQACgkQiIP6VqMIqNcC2QD+Lzid1dUP0fz97Y87gPAtmqOa
+LOY3kwJ84Yjn0zftOf4A/2wqmJTJx69dSbCYsgil9SCKJWW6O5C3i5V8HUCadn8f
+=G0nS
-----END PGP SIGNATURE-----
diff --git a/dev-ruby/draper/draper-0.17.0.ebuild b/dev-ruby/draper/draper-0.17.0.ebuild
new file mode 100644
index 0000000..291e77c
--- /dev/null
+++ b/dev-ruby/draper/draper-0.17.0.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI="4"
+USE_RUBY="ruby18 ruby19"
+
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.markdown Readme.markdown"
+
+RUBY_FAKEGEM_DOCDIR="doc"
+RUBY_FAKEGEM_TASK_DOC=""
+RUBY_FAKEGEM_RECIPE_TEST="rspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="View Models for Rails"
+HOMEPAGE="https://github.com/jcasimir/draper"
+LICENSE="MIT"
+
+KEYWORDS="~amd64"
+SLOT="0"
+IUSE="test"
+
+# Backport fix that causes problems when using cucumber or when sending
+# email.
+# https://github.com/jcasimir/draper/commit/5da443366cc7146601d3feca21fe778cac5b0e72
+#RUBY_PATCHES=( "${P}-view-context.patch" )
+
+ruby_add_rdepend ">=dev-ruby/actionpack-3.2 >=dev-ruby/activesupport-3.2"
+
+ruby_add_bdepend "test? (
+ >=dev-ruby/ammeter-0.2.2
+ >=dev-ruby/railties-3.2
+ )"
+
+all_ruby_prepare() {
+ rm Gemfile || die
+ sed -i -e '/[Bb]undler/ s:^:#:' spec/spec_helper.rb || die
+ sed -i -e '3i require "draper"' spec/spec_helper.rb || die
+
+ # Avoid failing specs for ruby18. These won't be fixed, but my own
+ # applications seem to work fine for now with ruby18.
+ sed -i -e '/never proxy to_param/,/^ end/ s:^:#:' \
+ -e '/never proxy id if/,/^ end/ s:^:#:' \
+ -e '/never proxy errors/,/^ end/ s:^:#:' \
+ -e '/proxies method directly after first hit/,/end/ s:^:#:' \
+ spec/draper/base_spec.rb || die
+}
next reply other threads:[~2012-09-10 8:46 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-09-10 8:45 Hans de Graaff [this message]
-- strict thread matches above, loose matches on Subject: below --
2016-07-26 18:12 [gentoo-commits] dev/graaff:master commit in: dev-ruby/draper/ Hans de Graaff
2016-07-26 18:12 Hans de Graaff
2015-06-10 6:50 Hans de Graaff
2015-04-17 13:02 Hans de Graaff
2015-04-17 13:02 Hans de Graaff
2014-09-24 7:31 Hans de Graaff
2014-09-24 7:31 Hans de Graaff
2014-06-18 9:32 Hans de Graaff
2014-02-21 12:23 Hans de Graaff
2013-11-01 7:33 Hans de Graaff
2013-06-28 13:18 Hans de Graaff
2012-11-14 15:20 Hans de Graaff
2012-09-10 8:45 Hans de Graaff
2012-08-28 14:11 Hans de Graaff
2012-07-05 8:47 Hans de Graaff
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1347266740.35b8f5f7992d7e1ba570c7f1a916790a7020b472.graaff@gentoo \
--to=graaff@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox