forked from swagger-api/swagger-codegen
    
        
        - 
                Notifications
    You must be signed in to change notification settings 
- Fork 0
chore(deps): update dependency sinatra to v2 (master) #94
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
          
     Open
      
      
            mend-for-github-com
  wants to merge
  1
  commit into
  master
  
    
      
        
          
  
    
      Choose a base branch
      
     
    
      
        
      
      
        
          
          
        
        
          
            
              
              
              
  
           
        
        
          
            
              
              
           
        
       
     
  
        
          
            
          
            
          
        
       
    
      
from
whitesource-remediate/master-sinatra-2.x-lockfile
  
      
      
   
  
    
  
  
  
 
  
      
    base: master
Could not load branches
            
              
  
    Branch not found: {{ refName }}
  
            
                
      Loading
              
            Could not load tags
            
            
              Nothing to show
            
              
  
            
                
      Loading
              
            Are you sure you want to change the base?
            Some commits from the old base branch may be removed from the timeline,
            and old review comments may become outdated.
          
          
                
     Open
            
            chore(deps): update dependency sinatra to v2 (master) #94
                    mend-for-github-com
  wants to merge
  1
  commit into
  master
from
whitesource-remediate/master-sinatra-2.x-lockfile
  
      
      
   
              
            Conversation
  
    
      This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
      Learn more about bidirectional Unicode characters
    
  
  
    
    405b758    to
    7db69b9      
    Compare
  
    61adb09    to
    6a30e0e      
    Compare
  
    1d7d668    to
    afd1a89      
    Compare
  
    206e0f9    to
    a093bbd      
    Compare
  
    a093bbd    to
    c0e1f45      
    Compare
  
    dc98cee    to
    7b1d225      
    Compare
  
    afa7e89    to
    a405480      
    Compare
  
    017a64f    to
    a9bc4d0      
    Compare
  
    83890e7    to
    49293fd      
    Compare
  
    49293fd    to
    53833ea      
    Compare
  
    9fac9c5    to
    e8fb8f7      
    Compare
  
    e8fb8f7    to
    a600f66      
    Compare
  
    a600f66    to
    1bc62f1      
    Compare
  
    1bc62f1    to
    77d2703      
    Compare
  
    5cad70f    to
    5b20a9f      
    Compare
  
    5b20a9f    to
    9d46bff      
    Compare
  
    4244c3e    to
    f38c766      
    Compare
  
    f38c766    to
    7f6df27      
    Compare
  
    7f6df27    to
    4d8c96e      
    Compare
  
    4d8c96e    to
    e440572      
    Compare
  
    b19cc21    to
    4794276      
    Compare
  
    4794276    to
    2269884      
    Compare
  
    
  
    Sign up for free
    to join this conversation on GitHub.
    Already have an account?
    Sign in to comment
  
      
  Add this suggestion to a batch that can be applied as a single commit.
  This suggestion is invalid because no changes were made to the code.
  Suggestions cannot be applied while the pull request is closed.
  Suggestions cannot be applied while viewing a subset of changes.
  Only one suggestion per line can be applied in a batch.
  Add this suggestion to a batch that can be applied as a single commit.
  Applying suggestions on deleted lines is not supported.
  You must change the existing code in this line in order to create a valid suggestion.
  Outdated suggestions cannot be applied.
  This suggestion has been applied or marked resolved.
  Suggestions cannot be applied from pending reviews.
  Suggestions cannot be applied on multi-line comments.
  Suggestions cannot be applied while the pull request is queued to merge.
  Suggestion cannot be applied right now. Please check back later.
  
    
  
    
