Bug 1373457 - Retire rubygem-activerecord-deprecated_finders
Summary: Retire rubygem-activerecord-deprecated_finders
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: rubygem-activerecord-deprecated_finders
Version: 26
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: Vít Ondruch
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-09-06 10:46 UTC by Vít Ondruch
Modified: 2017-07-31 14:13 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-07-31 14:13:47 UTC
Type: Bug


Attachments (Terms of Use)

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.


Note You need to log in before you can comment on or make changes to this bug.