Diff actionview-7.2.3.2 with a actionview-8.1.2

/usr/portage/dev-ruby/actionview/actionview-8.1.2.ebuild 2026-02-04 11:18:06.367538378 +0300
5 5

  
6 6
USE_RUBY="ruby32 ruby33 ruby34"
7 7

  
8
RUBY_FAKEGEM_BINWRAP=""
8
RUBY_FAKEGEM_RECIPE_DOC="none"
9 9
RUBY_FAKEGEM_DOCDIR="doc"
10 10
RUBY_FAKEGEM_EXTRADOC="CHANGELOG.md README.rdoc"
11
RUBY_FAKEGEM_EXTRAINSTALL="app"
11

  
12 12
RUBY_FAKEGEM_GEMSPEC="${PN}.gemspec"
13
RUBY_FAKEGEM_RECIPE_DOC="none"
14 13

  
15
inherit edo ruby-fakegem
14
RUBY_FAKEGEM_EXTRAINSTALL="app"
15

  
16
RUBY_FAKEGEM_BINWRAP=""
17

  
18
inherit ruby-fakegem
16 19

  
17 20
DESCRIPTION="Simple, battle-tested conventions and helpers for building web pages"
18 21
HOMEPAGE="https://github.com/rails/rails/"
19

  
20 22
SRC_URI="https://github.com/rails/rails/archive/v${PV}.tar.gz -> rails-${PV}.tgz"
21
RUBY_S="rails-${PV}/${PN}"
22 23

  
23 24
LICENSE="MIT"
24 25
SLOT="$(ver_cut 1-2)"
25
KEYWORDS="~amd64 ~arm64 ~ppc64 ~x86"
26
KEYWORDS="~amd64 ~arm ~arm64 ~ppc64 ~riscv ~sparc ~x86"
27
IUSE="test"
28

  
29
RUBY_S="rails-${PV}/${PN}"
26 30

  
27 31
ruby_add_rdepend "
28 32
	~dev-ruby/activesupport-${PV}
......
34 38

  
35 39
ruby_add_bdepend "
36 40
	test? (
41
		dev-ruby/capybara
42
		dev-ruby/mocha
37 43
		~dev-ruby/actionpack-${PV}
38 44
		~dev-ruby/activemodel-${PV}
39 45
		~dev-ruby/activerecord-${PV}
40
		>=dev-ruby/capybara-3.39
41
		dev-ruby/minitest:5
42
		>=dev-ruby/sqlite3-1.6.6
43
	)
44
"
46
		~dev-ruby/railties-${PV}
47
		dev-ruby/prism
48
		dev-ruby/sqlite3
49
		dev-ruby/minitest:6
50
		dev-ruby/minitest-mock
51
	)"
45 52

  
46 53
all_ruby_prepare() {
47
	# Replace Gemfile with something simpler for the test run
48
	cat <<-EOF > ../Gemfile || die
49
	source "https://rubygems.org"
50
	gemspec
51

  
52
	gem "rake"
53

  
54
	gem "minitest", "~> 5.0"
55

  
56
	gem "actionpack", "${PV}"
57
	gem "activemodel", "${PV}"
58
	gem "activerecord", "${PV}"
59
	gem "capybara", ">= 3.39"
60
	gem "sqlite3", ">= 1.6.6"
61
	EOF
54
	# Remove items from the common Gemfile that we don't need for this
55
	# test run. This also requires handling some gemspecs.
56
	sed -i -e "/\(system_timer\|sdoc\|w3c_validators\|pg\|execjs\|jquery-rails\|'mysql'\|journey\|rack-cache\|ruby-prof\|stackprof\|benchmark-ips\|kindlerb\|turbolinks\|coffee-rails\|debugger\|redcarpet\|bcrypt\|uglifier\|mime-types\|sprockets\|stackprof\)/ s:^:#:" \
57
		-e '/:job/,/end/ s:^:#:' \
58
		-e '/group :doc/,/^end/ s:^:#:' ../Gemfile || die
62 59
	rm ../Gemfile.lock || die
63
}
64 60

  
65
each_ruby_test() {
66
	local -x BUNDLE_GEMFILE="../Gemfile"
67
	local -x MT_NO_PLUGINS=true
68
	edo ${RUBY} -S bundle exec ${RUBY} --disable=did_you_mean -S rake
61
	sed -e '3igem "minitest", "~> 6.0"; gem "minitest-mock"' \
62
		-i test/abstract_unit.rb || die
69 63
}
Thank you!