Sha256: ae4f5df6d16d8925bf3a7dc04f0e16d6e4d299884a0ccc5d1d73f85414c5dff3

Contents?: true

Size: 678 Bytes

Versions: 63

Compression:

Stored size: 678 Bytes

Contents

# :stopdoc:

require 'uri/common'

# Issue:
# http://bugs.ruby-lang.org/issues/5925
#
# Relevant commit:
# https://github.com/ruby/ruby/commit/edb7cdf1eabaff78dfa5ffedfbc2e91b29fa9ca1


module URI
  begin
    256.times do |i|
      TBLENCWWWCOMP_[i.chr] = '%%%02X' % i
    end
    TBLENCWWWCOMP_[' '] = '+'
    TBLENCWWWCOMP_.freeze

    256.times do |i|
      h, l = i>>4, i&15
      TBLDECWWWCOMP_['%%%X%X' % [h, l]] = i.chr
      TBLDECWWWCOMP_['%%%x%X' % [h, l]] = i.chr
      TBLDECWWWCOMP_['%%%X%x' % [h, l]] = i.chr
      TBLDECWWWCOMP_['%%%x%x' % [h, l]] = i.chr
    end
    TBLDECWWWCOMP_['+'] = ' '
    TBLDECWWWCOMP_.freeze
  rescue Exception
  end
end

# :startdoc:

Version data entries

63 entries across 61 versions & 5 rubygems

Version Path
puma-3.8.1 lib/puma/rack/backports/uri/common_193.rb
puma-3.8.0-java lib/puma/rack/backports/uri/common_193.rb
puma-3.8.0 lib/puma/rack/backports/uri/common_193.rb
puma-simon-3.7.2 lib/puma/rack/backports/uri/common_193.rb
puma-simon-3.7.1 lib/puma/rack/backports/uri/common_193.rb
puma-3.7.1-java lib/puma/rack/backports/uri/common_193.rb
puma-3.7.1 lib/puma/rack/backports/uri/common_193.rb
puma-3.7.0-java lib/puma/rack/backports/uri/common_193.rb
puma-3.7.0 lib/puma/rack/backports/uri/common_193.rb
puma-3.6.2-java lib/puma/rack/backports/uri/common_193.rb
puma-3.6.2 lib/puma/rack/backports/uri/common_193.rb
puma-3.6.1-java lib/puma/rack/backports/uri/common_193.rb
puma-3.6.1 lib/puma/rack/backports/uri/common_193.rb
puma-3.6.0-java lib/puma/rack/backports/uri/common_193.rb
puma-3.6.0 lib/puma/rack/backports/uri/common_193.rb
puma-3.5.2-java lib/puma/rack/backports/uri/common_193.rb
puma-3.5.2 lib/puma/rack/backports/uri/common_193.rb
puma-3.5.1-java lib/puma/rack/backports/uri/common_193.rb
puma-3.5.1 lib/puma/rack/backports/uri/common_193.rb
puma-3.5.0-java lib/puma/rack/backports/uri/common_193.rb