Bug 1373457

Summary: Retire rubygem-activerecord-deprecated_finders
Product: [Fedora] Fedora Reporter: Vít Ondruch <vondruch>
Component: rubygem-activerecord-deprecated_findersAssignee: Vít Ondruch <vondruch>
Status: CLOSED RAWHIDE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 26CC: pvalena, strzibny
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-07-31 14:13:47 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:

Description Vít Ondruch 2016-09-06 10:46:48 UTC
activerecord-deprecated_finders package was extracted from Ruby on Rails 4.0 and supported up until Ruby on Rails 4.2. It is not supported with Ruby on Rails 5.0+ and hence it serve no purpose on Fedora. Please retire the package.

Just FTR, while the test suite is running just fine against RoR 4.2, it fails running against RoR 5.0:

```
$ ruby -Ilib:test -e 'Dir.glob "./test/**/*_test.rb", &method(:require)'
DEPRECATION WARNING: alias_method_chain is deprecated. Please, use Module#prepend instead. From module, you can access the original method using super. (called from <class:Relation> at /builddir/build/BUILD/activerecord-deprecated_finders-1.0.4/usr/share/gems/gems/activerecord-deprecated_finders-1.0.4/lib/active_record/deprecated_finders/relation.rb:173)
/builddir/build/BUILD/activerecord-deprecated_finders-1.0.4/usr/share/gems/gems/activerecord-deprecated_finders-1.0.4/lib/active_record/deprecated_finders/dynamic_matchers.rb:63:in `<class:FindAllBy>': uninitialized constant ActiveRecord::DynamicMatchers::FindAllBy::Finder (NameError)
	from /builddir/build/BUILD/activerecord-deprecated_finders-1.0.4/usr/share/gems/gems/activerecord-deprecated_finders-1.0.4/lib/active_record/deprecated_finders/dynamic_matchers.rb:61:in `<module:DynamicMatchers>'
	from /builddir/build/BUILD/activerecord-deprecated_finders-1.0.4/usr/share/gems/gems/activerecord-deprecated_finders-1.0.4/lib/active_record/deprecated_finders/dynamic_matchers.rb:4:in `<module:ActiveRecord>'
	from /builddir/build/BUILD/activerecord-deprecated_finders-1.0.4/usr/share/gems/gems/activerecord-deprecated_finders-1.0.4/lib/active_record/deprecated_finders/dynamic_matchers.rb:3:in `<top (required)>'
	from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:55:in `require'
	from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:55:in `require'
	from /builddir/build/BUILD/activerecord-deprecated_finders-1.0.4/usr/share/gems/gems/activerecord-deprecated_finders-1.0.4/lib/active_record/deprecated_finders.rb:7:in `block in <top (required)>'
	from /usr/share/gems/gems/activesupport-5.0.0.1/lib/active_support/lazy_load_hooks.rb:38:in `instance_eval'
	from /usr/share/gems/gems/activesupport-5.0.0.1/lib/active_support/lazy_load_hooks.rb:38:in `execute_hook'
	from /usr/share/gems/gems/activesupport-5.0.0.1/lib/active_support/lazy_load_hooks.rb:45:in `block in run_load_hooks'
	from /usr/share/gems/gems/activesupport-5.0.0.1/lib/active_support/lazy_load_hooks.rb:44:in `each'
	from /usr/share/gems/gems/activesupport-5.0.0.1/lib/active_support/lazy_load_hooks.rb:44:in `run_load_hooks'
	from /usr/share/gems/gems/activerecord-5.0.0.1/lib/active_record/base.rb:324:in `<module:ActiveRecord>'
	from /usr/share/gems/gems/activerecord-5.0.0.1/lib/active_record/base.rb:24:in `<top (required)>'
	from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:55:in `require'
	from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:55:in `require'
	from /builddir/build/BUILD/activerecord-deprecated_finders-1.0.4/usr/share/gems/gems/activerecord-deprecated_finders-1.0.4/test/helper.rb:10:in `<top (required)>'
	from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:55:in `require'
	from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:55:in `require'
	from /builddir/build/BUILD/activerecord-deprecated_finders-1.0.4/usr/share/gems/gems/activerecord-deprecated_finders-1.0.4/test/default_scope_test.rb:1:in `<top (required)>'
	from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:55:in `require'
	from /usr/share/rubygems/rubygems/core_ext/kernel_require.rb:55:in `require'
	from -e:1:in `glob'
	from -e:1:in `<main>'

```

Comment 1 Vít Ondruch 2016-09-06 10:49:36 UTC
Of course I am speaking about the package in F25+.

Comment 2 Fedora End Of Life 2017-02-28 10:12:42 UTC
This bug appears to have been reported against 'rawhide' during the Fedora 26 development cycle.
Changing version to '26'.

Comment 3 Fedora Admin XMLRPC Client 2017-07-30 16:37:51 UTC
This package has changed ownership in the Fedora Package Database.  Reassigning to the new owner of this component.

Comment 4 Vít Ondruch 2017-07-31 14:13:47 UTC
The package was retired in Rawhide.