This PR contains the following updates:
1.4.6->2.2.4Warning
Some dependencies could not be looked up. Check the Dependency Dashboard for more information.
Release Notes
sinatra/sinatra (sinatra)
v2.2.4Compare Source
v2.2.3Compare Source
Fix: Escape filename in the Content-Disposition header. #1841 by Kunpei Sakai
Fix: fixed ReDoS for Rack::Protection::IPSpoofing. #1823 by @ooooooo-q
v2.2.2Compare Source
v2.2.1Compare Source
Fix JRuby regression by using ruby2_keywords for delegation. #1750 by Patrik Ragnarsson
Add JRuby to CI. #1755 by Karol Bucek
v2.2.0Compare Source
Breaking change: Add
#select,#rejectand#compactmethods toSinatra::IndifferentHash. If hash keys need to be converted to symbols, call#to_hto get aHashinstance first. #1711 by Olivier BelloneHandle EOFError raised by Rack and return Bad Request 400 status. #1743 by tamazon
Minor refactors in
base.rb. #1640 by ceclinuxAdd escaping to the static 404 page. #1645 by Chris Gavin
Remove
detect_rack_handlermethod. #1652 by ceclinuxRespect content type set in superclass before filter. Fixes #1647 #1649 by Jordan Owens
Revert "Use prepend instead of include for helpers. #1662 by namusyaka
Fix usage of inherited
Sinatra::Baseclasses keyword arguments. Fixes #1669 #1670 by Cadu RibeiroReduce RDoc generation time by not including every README. Fixes #1578 #1671 by Eloy Pérez
Add support for per form csrf tokens. Fixes #1616 #1653 by Jordan Owens
Update MAINTENANCE.md with the
stablebranch status. #1681 by Fredrik RubenssonValidate expanded path matches
public_dirwhen serving static files. #1683 by cji-stripeFix Delegator to pass keyword arguments for Ruby 3.0. #1684 by andrewtblake
Fix use with keyword arguments for Ruby 3.0. #1701 by Robin Wallin
Fix memory leaks for proc template. Fixes #1704 #1719 by Slevin
Remove unnecessary
test_filesfrom the gemspec. #1712 by Masataka Pocke KuwabaraDocs: Spanish documentation: Update README.es.md with removal of Thin. #1630 by Espartaco Palma
Docs: German documentation: Fixed typos in German README.md. #1648 by Juri
Docs: Japanese documentation: Update README.ja.md with removal of Thin. #1629 by Ryuichi KAWAMATA
Docs: English documentation: Various minor fixes to README.md. #1663 by Yanis Zafirópulos
Docs: English documentation: Document when
dump_errorsis enabled. Fixes #1664 #1665 by Patrik RagnarssonDocs: Brazilian Portuguese documentation: Update README.pt-br.md with translation fixes. #1668 by Vitor Oliveira
CI
Use latest JRuby 9.2.16.0 on CI. #1682 by Olle Jonsson
Switch CI from travis to GitHub Actions. #1691 by namusyaka
Skip the Slack action if
secrets.SLACK_WEBHOOKis not set. #1705 by Robin WallinSmall CI improvements. #1703 by Robin Wallin
Drop auto-generated boilerplate comments from CI configuration file. #1728 by Olle Jonsson
sinatra-contrib
Rack protection
origin_whitelistoption. Fixes #1641 #1642 by Takeshi YASHIROv2.1.0Compare Source
Fix additional Ruby 2.7 keyword warnings #1586 by Stefan Sundin
Drop Ruby 2.2 support #1455 by Eloy Pérez
Add Rack::Protection::ReferrerPolicy #1291 by Stefan Sundin
Add
default_content_typesetting. Fixes #1238 #1239 by Mike PastoreAllow
set :<engine>in sinatra-namespace #1255 by Christian HöppnerUse prepend instead of include for helpers. Fixes #1213 #1214 by Mike Pastore
Fix issue with passed routes and provides Fixes #1095 #1606 by Mike Pastore, Jordan Owens
Add QuietLogger that excludes paths from Rack::CommonLogger 1250 by Christoph Wagner
Sinatra::Contrib dependency updates. Fixes #1207 #1411 by Mike Pastore
Allow CSP to fallback to default-src. Fixes #1484 #1490 by Jordan Owens
Replace
origin_whitelistwithpermitted_origins. Closes #1620 #1625 by rhymesUse Rainbows instead of thin for async/stream features. Closes #1624 #1627 by Ryuichi KAWAMATA
Enable EscapedParams if passed via settings. Closes #1615 #1632 by Anders Bälter
Support for parameters in mime types. Fixes #1141 by John Hope
Handle null byte when serving static files #1574 by Kush Fanikiso
Improve development support and documentation and source code by Olle Jonsson, Pierre-Adrien Buisson, Shota Iguchi
v2.0.8.1Compare Source
mergeandmerge!forSinatra::IndifferentHash#1572 by Shota Iguchiv2.0.8Compare Source
mergeandmerge!forSinatra::IndifferentHash#1572 by Shota Iguchiv2.0.7Compare Source
v2.0.6Compare Source
Fix an issue setting environment from command line option #1547, #1554 by Jordan Owens, Kunpei Sakai
Support pandoc as a new markdown renderer #1533 by Vasiliy
Remove outdated code for tilt 1.x #1532 by Vasiliy
Remove an extra logic for
force_encoding#1527 by Jordan OwensAvoid multiple errors even if
paramscontains special values #1526 by Kunpei SakaiSupport
bundler/inlinewithrequire 'sinatra'integration #1520 by Kunpei SakaiAvoid
TypeErrorwhen params contain a key without a value on Ruby < 2.4 #1516 by Samuel GiddinsImprove development support and documentation and source code by Olle Jonsson, Basavanagowda Kanur, Yuki MINAMIYA
v2.0.5Compare Source
Avoid FrozenError when params contains frozen value #1506 by Kunpei Sakai
Add support for Erubi #1494 by @tkmru
IndifferentHashmonkeypatch warning improvements #1477 by Mike PastoreImprove development support and documentation and source code by Anusree Prakash, Jordan Owens, @ceclinux and @krororo.
sinatra-contrib
Add
flushoption tocontent_for#1225 by Shota IguchiDrop activesupport dependency from sinatra-contrib #1448
Update
yield_contentto append default to ERB template buffer #1500 by Jordan Owensrack-protection
v2.0.4Compare Source
Don't blow up when passing frozen string to
send_filedisposition #1137 by Andrew SelderFix ubygems LoadError #1436 by Pavel Rosický
Unescape regex captures #1446 by Jordan Owens
Slight performance improvements for IndifferentHash #1427 by Mike Pastore
Improve development support and documentation and source code by Will Yang, Jake Craige, Grey Baker and Guilherme Goettems Schneider
v2.0.3Compare Source
v2.0.2Compare Source
Escape invalid query parameters #1432 by Kunpei Sakai
Fix undefined method error for
Sinatra::RequiredParamswith hash key #1431 by Arpit ChauhanAdd xml content-types to valid html_types for Rack::Protection #1413 by Reenan Arbitrario
Encode route parameters using :default_encoding setting #1412 by Brian m. Carlson
Fix unpredictable behaviour from Sinatra::ConfigFile #1244 by John Hope
Add Sinatra::IndifferentHash#slice #1405 by Shota Iguchi
Remove status code 205 from drop body response #1398 by Shota Iguchi
Ignore empty captures from params #1390 by Shota Iguchi
Improve development support and documentation and source code by Zp Yuan, Andreas Finger, Olle Jonsson, Shota Iguchi, Nikita Bulai and Joshua O'Brien
v2.0.1Compare Source
Repair nested namespaces, by avoiding prefix duplication #1322. Fixes #1310 by Kunpei Sakai
Add pattern matches to values for Mustermann::Concat #1333. Fixes #1332 by Dawa Ometto
Ship the VERSION file with the gem, to allow local unpacking #1338 by Olle Jonsson
Fix issue with custom error handler on bad request #1351. Fixes #1350 by Jordan Owens
Override Rack::ShowExceptions#pretty to set custom template #1377. Fixes #1376 by Jordan Owens
Enhanced path validation in Windows #1379 by Orange Tsai from DEVCORE
Improve development support and documentation by Faheel Ahmad, Shota Iguchi, Olle Jonsson, Manabu Niseki, John Hope, Horacio, Ice-Storm, GraniteRock, Raman Skaskevich, Carlos Azuaje, 284km, Dan Rice and Zachary Scott
v2.0.0Compare Source
Use Mustermann for patterns #1086 by Konstantin Haase
Server now provides
-qflag for quiet mode, which disables start/stop messages #1153 by Vasiliy.Session middleware can now be specified with
:session_storesetting #1161 by Jordan Owens.APP_ENVis now preferred and recommended overRACK_ENVfor setting environment #984 by Damien Mathieu.Add Reel support #793 by Patricio Mac Adden.
Make route params available during error handling #895 by Jeremy Evans.
Unify
not_foundanderror404 behavior #896 by Jeremy Evans.Enable Ruby 2.3
frozen_string_literalfeature #1076 by Vladimir Kochnev.Add Sinatra::ShowExceptions::TEMPLATE and patched Rack::ShowExceptions to prefer Sinatra template by Zachary Scott.
Sinatra::Runner is used internally for integration tests #840 by Nick Sutterer.
Fix case-sensitivity issue in
urimethod #889 by rennex.Use
Rack::Utils.status_codeto allowstatushelper to use symbol as well as numeric codes #968 by Tobias H. Michaelsen.Improved error handling for invalid params through Rack #1070 by Jordan Owens.
Ensure template is cached only once #1021 by Patrik Rak.
Rack middleware is initialized at server runtime rather than after receiving first request #1205 by Itamar Turner-Trauring.
Improve Session Secret documentation to encourage better security practices #1218 by Glenn Rempe
Exposed global and per-route options for Mustermann route parsing #1233 by Mike Pastore
Use same
session_secretfor classic and modular apps in development #1245 by Marcus StollsteimerMake authenticity token length a fixed value of 32 #1181 by Jordan Owens
Modernize Rack::Protection::ContentSecurityPolicy with CSP Level 2 and 3 Directives #1202 by Glenn Rempe
Adds preload option to Rack:Protection:StrictTransport #1209 by Ed Robinson
Improve BadRequest logic. Raise and handle exceptions if status is 400 #1212 by Mike Pastore
Make Rack::Test a development dependency #1232 by Mike Pastore
Capture exception messages of raised NotFound and BadRequest #1210 by Mike Pastore
Add explicit set method to contrib/cookies to override cookie settings #1240 by Andrew Allen
Avoid executing filters even if prefix matches with other namespace #1253 by namusyaka
Make
#has_key?also indifferent in access, can accept String or Symbol #1262 by Stephen Paul WeberAdd
allow_ifoption to bypass json csrf protection #1265 by Jordan Owensrack-protection: Bundle StrictTransport, CookieTossing, and CSP #1267 by Mike Pastore
Add
:strict_pathsoption for managing trailing slashes #1273 by namusyakaAdd full IndifferentHash implementation to params #1279 by Mike Pastore
v1.4.8Compare Source
v1.4.7Compare Source
Add Ashley Williams, Trevor Bramble, and Kashyap Kondamudi to team Sinatra.
Correctly handle encoded colons in routes. (Jeremy Evans)
Rename CHANGES to CHANGELOG.md and update Rakefile. #1043 (Eliza Sorensen)
Improve documentation. #941, #1069, #1075, #1025, #1052 (Many great folks)
Introduce
Sinatra::Extto workaround Rack 1.6 bug to fix Ruby 1.8.7support. #1080 (Zachary Scott)
Add CONTRIBUTING guide. #987 (Katrina Owen)
Configuration
📅 Schedule: Branch creation - "before 5am every weekday" in timezone UTC, Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.