commit: 82fe0b4b87e794dc197bc5fd7990e1a1defeaadf Author: Hans de Graaff <hans <AT> degraaff <DOT> org> AuthorDate: Mon Sep 12 15:00:34 2016 +0000 Commit: Hans de Graaff <graaff <AT> gentoo <DOT> org> CommitDate: Mon Sep 12 15:00:34 2016 +0000 URL: https://gitweb.gentoo.org/dev/graaff.git/commit/?id=82fe0b4b
dev-ruby/secure_headers: add 3.4.1 Package-Manager: portage-2.2.28 dev-ruby/secure_headers/Manifest | 1 + dev-ruby/secure_headers/metadata.xml | 5 ++++ .../secure_headers/secure_headers-3.4.1.ebuild | 29 ++++++++++++++++++++++ 3 files changed, 35 insertions(+) diff --git a/dev-ruby/secure_headers/Manifest b/dev-ruby/secure_headers/Manifest new file mode 100644 index 0000000..093ff24 --- /dev/null +++ b/dev-ruby/secure_headers/Manifest @@ -0,0 +1 @@ +DIST secure_headers-3.4.1.gem 51712 SHA256 76066d08c112bddfed9c8157dd5e0236fdddc2c0a6650eb7e48ae7bc5f78739e SHA512 88890e8d0e537a9d9b689b1cf4701f2ddb2a7bccb745bf8ba9869d9cafb9d39a849514224d9e2d49e766e0d377503130f8b1acf0a964d830affa819dda033a82 WHIRLPOOL 1aa919e25b4723d0c0bb7c6444fb5e502a4fdf81546e286dc0ef498ea2c4084b600e8559c2e9621c7756a6fcc47134325c2923b24f1b53050116f7afc627d6bb diff --git a/dev-ruby/secure_headers/metadata.xml b/dev-ruby/secure_headers/metadata.xml new file mode 100644 index 0000000..f977299 --- /dev/null +++ b/dev-ruby/secure_headers/metadata.xml @@ -0,0 +1,5 @@ +<?xml version = '1.0' encoding = 'UTF-8'?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> +<maintainer><email>gra...@gentoo.org</email></maintainer> +</pkgmetadata> diff --git a/dev-ruby/secure_headers/secure_headers-3.4.1.ebuild b/dev-ruby/secure_headers/secure_headers-3.4.1.ebuild new file mode 100644 index 0000000..fb37bf4 --- /dev/null +++ b/dev-ruby/secure_headers/secure_headers-3.4.1.ebuild @@ -0,0 +1,29 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 +USE_RUBY="ruby20 ruby21 ruby22 ruby23" + +RUBY_FAKEGEM_RECIPE_DOC="rdoc" +RUBY_FAKEGEM_RECIPE_TEST="rspec3" +RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md" + +inherit ruby-fakegem + +DESCRIPTION="Security related headers all in one gem" +HOMEPAGE="https://github.com/twitter/secureheaders" +LICENSE="Apache-2.0" + +KEYWORDS="~amd64" +SLOT="3" +IUSE="" + +ruby_add_rdepend "dev-ruby/useragent" + +all_ruby_prepare() { + sed -i -e '/pry/ s:^:#:' \ + -e '/coverall/I s:^:#:' \ + -e '1irequire "securerandom"; require "uri"' \ + spec/spec_helper.rb || die +}