repo
stringlengths
5
92
file_url
stringlengths
80
287
file_path
stringlengths
5
197
content
stringlengths
0
32.8k
language
stringclasses
1 value
license
stringclasses
7 values
commit_sha
stringlengths
40
40
retrieved_at
stringdate
2026-01-04 15:37:27
2026-01-04 17:58:21
truncated
bool
2 classes
collabnix/kubelabs
https://github.com/collabnix/kubelabs/blob/d43118c4af2adeb708d26658615319d6493e6077/.bundles_cache/ruby/2.6.0/gems/webrick-1.8.1/lib/webrick/ssl.rb
.bundles_cache/ruby/2.6.0/gems/webrick-1.8.1/lib/webrick/ssl.rb
# frozen_string_literal: true # # ssl.rb -- SSL/TLS enhancement for GenericServer # # Copyright (c) 2003 GOTOU Yuuzou All rights reserved. # # $Id$ require 'webrick' require 'openssl' module WEBrick module Config svrsoft = General[:ServerSoftware] osslv = ::OpenSSL::OPENSSL_VERSION.split[1] ## # De...
ruby
Apache-2.0
d43118c4af2adeb708d26658615319d6493e6077
2026-01-04T15:51:47.325668Z
false
collabnix/kubelabs
https://github.com/collabnix/kubelabs/blob/d43118c4af2adeb708d26658615319d6493e6077/.bundles_cache/ruby/2.6.0/gems/webrick-1.8.1/lib/webrick/compat.rb
.bundles_cache/ruby/2.6.0/gems/webrick-1.8.1/lib/webrick/compat.rb
# frozen_string_literal: true # # compat.rb -- cross platform compatibility # # Author: IPR -- Internet Programming with Ruby -- writers # Copyright (c) 2002 GOTOU Yuuzou # Copyright (c) 2002 Internet Programming with Ruby writers. All rights # reserved. # # $IPR: compat.rb,v 1.6 2002/10/01 17:16:32 gotoyuzo Exp $ ## ...
ruby
Apache-2.0
d43118c4af2adeb708d26658615319d6493e6077
2026-01-04T15:51:47.325668Z
false
collabnix/kubelabs
https://github.com/collabnix/kubelabs/blob/d43118c4af2adeb708d26658615319d6493e6077/.bundles_cache/ruby/2.6.0/gems/webrick-1.8.1/lib/webrick/httpproxy.rb
.bundles_cache/ruby/2.6.0/gems/webrick-1.8.1/lib/webrick/httpproxy.rb
# frozen_string_literal: true # # httpproxy.rb -- HTTPProxy Class # # Author: IPR -- Internet Programming with Ruby -- writers # Copyright (c) 2002 GOTO Kentaro # Copyright (c) 2002 Internet Programming with Ruby writers. All rights # reserved. # # $IPR: httpproxy.rb,v 1.18 2003/03/08 18:58:10 gotoyuzo Exp $ # $kNotwor...
ruby
Apache-2.0
d43118c4af2adeb708d26658615319d6493e6077
2026-01-04T15:51:47.325668Z
false
collabnix/kubelabs
https://github.com/collabnix/kubelabs/blob/d43118c4af2adeb708d26658615319d6493e6077/.bundles_cache/ruby/2.6.0/gems/webrick-1.8.1/lib/webrick/httpstatus.rb
.bundles_cache/ruby/2.6.0/gems/webrick-1.8.1/lib/webrick/httpstatus.rb
# frozen_string_literal: true #-- # httpstatus.rb -- HTTPStatus Class # # Author: IPR -- Internet Programming with Ruby -- writers # Copyright (c) 2000, 2001 TAKAHASHI Masayoshi, GOTOU Yuuzou # Copyright (c) 2002 Internet Programming with Ruby writers. All rights # reserved. # # $IPR: httpstatus.rb,v 1.11 2003/03/24 20...
ruby
Apache-2.0
d43118c4af2adeb708d26658615319d6493e6077
2026-01-04T15:51:47.325668Z
false
collabnix/kubelabs
https://github.com/collabnix/kubelabs/blob/d43118c4af2adeb708d26658615319d6493e6077/.bundles_cache/ruby/2.6.0/gems/webrick-1.8.1/lib/webrick/htmlutils.rb
.bundles_cache/ruby/2.6.0/gems/webrick-1.8.1/lib/webrick/htmlutils.rb
# frozen_string_literal: true #-- # htmlutils.rb -- HTMLUtils Module # # Author: IPR -- Internet Programming with Ruby -- writers # Copyright (c) 2000, 2001 TAKAHASHI Masayoshi, GOTOU Yuuzou # Copyright (c) 2002 Internet Programming with Ruby writers. All rights # reserved. # # $IPR: htmlutils.rb,v 1.7 2002/09/21 12:23...
ruby
Apache-2.0
d43118c4af2adeb708d26658615319d6493e6077
2026-01-04T15:51:47.325668Z
false
collabnix/kubelabs
https://github.com/collabnix/kubelabs/blob/d43118c4af2adeb708d26658615319d6493e6077/.bundles_cache/ruby/2.6.0/gems/webrick-1.8.1/lib/webrick/httpservlet.rb
.bundles_cache/ruby/2.6.0/gems/webrick-1.8.1/lib/webrick/httpservlet.rb
# frozen_string_literal: true # # httpservlet.rb -- HTTPServlet Utility File # # Author: IPR -- Internet Programming with Ruby -- writers # Copyright (c) 2000, 2001 TAKAHASHI Masayoshi, GOTOU Yuuzou # Copyright (c) 2002 Internet Programming with Ruby writers. All rights # reserved. # # $IPR: httpservlet.rb,v 1.21 2003/...
ruby
Apache-2.0
d43118c4af2adeb708d26658615319d6493e6077
2026-01-04T15:51:47.325668Z
false
collabnix/kubelabs
https://github.com/collabnix/kubelabs/blob/d43118c4af2adeb708d26658615319d6493e6077/.bundles_cache/ruby/2.6.0/gems/webrick-1.8.1/lib/webrick/httpversion.rb
.bundles_cache/ruby/2.6.0/gems/webrick-1.8.1/lib/webrick/httpversion.rb
# frozen_string_literal: true #-- # HTTPVersion.rb -- presentation of HTTP version # # Author: IPR -- Internet Programming with Ruby -- writers # Copyright (c) 2002 Internet Programming with Ruby writers. All rights # reserved. # # $IPR: httpversion.rb,v 1.5 2002/09/21 12:23:37 gotoyuzo Exp $ module WEBrick ## # ...
ruby
Apache-2.0
d43118c4af2adeb708d26658615319d6493e6077
2026-01-04T15:51:47.325668Z
false
collabnix/kubelabs
https://github.com/collabnix/kubelabs/blob/d43118c4af2adeb708d26658615319d6493e6077/.bundles_cache/ruby/2.6.0/gems/webrick-1.8.1/lib/webrick/config.rb
.bundles_cache/ruby/2.6.0/gems/webrick-1.8.1/lib/webrick/config.rb
# frozen_string_literal: true # # config.rb -- Default configurations. # # Author: IPR -- Internet Programming with Ruby -- writers # Copyright (c) 2000, 2001 TAKAHASHI Masayoshi, GOTOU Yuuzou # Copyright (c) 2003 Internet Programming with Ruby writers. All rights # reserved. # # $IPR: config.rb,v 1.52 2003/07/22 19:20...
ruby
Apache-2.0
d43118c4af2adeb708d26658615319d6493e6077
2026-01-04T15:51:47.325668Z
false
collabnix/kubelabs
https://github.com/collabnix/kubelabs/blob/d43118c4af2adeb708d26658615319d6493e6077/.bundles_cache/ruby/2.6.0/gems/webrick-1.8.1/lib/webrick/httputils.rb
.bundles_cache/ruby/2.6.0/gems/webrick-1.8.1/lib/webrick/httputils.rb
# frozen_string_literal: true # # httputils.rb -- HTTPUtils Module # # Author: IPR -- Internet Programming with Ruby -- writers # Copyright (c) 2000, 2001 TAKAHASHI Masayoshi, GOTOU Yuuzou # Copyright (c) 2002 Internet Programming with Ruby writers. All rights # reserved. # # $IPR: httputils.rb,v 1.34 2003/06/05 21:34:...
ruby
Apache-2.0
d43118c4af2adeb708d26658615319d6493e6077
2026-01-04T15:51:47.325668Z
false
collabnix/kubelabs
https://github.com/collabnix/kubelabs/blob/d43118c4af2adeb708d26658615319d6493e6077/.bundles_cache/ruby/2.6.0/gems/webrick-1.8.1/lib/webrick/server.rb
.bundles_cache/ruby/2.6.0/gems/webrick-1.8.1/lib/webrick/server.rb
# frozen_string_literal: true # # server.rb -- GenericServer Class # # Author: IPR -- Internet Programming with Ruby -- writers # Copyright (c) 2000, 2001 TAKAHASHI Masayoshi, GOTOU Yuuzou # Copyright (c) 2002 Internet Programming with Ruby writers. All rights # reserved. # # $IPR: server.rb,v 1.62 2003/07/22 19:20:43 ...
ruby
Apache-2.0
d43118c4af2adeb708d26658615319d6493e6077
2026-01-04T15:51:47.325668Z
false
collabnix/kubelabs
https://github.com/collabnix/kubelabs/blob/d43118c4af2adeb708d26658615319d6493e6077/.bundles_cache/ruby/2.6.0/gems/webrick-1.8.1/lib/webrick/cookie.rb
.bundles_cache/ruby/2.6.0/gems/webrick-1.8.1/lib/webrick/cookie.rb
# frozen_string_literal: true # # cookie.rb -- Cookie class # # Author: IPR -- Internet Programming with Ruby -- writers # Copyright (c) 2000, 2001 TAKAHASHI Masayoshi, GOTOU Yuuzou # Copyright (c) 2002 Internet Programming with Ruby writers. All rights # reserved. # # $IPR: cookie.rb,v 1.16 2002/09/21 12:23:35 gotoyuz...
ruby
Apache-2.0
d43118c4af2adeb708d26658615319d6493e6077
2026-01-04T15:51:47.325668Z
false
collabnix/kubelabs
https://github.com/collabnix/kubelabs/blob/d43118c4af2adeb708d26658615319d6493e6077/.bundles_cache/ruby/2.6.0/gems/webrick-1.8.1/lib/webrick/cgi.rb
.bundles_cache/ruby/2.6.0/gems/webrick-1.8.1/lib/webrick/cgi.rb
# frozen_string_literal: true # # cgi.rb -- Yet another CGI library # # Author: IPR -- Internet Programming with Ruby -- writers # Copyright (c) 2003 Internet Programming with Ruby writers. All rights # reserved. # # $Id$ require_relative "httprequest" require_relative "httpresponse" require_relative "config" require ...
ruby
Apache-2.0
d43118c4af2adeb708d26658615319d6493e6077
2026-01-04T15:51:47.325668Z
false
collabnix/kubelabs
https://github.com/collabnix/kubelabs/blob/d43118c4af2adeb708d26658615319d6493e6077/.bundles_cache/ruby/2.6.0/gems/webrick-1.8.1/lib/webrick/httpserver.rb
.bundles_cache/ruby/2.6.0/gems/webrick-1.8.1/lib/webrick/httpserver.rb
# frozen_string_literal: true # # httpserver.rb -- HTTPServer Class # # Author: IPR -- Internet Programming with Ruby -- writers # Copyright (c) 2000, 2001 TAKAHASHI Masayoshi, GOTOU Yuuzou # Copyright (c) 2002 Internet Programming with Ruby writers. All rights # reserved. # # $IPR: httpserver.rb,v 1.63 2002/10/01 17:1...
ruby
Apache-2.0
d43118c4af2adeb708d26658615319d6493e6077
2026-01-04T15:51:47.325668Z
false
collabnix/kubelabs
https://github.com/collabnix/kubelabs/blob/d43118c4af2adeb708d26658615319d6493e6077/.bundles_cache/ruby/2.6.0/gems/webrick-1.8.1/lib/webrick/https.rb
.bundles_cache/ruby/2.6.0/gems/webrick-1.8.1/lib/webrick/https.rb
# frozen_string_literal: true # # https.rb -- SSL/TLS enhancement for HTTPServer # # Author: IPR -- Internet Programming with Ruby -- writers # Copyright (c) 2001 GOTOU Yuuzou # Copyright (c) 2002 Internet Programming with Ruby writers. All rights # reserved. # # $IPR: https.rb,v 1.15 2003/07/22 19:20:42 gotoyuzo Exp $...
ruby
Apache-2.0
d43118c4af2adeb708d26658615319d6493e6077
2026-01-04T15:51:47.325668Z
false
collabnix/kubelabs
https://github.com/collabnix/kubelabs/blob/d43118c4af2adeb708d26658615319d6493e6077/.bundles_cache/ruby/2.6.0/gems/webrick-1.8.1/lib/webrick/httprequest.rb
.bundles_cache/ruby/2.6.0/gems/webrick-1.8.1/lib/webrick/httprequest.rb
# frozen_string_literal: true # # httprequest.rb -- HTTPRequest Class # # Author: IPR -- Internet Programming with Ruby -- writers # Copyright (c) 2000, 2001 TAKAHASHI Masayoshi, GOTOU Yuuzou # Copyright (c) 2002 Internet Programming with Ruby writers. All rights # reserved. # # $IPR: httprequest.rb,v 1.64 2003/07/13 1...
ruby
Apache-2.0
d43118c4af2adeb708d26658615319d6493e6077
2026-01-04T15:51:47.325668Z
false
collabnix/kubelabs
https://github.com/collabnix/kubelabs/blob/d43118c4af2adeb708d26658615319d6493e6077/.bundles_cache/ruby/2.6.0/gems/webrick-1.8.1/lib/webrick/accesslog.rb
.bundles_cache/ruby/2.6.0/gems/webrick-1.8.1/lib/webrick/accesslog.rb
# frozen_string_literal: true #-- # accesslog.rb -- Access log handling utilities # # Author: IPR -- Internet Programming with Ruby -- writers # Copyright (c) 2002 keita yamaguchi # Copyright (c) 2002 Internet Programming with Ruby writers # # $IPR: accesslog.rb,v 1.1 2002/10/01 17:16:32 gotoyuzo Exp $ module WEBrick ...
ruby
Apache-2.0
d43118c4af2adeb708d26658615319d6493e6077
2026-01-04T15:51:47.325668Z
false
collabnix/kubelabs
https://github.com/collabnix/kubelabs/blob/d43118c4af2adeb708d26658615319d6493e6077/.bundles_cache/ruby/2.6.0/gems/webrick-1.8.1/lib/webrick/httpservlet/filehandler.rb
.bundles_cache/ruby/2.6.0/gems/webrick-1.8.1/lib/webrick/httpservlet/filehandler.rb
# frozen_string_literal: true # # filehandler.rb -- FileHandler Module # # Author: IPR -- Internet Programming with Ruby -- writers # Copyright (c) 2001 TAKAHASHI Masayoshi, GOTOU Yuuzou # Copyright (c) 2003 Internet Programming with Ruby writers. All rights # reserved. # # $IPR: filehandler.rb,v 1.44 2003/06/07 01:34:...
ruby
Apache-2.0
d43118c4af2adeb708d26658615319d6493e6077
2026-01-04T15:51:47.325668Z
false
collabnix/kubelabs
https://github.com/collabnix/kubelabs/blob/d43118c4af2adeb708d26658615319d6493e6077/.bundles_cache/ruby/2.6.0/gems/webrick-1.8.1/lib/webrick/httpservlet/cgi_runner.rb
.bundles_cache/ruby/2.6.0/gems/webrick-1.8.1/lib/webrick/httpservlet/cgi_runner.rb
# frozen_string_literal: true # # cgi_runner.rb -- CGI launcher. # # Author: IPR -- Internet Programming with Ruby -- writers # Copyright (c) 2000 TAKAHASHI Masayoshi, GOTOU YUUZOU # Copyright (c) 2002 Internet Programming with Ruby writers. All rights # reserved. # # $IPR: cgi_runner.rb,v 1.9 2002/09/25 11:33:15 gotoy...
ruby
Apache-2.0
d43118c4af2adeb708d26658615319d6493e6077
2026-01-04T15:51:47.325668Z
false
collabnix/kubelabs
https://github.com/collabnix/kubelabs/blob/d43118c4af2adeb708d26658615319d6493e6077/.bundles_cache/ruby/2.6.0/gems/webrick-1.8.1/lib/webrick/httpservlet/prochandler.rb
.bundles_cache/ruby/2.6.0/gems/webrick-1.8.1/lib/webrick/httpservlet/prochandler.rb
# frozen_string_literal: true # # prochandler.rb -- ProcHandler Class # # Author: IPR -- Internet Programming with Ruby -- writers # Copyright (c) 2001 TAKAHASHI Masayoshi, GOTOU Yuuzou # Copyright (c) 2002 Internet Programming with Ruby writers. All rights # reserved. # # $IPR: prochandler.rb,v 1.7 2002/09/21 12:23:42...
ruby
Apache-2.0
d43118c4af2adeb708d26658615319d6493e6077
2026-01-04T15:51:47.325668Z
false
collabnix/kubelabs
https://github.com/collabnix/kubelabs/blob/d43118c4af2adeb708d26658615319d6493e6077/.bundles_cache/ruby/2.6.0/gems/webrick-1.8.1/lib/webrick/httpservlet/erbhandler.rb
.bundles_cache/ruby/2.6.0/gems/webrick-1.8.1/lib/webrick/httpservlet/erbhandler.rb
# frozen_string_literal: true # # erbhandler.rb -- ERBHandler Class # # Author: IPR -- Internet Programming with Ruby -- writers # Copyright (c) 2001 TAKAHASHI Masayoshi, GOTOU Yuuzou # Copyright (c) 2002 Internet Programming with Ruby writers. All rights # reserved. # # $IPR: erbhandler.rb,v 1.25 2003/02/24 19:25:31 g...
ruby
Apache-2.0
d43118c4af2adeb708d26658615319d6493e6077
2026-01-04T15:51:47.325668Z
false
collabnix/kubelabs
https://github.com/collabnix/kubelabs/blob/d43118c4af2adeb708d26658615319d6493e6077/.bundles_cache/ruby/2.6.0/gems/webrick-1.8.1/lib/webrick/httpservlet/abstract.rb
.bundles_cache/ruby/2.6.0/gems/webrick-1.8.1/lib/webrick/httpservlet/abstract.rb
# frozen_string_literal: true # # httpservlet.rb -- HTTPServlet Module # # Author: IPR -- Internet Programming with Ruby -- writers # Copyright (c) 2000 TAKAHASHI Masayoshi, GOTOU Yuuzou # Copyright (c) 2002 Internet Programming with Ruby writers. All rights # reserved. # # $IPR: abstract.rb,v 1.24 2003/07/11 11:16:46 ...
ruby
Apache-2.0
d43118c4af2adeb708d26658615319d6493e6077
2026-01-04T15:51:47.325668Z
false
collabnix/kubelabs
https://github.com/collabnix/kubelabs/blob/d43118c4af2adeb708d26658615319d6493e6077/.bundles_cache/ruby/2.6.0/gems/webrick-1.8.1/lib/webrick/httpservlet/cgihandler.rb
.bundles_cache/ruby/2.6.0/gems/webrick-1.8.1/lib/webrick/httpservlet/cgihandler.rb
# frozen_string_literal: true # # cgihandler.rb -- CGIHandler Class # # Author: IPR -- Internet Programming with Ruby -- writers # Copyright (c) 2001 TAKAHASHI Masayoshi, GOTOU Yuuzou # Copyright (c) 2002 Internet Programming with Ruby writers. All rights # reserved. # # $IPR: cgihandler.rb,v 1.27 2003/03/21 19:56:01 g...
ruby
Apache-2.0
d43118c4af2adeb708d26658615319d6493e6077
2026-01-04T15:51:47.325668Z
false
collabnix/kubelabs
https://github.com/collabnix/kubelabs/blob/d43118c4af2adeb708d26658615319d6493e6077/.bundles_cache/ruby/2.6.0/gems/webrick-1.8.1/lib/webrick/httpauth/basicauth.rb
.bundles_cache/ruby/2.6.0/gems/webrick-1.8.1/lib/webrick/httpauth/basicauth.rb
# frozen_string_literal: true # # httpauth/basicauth.rb -- HTTP basic access authentication # # Author: IPR -- Internet Programming with Ruby -- writers # Copyright (c) 2003 Internet Programming with Ruby writers. All rights # reserved. # # $IPR: basicauth.rb,v 1.5 2003/02/20 07:15:47 gotoyuzo Exp $ require_relative '...
ruby
Apache-2.0
d43118c4af2adeb708d26658615319d6493e6077
2026-01-04T15:51:47.325668Z
false
collabnix/kubelabs
https://github.com/collabnix/kubelabs/blob/d43118c4af2adeb708d26658615319d6493e6077/.bundles_cache/ruby/2.6.0/gems/webrick-1.8.1/lib/webrick/httpauth/digestauth.rb
.bundles_cache/ruby/2.6.0/gems/webrick-1.8.1/lib/webrick/httpauth/digestauth.rb
# frozen_string_literal: true # # httpauth/digestauth.rb -- HTTP digest access authentication # # Author: IPR -- Internet Programming with Ruby -- writers # Copyright (c) 2003 Internet Programming with Ruby writers. # Copyright (c) 2003 H.M. # # The original implementation is provided by H.M. # URL: http://rwiki.jin....
ruby
Apache-2.0
d43118c4af2adeb708d26658615319d6493e6077
2026-01-04T15:51:47.325668Z
false
collabnix/kubelabs
https://github.com/collabnix/kubelabs/blob/d43118c4af2adeb708d26658615319d6493e6077/.bundles_cache/ruby/2.6.0/gems/webrick-1.8.1/lib/webrick/httpauth/authenticator.rb
.bundles_cache/ruby/2.6.0/gems/webrick-1.8.1/lib/webrick/httpauth/authenticator.rb
# frozen_string_literal: true #-- # httpauth/authenticator.rb -- Authenticator mix-in module. # # Author: IPR -- Internet Programming with Ruby -- writers # Copyright (c) 2003 Internet Programming with Ruby writers. All rights # reserved. # # $IPR: authenticator.rb,v 1.3 2003/02/20 07:15:47 gotoyuzo Exp $ module WEBri...
ruby
Apache-2.0
d43118c4af2adeb708d26658615319d6493e6077
2026-01-04T15:51:47.325668Z
false
collabnix/kubelabs
https://github.com/collabnix/kubelabs/blob/d43118c4af2adeb708d26658615319d6493e6077/.bundles_cache/ruby/2.6.0/gems/webrick-1.8.1/lib/webrick/httpauth/userdb.rb
.bundles_cache/ruby/2.6.0/gems/webrick-1.8.1/lib/webrick/httpauth/userdb.rb
# frozen_string_literal: true #-- # httpauth/userdb.rb -- UserDB mix-in module. # # Author: IPR -- Internet Programming with Ruby -- writers # Copyright (c) 2003 Internet Programming with Ruby writers. All rights # reserved. # # $IPR: userdb.rb,v 1.2 2003/02/20 07:15:48 gotoyuzo Exp $ module WEBrick module HTTPAuth ...
ruby
Apache-2.0
d43118c4af2adeb708d26658615319d6493e6077
2026-01-04T15:51:47.325668Z
false
collabnix/kubelabs
https://github.com/collabnix/kubelabs/blob/d43118c4af2adeb708d26658615319d6493e6077/.bundles_cache/ruby/2.6.0/gems/webrick-1.8.1/lib/webrick/httpauth/htpasswd.rb
.bundles_cache/ruby/2.6.0/gems/webrick-1.8.1/lib/webrick/httpauth/htpasswd.rb
# frozen_string_literal: true # # httpauth/htpasswd -- Apache compatible htpasswd file # # Author: IPR -- Internet Programming with Ruby -- writers # Copyright (c) 2003 Internet Programming with Ruby writers. All rights # reserved. # # $IPR: htpasswd.rb,v 1.4 2003/07/22 19:20:45 gotoyuzo Exp $ require_relative 'userdb...
ruby
Apache-2.0
d43118c4af2adeb708d26658615319d6493e6077
2026-01-04T15:51:47.325668Z
false
collabnix/kubelabs
https://github.com/collabnix/kubelabs/blob/d43118c4af2adeb708d26658615319d6493e6077/.bundles_cache/ruby/2.6.0/gems/webrick-1.8.1/lib/webrick/httpauth/htdigest.rb
.bundles_cache/ruby/2.6.0/gems/webrick-1.8.1/lib/webrick/httpauth/htdigest.rb
# frozen_string_literal: true # # httpauth/htdigest.rb -- Apache compatible htdigest file # # Author: IPR -- Internet Programming with Ruby -- writers # Copyright (c) 2003 Internet Programming with Ruby writers. All rights # reserved. # # $IPR: htdigest.rb,v 1.4 2003/07/22 19:20:45 gotoyuzo Exp $ require_relative 'use...
ruby
Apache-2.0
d43118c4af2adeb708d26658615319d6493e6077
2026-01-04T15:51:47.325668Z
false
collabnix/kubelabs
https://github.com/collabnix/kubelabs/blob/d43118c4af2adeb708d26658615319d6493e6077/.bundles_cache/ruby/2.6.0/gems/webrick-1.8.1/lib/webrick/httpauth/htgroup.rb
.bundles_cache/ruby/2.6.0/gems/webrick-1.8.1/lib/webrick/httpauth/htgroup.rb
# frozen_string_literal: true # # httpauth/htgroup.rb -- Apache compatible htgroup file # # Author: IPR -- Internet Programming with Ruby -- writers # Copyright (c) 2003 Internet Programming with Ruby writers. All rights # reserved. # # $IPR: htgroup.rb,v 1.1 2003/02/16 22:22:56 gotoyuzo Exp $ require 'tempfile' modu...
ruby
Apache-2.0
d43118c4af2adeb708d26658615319d6493e6077
2026-01-04T15:51:47.325668Z
false
collabnix/kubelabs
https://github.com/collabnix/kubelabs/blob/d43118c4af2adeb708d26658615319d6493e6077/.bundles_cache/ruby/2.6.0/gems/terminal-table-1.8.0/examples/examples.rb
.bundles_cache/ruby/2.6.0/gems/terminal-table-1.8.0/examples/examples.rb
$:.unshift File.dirname(__FILE__) + '/../lib' require 'terminal-table/import' puts puts table(['a', 'b'], [1, 2], [3, 4]) puts puts table(['name', 'content'], ['ftp.example.com', '1.1.1.1'], ['www.example.com', '|lalalala|lalala|']) puts t = table ['a', 'b'] t.style = {:padding_left => 2, :width => 80} t << [1, 2] t...
ruby
Apache-2.0
d43118c4af2adeb708d26658615319d6493e6077
2026-01-04T15:51:47.325668Z
false
collabnix/kubelabs
https://github.com/collabnix/kubelabs/blob/d43118c4af2adeb708d26658615319d6493e6077/.bundles_cache/ruby/2.6.0/gems/terminal-table-1.8.0/lib/terminal-table.rb
.bundles_cache/ruby/2.6.0/gems/terminal-table-1.8.0/lib/terminal-table.rb
#-- # Copyright (c) 2008-2009 TJ Holowaychuk <tj@vision-media.ca> # # Permission is hereby granted, free of charge, to any person obtaining # a copy of this software and associated documentation files (the # "Software"), to deal in the Software without restriction, including # without limitation the rights to use, copy...
ruby
Apache-2.0
d43118c4af2adeb708d26658615319d6493e6077
2026-01-04T15:51:47.325668Z
false
collabnix/kubelabs
https://github.com/collabnix/kubelabs/blob/d43118c4af2adeb708d26658615319d6493e6077/.bundles_cache/ruby/2.6.0/gems/terminal-table-1.8.0/lib/terminal-table/table.rb
.bundles_cache/ruby/2.6.0/gems/terminal-table-1.8.0/lib/terminal-table/table.rb
require 'unicode/display_width' module Terminal class Table attr_reader :title attr_reader :headings ## # Generates a ASCII table with the given _options_. def initialize options = {}, &block @headings = [] @rows = [] @column_widths = [] self.style = options.fetch :styl...
ruby
Apache-2.0
d43118c4af2adeb708d26658615319d6493e6077
2026-01-04T15:51:47.325668Z
false
collabnix/kubelabs
https://github.com/collabnix/kubelabs/blob/d43118c4af2adeb708d26658615319d6493e6077/.bundles_cache/ruby/2.6.0/gems/terminal-table-1.8.0/lib/terminal-table/version.rb
.bundles_cache/ruby/2.6.0/gems/terminal-table-1.8.0/lib/terminal-table/version.rb
module Terminal class Table VERSION = '1.8.0' end end
ruby
Apache-2.0
d43118c4af2adeb708d26658615319d6493e6077
2026-01-04T15:51:47.325668Z
false
collabnix/kubelabs
https://github.com/collabnix/kubelabs/blob/d43118c4af2adeb708d26658615319d6493e6077/.bundles_cache/ruby/2.6.0/gems/terminal-table-1.8.0/lib/terminal-table/cell.rb
.bundles_cache/ruby/2.6.0/gems/terminal-table-1.8.0/lib/terminal-table/cell.rb
require 'unicode/display_width' module Terminal class Table class Cell ## # Cell value. attr_reader :value ## # Column span. attr_reader :colspan ## # Initialize with _options_. def initialize options = nil @value, options = options, {} unless Ha...
ruby
Apache-2.0
d43118c4af2adeb708d26658615319d6493e6077
2026-01-04T15:51:47.325668Z
false
collabnix/kubelabs
https://github.com/collabnix/kubelabs/blob/d43118c4af2adeb708d26658615319d6493e6077/.bundles_cache/ruby/2.6.0/gems/terminal-table-1.8.0/lib/terminal-table/table_helper.rb
.bundles_cache/ruby/2.6.0/gems/terminal-table-1.8.0/lib/terminal-table/table_helper.rb
module Terminal class Table module TableHelper def table headings = [], *rows, &block Terminal::Table.new :headings => headings.to_a, :rows => rows, &block end end end end
ruby
Apache-2.0
d43118c4af2adeb708d26658615319d6493e6077
2026-01-04T15:51:47.325668Z
false
collabnix/kubelabs
https://github.com/collabnix/kubelabs/blob/d43118c4af2adeb708d26658615319d6493e6077/.bundles_cache/ruby/2.6.0/gems/terminal-table-1.8.0/lib/terminal-table/separator.rb
.bundles_cache/ruby/2.6.0/gems/terminal-table-1.8.0/lib/terminal-table/separator.rb
module Terminal class Table class Separator < Row def render arr_x = (0...@table.number_of_columns).to_a.map do |i| @table.style.border_x * (@table.column_width(i) + @table.cell_padding) end border_i = @table.style.border_i border_i + arr_x.join(border_i) + border_...
ruby
Apache-2.0
d43118c4af2adeb708d26658615319d6493e6077
2026-01-04T15:51:47.325668Z
false
collabnix/kubelabs
https://github.com/collabnix/kubelabs/blob/d43118c4af2adeb708d26658615319d6493e6077/.bundles_cache/ruby/2.6.0/gems/terminal-table-1.8.0/lib/terminal-table/row.rb
.bundles_cache/ruby/2.6.0/gems/terminal-table-1.8.0/lib/terminal-table/row.rb
module Terminal class Table class Row ## # Row cells attr_reader :cells attr_reader :table ## # Initialize with _width_ and _options_. def initialize table, array = [] @cell_index = 0 @table = table @cells = [] array.each { |item| self...
ruby
Apache-2.0
d43118c4af2adeb708d26658615319d6493e6077
2026-01-04T15:51:47.325668Z
false
collabnix/kubelabs
https://github.com/collabnix/kubelabs/blob/d43118c4af2adeb708d26658615319d6493e6077/.bundles_cache/ruby/2.6.0/gems/terminal-table-1.8.0/lib/terminal-table/import.rb
.bundles_cache/ruby/2.6.0/gems/terminal-table-1.8.0/lib/terminal-table/import.rb
require 'terminal-table' #required as some people require this file directly from their Gemfiles include Terminal::Table::TableHelper
ruby
Apache-2.0
d43118c4af2adeb708d26658615319d6493e6077
2026-01-04T15:51:47.325668Z
false
collabnix/kubelabs
https://github.com/collabnix/kubelabs/blob/d43118c4af2adeb708d26658615319d6493e6077/.bundles_cache/ruby/2.6.0/gems/terminal-table-1.8.0/lib/terminal-table/style.rb
.bundles_cache/ruby/2.6.0/gems/terminal-table-1.8.0/lib/terminal-table/style.rb
module Terminal class Table # A Style object holds all the formatting information for a Table object # # To create a table with a certain style, use either the constructor # option <tt>:style</tt>, the Table#style object or the Table#style= method # # All these examples have the same effect: ...
ruby
Apache-2.0
d43118c4af2adeb708d26658615319d6493e6077
2026-01-04T15:51:47.325668Z
false
collabnix/kubelabs
https://github.com/collabnix/kubelabs/blob/d43118c4af2adeb708d26658615319d6493e6077/.bundles_cache/ruby/2.6.0/gems/execjs-2.8.1/lib/execjs.rb
.bundles_cache/ruby/2.6.0/gems/execjs-2.8.1/lib/execjs.rb
require "execjs/module" require "execjs/runtimes" module ExecJS self.runtime ||= Runtimes.autodetect end
ruby
Apache-2.0
d43118c4af2adeb708d26658615319d6493e6077
2026-01-04T15:51:47.325668Z
false
collabnix/kubelabs
https://github.com/collabnix/kubelabs/blob/d43118c4af2adeb708d26658615319d6493e6077/.bundles_cache/ruby/2.6.0/gems/execjs-2.8.1/lib/execjs/ruby_rhino_runtime.rb
.bundles_cache/ruby/2.6.0/gems/execjs-2.8.1/lib/execjs/ruby_rhino_runtime.rb
require "execjs/runtime" module ExecJS class RubyRhinoRuntime < Runtime class Context < Runtime::Context def initialize(runtime, source = "", options = {}) source = encode(source) @rhino_context = ::Rhino::Context.new fix_memory_limit! @rhino_context @rhino_context.eval(sou...
ruby
Apache-2.0
d43118c4af2adeb708d26658615319d6493e6077
2026-01-04T15:51:47.325668Z
false
collabnix/kubelabs
https://github.com/collabnix/kubelabs/blob/d43118c4af2adeb708d26658615319d6493e6077/.bundles_cache/ruby/2.6.0/gems/execjs-2.8.1/lib/execjs/version.rb
.bundles_cache/ruby/2.6.0/gems/execjs-2.8.1/lib/execjs/version.rb
module ExecJS VERSION = "2.8.1" end
ruby
Apache-2.0
d43118c4af2adeb708d26658615319d6493e6077
2026-01-04T15:51:47.325668Z
false
collabnix/kubelabs
https://github.com/collabnix/kubelabs/blob/d43118c4af2adeb708d26658615319d6493e6077/.bundles_cache/ruby/2.6.0/gems/execjs-2.8.1/lib/execjs/external_runtime.rb
.bundles_cache/ruby/2.6.0/gems/execjs-2.8.1/lib/execjs/external_runtime.rb
require "tmpdir" require "execjs/runtime" module ExecJS class ExternalRuntime < Runtime class Context < Runtime::Context def initialize(runtime, source = "", options = {}) source = encode(source) @runtime = runtime @source = source # Test compile context source ex...
ruby
Apache-2.0
d43118c4af2adeb708d26658615319d6493e6077
2026-01-04T15:51:47.325668Z
false
collabnix/kubelabs
https://github.com/collabnix/kubelabs/blob/d43118c4af2adeb708d26658615319d6493e6077/.bundles_cache/ruby/2.6.0/gems/execjs-2.8.1/lib/execjs/duktape_runtime.rb
.bundles_cache/ruby/2.6.0/gems/execjs-2.8.1/lib/execjs/duktape_runtime.rb
require "execjs/runtime" require "json" module ExecJS class DuktapeRuntime < Runtime class Context < Runtime::Context def initialize(runtime, source = "", options = {}) @ctx = Duktape::Context.new(complex_object: nil) @ctx.exec_string(encode(source), '(execjs)') rescue Exception => e ...
ruby
Apache-2.0
d43118c4af2adeb708d26658615319d6493e6077
2026-01-04T15:51:47.325668Z
false
collabnix/kubelabs
https://github.com/collabnix/kubelabs/blob/d43118c4af2adeb708d26658615319d6493e6077/.bundles_cache/ruby/2.6.0/gems/execjs-2.8.1/lib/execjs/encoding.rb
.bundles_cache/ruby/2.6.0/gems/execjs-2.8.1/lib/execjs/encoding.rb
module ExecJS # Encodes strings as UTF-8 module Encoding if RUBY_ENGINE == 'jruby' || RUBY_ENGINE == 'rbx' # workaround for jruby bug http://jira.codehaus.org/browse/JRUBY-6588 # workaround for rbx bug https://github.com/rubinius/rubinius/issues/1729 def encode(string) if string.encodi...
ruby
Apache-2.0
d43118c4af2adeb708d26658615319d6493e6077
2026-01-04T15:51:47.325668Z
false
collabnix/kubelabs
https://github.com/collabnix/kubelabs/blob/d43118c4af2adeb708d26658615319d6493e6077/.bundles_cache/ruby/2.6.0/gems/execjs-2.8.1/lib/execjs/runtimes.rb
.bundles_cache/ruby/2.6.0/gems/execjs-2.8.1/lib/execjs/runtimes.rb
require "execjs/module" require "execjs/disabled_runtime" require "execjs/duktape_runtime" require "execjs/external_runtime" require "execjs/ruby_rhino_runtime" require "execjs/mini_racer_runtime" module ExecJS module Runtimes Disabled = DisabledRuntime.new Duktape = DuktapeRuntime.new RubyRhino = Ruby...
ruby
Apache-2.0
d43118c4af2adeb708d26658615319d6493e6077
2026-01-04T15:51:47.325668Z
false
collabnix/kubelabs
https://github.com/collabnix/kubelabs/blob/d43118c4af2adeb708d26658615319d6493e6077/.bundles_cache/ruby/2.6.0/gems/execjs-2.8.1/lib/execjs/runtime.rb
.bundles_cache/ruby/2.6.0/gems/execjs-2.8.1/lib/execjs/runtime.rb
require "execjs/encoding" module ExecJS # Abstract base class for runtimes class Runtime class Context include Encoding def initialize(runtime, source = "", options = {}) end # Evaluates the +source+ in the context of a function body and returns the # returned value. # ...
ruby
Apache-2.0
d43118c4af2adeb708d26658615319d6493e6077
2026-01-04T15:51:47.325668Z
false
collabnix/kubelabs
https://github.com/collabnix/kubelabs/blob/d43118c4af2adeb708d26658615319d6493e6077/.bundles_cache/ruby/2.6.0/gems/execjs-2.8.1/lib/execjs/mini_racer_runtime.rb
.bundles_cache/ruby/2.6.0/gems/execjs-2.8.1/lib/execjs/mini_racer_runtime.rb
require "execjs/runtime" module ExecJS class MiniRacerRuntime < Runtime class Context < Runtime::Context def initialize(runtime, source = "", options={}) source = encode(source) @context = ::MiniRacer::Context.new @context.eval("delete this.console"); translate do ...
ruby
Apache-2.0
d43118c4af2adeb708d26658615319d6493e6077
2026-01-04T15:51:47.325668Z
false
collabnix/kubelabs
https://github.com/collabnix/kubelabs/blob/d43118c4af2adeb708d26658615319d6493e6077/.bundles_cache/ruby/2.6.0/gems/execjs-2.8.1/lib/execjs/disabled_runtime.rb
.bundles_cache/ruby/2.6.0/gems/execjs-2.8.1/lib/execjs/disabled_runtime.rb
require "execjs/runtime" module ExecJS class DisabledRuntime < Runtime def name "Disabled" end def exec(source, options = {}) raise Error, "ExecJS disabled" end def eval(source, options = {}) raise Error, "ExecJS disabled" end def compile(source, options = {}) r...
ruby
Apache-2.0
d43118c4af2adeb708d26658615319d6493e6077
2026-01-04T15:51:47.325668Z
false
collabnix/kubelabs
https://github.com/collabnix/kubelabs/blob/d43118c4af2adeb708d26658615319d6493e6077/.bundles_cache/ruby/2.6.0/gems/execjs-2.8.1/lib/execjs/module.rb
.bundles_cache/ruby/2.6.0/gems/execjs-2.8.1/lib/execjs/module.rb
require "execjs/version" require "rbconfig" module ExecJS class Error < ::StandardError; end class RuntimeError < Error; end class ProgramError < Error; end class RuntimeUnavailable < RuntimeError; end class << self attr_reader :runtime def runtime=(runtime) ...
ruby
Apache-2.0
d43118c4af2adeb708d26658615319d6493e6077
2026-01-04T15:51:47.325668Z
false
collabnix/kubelabs
https://github.com/collabnix/kubelabs/blob/d43118c4af2adeb708d26658615319d6493e6077/.bundles_cache/ruby/2.6.0/gems/em-websocket-0.5.3/spec/helper.rb
.bundles_cache/ruby/2.6.0/gems/em-websocket-0.5.3/spec/helper.rb
# encoding: BINARY require 'rubygems' require 'rspec' require 'em-spec/rspec' require 'em-http' require 'em-websocket' require 'em-websocket-client' require 'integration/shared_examples' require 'integration/gte_03_examples' RSpec.configure do |c| c.mock_with :rspec end class FakeWebSocketClient < EM::Connection...
ruby
Apache-2.0
d43118c4af2adeb708d26658615319d6493e6077
2026-01-04T15:51:47.325668Z
false
collabnix/kubelabs
https://github.com/collabnix/kubelabs/blob/d43118c4af2adeb708d26658615319d6493e6077/.bundles_cache/ruby/2.6.0/gems/em-websocket-0.5.3/spec/integration/common_spec.rb
.bundles_cache/ruby/2.6.0/gems/em-websocket-0.5.3/spec/integration/common_spec.rb
require 'helper' # These tests are not specific to any particular draft of the specification # describe "WebSocket server" do include EM::SpecHelper default_timeout 1 it "should fail on non WebSocket requests" do em { EM.add_timer(0.1) do http = EM::HttpRequest.new('http://127.0.0.1:12345/').g...
ruby
Apache-2.0
d43118c4af2adeb708d26658615319d6493e6077
2026-01-04T15:51:47.325668Z
false
collabnix/kubelabs
https://github.com/collabnix/kubelabs/blob/d43118c4af2adeb708d26658615319d6493e6077/.bundles_cache/ruby/2.6.0/gems/em-websocket-0.5.3/spec/integration/draft13_spec.rb
.bundles_cache/ruby/2.6.0/gems/em-websocket-0.5.3/spec/integration/draft13_spec.rb
# encoding: BINARY require 'helper' describe "draft13" do include EM::SpecHelper default_timeout 1 before :each do @request = { :port => 80, :method => "GET", :path => "/demo", :headers => { 'Host' => 'example.com', 'Upgrade' => 'websocket', 'Connection' => '...
ruby
Apache-2.0
d43118c4af2adeb708d26658615319d6493e6077
2026-01-04T15:51:47.325668Z
false
collabnix/kubelabs
https://github.com/collabnix/kubelabs/blob/d43118c4af2adeb708d26658615319d6493e6077/.bundles_cache/ruby/2.6.0/gems/em-websocket-0.5.3/spec/integration/draft76_spec.rb
.bundles_cache/ruby/2.6.0/gems/em-websocket-0.5.3/spec/integration/draft76_spec.rb
# encoding: BINARY require 'helper' describe "WebSocket server draft76" do include EM::SpecHelper default_timeout 1 before :each do @request = { :port => 80, :method => "GET", :path => "/demo", :headers => { 'Host' => 'example.com', 'Connection' => 'Upgrade', ...
ruby
Apache-2.0
d43118c4af2adeb708d26658615319d6493e6077
2026-01-04T15:51:47.325668Z
false
collabnix/kubelabs
https://github.com/collabnix/kubelabs/blob/d43118c4af2adeb708d26658615319d6493e6077/.bundles_cache/ruby/2.6.0/gems/em-websocket-0.5.3/spec/integration/gte_03_examples.rb
.bundles_cache/ruby/2.6.0/gems/em-websocket-0.5.3/spec/integration/gte_03_examples.rb
shared_examples_for "a WebSocket server drafts 3 and above" do it "should force close connections after a timeout if close handshake is not sent by the client" do em { server_onerror_fired = false server_onclose_fired = false client_got_close_handshake = false start_server(:close_ti...
ruby
Apache-2.0
d43118c4af2adeb708d26658615319d6493e6077
2026-01-04T15:51:47.325668Z
false
collabnix/kubelabs
https://github.com/collabnix/kubelabs/blob/d43118c4af2adeb708d26658615319d6493e6077/.bundles_cache/ruby/2.6.0/gems/em-websocket-0.5.3/spec/integration/shared_examples.rb
.bundles_cache/ruby/2.6.0/gems/em-websocket-0.5.3/spec/integration/shared_examples.rb
# encoding: UTF-8 # These tests are run against all draft versions # shared_examples_for "a websocket server" do it "should expose the protocol version" do em { start_server { |ws| ws.onopen { |handshake| handshake.protocol_version.should == version done } } ...
ruby
Apache-2.0
d43118c4af2adeb708d26658615319d6493e6077
2026-01-04T15:51:47.325668Z
false
collabnix/kubelabs
https://github.com/collabnix/kubelabs/blob/d43118c4af2adeb708d26658615319d6493e6077/.bundles_cache/ruby/2.6.0/gems/em-websocket-0.5.3/spec/integration/draft03_spec.rb
.bundles_cache/ruby/2.6.0/gems/em-websocket-0.5.3/spec/integration/draft03_spec.rb
require 'helper' describe "draft03" do include EM::SpecHelper default_timeout 1 before :each do @request = { :port => 80, :method => "GET", :path => "/demo", :headers => { 'Host' => 'example.com', 'Connection' => 'Upgrade', 'Sec-WebSocket-Key2' => '12998 5 Y3 ...
ruby
Apache-2.0
d43118c4af2adeb708d26658615319d6493e6077
2026-01-04T15:51:47.325668Z
false
collabnix/kubelabs
https://github.com/collabnix/kubelabs/blob/d43118c4af2adeb708d26658615319d6493e6077/.bundles_cache/ruby/2.6.0/gems/em-websocket-0.5.3/spec/integration/draft05_spec.rb
.bundles_cache/ruby/2.6.0/gems/em-websocket-0.5.3/spec/integration/draft05_spec.rb
require 'helper' describe "draft05" do include EM::SpecHelper default_timeout 1 before :each do @request = { :port => 80, :method => "GET", :path => "/demo", :headers => { 'Host' => 'example.com', 'Upgrade' => 'websocket', 'Connection' => 'Upgrade', 'S...
ruby
Apache-2.0
d43118c4af2adeb708d26658615319d6493e6077
2026-01-04T15:51:47.325668Z
false
collabnix/kubelabs
https://github.com/collabnix/kubelabs/blob/d43118c4af2adeb708d26658615319d6493e6077/.bundles_cache/ruby/2.6.0/gems/em-websocket-0.5.3/spec/integration/draft06_spec.rb
.bundles_cache/ruby/2.6.0/gems/em-websocket-0.5.3/spec/integration/draft06_spec.rb
require 'helper' describe "draft06" do include EM::SpecHelper default_timeout 1 before :each do @request = { :port => 80, :method => "GET", :path => "/demo", :headers => { 'Host' => 'example.com', 'Upgrade' => 'websocket', 'Connection' => 'Upgrade', 'S...
ruby
Apache-2.0
d43118c4af2adeb708d26658615319d6493e6077
2026-01-04T15:51:47.325668Z
false
collabnix/kubelabs
https://github.com/collabnix/kubelabs/blob/d43118c4af2adeb708d26658615319d6493e6077/.bundles_cache/ruby/2.6.0/gems/em-websocket-0.5.3/spec/integration/draft75_spec.rb
.bundles_cache/ruby/2.6.0/gems/em-websocket-0.5.3/spec/integration/draft75_spec.rb
require 'helper' # These integration tests are older and use a different testing style to the # integration tests for newer drafts. They use EM::HttpRequest which happens # to currently estabish a websocket connection using the draft75 protocol. # describe "WebSocket server draft75" do include EM::SpecHelper de...
ruby
Apache-2.0
d43118c4af2adeb708d26658615319d6493e6077
2026-01-04T15:51:47.325668Z
false
collabnix/kubelabs
https://github.com/collabnix/kubelabs/blob/d43118c4af2adeb708d26658615319d6493e6077/.bundles_cache/ruby/2.6.0/gems/em-websocket-0.5.3/spec/unit/framing_spec.rb
.bundles_cache/ruby/2.6.0/gems/em-websocket-0.5.3/spec/unit/framing_spec.rb
# encoding: BINARY require 'helper' describe EM::WebSocket::Framing03 do class FramingContainer include EM::WebSocket::Framing03 def initialize @connection = Object.new def @connection.max_frame_size 1000000 end end def <<(data) @data << data process_data ...
ruby
Apache-2.0
d43118c4af2adeb708d26658615319d6493e6077
2026-01-04T15:51:47.325668Z
false
collabnix/kubelabs
https://github.com/collabnix/kubelabs/blob/d43118c4af2adeb708d26658615319d6493e6077/.bundles_cache/ruby/2.6.0/gems/em-websocket-0.5.3/spec/unit/masking_spec.rb
.bundles_cache/ruby/2.6.0/gems/em-websocket-0.5.3/spec/unit/masking_spec.rb
# encoding: BINARY require 'helper' describe EM::WebSocket::MaskedString do it "should allow reading 4 byte mask and unmasking byte / bytes" do t = EM::WebSocket::MaskedString.new("\x00\x00\x00\x01\x00\x01\x00\x01") t.read_mask t.getbyte(3).should == 0x00 t.getbytes(4, 4).should == "\x00\x01\x00\x00...
ruby
Apache-2.0
d43118c4af2adeb708d26658615319d6493e6077
2026-01-04T15:51:47.325668Z
false
collabnix/kubelabs
https://github.com/collabnix/kubelabs/blob/d43118c4af2adeb708d26658615319d6493e6077/.bundles_cache/ruby/2.6.0/gems/em-websocket-0.5.3/spec/unit/handshake_spec.rb
.bundles_cache/ruby/2.6.0/gems/em-websocket-0.5.3/spec/unit/handshake_spec.rb
require 'helper' describe EM::WebSocket::Handshake do def handshake(request, secure = false) handshake = EM::WebSocket::Handshake.new(secure) handshake.receive_data(format_request(request)) handshake end before :each do @request = { :port => 80, :method => "GET", :path => "/d...
ruby
Apache-2.0
d43118c4af2adeb708d26658615319d6493e6077
2026-01-04T15:51:47.325668Z
false
collabnix/kubelabs
https://github.com/collabnix/kubelabs/blob/d43118c4af2adeb708d26658615319d6493e6077/.bundles_cache/ruby/2.6.0/gems/em-websocket-0.5.3/examples/ping.rb
.bundles_cache/ruby/2.6.0/gems/em-websocket-0.5.3/examples/ping.rb
require File.expand_path('../../lib/em-websocket', __FILE__) EventMachine::WebSocket.start(:host => "0.0.0.0", :port => 8080, :debug => false) do |ws| timer = nil ws.onopen { puts "Ping supported: #{ws.pingable?}" timer = EM.add_periodic_timer(1) { p ["Sent ping", ws.ping('hello')] } } ws.onp...
ruby
Apache-2.0
d43118c4af2adeb708d26658615319d6493e6077
2026-01-04T15:51:47.325668Z
false
collabnix/kubelabs
https://github.com/collabnix/kubelabs/blob/d43118c4af2adeb708d26658615319d6493e6077/.bundles_cache/ruby/2.6.0/gems/em-websocket-0.5.3/examples/echo.rb
.bundles_cache/ruby/2.6.0/gems/em-websocket-0.5.3/examples/echo.rb
require File.expand_path('../../lib/em-websocket', __FILE__) EM.run { EM::WebSocket.run(:host => "0.0.0.0", :port => 8080, :debug => false) do |ws| ws.onopen { |handshake| puts "WebSocket opened #{{ :path => handshake.path, :query => handshake.query, :origin => handshake.origin, ...
ruby
Apache-2.0
d43118c4af2adeb708d26658615319d6493e6077
2026-01-04T15:51:47.325668Z
false
collabnix/kubelabs
https://github.com/collabnix/kubelabs/blob/d43118c4af2adeb708d26658615319d6493e6077/.bundles_cache/ruby/2.6.0/gems/em-websocket-0.5.3/examples/multicast.rb
.bundles_cache/ruby/2.6.0/gems/em-websocket-0.5.3/examples/multicast.rb
require 'em-websocket' # requires the twitter-stream gem require 'twitter/json_stream' require 'json' # # broadcast all ruby related tweets to all connected users! # username = ARGV.shift password = ARGV.shift raise "need username and password" if !username or !password EventMachine.run { @channel = EM::Channel.ne...
ruby
Apache-2.0
d43118c4af2adeb708d26658615319d6493e6077
2026-01-04T15:51:47.325668Z
false
collabnix/kubelabs
https://github.com/collabnix/kubelabs/blob/d43118c4af2adeb708d26658615319d6493e6077/.bundles_cache/ruby/2.6.0/gems/em-websocket-0.5.3/lib/em-websocket.rb
.bundles_cache/ruby/2.6.0/gems/em-websocket-0.5.3/lib/em-websocket.rb
$:.unshift(File.dirname(__FILE__) + '/../lib') require "eventmachine" %w[ debugger websocket connection handshake handshake75 handshake76 handshake04 framing76 framing03 framing04 framing05 framing07 close75 close03 close05 close06 masking04 message_processor_03 message_processor_06 handler handler75 ...
ruby
Apache-2.0
d43118c4af2adeb708d26658615319d6493e6077
2026-01-04T15:51:47.325668Z
false
collabnix/kubelabs
https://github.com/collabnix/kubelabs/blob/d43118c4af2adeb708d26658615319d6493e6077/.bundles_cache/ruby/2.6.0/gems/em-websocket-0.5.3/lib/em-websocket/handler05.rb
.bundles_cache/ruby/2.6.0/gems/em-websocket-0.5.3/lib/em-websocket/handler05.rb
module EventMachine module WebSocket class Handler05 < Handler include Framing05 include MessageProcessor03 include Close05 end end end
ruby
Apache-2.0
d43118c4af2adeb708d26658615319d6493e6077
2026-01-04T15:51:47.325668Z
false
collabnix/kubelabs
https://github.com/collabnix/kubelabs/blob/d43118c4af2adeb708d26658615319d6493e6077/.bundles_cache/ruby/2.6.0/gems/em-websocket-0.5.3/lib/em-websocket/handler03.rb
.bundles_cache/ruby/2.6.0/gems/em-websocket-0.5.3/lib/em-websocket/handler03.rb
module EventMachine module WebSocket class Handler03 < Handler include Framing03 include MessageProcessor03 include Close03 end end end
ruby
Apache-2.0
d43118c4af2adeb708d26658615319d6493e6077
2026-01-04T15:51:47.325668Z
false
collabnix/kubelabs
https://github.com/collabnix/kubelabs/blob/d43118c4af2adeb708d26658615319d6493e6077/.bundles_cache/ruby/2.6.0/gems/em-websocket-0.5.3/lib/em-websocket/framing04.rb
.bundles_cache/ruby/2.6.0/gems/em-websocket-0.5.3/lib/em-websocket/framing04.rb
# encoding: BINARY module EventMachine module WebSocket # The only difference between draft 03 framing and draft 04 framing is # that the MORE bit has been changed to a FIN bit module Framing04 include Framing03 private def fin; true; end end end end
ruby
Apache-2.0
d43118c4af2adeb708d26658615319d6493e6077
2026-01-04T15:51:47.325668Z
false
collabnix/kubelabs
https://github.com/collabnix/kubelabs/blob/d43118c4af2adeb708d26658615319d6493e6077/.bundles_cache/ruby/2.6.0/gems/em-websocket-0.5.3/lib/em-websocket/handler76.rb
.bundles_cache/ruby/2.6.0/gems/em-websocket-0.5.3/lib/em-websocket/handler76.rb
# encoding: BINARY module EventMachine module WebSocket class Handler76 < Handler include Handshake76 include Framing76 include Close75 # "\377\000" is octet version and "\xff\x00" is hex version TERMINATE_STRING = "\xff\x00" end end end
ruby
Apache-2.0
d43118c4af2adeb708d26658615319d6493e6077
2026-01-04T15:51:47.325668Z
false
collabnix/kubelabs
https://github.com/collabnix/kubelabs/blob/d43118c4af2adeb708d26658615319d6493e6077/.bundles_cache/ruby/2.6.0/gems/em-websocket-0.5.3/lib/em-websocket/version.rb
.bundles_cache/ruby/2.6.0/gems/em-websocket-0.5.3/lib/em-websocket/version.rb
module EventMachine module Websocket VERSION = "0.5.3" end end
ruby
Apache-2.0
d43118c4af2adeb708d26658615319d6493e6077
2026-01-04T15:51:47.325668Z
false
collabnix/kubelabs
https://github.com/collabnix/kubelabs/blob/d43118c4af2adeb708d26658615319d6493e6077/.bundles_cache/ruby/2.6.0/gems/em-websocket-0.5.3/lib/em-websocket/framing03.rb
.bundles_cache/ruby/2.6.0/gems/em-websocket-0.5.3/lib/em-websocket/framing03.rb
# encoding: BINARY module EventMachine module WebSocket module Framing03 def initialize_framing @data = '' @application_data_buffer = '' # Used for MORE frames @frame_type = nil end def process_data error = false while !error && @data.size > 1 ...
ruby
Apache-2.0
d43118c4af2adeb708d26658615319d6493e6077
2026-01-04T15:51:47.325668Z
false
collabnix/kubelabs
https://github.com/collabnix/kubelabs/blob/d43118c4af2adeb708d26658615319d6493e6077/.bundles_cache/ruby/2.6.0/gems/em-websocket-0.5.3/lib/em-websocket/framing05.rb
.bundles_cache/ruby/2.6.0/gems/em-websocket-0.5.3/lib/em-websocket/framing05.rb
# encoding: BINARY module EventMachine module WebSocket module Framing05 def initialize_framing @data = MaskedString.new @application_data_buffer = '' # Used for MORE frames @frame_type = nil end def process_data error = false while !error && @dat...
ruby
Apache-2.0
d43118c4af2adeb708d26658615319d6493e6077
2026-01-04T15:51:47.325668Z
false
collabnix/kubelabs
https://github.com/collabnix/kubelabs/blob/d43118c4af2adeb708d26658615319d6493e6077/.bundles_cache/ruby/2.6.0/gems/em-websocket-0.5.3/lib/em-websocket/handler75.rb
.bundles_cache/ruby/2.6.0/gems/em-websocket-0.5.3/lib/em-websocket/handler75.rb
module EventMachine module WebSocket class Handler75 < Handler include Handshake75 include Framing76 include Close75 end end end
ruby
Apache-2.0
d43118c4af2adeb708d26658615319d6493e6077
2026-01-04T15:51:47.325668Z
false
collabnix/kubelabs
https://github.com/collabnix/kubelabs/blob/d43118c4af2adeb708d26658615319d6493e6077/.bundles_cache/ruby/2.6.0/gems/em-websocket-0.5.3/lib/em-websocket/handshake76.rb
.bundles_cache/ruby/2.6.0/gems/em-websocket-0.5.3/lib/em-websocket/handshake76.rb
require 'digest/md5' module EventMachine::WebSocket module Handshake76 class << self def handshake(headers, path, secure) challenge_response = solve_challenge( headers['sec-websocket-key1'], headers['sec-websocket-key2'], headers['third-key'] ) scheme ...
ruby
Apache-2.0
d43118c4af2adeb708d26658615319d6493e6077
2026-01-04T15:51:47.325668Z
false
collabnix/kubelabs
https://github.com/collabnix/kubelabs/blob/d43118c4af2adeb708d26658615319d6493e6077/.bundles_cache/ruby/2.6.0/gems/em-websocket-0.5.3/lib/em-websocket/debugger.rb
.bundles_cache/ruby/2.6.0/gems/em-websocket-0.5.3/lib/em-websocket/debugger.rb
module EventMachine module WebSocket module Debugger private def debug(*data) if @debug require 'pp' pp data puts end end end end end
ruby
Apache-2.0
d43118c4af2adeb708d26658615319d6493e6077
2026-01-04T15:51:47.325668Z
false
collabnix/kubelabs
https://github.com/collabnix/kubelabs/blob/d43118c4af2adeb708d26658615319d6493e6077/.bundles_cache/ruby/2.6.0/gems/em-websocket-0.5.3/lib/em-websocket/close06.rb
.bundles_cache/ruby/2.6.0/gems/em-websocket-0.5.3/lib/em-websocket/close06.rb
module EventMachine module WebSocket module Close06 def close_websocket(code, body) if code close_data = [code].pack('n') close_data << body if body send_frame(:close, close_data) else send_frame(:close, '') end @state = :closing ...
ruby
Apache-2.0
d43118c4af2adeb708d26658615319d6493e6077
2026-01-04T15:51:47.325668Z
false
collabnix/kubelabs
https://github.com/collabnix/kubelabs/blob/d43118c4af2adeb708d26658615319d6493e6077/.bundles_cache/ruby/2.6.0/gems/em-websocket-0.5.3/lib/em-websocket/handler08.rb
.bundles_cache/ruby/2.6.0/gems/em-websocket-0.5.3/lib/em-websocket/handler08.rb
module EventMachine module WebSocket class Handler08 < Handler include Framing07 include MessageProcessor06 include Close06 end end end
ruby
Apache-2.0
d43118c4af2adeb708d26658615319d6493e6077
2026-01-04T15:51:47.325668Z
false
collabnix/kubelabs
https://github.com/collabnix/kubelabs/blob/d43118c4af2adeb708d26658615319d6493e6077/.bundles_cache/ruby/2.6.0/gems/em-websocket-0.5.3/lib/em-websocket/handshake75.rb
.bundles_cache/ruby/2.6.0/gems/em-websocket-0.5.3/lib/em-websocket/handshake75.rb
module EventMachine module WebSocket module Handshake75 def self.handshake(headers, path, secure) scheme = (secure ? "wss" : "ws") location = "#{scheme}://#{headers['host']}#{path}" upgrade = "HTTP/1.1 101 Web Socket Protocol Handshake\r\n" upgrade << "Upgrade: WebSocket\r\...
ruby
Apache-2.0
d43118c4af2adeb708d26658615319d6493e6077
2026-01-04T15:51:47.325668Z
false
collabnix/kubelabs
https://github.com/collabnix/kubelabs/blob/d43118c4af2adeb708d26658615319d6493e6077/.bundles_cache/ruby/2.6.0/gems/em-websocket-0.5.3/lib/em-websocket/handshake.rb
.bundles_cache/ruby/2.6.0/gems/em-websocket-0.5.3/lib/em-websocket/handshake.rb
require "http/parser" require "uri" module EventMachine module WebSocket # Resposible for creating the server handshake response class Handshake include EM::Deferrable attr_reader :parser, :protocol_version # Unfortunately drafts 75 & 76 require knowledge of whether the # connectio...
ruby
Apache-2.0
d43118c4af2adeb708d26658615319d6493e6077
2026-01-04T15:51:47.325668Z
false
collabnix/kubelabs
https://github.com/collabnix/kubelabs/blob/d43118c4af2adeb708d26658615319d6493e6077/.bundles_cache/ruby/2.6.0/gems/em-websocket-0.5.3/lib/em-websocket/handshake04.rb
.bundles_cache/ruby/2.6.0/gems/em-websocket-0.5.3/lib/em-websocket/handshake04.rb
require 'digest/sha1' require 'base64' module EventMachine module WebSocket module Handshake04 def self.handshake(headers, _, __) # Required unless key = headers['sec-websocket-key'] raise HandshakeError, "sec-websocket-key header is required" end string_to_sign =...
ruby
Apache-2.0
d43118c4af2adeb708d26658615319d6493e6077
2026-01-04T15:51:47.325668Z
false
collabnix/kubelabs
https://github.com/collabnix/kubelabs/blob/d43118c4af2adeb708d26658615319d6493e6077/.bundles_cache/ruby/2.6.0/gems/em-websocket-0.5.3/lib/em-websocket/handler.rb
.bundles_cache/ruby/2.6.0/gems/em-websocket-0.5.3/lib/em-websocket/handler.rb
module EventMachine module WebSocket class Handler def self.klass_factory(version) case version when 75 Handler75 when 76 Handler76 when 1..3 # We'll use handler03 - I believe they're all compatible Handler03 when 5 Ha...
ruby
Apache-2.0
d43118c4af2adeb708d26658615319d6493e6077
2026-01-04T15:51:47.325668Z
false
collabnix/kubelabs
https://github.com/collabnix/kubelabs/blob/d43118c4af2adeb708d26658615319d6493e6077/.bundles_cache/ruby/2.6.0/gems/em-websocket-0.5.3/lib/em-websocket/connection.rb
.bundles_cache/ruby/2.6.0/gems/em-websocket-0.5.3/lib/em-websocket/connection.rb
module EventMachine module WebSocket class Connection < EventMachine::Connection include Debugger attr_writer :max_frame_size # define WebSocket callbacks def onopen(&blk); @onopen = blk; end def onclose(&blk); @onclose = blk; end def onerror(&blk); @onerror = ...
ruby
Apache-2.0
d43118c4af2adeb708d26658615319d6493e6077
2026-01-04T15:51:47.325668Z
false
collabnix/kubelabs
https://github.com/collabnix/kubelabs/blob/d43118c4af2adeb708d26658615319d6493e6077/.bundles_cache/ruby/2.6.0/gems/em-websocket-0.5.3/lib/em-websocket/message_processor_06.rb
.bundles_cache/ruby/2.6.0/gems/em-websocket-0.5.3/lib/em-websocket/message_processor_06.rb
module EventMachine module WebSocket module MessageProcessor06 def message(message_type, extension_data, application_data) debug [:message_received, message_type, application_data] case message_type when :close status_code = case application_data.length w...
ruby
Apache-2.0
d43118c4af2adeb708d26658615319d6493e6077
2026-01-04T15:51:47.325668Z
false
collabnix/kubelabs
https://github.com/collabnix/kubelabs/blob/d43118c4af2adeb708d26658615319d6493e6077/.bundles_cache/ruby/2.6.0/gems/em-websocket-0.5.3/lib/em-websocket/close03.rb
.bundles_cache/ruby/2.6.0/gems/em-websocket-0.5.3/lib/em-websocket/close03.rb
module EventMachine module WebSocket module Close03 def close_websocket(code, body) # TODO: Ideally send body data and check that it matches in ack send_frame(:close, '') @state = :closing start_close_timeout end def supports_close_codes?; false; end end en...
ruby
Apache-2.0
d43118c4af2adeb708d26658615319d6493e6077
2026-01-04T15:51:47.325668Z
false
collabnix/kubelabs
https://github.com/collabnix/kubelabs/blob/d43118c4af2adeb708d26658615319d6493e6077/.bundles_cache/ruby/2.6.0/gems/em-websocket-0.5.3/lib/em-websocket/message_processor_03.rb
.bundles_cache/ruby/2.6.0/gems/em-websocket-0.5.3/lib/em-websocket/message_processor_03.rb
# encoding: BINARY module EventMachine module WebSocket module MessageProcessor03 def message(message_type, extension_data, application_data) case message_type when :close @close_info = { :code => 1005, :reason => "", :was_clean => true, ...
ruby
Apache-2.0
d43118c4af2adeb708d26658615319d6493e6077
2026-01-04T15:51:47.325668Z
false
collabnix/kubelabs
https://github.com/collabnix/kubelabs/blob/d43118c4af2adeb708d26658615319d6493e6077/.bundles_cache/ruby/2.6.0/gems/em-websocket-0.5.3/lib/em-websocket/handler07.rb
.bundles_cache/ruby/2.6.0/gems/em-websocket-0.5.3/lib/em-websocket/handler07.rb
module EventMachine module WebSocket class Handler07 < Handler include Framing07 include MessageProcessor06 include Close06 end end end
ruby
Apache-2.0
d43118c4af2adeb708d26658615319d6493e6077
2026-01-04T15:51:47.325668Z
false
collabnix/kubelabs
https://github.com/collabnix/kubelabs/blob/d43118c4af2adeb708d26658615319d6493e6077/.bundles_cache/ruby/2.6.0/gems/em-websocket-0.5.3/lib/em-websocket/handler13.rb
.bundles_cache/ruby/2.6.0/gems/em-websocket-0.5.3/lib/em-websocket/handler13.rb
module EventMachine module WebSocket class Handler13 < Handler include Framing07 include MessageProcessor06 include Close06 end end end
ruby
Apache-2.0
d43118c4af2adeb708d26658615319d6493e6077
2026-01-04T15:51:47.325668Z
false
collabnix/kubelabs
https://github.com/collabnix/kubelabs/blob/d43118c4af2adeb708d26658615319d6493e6077/.bundles_cache/ruby/2.6.0/gems/em-websocket-0.5.3/lib/em-websocket/framing07.rb
.bundles_cache/ruby/2.6.0/gems/em-websocket-0.5.3/lib/em-websocket/framing07.rb
# encoding: BINARY module EventMachine module WebSocket module Framing07 def initialize_framing @data = MaskedString.new @application_data_buffer = '' # Used for MORE frames @frame_type = nil end def process_data error = false while !error ...
ruby
Apache-2.0
d43118c4af2adeb708d26658615319d6493e6077
2026-01-04T15:51:47.325668Z
false
collabnix/kubelabs
https://github.com/collabnix/kubelabs/blob/d43118c4af2adeb708d26658615319d6493e6077/.bundles_cache/ruby/2.6.0/gems/em-websocket-0.5.3/lib/em-websocket/handler06.rb
.bundles_cache/ruby/2.6.0/gems/em-websocket-0.5.3/lib/em-websocket/handler06.rb
module EventMachine module WebSocket class Handler06 < Handler include Framing05 include MessageProcessor06 include Close06 end end end
ruby
Apache-2.0
d43118c4af2adeb708d26658615319d6493e6077
2026-01-04T15:51:47.325668Z
false
collabnix/kubelabs
https://github.com/collabnix/kubelabs/blob/d43118c4af2adeb708d26658615319d6493e6077/.bundles_cache/ruby/2.6.0/gems/em-websocket-0.5.3/lib/em-websocket/close05.rb
.bundles_cache/ruby/2.6.0/gems/em-websocket-0.5.3/lib/em-websocket/close05.rb
module EventMachine module WebSocket module Close05 def close_websocket(code, body) # TODO: Ideally send body data and check that it matches in ack send_frame(:close, "\x53") @state = :closing start_close_timeout end def supports_close_codes?; false; end end ...
ruby
Apache-2.0
d43118c4af2adeb708d26658615319d6493e6077
2026-01-04T15:51:47.325668Z
false
collabnix/kubelabs
https://github.com/collabnix/kubelabs/blob/d43118c4af2adeb708d26658615319d6493e6077/.bundles_cache/ruby/2.6.0/gems/em-websocket-0.5.3/lib/em-websocket/websocket.rb
.bundles_cache/ruby/2.6.0/gems/em-websocket-0.5.3/lib/em-websocket/websocket.rb
module EventMachine module WebSocket class << self attr_accessor :max_frame_size attr_accessor :close_timeout end @max_frame_size = 10 * 1024 * 1024 # 10MB # Connections are given 60s to close after being sent a close handshake @close_timeout = 60 # All errors raised by em-websock...
ruby
Apache-2.0
d43118c4af2adeb708d26658615319d6493e6077
2026-01-04T15:51:47.325668Z
false
collabnix/kubelabs
https://github.com/collabnix/kubelabs/blob/d43118c4af2adeb708d26658615319d6493e6077/.bundles_cache/ruby/2.6.0/gems/em-websocket-0.5.3/lib/em-websocket/close75.rb
.bundles_cache/ruby/2.6.0/gems/em-websocket-0.5.3/lib/em-websocket/close75.rb
module EventMachine module WebSocket module Close75 def close_websocket(code, body) @connection.close_connection_after_writing end def supports_close_codes?; false; end end end end
ruby
Apache-2.0
d43118c4af2adeb708d26658615319d6493e6077
2026-01-04T15:51:47.325668Z
false
collabnix/kubelabs
https://github.com/collabnix/kubelabs/blob/d43118c4af2adeb708d26658615319d6493e6077/.bundles_cache/ruby/2.6.0/gems/em-websocket-0.5.3/lib/em-websocket/framing76.rb
.bundles_cache/ruby/2.6.0/gems/em-websocket-0.5.3/lib/em-websocket/framing76.rb
# encoding: BINARY module EventMachine module WebSocket module Framing76 def initialize_framing @data = '' end def process_data debug [:message, @data] # This algorithm comes straight from the spec # http://tools.ietf.org/html/draft-hixie-thewebsocketprot...
ruby
Apache-2.0
d43118c4af2adeb708d26658615319d6493e6077
2026-01-04T15:51:47.325668Z
false
collabnix/kubelabs
https://github.com/collabnix/kubelabs/blob/d43118c4af2adeb708d26658615319d6493e6077/.bundles_cache/ruby/2.6.0/gems/em-websocket-0.5.3/lib/em-websocket/masking04.rb
.bundles_cache/ruby/2.6.0/gems/em-websocket-0.5.3/lib/em-websocket/masking04.rb
module EventMachine module WebSocket class MaskedString < String # Read a 4 bit XOR mask - further requested bytes will be unmasked def read_mask if respond_to?(:encoding) && encoding.name != "ASCII-8BIT" raise "MaskedString only operates on BINARY strings" end raise ...
ruby
Apache-2.0
d43118c4af2adeb708d26658615319d6493e6077
2026-01-04T15:51:47.325668Z
false
collabnix/kubelabs
https://github.com/collabnix/kubelabs/blob/d43118c4af2adeb708d26658615319d6493e6077/.bundles_cache/ruby/2.6.0/gems/addressable-2.8.4/spec/spec_helper.rb
.bundles_cache/ruby/2.6.0/gems/addressable-2.8.4/spec/spec_helper.rb
# frozen_string_literal: true require 'bundler/setup' require 'rspec/its' begin require 'coveralls' Coveralls.wear! do add_filter "spec/" add_filter "vendor/" end rescue LoadError warn "warning: coveralls gem not found; skipping Coveralls" require 'simplecov' SimpleCov.start do add_filter "spe...
ruby
Apache-2.0
d43118c4af2adeb708d26658615319d6493e6077
2026-01-04T15:51:47.325668Z
false
collabnix/kubelabs
https://github.com/collabnix/kubelabs/blob/d43118c4af2adeb708d26658615319d6493e6077/.bundles_cache/ruby/2.6.0/gems/addressable-2.8.4/spec/addressable/security_spec.rb
.bundles_cache/ruby/2.6.0/gems/addressable-2.8.4/spec/addressable/security_spec.rb
# frozen_string_literal: true # Copyright (C) Bob Aman # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required b...
ruby
Apache-2.0
d43118c4af2adeb708d26658615319d6493e6077
2026-01-04T15:51:47.325668Z
false
collabnix/kubelabs
https://github.com/collabnix/kubelabs/blob/d43118c4af2adeb708d26658615319d6493e6077/.bundles_cache/ruby/2.6.0/gems/addressable-2.8.4/spec/addressable/template_spec.rb
.bundles_cache/ruby/2.6.0/gems/addressable-2.8.4/spec/addressable/template_spec.rb
# frozen_string_literal: true # Copyright (C) Bob Aman # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required b...
ruby
Apache-2.0
d43118c4af2adeb708d26658615319d6493e6077
2026-01-04T15:51:47.325668Z
true
collabnix/kubelabs
https://github.com/collabnix/kubelabs/blob/d43118c4af2adeb708d26658615319d6493e6077/.bundles_cache/ruby/2.6.0/gems/addressable-2.8.4/spec/addressable/net_http_compat_spec.rb
.bundles_cache/ruby/2.6.0/gems/addressable-2.8.4/spec/addressable/net_http_compat_spec.rb
# frozen_string_literal: true # Copyright (C) Bob Aman # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required b...
ruby
Apache-2.0
d43118c4af2adeb708d26658615319d6493e6077
2026-01-04T15:51:47.325668Z
false