diff options
author | Manuel Rüger <mrueg@gentoo.org> | 2015-02-04 20:00:55 +0000 |
---|---|---|
committer | Manuel Rüger <mrueg@gentoo.org> | 2015-02-04 20:00:55 +0000 |
commit | efa41a6ef96a980619892d2edfb51b0946588b31 (patch) | |
tree | 176895fc5fed4ceaefe63876053e05e37f8c977d /dev-ruby/safe_yaml/safe_yaml-1.0.4-r1.ebuild | |
parent | Non-maintainer commit: Revbump to provide php5.4 and php5.5 support (only one... (diff) | |
download | gentoo-2-efa41a6ef96a980619892d2edfb51b0946588b31.tar.gz gentoo-2-efa41a6ef96a980619892d2edfb51b0946588b31.tar.bz2 gentoo-2-efa41a6ef96a980619892d2edfb51b0946588b31.zip |
Prepare a stabilization candidate.
(Portage version: 2.2.15/cvs/Linux x86_64, signed Manifest commit with key )
Diffstat (limited to 'dev-ruby/safe_yaml/safe_yaml-1.0.4-r1.ebuild')
-rw-r--r-- | dev-ruby/safe_yaml/safe_yaml-1.0.4-r1.ebuild | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/dev-ruby/safe_yaml/safe_yaml-1.0.4-r1.ebuild b/dev-ruby/safe_yaml/safe_yaml-1.0.4-r1.ebuild new file mode 100644 index 000000000000..9db8cb6267ce --- /dev/null +++ b/dev-ruby/safe_yaml/safe_yaml-1.0.4-r1.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-ruby/safe_yaml/safe_yaml-1.0.4-r1.ebuild,v 1.1 2015/02/04 20:00:55 mrueg Exp $ + +EAPI=5 + +USE_RUBY="ruby19 ruby20 ruby21" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_EXTRADOC="README.md" +RUBY_FAKEGEM_RECIPE_TEST="none" + +inherit ruby-fakegem + +DESCRIPTION="Parse YAML safely, without that pesky arbitrary object deserialization vulnerability" +HOMEPAGE="https://dtao.github.com/safe_yaml" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" +IUSE="test" + +ruby_add_bdepend "test? ( dev-ruby/hashie + dev-ruby/heredoc_unindent + dev-ruby/rspec:2 )" + +each_ruby_test() { + # Run specs with monkeypatch + ${RUBY} -S rspec --tag ~libraries || die + + # Running specs without monkeypatch + ${RUBY} -S rspec --tag libraries || die +} |