summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-ruby/safe_yaml/ChangeLog7
-rw-r--r--dev-ruby/safe_yaml/safe_yaml-1.0.4.ebuild33
2 files changed, 39 insertions, 1 deletions
diff --git a/dev-ruby/safe_yaml/ChangeLog b/dev-ruby/safe_yaml/ChangeLog
index 3f1029e0baab..add28ef7da5f 100644
--- a/dev-ruby/safe_yaml/ChangeLog
+++ b/dev-ruby/safe_yaml/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-ruby/safe_yaml
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-ruby/safe_yaml/ChangeLog,v 1.14 2014/08/15 14:26:12 blueness Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-ruby/safe_yaml/ChangeLog,v 1.15 2014/09/30 04:56:02 graaff Exp $
+
+*safe_yaml-1.0.4 (30 Sep 2014)
+
+ 30 Sep 2014; Hans de Graaff <graaff@gentoo.org> +safe_yaml-1.0.4.ebuild:
+ Version bump.
15 Aug 2014; Anthony G. Basile <blueness@gentoo.org> ChangeLog:
Fix failed gpg signature
diff --git a/dev-ruby/safe_yaml/safe_yaml-1.0.4.ebuild b/dev-ruby/safe_yaml/safe_yaml-1.0.4.ebuild
new file mode 100644
index 000000000000..d2f601db83cc
--- /dev/null
+++ b/dev-ruby/safe_yaml/safe_yaml-1.0.4.ebuild
@@ -0,0 +1,33 @@
+# Copyright 1999-2014 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.ebuild,v 1.1 2014/09/30 04:56:02 graaff Exp $
+
+EAPI=5
+
+USE_RUBY="ruby19 ruby20 ruby21 jruby"
+
+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"
+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
+}