diff options
-rw-r--r-- | app-forensics/brakeman/ChangeLog | 5 | ||||
-rw-r--r-- | app-forensics/brakeman/Manifest | 1 | ||||
-rw-r--r-- | app-forensics/brakeman/brakeman-3.0.3.ebuild | 47 |
3 files changed, 53 insertions, 0 deletions
diff --git a/app-forensics/brakeman/ChangeLog b/app-forensics/brakeman/ChangeLog index b4ff081e..246b9d6e 100644 --- a/app-forensics/brakeman/ChangeLog +++ b/app-forensics/brakeman/ChangeLog @@ -2,6 +2,11 @@ # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 # $Header: $ +*brakeman-3.0.3 (05 May 2015) + + 05 May 2015; Hans de Graaff <graaff@gentoo.org> +brakeman-3.0.3.ebuild: + Version bump. + *brakeman-2.6.3-r1 (19 Apr 2015) 19 Apr 2015; Hans de Graaff <graaff@gentoo.org> -brakeman-2.6.3.ebuild, diff --git a/app-forensics/brakeman/Manifest b/app-forensics/brakeman/Manifest index 784e2efb..fb592b11 100644 --- a/app-forensics/brakeman/Manifest +++ b/app-forensics/brakeman/Manifest @@ -1 +1,2 @@ DIST brakeman-2.6.3.tar.gz 508761 SHA256 46f3202614b1a6e12eb0d16c4121adff5ae68e644ecd048982cb079cff28ffd9 SHA512 da54bd366df193bd1cc926e28a39a4901f8055be6a772fadf620a9efa639523e5a5314da3e19a4f2de0dce6c8cc7149308f09d4bfade794329ad455acd9d907f WHIRLPOOL 757930cbf9758095e072802db623afb726033b7d8ea7c5e7375dd15dabe2ae2146009ba9567182c051df28633b7da8727caf65067e69717f71bf7932fff39d8a +DIST brakeman-3.0.3.tar.gz 529784 SHA256 ba3da9af47d6277c9c5f2b887e7899063eb74b57f25cb883e7f7f9b8cb70d828 SHA512 ec93252cdc46c3842f9e75a9c390303a1feaeaf95daf6f618c9adbad9ccea7d3115e0ced570bb68824f38b039fc717cb7b136283458bcba5463960ebaf463664 WHIRLPOOL 1d9f5bdd8ba3f02ff1ec196db6bd7e1d6c0c1e15ad8db0f3a5814331f0ec8223b992fe27beb78c8522c73351663690ad7ce255a9a47361535bbc9bc0a029a724 diff --git a/app-forensics/brakeman/brakeman-3.0.3.ebuild b/app-forensics/brakeman/brakeman-3.0.3.ebuild new file mode 100644 index 00000000..402277e2 --- /dev/null +++ b/app-forensics/brakeman/brakeman-3.0.3.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=5 +USE_RUBY="ruby19 ruby20" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="CHANGES FEATURES README.md WARNING_TYPES" + +RUBY_FAKEGEM_TASK_TEST="" + +RUBY_FAKEGEM_GEMSPEC="brakeman.gemspec" + +inherit ruby-fakegem + +DESCRIPTION="a static analysis tool which checks Ruby on Rails applications for security vulnerabilities" +HOMEPAGE="http://brakemanscanner.org/" +SRC_URI="https://github.com/presidentbeef/brakeman/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +ruby_add_rdepend " + >=dev-ruby/erubis-2.6 + >=dev-ruby/haml-3.0:* <dev-ruby/haml-5:* + >=dev-ruby/highline-1.6.20 =dev-ruby/highline-1* + >=dev-ruby/multi_json-1.2 =dev-ruby/multi_json-1* + >=dev-ruby/ruby2ruby-2.1.1 =dev-ruby/ruby2ruby-2.1* + >=dev-ruby/ruby_parser-3.6.2 =dev-ruby/ruby_parser-3* + >=dev-ruby/sass-3.0:* =dev-ruby/sass-3*:* + >=dev-ruby/slim-1.3.6 <dev-ruby/slim-3 + >=dev-ruby/terminal-table-1.4 =dev-ruby/terminal-table-1*" + +all_ruby_prepare() { + # Remove fastercsv since it's a no-op on ruby19. + sed -i -e '/fastercsv/d' \ + -e '/ruby_parser/ s/3.6.2/3.6/' \ + -e '/highline/ s/1.6.20/1.6/' \ + ${RUBY_FAKEGEM_GEMSPEC} || die +} + +each_ruby_test() { + ${RUBY} test/test.rb || die +} |