diff options
author | Hans de Graaff <graaff@gentoo.org> | 2017-07-22 07:52:27 +0200 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2017-07-22 07:52:27 +0200 |
commit | 3b6efcf125b39936de6fd2007282811cadb56468 (patch) | |
tree | d5013f0e1a4523134b6237eb7d0f69bd23c7986c /dev-ruby/jira-ruby | |
parent | dev-ruby/webmock: document ruby24 status (diff) | |
download | gentoo-3b6efcf125b39936de6fd2007282811cadb56468.tar.gz gentoo-3b6efcf125b39936de6fd2007282811cadb56468.tar.bz2 gentoo-3b6efcf125b39936de6fd2007282811cadb56468.zip |
dev-ruby/jira-ruby: add 1.3.0
Package-Manager: Portage-2.3.6, Repoman-2.3.2
Diffstat (limited to 'dev-ruby/jira-ruby')
-rw-r--r-- | dev-ruby/jira-ruby/Manifest | 1 | ||||
-rw-r--r-- | dev-ruby/jira-ruby/jira-ruby-1.3.0.ebuild | 43 |
2 files changed, 44 insertions, 0 deletions
diff --git a/dev-ruby/jira-ruby/Manifest b/dev-ruby/jira-ruby/Manifest index f93a7e8d318a..59498e0756c2 100644 --- a/dev-ruby/jira-ruby/Manifest +++ b/dev-ruby/jira-ruby/Manifest @@ -1 +1,2 @@ DIST jira-ruby-1.2.0.gem 53760 SHA256 427127d81f6cbe94ba8c0b9c25e7caedcdee6226719ddd9a9ab4b9c64d2dda4a SHA512 83f469a818fcfe84fb4d7dd744400f937b114930e3108ac3a2d4aa99f4d0780961d929b781cc0f9bb614c09cc7651a7e9addb2d5a38caa086f239abc5aed92f8 WHIRLPOOL 130da1340fb7b28bd0046f6b370498aa8dcde13c89dab4693e2c18f34ccbb469101a255aa3a4e15fed783dbf2c691709747eb1f3d2f710124c16c477cbf975e6 +DIST jira-ruby-1.3.0.gem 57344 SHA256 b25f24188e42b0e87b6a8d5b6abfab999e94ae82de5fde32a1e9661c648e093a SHA512 dcfbce86e21b57a2c50d11655d4e94c7341c32f32c935f7d2f841d4706e61011c96b2bc57a8d7f2c0c6a1288b21ac7fcef9d21d16a8b6a8d6f82e6e8ef77b7ac WHIRLPOOL 936630df6c1f7bd63d7349a305fd64b34794c08c38cbdebb7e5d9aefde76904ad2696201b14f67b460ddc17f0802499662452b2f9517e411ac2526e8da0f83d8 diff --git a/dev-ruby/jira-ruby/jira-ruby-1.3.0.ebuild b/dev-ruby/jira-ruby/jira-ruby-1.3.0.ebuild new file mode 100644 index 000000000000..cb9db68128a2 --- /dev/null +++ b/dev-ruby/jira-ruby/jira-ruby-1.3.0.ebuild @@ -0,0 +1,43 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +USE_RUBY="ruby22 ruby23" + +RUBY_FAKEGEM_RECIPE_TEST="rspec3" +RUBY_FAKEGEM_RECIPE_DOC="rdoc" + +inherit ruby-fakegem + +DESCRIPTION="API for JIRA" +HOMEPAGE="https://github.com/sumoheavy/jira-ruby https://rubygems.org/gems/jira-ruby" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +ruby_add_rdepend "dev-ruby/activesupport:* + dev-ruby/multipart-post + >=dev-ruby/oauth-0.5.0 + <dev-ruby/oauth-1" + +ruby_add_bdepend "test? ( + dev-ruby/railties + >=dev-ruby/webmock-1.18.0:0 + dev-ruby/rake )" + +DEPEND="${DEPEND} test? ( dev-libs/openssl:0 )" + +all_ruby_prepare() { + sed -i -e "/bundler/d" \ + -e '1igem "webmock", "~>1.0"' \ + spec/spec_helper.rb || die + sed -i -e '/git ls-files/d' ${PN}.gemspec || die +} + +each_ruby_test() { + ${RUBY} -S rake jira:generate_public_cert || die + RSPEC_VERSION=3 ruby-ng_rspec || die +} |