Bug 1875978

Summary: rubygem-sinatra-2.1.0 is available
Product: [Fedora] Fedora Reporter: Upstream Release Monitoring <upstream-release-monitoring>
Component: rubygem-sinatraAssignee: Pavel Valena <pvalena>
Status: CLOSED ERRATA QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: rawhideCC: jaruga, kjell, lkundrak, pvalena, ruby-packagers-sig, valtri, vondruch
Target Milestone: ---Keywords: FutureFeature, Triaged
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: rubygem-sinatra-2.1.0-1.fc36 rubygem-sinatra-2.1.0-1.fc35 Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2021-08-19 16:51:36 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 1970606, 1989492    

Description Upstream Release Monitoring 2020-09-04 19:14:16 UTC
Latest upstream release: 2.1.0
Current version/release in rawhide: 2.0.8.1-2.fc33
URL: http://rubygems.org/gems/sinatra

Please consult the package updates policy before you issue an update to a stable branch: https://docs.fedoraproject.org/en-US/fesco/Updates_Policy/


More information about the service that created this bug can be found at: https://fedoraproject.org/wiki/Upstream_release_monitoring


Please keep in mind that with any upstream change, there may also be packaging changes that need to be made. Specifically, please remember that it is your responsibility to review the new version to ensure that the licensing is still correct and that no non-free or legally problematic items have been added upstream.


Based on the information from anitya: https://release-monitoring.org/project/4260/

Comment 1 Kjell Irgens 2021-06-10 19:01:40 UTC
Please note that the 1:2.0.8.1-3.fc34 version of sinatra distributed with Fedora 34 does not work!

I assume that this is caused by Ruby 3.0.  2.1.0 works fine.

Try the example script from the sinatra home page:

#!/usr/bin/ruby

require 'sinatra'

get '/frank-says' do
  'Put this in your pipe & smoke it!'
end

This gives us:

/usr/share/gems/gems/rack-2.2.3/lib/rack/handler/thin.rb:11:in `run': wrong number of arguments (given 2, expected 1) (ArgumentError)
	from /usr/share/gems/gems/sinatra-2.0.8.1/lib/sinatra/base.rb:1526:in `start_server'
	from /usr/share/gems/gems/sinatra-2.0.8.1/lib/sinatra/base.rb:1460:in `run!'
	from /usr/share/gems/gems/sinatra-2.0.8.1/lib/sinatra/main.rb:45:in `block in <module:Sinatra>'

Comment 2 Pavel Valena 2021-08-04 12:04:29 UTC
Sorry, I forgot to build rack-protection in side-tag.

PR to update Sinatra:

https://src.fedoraproject.org/rpms/rubygem-sinatra/pull-request/3

Comment 3 Fedora Update System 2021-08-19 16:50:57 UTC
FEDORA-2021-3c8d272c88 has been submitted as an update to Fedora 36. https://bodhi.fedoraproject.org/updates/FEDORA-2021-3c8d272c88

Comment 4 Fedora Update System 2021-08-19 16:51:36 UTC
FEDORA-2021-3c8d272c88 has been pushed to the Fedora 36 stable repository.
If problem still persists, please make note of it in this bug report.

Comment 5 Fedora Update System 2021-08-24 09:21:37 UTC
FEDORA-2021-6f14626177 has been submitted as an update to Fedora 35. https://bodhi.fedoraproject.org/updates/FEDORA-2021-6f14626177

Comment 6 Fedora Update System 2021-08-24 09:23:20 UTC
FEDORA-2021-6f14626177 has been pushed to the Fedora 35 stable repository.
If problem still persists, please make note of it in this bug report.