Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Jul 13, 2015
  1. @tenderlove
Commits on Jun 24, 2015
  1. @teoljungberg

    Strip trailing whitespace

    teoljungberg authored
  2. @teoljungberg

    Rename files to follow ruby naming conventions

    teoljungberg authored teoljungberg committed
    If a class is named NullLogger, it’s file would be named null_logger.rb
Commits on Jun 16, 2015
  1. @tenderlove

    Merge branch 'master' into fabianrbz-remove_old_ruby_code

    tenderlove authored
    * master:
      Cleanup older code than Ruby 2.0+ one
      update history
      First attempt to mass-port from minitest/bacon to minitest/spec.
      raise an exception if the parameters are too deep
    
    Conflicts:
    	test/spec_request.rb
    	test/spec_utils.rb
  2. @tenderlove

    Merge branch 'master' into zenspider-minitest.phase.2

    tenderlove authored
    * master:
      Cleanup older code than Ruby 2.0+ one
      extract a `make_cookie_header` method
      Fix encoding issue in source files
      Use ::Encoding instead of Parser::Encoding
      FIX: Backwards compatibility with soupy data
      Force encoding of parsed filename
      Feature: Provided support for non-ascii character in public header
      Simplify regular expressions and extract the extended filename
      Move RFC2183 constant too
      Start updating definitions for RFC 2231
      Add failing test
      replace OkJson in favor of the JSON gem
      Constantize all rack environment variables and make them frozen
      set the logger to nil
      update history
      Added media_type methods in Rack::Response
      raise an exception if the parameters are too deep
      Handle param parsing errors in MethodOverride silently
    
    Conflicts:
    	rack.gemspec
    	test/spec_chunked.rb
    	test/spec_lint.rb
    	test/spec_multipart.rb
    	test/spec_request.rb
    	test/spec_session_cookie.rb
    	test/spec_utils.rb
    	test/spec_version.rb
  3. @tenderlove

    Merge branch 'master-sec'

    tenderlove authored
    * master-sec:
      update history
      raise an exception if the parameters are too deep
    
    Conflicts:
    	HISTORY.md
Commits on Jun 14, 2015
  1. @fabianrbz

    Remove code from test that was Ruby < 1.9 specific.

    fabianrbz authored
    Regexp#kcode is no longer supported nor Ruby < 2.2.
  2. @fabianrbz

    Add a test that documents how #build_nested_quey works.

    fabianrbz authored
    Because of Ruby's 1.8 unordered Hash, it was being tested against
     #parse_nested_query. Since Ruby 1.9 Hashes keep order, we can test it
    using the actual result instead of using the result of
     #parse_nested_query.
  3. @deepj
Commits on Jun 13, 2015
  1. @sigmavirus24
  2. @burtlo @sigmavirus24

    Force encoding of parsed filename

    burtlo authored sigmavirus24 committed
    I love working at the #OSL
  3. @sigmavirus24
  4. @sigmavirus24

    Add failing test

    sigmavirus24 authored
Commits on Jun 12, 2015
  1. @matthewd

    Merge pull request #835 from greysteil/handle-param-parsing-errors-in…

    matthewd authored
    …-method-override
    
    Ignore param parsing errors in MethodOverride
  2. @tenderlove
  3. @tenderlove

    set the logger to nil

    tenderlove authored
  4. @AMekss
  5. @zenspider

    First attempt to mass-port from minitest/bacon to minitest/spec.

    zenspider authored
    I still can't run some of the tests, so they might have problems. I'll
    leave it to the CI to catch them.
  6. @tenderlove

    Don't get ancestors' constant as Handler that name is same

    Tadashi Saito authored tenderlove committed
  7. @tenderlove
  8. @tenderlove

    assume secure random is always available

    tenderlove authored
    secure_random should always be available on Ruby 2.2+, it just may not
    use openssl
  9. @tenderlove
  10. @zenspider @tenderlove

    More of the terrible from tenderlove

    zenspider authored tenderlove committed
  11. @zenspider @tenderlove

    moar from tenderlove

    zenspider authored tenderlove committed
  12. @zenspider @tenderlove

    more patches from tenderlove... both versions of this test are terrib…

    zenspider authored tenderlove committed
    …le, so no loss except for the extra dependency in this case
  13. @zenspider @tenderlove

    Fixes from tenderlove for tests I can't currently run.

    zenspider authored tenderlove committed
  14. @zenspider @tenderlove

    fixed random failure in webrick test via tenderlove

    zenspider authored tenderlove committed
  15. @zenspider @tenderlove
  16. @zenspider @tenderlove

    Make all tests run and pass independently.

    zenspider authored tenderlove committed
  17. @zenspider @tenderlove

    Converting to minitest: phase 1: minitest/bacon

    zenspider authored tenderlove committed
    This is a VERY quick conversion to minitest/bacon. It does nothing but
    include minitest/bacon and get the tests passing again. Some things are
    different, namely, how minitest treats tests (instance methods run
    randomly) vs how bacon treats tests ("class" blocks run serially).
    Instance variable access is different between the two, so some things
    got wrapped in before/after blocks WITHOUT indenting properly. That'll
    come later.
Commits on Jun 11, 2015
  1. @tenderlove

    raise an exception if the parameters are too deep

    tenderlove authored
    CVE-2015-3225
    
    Conflicts:
    	lib/rack/utils.rb
    	test/spec_utils.rb
Commits on Jun 10, 2015
  1. @spastorino

    Use == to compare form_input to rack.input

    Santiago Pastorino & Alexis Mas authored spastorino committed
    Partially reverts b059307 and 7f34329
Commits on Jun 9, 2015
  1. @tenderlove

    consolidate where to find the default_query_parser make keyspace requ…

    tenderlove authored
    …ired
    
    we should only be able to find the default_query_parser in one place,
    Utils.  Also the keyspace size should be a require parameter
  2. @tenderlove

    ask the query parser to construct a params object

    tenderlove authored
    this decouples the rest of the code from knowing how a params object is
    actually constructed
  3. @tenderlove

    query parsers should be immutable

    tenderlove authored
    this reduces the footprint for dealing with thread safety issues (for
    example, what if one thread mutates the parser while another one is
    using it? :-O )
Something went wrong with that request. Please try again.