public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Hans de Graaff" <graaff@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] dev/graaff:master commit in: dev-ruby/rails_best_practices/
Date: Mon,  8 Oct 2012 13:51:11 +0000 (UTC)	[thread overview]
Message-ID: <1349704264.f38fd31b2be87aeff82f3a6963705401e1e4082c.graaff@gentoo> (raw)

commit:     f38fd31b2be87aeff82f3a6963705401e1e4082c
Author:     Hans de Graaff <hans <AT> degraaff <DOT> org>
AuthorDate: Mon Oct  8 13:51:04 2012 +0000
Commit:     Hans de Graaff <graaff <AT> gentoo <DOT> org>
CommitDate: Mon Oct  8 13:51:04 2012 +0000
URL:        http://git.overlays.gentoo.org/gitweb/?p=dev/graaff.git;a=commit;h=f38fd31b

Install missing assets.

(Portage version: 2.1.11.9/git/Linux x86_64, signed Manifest commit with key 0x8883FA56A308A8D7!)

---
 dev-ruby/rails_best_practices/ChangeLog            |    6 +++
 .../rails_best_practices-1.11.1-r1.ebuild          |   44 ++++++++++++++++++++
 2 files changed, 50 insertions(+), 0 deletions(-)

diff --git a/dev-ruby/rails_best_practices/ChangeLog b/dev-ruby/rails_best_practices/ChangeLog
index c525707..314990e 100644
--- a/dev-ruby/rails_best_practices/ChangeLog
+++ b/dev-ruby/rails_best_practices/ChangeLog
@@ -2,6 +2,12 @@
 # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2
 # $Header: $
 
+*rails_best_practices-1.11.1-r1 (08 Oct 2012)
+
+  08 Oct 2012; Hans de Graaff <graaff@gentoo.org>
+  +rails_best_practices-1.11.1-r1.ebuild:
+  Install missing assets.
+
   08 Oct 2012; Hans de Graaff <graaff@gentoo.org>
   rails_best_practices-1.11.1.ebuild:
   Add missing dependency on awesome_print.

diff --git a/dev-ruby/rails_best_practices/rails_best_practices-1.11.1-r1.ebuild b/dev-ruby/rails_best_practices/rails_best_practices-1.11.1-r1.ebuild
new file mode 100644
index 0000000..c882b46
--- /dev/null
+++ b/dev-ruby/rails_best_practices/rails_best_practices-1.11.1-r1.ebuild
@@ -0,0 +1,44 @@
+# Copyright 1999-2012 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=4
+USE_RUBY="ruby19"
+
+RUBY_FAKEGEM_TASK_DOC=""
+RUBY_FAKEGEM_EXTRADOC="README.md"
+
+RUBY_FAKEGEM_RECIPE_TEST="rspec"
+
+RUBY_FAKEGEM_EXTRAINSTALL="assets rails_best_practices.yml"
+
+inherit ruby-fakegem
+
+DESCRIPTION="a gem to check quality of rails app files"
+HOMEPAGE="http://wiki.github.com/flyerhzm/rails_best_practices"
+LICENSE="MIT"
+
+KEYWORDS="~amd64"
+SLOT="0"
+IUSE=""
+
+ruby_add_bdepend "test? ( dev-ruby/rspec:2 )"
+
+ruby_add_rdepend "
+	dev-ruby/awesome_print
+	dev-ruby/code_analyzer
+	dev-ruby/colored
+	dev-ruby/erubis
+	dev-ruby/activesupport
+	dev-ruby/i18n
+	dev-ruby/ruby-progressbar"
+
+all_ruby_prepare() {
+	sed -i -e '/[Bb]undler/d' Rakefile || die
+	rm Gemfile || die
+
+	# Avoid slim specs since we don't have that available.
+	sed -i -e '/should law of demeter with slim/,/end/ s:^:#:' spec/rails_best_practices/reviews/law_of_demeter_review_spec.rb || die
+	sed -i -e '/should move code into model with slim/,/end/ s:^:#:' spec/rails_best_practices/reviews/move_code_into_model_review_spec.rb || die
+	sed -i -e '/local varialbe in slim file/,/end/ s:^:#:' spec/rails_best_practices/reviews/replace_instance_variable_with_local_variable_review_spec.rb || die
+}


             reply	other threads:[~2012-10-08 13:51 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-08 13:51 Hans de Graaff [this message]
  -- strict thread matches above, loose matches on Subject: below --
2014-09-26  9:12 [gentoo-commits] dev/graaff:master commit in: dev-ruby/rails_best_practices/ Hans de Graaff
2013-06-21 11:37 Hans de Graaff
2012-10-08 13:51 Hans de Graaff
2012-10-08 13:37 Hans de Graaff
2012-06-02 15:47 Hans de Graaff
2011-08-16 10:01 Hans de Graaff
2011-07-13  8:35 Hans de Graaff
2011-06-15 11:38 Hans de Graaff
2011-06-15 11:38 Hans de Graaff
2011-05-18 14:38 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=1349704264.f38fd31b2be87aeff82f3a6963705401e1e4082c.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