Created attachment 1249123 [details] Patch for suppress warnings Description of problem: This is fix to suppress below warning for Ruby 2.4.0. ``` + ruby -Ilib -e 'Dir.glob "./test/test_{array,cache,helper,synchronized_delegator}.rb", &method(:require)' ... /builddir/build/BUILD/thread_safe-0.3.5/usr/share/gems/gems/thread_safe-0.3.5/lib/thread_safe/cache.rb:155: warning: constant ::Fixnum is deprecated . Finished in 1.260279s, 45.2281 runs/s, 1811.5037 assertions/s. 57 runs, 2283 assertions, 0 failures, 0 errors, 0 skips ``` Upstream commit to fix it, is here. https://github.com/ruby-concurrency/thread_safe/commit/8c929dc Version-Release number of selected component (if applicable): rubygem-thread_safe-0.3.5-3 I checked below tests. - License check: ok - rpmlint check: See attachment lint.log - Install check: ok I like it will be merged. Thanks.
Created attachment 1249124 [details] lint.log
This bug appears to have been reported against 'rawhide' during the Fedora 26 development cycle. Changing version to '26'.
Updated to version 0.3.6. The warning "warning: constant ::Fixnum is deprecated." does not exist any more.