summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHans de Graaff <graaff@gentoo.org>2016-01-16 08:03:17 +0100
committerHans de Graaff <graaff@gentoo.org>2016-01-16 08:03:17 +0100
commite7b8b627e2a65dad015873d85d9aa0fcb154f99c (patch)
treeb6ca917c067bdc5f8cfac27363b59fcd8d69c809 /dev-ruby/ruby-beautify
parentdev-ruby/regexp_parser: add 0.3.2 (diff)
downloadgentoo-e7b8b627e2a65dad015873d85d9aa0fcb154f99c.tar.gz
gentoo-e7b8b627e2a65dad015873d85d9aa0fcb154f99c.tar.bz2
gentoo-e7b8b627e2a65dad015873d85d9aa0fcb154f99c.zip
dev-ruby/ruby-beautify: add 0.97.4
Package-Manager: portage-2.2.26
Diffstat (limited to 'dev-ruby/ruby-beautify')
-rw-r--r--dev-ruby/ruby-beautify/Manifest1
-rw-r--r--dev-ruby/ruby-beautify/ruby-beautify-0.97.4.ebuild34
2 files changed, 35 insertions, 0 deletions
diff --git a/dev-ruby/ruby-beautify/Manifest b/dev-ruby/ruby-beautify/Manifest
index 903a2bcb3c56..2db4e2e36399 100644
--- a/dev-ruby/ruby-beautify/Manifest
+++ b/dev-ruby/ruby-beautify/Manifest
@@ -1,2 +1,3 @@
DIST ruby-beautify-0.93.2.gem 9216 SHA256 6b2ca9d69495b66d35569a3fe895485063b9f506d0002b970ec88bc778ffd366 SHA512 ff2d97020d1a4c394e26387cd92b6e4b04066f539cd28ed2c3b122606a2e2aea18939373c1d23e229e4ae17bb670b8dbe109d9b45c86e3a5c59614babd212cac WHIRLPOOL ed2867b02001acbfb15465aaff737cddf79672cf4d1cefac8d5734b73aa50c4b3043796d19f887192f9c95383e80583435d9a818ee8b50f06673ee6f74815aaa
DIST ruby-beautify-0.97.3.gem 14848 SHA256 aa7d0fb34a5d878a686d0b950fa572addb4d3ea1bb7dac4b00a1fbd3d8815e58 SHA512 aac43448330852b692f8ca1d51777db9b966fffaff9e61decbadb9646e2727cbe458427fa9503aee2fbf597ed72ebb89a0b4e2585471bf4c52bb4b5a1ef41962 WHIRLPOOL 073a6362c9f90f32dc5c12a4da204dcf4472fa1cf41b4b0b4830eb344cda0edf48d352fc2a138b9c3c846e1fe6306086aa41db4ade4461600f6971b185cf41f0
+DIST ruby-beautify-0.97.4.gem 15360 SHA256 04b7ae72a79160b72e532860764344ddf62e97cd3d564a8675c22c10f0ad5add SHA512 0ce3403587f12036387e5556632e5f2bf57066949fe401699d6de256d26a91d2dc8f7e007ce4514a7672ad0896cd1c498b5a35965640dadfa7383915b12989f3 WHIRLPOOL eb97c18e1cdace13fdf7c56470df9fa399b3a4ba6113c1b12335ac2d3c6977e58bb233693d46ec5b5cff03ad42c15cf811e1f429e7463db9cc27f249d4a5068c
diff --git a/dev-ruby/ruby-beautify/ruby-beautify-0.97.4.ebuild b/dev-ruby/ruby-beautify/ruby-beautify-0.97.4.ebuild
new file mode 100644
index 000000000000..fb51c070f228
--- /dev/null
+++ b/dev-ruby/ruby-beautify/ruby-beautify-0.97.4.ebuild
@@ -0,0 +1,34 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+USE_RUBY="ruby20 ruby21 ruby22"
+
+RUBY_FAKEGEM_RECIPE_TEST="rspec"
+
+RUBY_FAKEGEM_EXTRADOC="README.md WHATSNEW.md"
+RUBY_FAKEGEM_RECIPE_DOC="rdoc"
+
+inherit ruby-fakegem
+
+DESCRIPTION="a cli tool (and module) to beautify ruby code"
+HOMEPAGE="https://github.com/erniebrodeur/ruby-beautify"
+LICENSE="MIT"
+
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc64 ~x86"
+SLOT="0"
+IUSE=""
+
+all_ruby_prepare() {
+ sed -i -e '/codeclimate/I s:^:#:' spec/spec_helper.rb || die
+}
+
+each_ruby_prepare() {
+ # Needed for specs
+ mkdir tmp || die
+
+ # Use correct ruby interpreter to test and avoid bundler. Handle
+ # directory changes.
+ sed -i -e 's|bundle exec|'${RUBY}' -Ilib:../lib -S|' spec/bin/ruby-beautify_spec.rb || die
+}