summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/jsobfu/Manifest1
-rw-r--r--dev-ruby/jsobfu/jsobfu-0.3.0.ebuild30
2 files changed, 31 insertions, 0 deletions
diff --git a/dev-ruby/jsobfu/Manifest b/dev-ruby/jsobfu/Manifest
index dc7debe8022c..9085b4bdb292 100644
--- a/dev-ruby/jsobfu/Manifest
+++ b/dev-ruby/jsobfu/Manifest
@@ -1 +1,2 @@
DIST jsobfu-0.2.1.gem 20480 SHA256 16fef3066b9049bbcdb9949f6d185af75eda768ff2e221b69c16e9d793ac23e5 SHA512 b2ae7a59d0900984c92a5f7a199de2ca02e2f8bbca4f7a0e70610e06c5b763455cc71b3356a0bac91efb5d786d0a1ae4ffeda4e70995cfed3d52e46a82347a9b WHIRLPOOL 4caee1de395955565b00a3a9ff4558e35348038632b7024e176e84541d7f96c79a7b4d332ce4ab7c627b0ebcb6666a52f954a030143e83fc1edb5f25eb37f5ae
+DIST jsobfu-0.3.0.gem 20992 SHA256 a0c02d68cdaa7bbca2773e1cd2c8861da6b07655bbea3eb806f8c3b26dc4f1cb SHA512 64084589066bb8d5c4c775a9a910214306fc1b39ff54582a0cf6485efcca667de57e9e26c02139d1b7baabadf38947464c03bebb72aae65c7be8f993413b6389 WHIRLPOOL b1a3ad0c6e8d5f43b3c2dcb30b18424fb28c53a59330dd08771f7f3e82eabf1461e8de76bb0466b8c54bd238e828d4922d574b45803ad73f0753bbfeeece9aab
diff --git a/dev-ruby/jsobfu/jsobfu-0.3.0.ebuild b/dev-ruby/jsobfu/jsobfu-0.3.0.ebuild
new file mode 100644
index 000000000000..4f1b408d6a0c
--- /dev/null
+++ b/dev-ruby/jsobfu/jsobfu-0.3.0.ebuild
@@ -0,0 +1,30 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+USE_RUBY="ruby19 ruby20 ruby21 ruby22"
+
+RUBY_FAKEGEM_RECIPE_DOC="rdoc"
+
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+
+inherit ruby-fakegem
+
+DESCRIPTION="A Javascript code obfuscator"
+HOMEPAGE="https://github.com/rapid7/jsobfu"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+ruby_add_rdepend ">=dev-ruby/rkelly-remix-0.0.6:0"
+
+all_ruby_prepare() {
+ sed -i -e '/simplecov/ s:^:#:' \
+ -e '/config.\(color\|tty\|formatter\)/ s:^:#:' \
+ spec/spec_helper.rb || die
+
+ sed -i -e '/rkelly-remix/,/name:/ s/=/~>/' ../metadata || die
+}