summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--dev-ruby/phlex-rails/Manifest1
-rw-r--r--dev-ruby/phlex-rails/phlex-rails-1.2.2.ebuild40
2 files changed, 41 insertions, 0 deletions
diff --git a/dev-ruby/phlex-rails/Manifest b/dev-ruby/phlex-rails/Manifest
index 8aee0cd9..ce1c81a7 100644
--- a/dev-ruby/phlex-rails/Manifest
+++ b/dev-ruby/phlex-rails/Manifest
@@ -2,3 +2,4 @@ DIST phlex-rails-1.0.0.tar.gz 25109 BLAKE2B 0a2c07b03d24a583ae04827872942d9f7b5d
DIST phlex-rails-1.1.1.tar.gz 25502 BLAKE2B 4fa06af69f248d5a009f2f90ed62f7abda223143e564c9426a4a44dec40e1c6f51cd78fb4e69c86d7b7a4d3df04e6c9fa1cda4005bd01f223a65e3fcc7f4f6b8 SHA512 9b41c420a2f7366b67eac5668a54ead7a22aeca714e3c2b269af92258cda27839a0c8fef77875e1e82f1196c90a470af662e76b3698e09eb7b014c235947ed04
DIST phlex-rails-1.1.2.tar.gz 25494 BLAKE2B 66b30d42154c825967525b6dea026c3ee30bc4485ddc1afeb6eee98cfc2082bf4baa2a7598d0fbd93476aa72e6ce8db77c0872cf7bbe9605c02610f07df5e911 SHA512 0f4aa4a463c36c556496b2f3ad7e77fa9338be9d8439c41b4e0f24635377a54ce5b93ee9c3ffe08c8b928f2acb121c796e4a603431edf865654146758a1bcff6
DIST phlex-rails-1.2.1.tar.gz 42043 BLAKE2B 318450874d6e46018d49ceeaa1218e5f0c177bea42d799dbf7c0192e9c63faffce2f4421f5d0def9ea6549e735a39c0ed2d1968c1bddb46898d031807e485f0d SHA512 702ba923345d7e8a5650fc4d16bfa56e7d73c1647a83e5fb12bbf32050367fe76b5192a88fe1c66b42be9a5905499ee4424b7b3dd55c8bd7cf6091288f1b5dcb
+DIST phlex-rails-1.2.2.tar.gz 42053 BLAKE2B 0ff0e0e3556362a1e834c0fe5fc5a74bd0e633a3cba8dd2095827cd4f551885dd9cfac8bab02be36ccc16ec8632b9787e261c47c0d21e37d0fa4f0b3d544fd8c SHA512 849db4a4c3adcadeccbd29cfbb42247375ca945e7eaf03febb4cef614bfa13756315d56df4719f2df19cda2745687e512b49a8ea833f836e2e17ef1f1a574809
diff --git a/dev-ruby/phlex-rails/phlex-rails-1.2.2.ebuild b/dev-ruby/phlex-rails/phlex-rails-1.2.2.ebuild
new file mode 100644
index 00000000..d95bce34
--- /dev/null
+++ b/dev-ruby/phlex-rails/phlex-rails-1.2.2.ebuild
@@ -0,0 +1,40 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+USE_RUBY="ruby31 ruby32 ruby33"
+
+RUBY_FAKEGEM_BINWRAP=""
+RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.md"
+RUBY_FAKEGEM_GEMSPEC="phlex-rails.gemspec"
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+
+inherit ruby-fakegem
+
+DESCRIPTION="A high-performance view framework optimised for developer happiness"
+HOMEPAGE="https://github.com/phlex-ruby/phlex-rails"
+SRC_URI="https://github.com/phlex-ruby/phlex-rails/archive/refs/tags/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="$(ver_cut 1)"
+KEYWORDS="~amd64"
+IUSE="test"
+
+# Currently requires a git checkout of appraisal.
+RESTRICT="test"
+
+ruby_add_rdepend "
+ >=dev-ruby/phlex-1.10:1
+ || ( dev-ruby/railties:7.2 dev-ruby/railties:7.1 dev-ruby/railties:7.0 dev-ruby/railties:6.1 )
+"
+
+ruby_add_bdepend "test? (
+ dev-ruby/rspec-rails
+)"
+
+all_ruby_prepare() {
+ sed -e 's:_relative ": "./:' \
+ -e 's/__dir__/"."/' \
+ -e 's/git ls-files -z/find * -print0/' \
+ -i ${RUBY_FAKEGEM_GEMSPEC} || die
+}