summaryrefslogtreecommitdiff
path: root/dev-ruby
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2024-11-19 03:03:00 +0000
committerV3n3RiX <venerix@koprulu.sector>2024-11-19 03:03:00 +0000
commitf2e359c456b051f95efc92e21299d55a302e58ed (patch)
tree9d844c8fa1373b6f4244c1cfbe55eea7cdf62701 /dev-ruby
parentf9f6fa91738181ebe9aca71b75d157d8b5df5335 (diff)
gentoo auto-resync : 19:11:2024 - 03:03:00
Diffstat (limited to 'dev-ruby')
-rw-r--r--dev-ruby/Manifest.gzbin111201 -> 111191 bytes
-rw-r--r--dev-ruby/roadie-rails/Manifest2
-rw-r--r--dev-ruby/roadie-rails/roadie-rails-3.3.0.ebuild61
-rw-r--r--dev-ruby/sqlite3/Manifest2
-rw-r--r--dev-ruby/sqlite3/sqlite3-1.7.3.ebuild8
5 files changed, 70 insertions, 3 deletions
diff --git a/dev-ruby/Manifest.gz b/dev-ruby/Manifest.gz
index 90790c15760f..e480338102c0 100644
--- a/dev-ruby/Manifest.gz
+++ b/dev-ruby/Manifest.gz
Binary files differ
diff --git a/dev-ruby/roadie-rails/Manifest b/dev-ruby/roadie-rails/Manifest
index 21f0e28ed9ad..4aab72082d8f 100644
--- a/dev-ruby/roadie-rails/Manifest
+++ b/dev-ruby/roadie-rails/Manifest
@@ -1,3 +1,5 @@
DIST roadie-rails-3.2.0.tar.gz 90816 BLAKE2B 546bc1f402c68a9ae60d240470d4e2ed706032b81319ec8ce9b59872f7bb6a102468516fc13412485cb038cb8332615ca36ab6f05b7cc5f6fba9d54bd2a41703 SHA512 10535af44fa490c2d5ab790b956055af64add14bb9eb92dedf5ec6317e1be219974195e30c5e03f876740693aafdba5e2b11c68817c8ad7fc0711262ec16c943
+DIST roadie-rails-3.3.0.tar.gz 104945 BLAKE2B b25da1f2b3210432735388831e4ac78ea01fc599c3ee6676421c4c4d355081f2d390c1d46a46dd7849ee90a42e1ba8bfbe4207136494ac511dba128f59bb4614 SHA512 96ece383f2ded5ea46e008da744222820658ec796d5ea193b046d8f8fc81155c34097b9d4a50e0d7cd14ef3f60209260bb2341773f9c2424e8bbe547e6b5ab93
EBUILD roadie-rails-3.2.0.ebuild 1980 BLAKE2B 4d567982c6570f5b564b01bb1f3747c9b975feb72094ca745f7931122bf81c7696cbb63ccbb08f0f129cb15f93d7057ee396bf7b8d099846d89fece7ea508b43 SHA512 0ea606ad4c12af1f0f2da6f880933739a754284ad4b684c3c91dae59c9c2233afcb9a28648b8f4691666014c2912dfe50a94cde524cf1bba006fe8c13604f7bd
+EBUILD roadie-rails-3.3.0.ebuild 2111 BLAKE2B 4fda03840395dea697afb3a81e1d59930c1cf4f2ff8991e37c6978fe90bcf6d499284215f7c8b947991e24ce1d5773e0f00d0e08dd89730c5e3125a2bb188c33 SHA512 59219c00137522b8f4095ea3b0eec186bb740b44d44eba73d05df7912974deb18dd21131f9ed12a3a07cbac68016db18c71eec49924aecede6ccdfdbd110271d
MISC metadata.xml 335 BLAKE2B 6ca09a61dab3b094b39d25ed398ddf94202e32c9173a7df990d8929cad1d19f12619c72f2cb69a735b2428c16c3e27183d3cc0efd213e419f6c4474264eb8a11 SHA512 f2b96e715dd1be8143e1562aeaf866198c9756af2137708a20b602831184e32e57056f9f9cc0e26001f2831c2764ce34510145879451ada4f37735796593bf4b
diff --git a/dev-ruby/roadie-rails/roadie-rails-3.3.0.ebuild b/dev-ruby/roadie-rails/roadie-rails-3.3.0.ebuild
new file mode 100644
index 000000000000..aeb401c2ff65
--- /dev/null
+++ b/dev-ruby/roadie-rails/roadie-rails-3.3.0.ebuild
@@ -0,0 +1,61 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+USE_RUBY="ruby31 ruby32"
+RUBY_FAKEGEM_EXTRADOC="README.md"
+RUBY_FAKEGEM_RECIPE_TEST="rspec3"
+RUBY_FAKEGEM_RECIPE_DOC="yard"
+
+RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
+
+inherit ruby-fakegem
+
+DESCRIPTION="Hooks Roadie into your Rails application to help with email generation"
+HOMEPAGE="https://github.com/Mange/roadie-rails"
+SRC_URI="https://github.com/Mange/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="$(ver_cut 1)"
+KEYWORDS="~amd64"
+
+ruby_add_rdepend "dev-ruby/roadie:5
+ || ( dev-ruby/railties:8.0 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/bundler
+ || ( dev-ruby/rails:7.0 dev-ruby/rails:6.1 )
+ dev-ruby/rspec-rails
+ dev-ruby/rspec-collection_matchers
+ dev-ruby/sass-rails )"
+
+all_ruby_prepare() {
+ sed -i -e '/\(simplecov\|standard\)/ s:^:#:' Gemfile || die
+ sed -i -e 's/git ls-files/find * -print/' -e '/standard/ s:^:#:' ${RUBY_FAKEGEM_GEMSPEC} || die
+
+ # Avoid already removed rails versions and version incompatible with our sass-rails version.
+ sed -e '/rails_\(51\|52\|60\)/ s:^:#:' \
+ -e '/Rails 7.1 with sprockets/ s:^:#:' \
+ -i spec/integration_spec.rb || die
+
+ # Avoid dependency on optional bootsnap
+ sed -i -e '/bootsnap/ s:^:#:' spec/railsapps/rails_*/Gemfile spec/railsapps/rails_*/config/boot.rb || die
+
+ # Fix versioned sass-rails dependency
+ sed -i -e '/sass-rails/ s/>= 6/>=5/' spec/railsapps/*/Gemfile || die
+
+ # Revert https://github.com/Mange/roadie-rails/commit/03acd8fddf651d43919e92db35d541ec4281c5fc for now
+ # Fragile test which is affected by dependency versions (unclear which)
+ sed -e 's/cd95a25e70dfe61add5a96e11d3fee0f29e9ba2b05099723d57bba7dfa725c8a/322506f9917889126e81df2833a6eecdf2e394658d53dad347e9882dd4dbf28e/' \
+ -i spec/integration_spec.rb || die
+
+}
+
+each_ruby_prepare() {
+ sed -i -e '/run_in_app_context/ s:bin/rails:'${RUBY}' -S bin/rails:' spec/support/rails_app.rb || die
+}
+
+each_ruby_test() {
+ ${RUBY} -S bundle exec rspec-3 spec || die
+}
diff --git a/dev-ruby/sqlite3/Manifest b/dev-ruby/sqlite3/Manifest
index 392b28da4f1b..9679de57b8a3 100644
--- a/dev-ruby/sqlite3/Manifest
+++ b/dev-ruby/sqlite3/Manifest
@@ -1,7 +1,7 @@
DIST sqlite3-1.7.3.gem 3307008 BLAKE2B 0df742c7cb4a8f920196106b5701eae07e60e668f040ca6e3276afdd0dfdeed3fb19ed455425f332e13082ca740f42d914536ccdf565ed151b6eb0f6ccd7c676 SHA512 b6ed36a5618134ca1f993b21a351ac279ebb7e1370be521eae67ed9224a1fac11d71ddd7573b3b14da47657756cb68b3eab0164b6e6ed058d3f64fa95699bc2f
DIST sqlite3-2.0.4.tar.gz 82136 BLAKE2B 636e4e246e1a572a975b4df4a1ed82da6924934ee59a48ad0bac98b7e5c76f4342ad1bc91f794179e2954acebcd00d3ec30872441957fcaed5d36218b6167a80 SHA512 3bdf8733b119f8fb71ab2e60667f2ca9c9c8be6d01e02509ed93e1bb1c525408d93c888f5291b464eecb6ab150d940d357d7abf913b32dc253768bf6fc33d168
DIST sqlite3-2.2.0.tar.gz 89095 BLAKE2B 51f9279049795c6e54e0b5787f6a19eadba5b848ca52dbc8f2fe89757bac825da34246bd35217c092d43b7af33f85dd0fc2c5171a5aaa23aab6c577f8158ec07 SHA512 4a4a012fe092bc7f5ccad6d48e3fcd76f0eaf7d099ed41e4ab99c62c0dc8e7f55b630d8ae10cea39debab00e169f7c8c9ae524f1b7cca7663165c5b38cba28ea
-EBUILD sqlite3-1.7.3.ebuild 1485 BLAKE2B 8d3e3392b1c47d9bf096ad99d7e958e6f28b4614eecae91ae5cebdf5c4cb2ecaa5ba3fc0db80cffca7b553408965a36cf8f27971a410f3a049590bbfe328ec9d SHA512 1224a61f00e7925d6c3858314833908ec76b55db241899a7ac69d5191a58f080e65245e20b78b0b16852362ae34c5339aad8b2c46d0cee35a04d05c46b4fbe20
+EBUILD sqlite3-1.7.3.ebuild 1677 BLAKE2B 8d14d31e784ce1c15195e43a151c748d7076d59aed65bc98310534aca096c772ab46a61dc60ecc39829c72fa82e9dcc3b1e3caafd527ef5d8039da0dd7edeeb3 SHA512 10b533cb481175223bcfe34de24fc286af84bdd4baf7c13bf35c34137fd4b48a39cea15937dbb27b5257cda9a145ddb10fdb26a62387d3218c4bd52f15dc4a58
EBUILD sqlite3-2.0.4-r2.ebuild 1907 BLAKE2B 24c41542f6b84aff58f104d0f1f62046435d2a5cf969942ae0b2c34c1f31e13f7aabeb838447278eadc094e218aa0dd28e41cae3f192e02e2ddd6c7e37445fb7 SHA512 965a10a33bed2e5f6223b4d4c02c3500d09c21eed8dff8e11ee27a4ad530123ece966d7b10aff9c508829f24ce4492e15e9807a815869ca943c7b66be2a25967
EBUILD sqlite3-2.2.0.ebuild 1935 BLAKE2B 41036f5bc8920604665ced94ff80a4e509ee20c0c32a6bdda6ebe5b71f0c27e6d3dab6d962147d5157607530ae2a83b088ba83d1dc24d087c3a01dfae0a89373 SHA512 889f8214fd8387112e3fcbb2813fdec4a61b7db662b0ff1fded7b13ab8e408f2e9e0f6e43044a69f09a7410e086d7d99d0bab5682c314cfa6e08d053db72d471
MISC metadata.xml 343 BLAKE2B 8246e0b7df67080839741f0258357ae19da18bd7ad8615bb77b943bc89db7560d58f95a8cba4e770070efc477ba56ee1f5c9ba098674ffc01dd5fdd9b912189a SHA512 541f2db81c9383013da74a8a54f318ff7535ffe5c6ea789f8ddc451f629a121e56b322d8b3a0730e0b27b111e16e27d8fa49bc5805a7c61fcf91ac7110ca712b
diff --git a/dev-ruby/sqlite3/sqlite3-1.7.3.ebuild b/dev-ruby/sqlite3/sqlite3-1.7.3.ebuild
index d0098c536183..92e6b3a69450 100644
--- a/dev-ruby/sqlite3/sqlite3-1.7.3.ebuild
+++ b/dev-ruby/sqlite3/sqlite3-1.7.3.ebuild
@@ -18,13 +18,13 @@ DESCRIPTION="An extension library to access a SQLite database from Ruby"
HOMEPAGE="https://github.com/sparklemotion/sqlite3-ruby"
LICENSE="BSD"
-KEYWORDS="amd64 ~arm ~arm64 ~hppa ppc ppc64 ~riscv ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
SLOT="0"
+KEYWORDS="amd64 ~arm ~arm64 ~hppa ppc ppc64 ~riscv ~sparc x86 ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x64-solaris"
IUSE="doc test"
# We track the bundled sqlite version here
RDEPEND+=" >=dev-db/sqlite-3.45.2:3"
-DEPEND+=" >=dev-db/sqlite-3.45.2:3 <dev-db/sqlite-3.46.0"
+DEPEND+=" >=dev-db/sqlite-3.45.2:3"
ruby_add_bdepend "
doc? ( dev-ruby/rdoc )
@@ -37,6 +37,10 @@ all_ruby_prepare() {
# Remove the runtime dependency on mini_portile2. We build without
# it and it is not a runtime dependency for us.
sed -i -e '/^dependencies:/,/force_ruby_platform/d' ../metadata || die
+
+ # Avoid a failure about a specific syntax for an error, introduced with newer sqlite versions.
+ sed -e '/test_strict_mode/askip "Newer sqlite versions have different quoting"' \
+ -i test/test_database.rb || die
}
all_ruby_compile() {