diff options
Diffstat (limited to 'dev-ruby/best_in_place')
-rw-r--r-- | dev-ruby/best_in_place/Manifest | 5 | ||||
-rw-r--r-- | dev-ruby/best_in_place/best_in_place-3.1.1.ebuild | 65 | ||||
-rw-r--r-- | dev-ruby/best_in_place/metadata.xml | 11 |
3 files changed, 81 insertions, 0 deletions
diff --git a/dev-ruby/best_in_place/Manifest b/dev-ruby/best_in_place/Manifest new file mode 100644 index 000000000000..9c228bdfc4f9 --- /dev/null +++ b/dev-ruby/best_in_place/Manifest @@ -0,0 +1,5 @@ +DIST best_in_place-3.1.1.gem 75264 SHA256 5a682a28b001a0f3bc557ea82085bc2bc29122115d662c8707b040a192aa2765 SHA512 f6a26590769f8d6ab6b6bf9ef955e2c26b6116ab82ccaf3bc26cfae435cb0bc594facae6dcb052bafdaaeb5806f7091eb9ad21e51940030eadd437ae342f1d33 WHIRLPOOL b3f4549b4ba2219376b759858637ccc4f3dbf277f0fc31e50d8c92506c35429fb07e2ac7d6d10c4f004ac45eec91bdb125b44afc5dc551da976b5293581c4c12 +EBUILD best_in_place-3.1.1.ebuild 1543 SHA256 ae231beadd4859b2459e66ca82fa83c68f623990683342d3ce6934d38a6d2ee2 SHA512 4c2e74fda0e5a4dfd0eede1778adcdcc00d301ac4d8c3cbdcd50790a8dbf514f529e80fbabb105bbdcc4a3d10bd54028b464af154cb970a813bad95cc7df3e32 WHIRLPOOL 524d26008f231fee4f4584104715fcfb750d3965867e5064b8936f023c8c2d33e28db8df6740024aa6e9f850f6038c0efc5340b5a0597f2e2a376f2b88eff2e1 +MISC ChangeLog 3140 SHA256 e64f2df804f0b78548d9aea71eb1e18bf2e818137263977fb4b8868893322ca0 SHA512 844cc0be1d1e57f14f72a28c29a4d865d6cafcad9a0cfc8b2bdd9a5798e70e4f9eeace92dd59b5d1e8f3e3e7006ec87b14a0815cf8148ff3a073584d16bb06ce WHIRLPOOL 139366ec70fcbf522236c38a5d49804d7740d643598cd5630c67fd1d8a7c389db4800369c5c61cd8c8a26fc9d68dce61af2a245a8130c1dea85088f3ed5094b6 +MISC ChangeLog-2015 3324 SHA256 fc36db20d2b68c80f35681a14d57ddfb6db6c27b4f93ab8d0d6d80b77c3eae45 SHA512 42cf6416fb0e950a21374b98d2dafd8f18d58d0478ef9163050b36a8c4b06c809d3a41b8714a93085a9f7e559a5aca6329f00598b6badb0a27e0661646b31c8b WHIRLPOOL 48e34f1efb8302e34a8d65b88e8e26d47f65e7294cd36a19b70e5064d9b9082b81e322157f15723300ab45d1a8324cbe87a361bbc7c5b1d6c621e4ec9be95671 +MISC metadata.xml 346 SHA256 ab18ae490f8cd7619939154f7c64e2f0fb8bdd0952b3ae420973753d412f7e3c SHA512 a1520466230b22b873dc8b80f482d3408c48c39b641e5ff12a1086c421a97c48636aff9d599f88097fa202249627e88603ac14fa792f828eb8c0197a86ce98b4 WHIRLPOOL 5545d1e655916c9bf18097746ed9dce9fad3254b567141b05d8bb01e2c9dba8c28431052ee7555bd7f52f285996e55bed67fecd9e1ce6916cfb39ff0d710bb35 diff --git a/dev-ruby/best_in_place/best_in_place-3.1.1.ebuild b/dev-ruby/best_in_place/best_in_place-3.1.1.ebuild new file mode 100644 index 000000000000..ec12f4326dc1 --- /dev/null +++ b/dev-ruby/best_in_place/best_in_place-3.1.1.ebuild @@ -0,0 +1,65 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +USE_RUBY="ruby21 ruby22 ruby23" + +RUBY_FAKEGEM_TASK_DOC="" +RUBY_FAKEGEM_EXTRADOC="README.md" + +RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec" + +# if ever needed +#GITHUB_USER="bernat" +#GITHUB_PROJECT="${PN}" +#RUBY_S="${GITHUB_USER}-${GITHUB_PROJECT}-*" + +inherit virtualx ruby-fakegem + +DESCRIPTION="In-place editor helper for Rails 3" +HOMEPAGE="https://github.com/bernat/best_in_place" + +LICENSE="MIT" +SLOT="3" +KEYWORDS="~amd64" +IUSE="" + +ruby_add_rdepend " + >=dev-ruby/actionpack-3.2:* + >=dev-ruby/railties-3.2:* +" + +ruby_add_bdepend " + test? ( + dev-ruby/rdiscount + dev-ruby/rspec-rails:3 + >=dev-ruby/nokogiri-1.5.0 + >=dev-ruby/capybara-1.1.2 + >=dev-ruby/rails-3.2 + >=dev-ruby/sqlite3-1.3.4-r1 + dev-ruby/bundler + )" + +all_ruby_prepare() { + sed -i \ + -e '/git ls-files/d' \ + ${RUBY_FAKEGEM_GEMSPEC} || die + + # Tweak Gemfile so we can use it to run specs but can avoid missing + # dependencies. Also use packaged versions of jquery and jquery-ui. + sed -i -e '/\(rails-assets\|appraisal\)/ s:^:#:' \ + -e '2agem "rspec", "~>3.0"' \ + -e '2agem "jquery-rails"' -e '2agem "jquery-ui-rails"' \ + -e '/byebug/ s:^:#:' \ + -e '/\(launchy\|poltergeist\)/d' \ + Gemfile + sed -i -e '/poltergeist/,/javascript_driver/ s:^:#:' spec/rails_helper.rb || die + + # Remove integration tests. They fail to run and depend on obsolete + # poltergeist/phantomjs. + rm -rf spec/integration || die +} + +each_ruby_test() { + ${RUBY} -S bundle exec rspec-3 spec || die +} diff --git a/dev-ruby/best_in_place/metadata.xml b/dev-ruby/best_in_place/metadata.xml new file mode 100644 index 000000000000..b53aebe9fcc6 --- /dev/null +++ b/dev-ruby/best_in_place/metadata.xml @@ -0,0 +1,11 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>ruby@gentoo.org</email> + <name>Gentoo Ruby Project</name> + </maintainer> + <upstream> + <remote-id type="github">bernat/best_in_place</remote-id> + </upstream> +</pkgmetadata> |