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/eventmachine-1.2.7/lib/em/completion.rb
.bundles_cache/ruby/2.6.0/gems/eventmachine-1.2.7/lib/em/completion.rb
# = EM::Completion # # A completion is a callback container for various states of completion. In # its most basic form it has a start state and a finish state. # # This implementation includes some hold-back from the EM::Deferrable # interface in order to be compatible - but it has a much cleaner # implementation. # # ...
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/eventmachine-1.2.7/lib/em/pool.rb
.bundles_cache/ruby/2.6.0/gems/eventmachine-1.2.7/lib/em/pool.rb
module EventMachine # A simple async resource pool based on a resource and work queue. Resources # are enqueued and work waits for resources to become available. # # @example # require 'em-http-request' # # EM.run do # pool = EM::Pool.new # spawn = lambda { pool.add EM::HttpRequest.new('h...
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/eventmachine-1.2.7/lib/em/processes.rb
.bundles_cache/ruby/2.6.0/gems/eventmachine-1.2.7/lib/em/processes.rb
#-- # # Author:: Francis Cianfrocca (gmail: blackhedd) # Homepage:: http://rubyeventmachine.com # Date:: 13 Dec 07 # # See EventMachine and EventMachine::Connection for documentation and # usage examples. # #---------------------------------------------------------------------------- # # Copyright (C) 2006-08 by Fran...
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/eventmachine-1.2.7/lib/em/streamer.rb
.bundles_cache/ruby/2.6.0/gems/eventmachine-1.2.7/lib/em/streamer.rb
module EventMachine # Streams a file over a given connection. Streaming begins once the object is # instantiated. Typically FileStreamer instances are not reused. # # Streaming uses buffering for files larger than 16K and uses so-called fast file reader (a C++ extension) # if available (it is part of eventmac...
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/eventmachine-1.2.7/lib/em/future.rb
.bundles_cache/ruby/2.6.0/gems/eventmachine-1.2.7/lib/em/future.rb
#-- # # Author:: Francis Cianfrocca (gmail: blackhedd) # Homepage:: http://rubyeventmachine.com # Date:: 16 Jul 2006 # # See EventMachine and EventMachine::Connection for documentation and # usage examples. # #---------------------------------------------------------------------------- # # Copyright (C) 2006-07 by Fr...
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/eventmachine-1.2.7/lib/em/queue.rb
.bundles_cache/ruby/2.6.0/gems/eventmachine-1.2.7/lib/em/queue.rb
module EventMachine # A cross thread, reactor scheduled, linear queue. # # This class provides a simple queue abstraction on top of the reactor # scheduler. It services two primary purposes: # # * API sugar for stateful protocols # * Pushing processing onto the reactor thread # # @example # # q =...
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/eventmachine-1.2.7/lib/em/tick_loop.rb
.bundles_cache/ruby/2.6.0/gems/eventmachine-1.2.7/lib/em/tick_loop.rb
module EventMachine # Creates and immediately starts an EventMachine::TickLoop def self.tick_loop(*a, &b) TickLoop.new(*a, &b).start end # A TickLoop is useful when one needs to distribute amounts of work # throughout ticks in order to maintain response times. It is also useful for # simple repeated ch...
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/eventmachine-1.2.7/lib/em/resolver.rb
.bundles_cache/ruby/2.6.0/gems/eventmachine-1.2.7/lib/em/resolver.rb
module EventMachine module DNS class Resolver def self.windows? if RUBY_PLATFORM =~ /mswin32|cygwin|mingw|bccwin/ require 'win32/resolv' true else false end end HOSTS_FILE = windows? ? Win32::Resolv.get_hosts_path : '/etc/hosts' @hos...
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/eventmachine-1.2.7/lib/em/connection.rb
.bundles_cache/ruby/2.6.0/gems/eventmachine-1.2.7/lib/em/connection.rb
module EventMachine class FileNotFoundException < Exception end # EventMachine::Connection is a class that is instantiated # by EventMachine's processing loop whenever a new connection # is created. (New connections can be either initiated locally # to a remote server or accepted locally from a remote clie...
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/eventmachine-1.2.7/lib/em/messages.rb
.bundles_cache/ruby/2.6.0/gems/eventmachine-1.2.7/lib/em/messages.rb
#-- # # Author:: Francis Cianfrocca (gmail: blackhedd) # Homepage:: http://rubyeventmachine.com # Date:: 16 Jul 2006 # # See EventMachine and EventMachine::Connection for documentation and # usage examples. # #---------------------------------------------------------------------------- # # Copyright (C) 2006-07 by Fr...
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/eventmachine-1.2.7/lib/em/iterator.rb
.bundles_cache/ruby/2.6.0/gems/eventmachine-1.2.7/lib/em/iterator.rb
module EventMachine # A simple iterator for concurrent asynchronous work. # # Unlike ruby's built-in iterators, the end of the current iteration cycle is signaled manually, # instead of happening automatically after the yielded block finishes executing. For example: # # (0..10).each{ |num| } # # becom...
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/eventmachine-1.2.7/lib/em/timers.rb
.bundles_cache/ruby/2.6.0/gems/eventmachine-1.2.7/lib/em/timers.rb
module EventMachine # Creates a one-time timer # # timer = EventMachine::Timer.new(5) do # # this will never fire because we cancel it # end # timer.cancel # class Timer # Create a new timer that fires after a given number of seconds def initialize interval, callback=nil, &block @sig...
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/eventmachine-1.2.7/lib/em/pure_ruby.rb
.bundles_cache/ruby/2.6.0/gems/eventmachine-1.2.7/lib/em/pure_ruby.rb
#-- # # Author:: Francis Cianfrocca (gmail: blackhedd) # Homepage:: http://rubyeventmachine.com # Date:: 8 Apr 2006 # # See EventMachine and EventMachine::Connection for documentation and # usage examples. # #---------------------------------------------------------------------------- # # Copyright (C) 2006-07 by Fran...
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/eventmachine-1.2.7/lib/em/protocols.rb
.bundles_cache/ruby/2.6.0/gems/eventmachine-1.2.7/lib/em/protocols.rb
module EventMachine # This module contains various protocol implementations, including: # - HttpClient and HttpClient2 # - Stomp # - Memcache # - SmtpClient and SmtpServer # - SASLauth and SASLauthclient # - LineProtocol, LineAndTextProtocol and LineText2 # - HeaderAndContentProtocol # - Postgres3 #...
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/eventmachine-1.2.7/lib/em/deferrable.rb
.bundles_cache/ruby/2.6.0/gems/eventmachine-1.2.7/lib/em/deferrable.rb
#-- # # Author:: Francis Cianfrocca (gmail: blackhedd) # Homepage:: http://rubyeventmachine.com # Date:: 16 Jul 2006 # # See EventMachine and EventMachine::Connection for documentation and # usage examples. # #---------------------------------------------------------------------------- # # Copyright (C) 2006-07 by Fr...
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/eventmachine-1.2.7/lib/em/buftok.rb
.bundles_cache/ruby/2.6.0/gems/eventmachine-1.2.7/lib/em/buftok.rb
# BufferedTokenizer takes a delimiter upon instantiation, or acts line-based # by default. It allows input to be spoon-fed from some outside source which # receives arbitrary length datagrams which may-or-may-not contain the token # by which entities are delimited. In this respect it's ideally paired with # something...
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/eventmachine-1.2.7/lib/em/threaded_resource.rb
.bundles_cache/ruby/2.6.0/gems/eventmachine-1.2.7/lib/em/threaded_resource.rb
module EventMachine # = EventMachine::ThreadedResource # # A threaded resource is a "quick and dirty" wrapper around the concept of # wiring up synchronous code into a standard EM::Pool. This is useful to keep # interfaces coherent and provide a simple approach at "making an interface # async-ish". # # ...
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/eventmachine-1.2.7/lib/em/protocols/tcptest.rb
.bundles_cache/ruby/2.6.0/gems/eventmachine-1.2.7/lib/em/protocols/tcptest.rb
#-- # # Author:: Francis Cianfrocca (gmail: blackhedd) # Homepage:: http://rubyeventmachine.com # Date:: 16 July 2006 # # See EventMachine and EventMachine::Connection for documentation and # usage examples. # #---------------------------------------------------------------------------- # # Copyright (C) 2006-07 by F...
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/eventmachine-1.2.7/lib/em/protocols/line_and_text.rb
.bundles_cache/ruby/2.6.0/gems/eventmachine-1.2.7/lib/em/protocols/line_and_text.rb
#-- # # Author:: Francis Cianfrocca (gmail: blackhedd) # Homepage:: http://rubyeventmachine.com # Date:: 15 November 2006 # # See EventMachine and EventMachine::Connection for documentation and # usage examples. # #---------------------------------------------------------------------------- # # Copyright (C) 2006-07 ...
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/eventmachine-1.2.7/lib/em/protocols/saslauth.rb
.bundles_cache/ruby/2.6.0/gems/eventmachine-1.2.7/lib/em/protocols/saslauth.rb
#-- # # Author:: Francis Cianfrocca (gmail: blackhedd) # Homepage:: http://rubyeventmachine.com # Date:: 15 November 2006 # # See EventMachine and EventMachine::Connection for documentation and # usage examples. # #---------------------------------------------------------------------------- # # Copyright (C) 2006-07 ...
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/eventmachine-1.2.7/lib/em/protocols/httpclient.rb
.bundles_cache/ruby/2.6.0/gems/eventmachine-1.2.7/lib/em/protocols/httpclient.rb
#-- # # Author:: Francis Cianfrocca (gmail: blackhedd) # Homepage:: http://rubyeventmachine.com # Date:: 16 July 2006 # # See EventMachine and EventMachine::Connection for documentation and # usage examples. # #---------------------------------------------------------------------------- # # Copyright (C) 2006-07 by Fr...
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/eventmachine-1.2.7/lib/em/protocols/socks4.rb
.bundles_cache/ruby/2.6.0/gems/eventmachine-1.2.7/lib/em/protocols/socks4.rb
module EventMachine module Protocols # Basic SOCKS v4 client implementation # # Use as you would any regular connection: # # class MyConn < EM::P::Socks4 # def post_init # send_data("sup") # end # # def receive_data(data) # send_data("you said: #{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/eventmachine-1.2.7/lib/em/protocols/postgres3.rb
.bundles_cache/ruby/2.6.0/gems/eventmachine-1.2.7/lib/em/protocols/postgres3.rb
#-- # # Author:: Francis Cianfrocca (gmail: blackhedd) # Homepage:: http://rubyeventmachine.com # Date:: 15 November 2006 # # See EventMachine and EventMachine::Connection for documentation and # usage examples. # #---------------------------------------------------------------------------- # # Copyright (C) 2006-08 ...
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/eventmachine-1.2.7/lib/em/protocols/httpclient2.rb
.bundles_cache/ruby/2.6.0/gems/eventmachine-1.2.7/lib/em/protocols/httpclient2.rb
#-- # # Author:: Francis Cianfrocca (gmail: blackhedd) # Homepage:: http://rubyeventmachine.com # Date:: 16 July 2006 # # See EventMachine and EventMachine::Connection for documentation and # usage examples. # #---------------------------------------------------------------------------- # # Copyright (C) 2006-07 by F...
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/eventmachine-1.2.7/lib/em/protocols/smtpserver.rb
.bundles_cache/ruby/2.6.0/gems/eventmachine-1.2.7/lib/em/protocols/smtpserver.rb
#-- # # Author:: Francis Cianfrocca (gmail: blackhedd) # Homepage:: http://rubyeventmachine.com # Date:: 16 July 2006 # # See EventMachine and EventMachine::Connection for documentation and # usage examples. # #---------------------------------------------------------------------------- # # Copyright (C) 2006-07 by F...
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/eventmachine-1.2.7/lib/em/protocols/memcache.rb
.bundles_cache/ruby/2.6.0/gems/eventmachine-1.2.7/lib/em/protocols/memcache.rb
module EventMachine module Protocols # Implements the Memcache protocol (http://code.sixapart.com/svn/memcached/trunk/server/doc/protocol.txt). # Requires memcached >= 1.2.4 w/ noreply support # # == Usage example # # EM.run{ # cache = EM::P::Memcache.connect 'localhost', 11211 #...
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/eventmachine-1.2.7/lib/em/protocols/stomp.rb
.bundles_cache/ruby/2.6.0/gems/eventmachine-1.2.7/lib/em/protocols/stomp.rb
#-- # # Author:: Francis Cianfrocca (gmail: blackhedd) # Homepage:: http://rubyeventmachine.com # Date:: 15 November 2006 # # See EventMachine and EventMachine::Connection for documentation and # usage examples. # #---------------------------------------------------------------------------- # # Copyright (C) 2006-07 ...
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/eventmachine-1.2.7/lib/em/protocols/object_protocol.rb
.bundles_cache/ruby/2.6.0/gems/eventmachine-1.2.7/lib/em/protocols/object_protocol.rb
module EventMachine module Protocols # ObjectProtocol allows for easy communication using marshaled ruby objects # # module RubyServer # include EM::P::ObjectProtocol # # def receive_object obj # send_object({'you said' => obj}) # end # end # module ObjectPr...
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/eventmachine-1.2.7/lib/em/protocols/header_and_content.rb
.bundles_cache/ruby/2.6.0/gems/eventmachine-1.2.7/lib/em/protocols/header_and_content.rb
#-- # # Author:: Francis Cianfrocca (gmail: blackhedd) # Homepage:: http://rubyeventmachine.com # Date:: 15 Nov 2006 # # See EventMachine and EventMachine::Connection for documentation and # usage examples. # #---------------------------------------------------------------------------- # # Copyright (C) 2006-07 by Fr...
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/eventmachine-1.2.7/lib/em/protocols/smtpclient.rb
.bundles_cache/ruby/2.6.0/gems/eventmachine-1.2.7/lib/em/protocols/smtpclient.rb
#-- # # Author:: Francis Cianfrocca (gmail: blackhedd) # Homepage:: http://rubyeventmachine.com # Date:: 16 July 2006 # # See EventMachine and EventMachine::Connection for documentation and # usage examples. # #---------------------------------------------------------------------------- # # Copyright (C) 2006-07 by Fr...
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/eventmachine-1.2.7/lib/em/protocols/line_protocol.rb
.bundles_cache/ruby/2.6.0/gems/eventmachine-1.2.7/lib/em/protocols/line_protocol.rb
module EventMachine module Protocols # LineProtocol will parse out newline terminated strings from a receive_data stream # # module Server # include EM::P::LineProtocol # # def receive_line(line) # send_data("you said: #{line}") # end # end # module LineProt...
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/eventmachine-1.2.7/lib/em/protocols/linetext2.rb
.bundles_cache/ruby/2.6.0/gems/eventmachine-1.2.7/lib/em/protocols/linetext2.rb
#-- # # Author:: Francis Cianfrocca (gmail: blackhedd) # Homepage:: http://rubyeventmachine.com # Date:: 15 November 2006 # # See EventMachine and EventMachine::Connection for documentation and # usage examples. # #---------------------------------------------------------------------------- # # Copyright (C) 2006-07 ...
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/eventmachine-1.2.7/lib/em/deferrable/pool.rb
.bundles_cache/ruby/2.6.0/gems/eventmachine-1.2.7/lib/em/deferrable/pool.rb
warn "EM::Deferrable::Pool is deprecated, please use EM::Pool" EM::Deferrable::Pool = EM::Pool
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/public_suffix-4.0.7/test/test_helper.rb
.bundles_cache/ruby/2.6.0/gems/public_suffix-4.0.7/test/test_helper.rb
# frozen_string_literal: true require "minitest/autorun" require "minitest/reporters" require "mocha/minitest" Minitest::Reporters.use! Minitest::Reporters::DefaultReporter.new(color: true) $LOAD_PATH.unshift File.expand_path("../lib", __dir__) require "public_suffix"
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/public_suffix-4.0.7/test/psl_test.rb
.bundles_cache/ruby/2.6.0/gems/public_suffix-4.0.7/test/psl_test.rb
# frozen_string_literal: true require "test_helper" require "public_suffix" # This test runs against the current PSL file and ensures # the definitions satisfies the test suite. class PslTest < Minitest::Test ROOT = File.expand_path("..", __dir__) # rubocop:disable Security/Eval def self.tests File.readli...
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/public_suffix-4.0.7/test/acceptance_test.rb
.bundles_cache/ruby/2.6.0/gems/public_suffix-4.0.7/test/acceptance_test.rb
# frozen_string_literal: true require "test_helper" class AcceptanceTest < Minitest::Test VALID_CASES = [ ["example.com", "example.com", [nil, "example", "com"]], ["foo.example.com", "example.com", ["foo", "example", "com"]], ["verybritish.co.uk", "verybritish.co.uk", ...
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/public_suffix-4.0.7/test/benchmarks/bm_find.rb
.bundles_cache/ruby/2.6.0/gems/public_suffix-4.0.7/test/benchmarks/bm_find.rb
require 'benchmark' require_relative "../../lib/public_suffix" NAME_SHORT = "example.de" NAME_MEDIUM = "www.subdomain.example.de" NAME_LONG = "one.two.three.four.five.example.de" NAME_WILD = "one.two.three.four.five.example.bd" NAME_EXCP = "one.two.three.four.five.www.ck" IAAA = "www.example.ac" IZZZ = "www.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/public_suffix-4.0.7/test/benchmarks/bm_valid.rb
.bundles_cache/ruby/2.6.0/gems/public_suffix-4.0.7/test/benchmarks/bm_valid.rb
require 'benchmark' require_relative "../../lib/public_suffix" NAME_SHORT = "example.de" NAME_MEDIUM = "www.subdomain.example.de" NAME_LONG = "one.two.three.four.five.example.de" NAME_WILD = "one.two.three.four.five.example.bd" NAME_EXCP = "one.two.three.four.five.www.ck" IAAA = "www.example.ac" IZZZ = "www.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/public_suffix-4.0.7/test/benchmarks/bm_find_all.rb
.bundles_cache/ruby/2.6.0/gems/public_suffix-4.0.7/test/benchmarks/bm_find_all.rb
require 'benchmark' require_relative "../../lib/public_suffix" NAME_SHORT = "example.de" NAME_MEDIUM = "www.subdomain.example.de" NAME_LONG = "one.two.three.four.five.example.de" NAME_WILD = "one.two.three.four.five.example.bd" NAME_EXCP = "one.two.three.four.five.www.ck" IAAA = "www.example.ac" IZZZ = "www.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/public_suffix-4.0.7/test/benchmarks/bm_select.rb
.bundles_cache/ruby/2.6.0/gems/public_suffix-4.0.7/test/benchmarks/bm_select.rb
require 'benchmark' require_relative "../../lib/public_suffix" JP = "www.yokoshibahikari.chiba.jp" TIMES = (ARGV.first || 50_000).to_i # Initialize class PublicSuffix::List public :select end PublicSuffixList = PublicSuffix::List.default PublicSuffixList.select("example.jp") PublicSuffixList.find("example.jp") ...
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/public_suffix-4.0.7/test/benchmarks/bm_names.rb
.bundles_cache/ruby/2.6.0/gems/public_suffix-4.0.7/test/benchmarks/bm_names.rb
require 'benchmark/ips' STRING = "www.subdomain.example.com" ARRAY = %w( com example.com subdomain.example.com www.subdomain.example.com ) def tokenizer1(string) parts = string.split(".").reverse! index = 0 query = parts[index] names = [] loop do names << query index += 1 break if ind...
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/public_suffix-4.0.7/test/benchmarks/bm_select_incremental.rb
.bundles_cache/ruby/2.6.0/gems/public_suffix-4.0.7/test/benchmarks/bm_select_incremental.rb
require 'benchmark' require_relative "../../lib/public_suffix" JP = "www.yokoshibahikari.chiba.jp" TIMES = (ARGV.first || 50_000).to_i # Initialize class PublicSuffix::List public :select end PublicSuffixList = PublicSuffix::List.default PublicSuffixList.select("example.jp") Benchmark.bmbm(25) do |x| x.report...
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/public_suffix-4.0.7/test/unit/errors_test.rb
.bundles_cache/ruby/2.6.0/gems/public_suffix-4.0.7/test/unit/errors_test.rb
# frozen_string_literal: true require "test_helper" class ErrorsTest < Minitest::Test # Inherits from StandardError def test_error_inheritance assert_kind_of StandardError, PublicSuffix::Error.new end # Inherits from PublicSuffix::Error def test_domain_invalid_inheritance asse...
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/public_suffix-4.0.7/test/unit/domain_test.rb
.bundles_cache/ruby/2.6.0/gems/public_suffix-4.0.7/test/unit/domain_test.rb
# frozen_string_literal: true require "test_helper" class PublicSuffix::DomainTest < Minitest::Test def setup @klass = PublicSuffix::Domain end # Tokenizes given input into labels. def test_self_name_to_labels assert_equal %w( someone spaces live com ), PublicSuffix::Domain.name_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/public_suffix-4.0.7/test/unit/rule_test.rb
.bundles_cache/ruby/2.6.0/gems/public_suffix-4.0.7/test/unit/rule_test.rb
# frozen_string_literal: true require "test_helper" class PublicSuffix::RuleTest < Minitest::Test def test_factory_should_return_rule_normal rule = PublicSuffix::Rule.factory("com") assert_instance_of PublicSuffix::Rule::Normal, rule rule = PublicSuffix::Rule.factory("verona.it") assert_instance_o...
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/public_suffix-4.0.7/test/unit/public_suffix_test.rb
.bundles_cache/ruby/2.6.0/gems/public_suffix-4.0.7/test/unit/public_suffix_test.rb
# frozen_string_literal: true require "test_helper" class PublicSuffixTest < Minitest::Test def test_private_domains_enabled_by_default domain = PublicSuffix.parse("www.example.blogspot.com") assert_equal "blogspot.com", domain.tld end def test_private_domains_disable data = File.read(PublicSuffix...
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/public_suffix-4.0.7/test/unit/list_test.rb
.bundles_cache/ruby/2.6.0/gems/public_suffix-4.0.7/test/unit/list_test.rb
# frozen_string_literal: true require "test_helper" class PublicSuffix::ListTest < Minitest::Test def setup @list = PublicSuffix::List.new end def teardown PublicSuffix::List.default = nil end def test_initialize assert_instance_of PublicSuffix::List, @list assert_equal 0, @list.size 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/public_suffix-4.0.7/test/profilers/find_profiler.rb
.bundles_cache/ruby/2.6.0/gems/public_suffix-4.0.7/test/profilers/find_profiler.rb
$LOAD_PATH.unshift File.expand_path("../../lib", __dir__) require "memory_profiler" require "public_suffix" PublicSuffix::List.default report = MemoryProfiler.report do PublicSuffix::List.default.find("www.example.com") end report.pretty_print
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/public_suffix-4.0.7/test/profilers/list_profsize.rb
.bundles_cache/ruby/2.6.0/gems/public_suffix-4.0.7/test/profilers/list_profsize.rb
$LOAD_PATH.unshift File.expand_path("../../lib", __dir__) require_relative "object_binsize" require "public_suffix" list = PublicSuffix::List.default puts "#{list.size} rules:" prof = ObjectBinsize.new prof.report(PublicSuffix::List.default, label: "PublicSuffix::List size") prof.report(PublicSuffix::List.default.in...
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/public_suffix-4.0.7/test/profilers/initialization_profiler.rb
.bundles_cache/ruby/2.6.0/gems/public_suffix-4.0.7/test/profilers/initialization_profiler.rb
$LOAD_PATH.unshift File.expand_path("../../lib", __dir__) require "memory_profiler" require "public_suffix" report = MemoryProfiler.report do PublicSuffix::List.default end report.pretty_print # report.pretty_print(to_file: 'profiler-%s-%d.txt' % [ARGV[0], Time.now.to_i])
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/public_suffix-4.0.7/test/profilers/object_binsize.rb
.bundles_cache/ruby/2.6.0/gems/public_suffix-4.0.7/test/profilers/object_binsize.rb
require 'tempfile' # A very simple memory profiles that checks the full size of a variable # by serializing into a binary file. # # Yes, I know this is very rough, but there are cases where ObjectSpace.memsize_of # doesn't cooperate, and this is one of the possible workarounds. # # For certain cases, it works (TM). cl...
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/public_suffix-4.0.7/test/profilers/domain_profiler.rb
.bundles_cache/ruby/2.6.0/gems/public_suffix-4.0.7/test/profilers/domain_profiler.rb
$LOAD_PATH.unshift File.expand_path("../../lib", __dir__) require "memory_profiler" require "public_suffix" PublicSuffix::List.default report = MemoryProfiler.report do PublicSuffix.domain("www.example.com") end report.pretty_print
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/public_suffix-4.0.7/test/profilers/find_profiler_jp.rb
.bundles_cache/ruby/2.6.0/gems/public_suffix-4.0.7/test/profilers/find_profiler_jp.rb
$LOAD_PATH.unshift File.expand_path("../../lib", __dir__) require "memory_profiler" require "public_suffix" PublicSuffix::List.default report = MemoryProfiler.report do PublicSuffix::List.default.find("a.b.ide.kyoto.jp") end report.pretty_print
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/public_suffix-4.0.7/lib/public_suffix.rb
.bundles_cache/ruby/2.6.0/gems/public_suffix-4.0.7/lib/public_suffix.rb
# frozen_string_literal: true # = Public Suffix # # Domain name parser based on the Public Suffix List. # # Copyright (c) 2009-2022 Simone Carletti <weppos@weppos.net> require_relative "public_suffix/domain" require_relative "public_suffix/version" require_relative "public_suffix/errors" require_relative "public_suff...
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/public_suffix-4.0.7/lib/public_suffix/version.rb
.bundles_cache/ruby/2.6.0/gems/public_suffix-4.0.7/lib/public_suffix/version.rb
# frozen_string_literal: true # # = Public Suffix # # Domain name parser based on the Public Suffix List. # # Copyright (c) 2009-2022 Simone Carletti <weppos@weppos.net> module PublicSuffix # @return [String] The current library version. VERSION = "4.0.7" 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/public_suffix-4.0.7/lib/public_suffix/errors.rb
.bundles_cache/ruby/2.6.0/gems/public_suffix-4.0.7/lib/public_suffix/errors.rb
# frozen_string_literal: true # = Public Suffix # # Domain name parser based on the Public Suffix List. # # Copyright (c) 2009-2022 Simone Carletti <weppos@weppos.net> module PublicSuffix class Error < StandardError end # Raised when trying to parse an invalid name. # A name is considered invalid when no ru...
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/public_suffix-4.0.7/lib/public_suffix/domain.rb
.bundles_cache/ruby/2.6.0/gems/public_suffix-4.0.7/lib/public_suffix/domain.rb
# frozen_string_literal: true # = Public Suffix # # Domain name parser based on the Public Suffix List. # # Copyright (c) 2009-2022 Simone Carletti <weppos@weppos.net> module PublicSuffix # Domain represents a domain name, composed by a TLD, SLD and TRD. class Domain # Splits a string into the labels, that ...
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/public_suffix-4.0.7/lib/public_suffix/list.rb
.bundles_cache/ruby/2.6.0/gems/public_suffix-4.0.7/lib/public_suffix/list.rb
# frozen_string_literal: true # = Public Suffix # # Domain name parser based on the Public Suffix List. # # Copyright (c) 2009-2022 Simone Carletti <weppos@weppos.net> module PublicSuffix # A {PublicSuffix::List} is a collection of one # or more {PublicSuffix::Rule}. # # Given a {PublicSuffix::List}, # you...
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/public_suffix-4.0.7/lib/public_suffix/rule.rb
.bundles_cache/ruby/2.6.0/gems/public_suffix-4.0.7/lib/public_suffix/rule.rb
# frozen_string_literal: true # = Public Suffix # # Domain name parser based on the Public Suffix List. # # Copyright (c) 2009-2022 Simone Carletti <weppos@weppos.net> module PublicSuffix # A Rule is a special object which holds a single definition # of the Public Suffix List. # # There are 3 types of rules,...
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/jekyll-default-layout-0.1.4/lib/jekyll-default-layout.rb
.bundles_cache/ruby/2.6.0/gems/jekyll-default-layout-0.1.4/lib/jekyll-default-layout.rb
require "jekyll" require "jekyll-default-layout/generator" module JekyllDefaultLayout 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/jekyll-default-layout-0.1.4/lib/jekyll-default-layout/version.rb
.bundles_cache/ruby/2.6.0/gems/jekyll-default-layout-0.1.4/lib/jekyll-default-layout/version.rb
module JekyllDefaultLayout VERSION = "0.1.4".freeze 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/jekyll-default-layout-0.1.4/lib/jekyll-default-layout/generator.rb
.bundles_cache/ruby/2.6.0/gems/jekyll-default-layout-0.1.4/lib/jekyll-default-layout/generator.rb
module JekyllDefaultLayout # Injects front matter defaults to set default layouts, if they exist class Generator < Jekyll::Generator attr_accessor :site safe true priority :lowest def initialize(site) @site = site end def generate(site) @site = site documents.each do |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/jekyll-github-metadata-2.13.0/lib/jekyll-github-metadata.rb
.bundles_cache/ruby/2.6.0/gems/jekyll-github-metadata-2.13.0/lib/jekyll-github-metadata.rb
# frozen_string_literal: true require "jekyll" require "octokit" if Jekyll.env == "development" begin require "dotenv" Dotenv.load rescue LoadError Jekyll.logger.debug "Dotenv not found. Skipping" end end module Jekyll module GitHubMetadata autoload :Client, "jekyll-github-metadata/...
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/jekyll-github-metadata-2.13.0/lib/jekyll-github-metadata/value.rb
.bundles_cache/ruby/2.6.0/gems/jekyll-github-metadata-2.13.0/lib/jekyll-github-metadata/value.rb
# frozen_string_literal: true require "json" module Jekyll module GitHubMetadata class Value extend Forwardable def_delegators :render, :+, :to_s, :to_json, :eql?, :hash attr_reader :key, :value def initialize(*args) case args.size when 1 @key = "{anonymous}" ...
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/jekyll-github-metadata-2.13.0/lib/jekyll-github-metadata/repository_finder.rb
.bundles_cache/ruby/2.6.0/gems/jekyll-github-metadata-2.13.0/lib/jekyll-github-metadata/repository_finder.rb
# frozen_string_literal: true module Jekyll module GitHubMetadata class RepositoryFinder NoRepositoryError = Class.new(Jekyll::Errors::FatalException) attr_reader :site def initialize(site) @site = site end # Public: fetches the repository name with owner to fetch metadata...
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/jekyll-github-metadata-2.13.0/lib/jekyll-github-metadata/repository.rb
.bundles_cache/ruby/2.6.0/gems/jekyll-github-metadata-2.13.0/lib/jekyll-github-metadata/repository.rb
# frozen_string_literal: true module Jekyll module GitHubMetadata class Repository attr_reader :nwo, :owner, :name # Defines an instance method that delegates to a hash's key # # hash - a symbol representing the instance method to delegate to. The # instance method shoul...
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/jekyll-github-metadata-2.13.0/lib/jekyll-github-metadata/version.rb
.bundles_cache/ruby/2.6.0/gems/jekyll-github-metadata-2.13.0/lib/jekyll-github-metadata/version.rb
# frozen_string_literal: true module Jekyll module GitHubMetadata VERSION = "2.13.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/jekyll-github-metadata-2.13.0/lib/jekyll-github-metadata/sanitizer.rb
.bundles_cache/ruby/2.6.0/gems/jekyll-github-metadata-2.13.0/lib/jekyll-github-metadata/sanitizer.rb
# frozen_string_literal: true module Jekyll module GitHubMetadata module Sanitizer extend self # Sanitize an object. # When the resource is either `false`, `true`, `nil` or a number, # it returns the resource as-is. When the resource is an array, # it maps over the entire array,...
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/jekyll-github-metadata-2.13.0/lib/jekyll-github-metadata/owner.rb
.bundles_cache/ruby/2.6.0/gems/jekyll-github-metadata-2.13.0/lib/jekyll-github-metadata/owner.rb
# frozen_string_literal: true module Jekyll module GitHubMetadata class Owner extend Forwardable # Defines an instance method that delegates to a hash's key # # hash - a symbol representing the instance method to delegate to. The # instance method should return a hash or...
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/jekyll-github-metadata-2.13.0/lib/jekyll-github-metadata/metadata_drop.rb
.bundles_cache/ruby/2.6.0/gems/jekyll-github-metadata-2.13.0/lib/jekyll-github-metadata/metadata_drop.rb
# frozen_string_literal: true require "jekyll" require "forwardable" module Jekyll module GitHubMetadata class MetadataDrop < Jekyll::Drops::Drop extend Forwardable mutable true # See https://github.com/jekyll/jekyll/pull/6338 alias_method :invoke_drop, :[] def key?(key) ...
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/jekyll-github-metadata-2.13.0/lib/jekyll-github-metadata/site_github_munger.rb
.bundles_cache/ruby/2.6.0/gems/jekyll-github-metadata-2.13.0/lib/jekyll-github-metadata/site_github_munger.rb
require "jekyll" require "uri" module Jekyll module GitHubMetadata class SiteGitHubMunger extend Forwardable def_delegators Jekyll::GitHubMetadata, :site, :repository private :repository def initialize(site) Jekyll::GitHubMetadata.site = site end def munge! ...
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/jekyll-github-metadata-2.13.0/lib/jekyll-github-metadata/client.rb
.bundles_cache/ruby/2.6.0/gems/jekyll-github-metadata-2.13.0/lib/jekyll-github-metadata/client.rb
# frozen_string_literal: true require "digest" module Jekyll module GitHubMetadata class Client InvalidMethodError = Class.new(NoMethodError) BadCredentialsError = Class.new(StandardError) # Whitelisted API calls. API_CALLS = Set.new(%w( repository organization u...
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/jekyll-github-metadata-2.13.0/lib/jekyll-github-metadata/repository_compat.rb
.bundles_cache/ruby/2.6.0/gems/jekyll-github-metadata-2.13.0/lib/jekyll-github-metadata/repository_compat.rb
# frozen_string_literal: true module Jekyll module GitHubMetadata class RepositoryCompat attr_reader :repo def initialize(repo) @repo = repo end # In enterprise, the site's scheme will be the same as the instance's # In dotcom, this will be `https` for GitHub-owned sites 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/jekyll-github-metadata-2.13.0/lib/jekyll-github-metadata/pages.rb
.bundles_cache/ruby/2.6.0/gems/jekyll-github-metadata-2.13.0/lib/jekyll-github-metadata/pages.rb
# frozen_string_literal: true module Jekyll module GitHubMetadata class Pages class << self DEFAULTS = { "PAGES_ENV" => "development", "PAGES_API_URL" => "https://api.github.com", "PAGES_HELP_URL" => "https://help.github.com", "P...
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/jekyll-github-metadata-2.13.0/lib/jekyll-github-metadata/edit-link-tag.rb
.bundles_cache/ruby/2.6.0/gems/jekyll-github-metadata-2.13.0/lib/jekyll-github-metadata/edit-link-tag.rb
# frozen_string_literal: true module Jekyll module GitHubMetadata class EditLinkTag < Liquid::Tag attr_reader :context # Defines an instance method that delegates to a hash's key # # hash_method - a symbol representing the instance method to delegate to. The # insta...
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/rainbow-3.1.1/lib/rainbow.rb
.bundles_cache/ruby/2.6.0/gems/rainbow-3.1.1/lib/rainbow.rb
# frozen_string_literal: true require_relative 'rainbow/global' module Rainbow def self.new Wrapper.new(global.enabled) end self.enabled = false unless STDOUT.tty? && STDERR.tty? self.enabled = false if ENV['TERM'] == 'dumb' self.enabled = true if ENV['CLICOLOR_FORCE'] == '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/rainbow-3.1.1/lib/rainbow/version.rb
.bundles_cache/ruby/2.6.0/gems/rainbow-3.1.1/lib/rainbow/version.rb
# frozen_string_literal: true module Rainbow VERSION = "3.1.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/rainbow-3.1.1/lib/rainbow/refinement.rb
.bundles_cache/ruby/2.6.0/gems/rainbow-3.1.1/lib/rainbow/refinement.rb
# frozen_string_literal: true require_relative 'presenter' require_relative 'global' module Rainbow refine String do Presenter.instance_methods(false).each do |method_name| define_method(method_name) do |*args| ::Rainbow.global.wrap(self).send(method_name, *args) 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/rainbow-3.1.1/lib/rainbow/presenter.rb
.bundles_cache/ruby/2.6.0/gems/rainbow-3.1.1/lib/rainbow/presenter.rb
# frozen_string_literal: true require_relative 'string_utils' require_relative 'x11_color_names' require_relative 'color' module Rainbow class Presenter < ::String TERM_EFFECTS = { reset: 0, bright: 1, faint: 2, italic: 3, underline: 4, blink: 5, inverse: 7, hide:...
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/rainbow-3.1.1/lib/rainbow/null_presenter.rb
.bundles_cache/ruby/2.6.0/gems/rainbow-3.1.1/lib/rainbow/null_presenter.rb
# frozen_string_literal: true module Rainbow class NullPresenter < ::String def color(*_values) self end def background(*_values) self end def reset self end def bright self end def faint self end def italic self end def un...
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/rainbow-3.1.1/lib/rainbow/x11_color_names.rb
.bundles_cache/ruby/2.6.0/gems/rainbow-3.1.1/lib/rainbow/x11_color_names.rb
# frozen_string_literal: true module Rainbow module X11ColorNames NAMES = { aqua: [0, 255, 255], aquamarine: [127, 255, 212], mediumaquamarine: [102, 205, 170], azure: [240, 255, 255], beige: [245, 245, 220], bisque: [255, 228, 196], black: [0, 0, 0], blanchedalmon...
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/rainbow-3.1.1/lib/rainbow/string_utils.rb
.bundles_cache/ruby/2.6.0/gems/rainbow-3.1.1/lib/rainbow/string_utils.rb
# frozen_string_literal: true module Rainbow class StringUtils def self.wrap_with_sgr(string, codes) return string if codes.empty? seq = "\e[" + codes.join(";") + "m" string = string.sub(/^(\e\[([\d;]+)m)*/) { |m| m + seq } return string if string.end_with? "\e[0m" string + "\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/rainbow-3.1.1/lib/rainbow/color.rb
.bundles_cache/ruby/2.6.0/gems/rainbow-3.1.1/lib/rainbow/color.rb
# frozen_string_literal: true module Rainbow class Color attr_reader :ground def self.build(ground, values) unless [1, 3].include?(values.size) raise ArgumentError, "Wrong number of arguments for color definition, should be 1 or 3" end color = values.size == 1 ? valu...
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/rainbow-3.1.1/lib/rainbow/global.rb
.bundles_cache/ruby/2.6.0/gems/rainbow-3.1.1/lib/rainbow/global.rb
# frozen_string_literal: true require_relative 'wrapper' module Rainbow def self.global @global ||= Wrapper.new end def self.enabled global.enabled end def self.enabled=(value) global.enabled = value end def self.uncolor(string) StringUtils.uncolor(string) end end def Rainbow(strin...
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/rainbow-3.1.1/lib/rainbow/wrapper.rb
.bundles_cache/ruby/2.6.0/gems/rainbow-3.1.1/lib/rainbow/wrapper.rb
# frozen_string_literal: true require_relative 'presenter' require_relative 'null_presenter' module Rainbow class Wrapper attr_accessor :enabled def initialize(enabled = true) @enabled = enabled end def wrap(string) if enabled Presenter.new(string.to_s) else NullP...
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/rainbow-3.1.1/lib/rainbow/ext/string.rb
.bundles_cache/ruby/2.6.0/gems/rainbow-3.1.1/lib/rainbow/ext/string.rb
# frozen_string_literal: true require 'rainbow' module Rainbow module Ext module String module InstanceMethods def foreground(*color) Rainbow(self).foreground(*color) end alias color foreground alias colour foreground def background(*color) Rai...
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/jekyll-avatar-0.7.0/lib/jekyll-avatar.rb
.bundles_cache/ruby/2.6.0/gems/jekyll-avatar-0.7.0/lib/jekyll-avatar.rb
# frozen_string_literal: true require "zlib" module Jekyll class Avatar < Liquid::Tag include Jekyll::LiquidExtensions SERVERS = 4 DEFAULT_SIZE = 40 API_VERSION = 3 def initialize(_tag_name, text, _tokens) super @text = text end def render(context) @context = c...
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/jekyll-avatar-0.7.0/lib/jekyll-avatar/version.rb
.bundles_cache/ruby/2.6.0/gems/jekyll-avatar-0.7.0/lib/jekyll-avatar/version.rb
# frozen_string_literal: true module Liquid; class Tag; end; end module Jekyll class Avatar < Liquid::Tag VERSION = "0.7.0".freeze 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/racc-1.6.2/ext/racc/cparse/extconf.rb
.bundles_cache/ruby/2.6.0/gems/racc-1.6.2/ext/racc/cparse/extconf.rb
# frozen_string_literal: false # require 'mkmf' have_func('rb_block_call') have_func('rb_ary_subseq') create_makefile 'racc/cparse'
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/racc-1.6.2/lib/racc.rb
.bundles_cache/ruby/2.6.0/gems/racc-1.6.2/lib/racc.rb
require 'racc/compat' require 'racc/debugflags' require 'racc/grammar' require 'racc/state' require 'racc/exception' require 'racc/info'
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/racc-1.6.2/lib/racc/parser-text.rb
.bundles_cache/ruby/2.6.0/gems/racc-1.6.2/lib/racc/parser-text.rb
module Racc PARSER_TEXT = <<'__end_of_file__' # frozen_string_literal: false #-- # Copyright (c) 1999-2006 Minero Aoki # # This program is free software. # You can distribute/modify this program under the same terms of ruby. # # As a special exception, when this code is copied by Racc # into a Racc output file, you m...
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/racc-1.6.2/lib/racc/grammarfileparser.rb
.bundles_cache/ruby/2.6.0/gems/racc-1.6.2/lib/racc/grammarfileparser.rb
#-- # # # # Copyright (c) 1999-2006 Minero Aoki # # This program is free software. # You can distribute/modify this program under the same terms of ruby. # see the file "COPYING". # #++ require 'racc' require 'racc/compat' require 'racc/grammar' require 'racc/parserfilegenerator' require 'racc/sourcetext' require 'str...
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/racc-1.6.2/lib/racc/statetransitiontable.rb
.bundles_cache/ruby/2.6.0/gems/racc-1.6.2/lib/racc/statetransitiontable.rb
#-- # # # # Copyright (c) 1999-2006 Minero Aoki # # This program is free software. # You can distribute/modify this program under the same terms of ruby. # see the file "COPYING". # #++ require 'racc/parser' module Racc StateTransitionTable = Struct.new(:action_table, :action_ch...
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/racc-1.6.2/lib/racc/debugflags.rb
.bundles_cache/ruby/2.6.0/gems/racc-1.6.2/lib/racc/debugflags.rb
#-- # # # # Copyright (c) 1999-2006 Minero Aoki # # This program is free software. # You can distribute/modify this program under the same terms of ruby. # see the file "COPYING". # #++ module Racc class DebugFlags def DebugFlags.parse_option_string(s) parse = rule = token = state = la = prec = conf = fal...
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/racc-1.6.2/lib/racc/grammar.rb
.bundles_cache/ruby/2.6.0/gems/racc-1.6.2/lib/racc/grammar.rb
#-- # # # # Copyright (c) 1999-2006 Minero Aoki # # This program is free software. # You can distribute/modify this program under the same terms of ruby. # see the file "COPYING". # #++ require 'racc/compat' require 'racc/iset' require 'racc/sourcetext' require 'racc/logfilegenerator' require 'racc/exception' 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/racc-1.6.2/lib/racc/parserfilegenerator.rb
.bundles_cache/ruby/2.6.0/gems/racc-1.6.2/lib/racc/parserfilegenerator.rb
#-- # # # # Copyright (c) 1999-2006 Minero Aoki # # This program is free software. # You can distribute/modify this program under the same terms of ruby. # see the file "COPYING". # #++ require 'racc/compat' require 'racc/sourcetext' require 'racc/parser-text' require 'rbconfig' module Racc class ParserFileGenerat...
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/racc-1.6.2/lib/racc/parser.rb
.bundles_cache/ruby/2.6.0/gems/racc-1.6.2/lib/racc/parser.rb
# frozen_string_literal: false #-- # Copyright (c) 1999-2006 Minero Aoki # # This program is free software. # You can distribute/modify this program under the same terms of ruby. # # As a special exception, when this code is copied by Racc # into a Racc output file, you may use that output file # without restriction. #...
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/racc-1.6.2/lib/racc/iset.rb
.bundles_cache/ruby/2.6.0/gems/racc-1.6.2/lib/racc/iset.rb
#-- # # # # Copyright (c) 1999-2006 Minero Aoki # # This program is free software. # You can distribute/modify this program under the same terms of ruby. # see the file "COPYING". # #++ module Racc # An "indexed" set. All items must respond to :ident. class ISet def initialize(a = []) @set = a 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/racc-1.6.2/lib/racc/compat.rb
.bundles_cache/ruby/2.6.0/gems/racc-1.6.2/lib/racc/compat.rb
#-- # # # # Copyright (c) 1999-2006 Minero Aoki # # This program is free software. # You can distribute/modify this program under the same terms of ruby. # see the file "COPYING". # #++ unless Object.method_defined?(:__send) class Object alias __send __send__ end end unless Object.method_defined?(:__send!) ...
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/racc-1.6.2/lib/racc/sourcetext.rb
.bundles_cache/ruby/2.6.0/gems/racc-1.6.2/lib/racc/sourcetext.rb
#-- # # # # Copyright (c) 1999-2006 Minero Aoki # # This program is free software. # You can distribute/modify this program under the same terms of ruby. # see the file "COPYING". # #++ module Racc class SourceText def initialize(text, filename, lineno) @text = text @filename = filename @linen...
ruby
Apache-2.0
d43118c4af2adeb708d26658615319d6493e6077
2026-01-04T15:51:47.325668Z
false