From 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 14 Jul 2018 21:03:06 +0100 Subject: gentoo resync : 14.07.2018 --- dev-ruby/ruby-beautify/Manifest | 3 ++ dev-ruby/ruby-beautify/metadata.xml | 11 ++++++++ dev-ruby/ruby-beautify/ruby-beautify-0.97.4.ebuild | 33 ++++++++++++++++++++++ 3 files changed, 47 insertions(+) create mode 100644 dev-ruby/ruby-beautify/Manifest create mode 100644 dev-ruby/ruby-beautify/metadata.xml create mode 100644 dev-ruby/ruby-beautify/ruby-beautify-0.97.4.ebuild (limited to 'dev-ruby/ruby-beautify') diff --git a/dev-ruby/ruby-beautify/Manifest b/dev-ruby/ruby-beautify/Manifest new file mode 100644 index 000000000000..79e9267ef5dc --- /dev/null +++ b/dev-ruby/ruby-beautify/Manifest @@ -0,0 +1,3 @@ +DIST ruby-beautify-0.97.4.gem 15360 BLAKE2B 92c8e7c09714c27a2e19f8ac00050612c0a23f38132fb64edb326a5bb536ab136c6dfbce8fafb902a5e1263b44f68350050c64b9ed9d12fd946d42073f06e959 SHA512 0ce3403587f12036387e5556632e5f2bf57066949fe401699d6de256d26a91d2dc8f7e007ce4514a7672ad0896cd1c498b5a35965640dadfa7383915b12989f3 +EBUILD ruby-beautify-0.97.4.ebuild 820 BLAKE2B b03f9b89e1d2b255a459fd77b7a90b95b1466bfa8391824b980272dd77275087b783142865ac4189662841effefa8c81aed01887adcb6f2978d52b520cc523e1 SHA512 10c66455d85a8c9ae561041a1423c3c9822b37397f7d8c30735c27b8d9480ba2bb76843d7a13472ef558f3109be1f4de4ac2b06fdf056ab34d75249737197deb +MISC metadata.xml 352 BLAKE2B d619a738b34bab083b72ed3c0b10de0f6229c564580d9c5c72700d4736c222f92235359948858b17ebb883253aa4e15b9f0bdc3e4515b91ef6d470f2f7fff7a8 SHA512 7761217f133dbdd655592ce95085cdabe5095bca4508a23e196d56f10502353301be2a66c873d0da9ebe2995d2fa7817d64ed6d4f776edf546f6ed8ad15f3e98 diff --git a/dev-ruby/ruby-beautify/metadata.xml b/dev-ruby/ruby-beautify/metadata.xml new file mode 100644 index 000000000000..53108d5679fe --- /dev/null +++ b/dev-ruby/ruby-beautify/metadata.xml @@ -0,0 +1,11 @@ + + + + + ruby@gentoo.org + Gentoo Ruby Project + + + erniebrodeur/ruby-beautify + + 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..98776673f64f --- /dev/null +++ b/dev-ruby/ruby-beautify/ruby-beautify-0.97.4.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +USE_RUBY="ruby22 ruby23 ruby24" + +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 ppc ppc64 ~sparc 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 +} -- cgit v1.2.3