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/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/atomic/atomic_markable_reference.rb
.bundles_cache/ruby/2.6.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/atomic/atomic_markable_reference.rb
require 'concurrent/errors' require 'concurrent/synchronization/object' module Concurrent # An atomic reference which maintains an object reference along with a mark bit # that can be updated atomically. # # @see http://docs.oracle.com/javase/7/docs/api/java/util/concurrent/atomic/AtomicMarkableReference.html ...
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/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/atomic/atomic_fixnum.rb
.bundles_cache/ruby/2.6.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/atomic/atomic_fixnum.rb
require 'concurrent/utility/native_extension_loader' # load native parts first require 'concurrent/atomic/mutex_atomic_fixnum' module Concurrent ################################################################### # @!macro atomic_fixnum_method_initialize # # Creates a new `AtomicFixnum` with the given ini...
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/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/atomic/reentrant_read_write_lock.rb
.bundles_cache/ruby/2.6.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/atomic/reentrant_read_write_lock.rb
require 'thread' require 'concurrent/atomic/atomic_reference' require 'concurrent/atomic/atomic_fixnum' require 'concurrent/errors' require 'concurrent/synchronization/object' require 'concurrent/synchronization/lock' require 'concurrent/atomic/lock_local_var' module Concurrent # Re-entrant read-write lock implemen...
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/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/atomic/mutex_semaphore.rb
.bundles_cache/ruby/2.6.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/atomic/mutex_semaphore.rb
require 'concurrent/synchronization/lockable_object' require 'concurrent/utility/native_integer' module Concurrent # @!macro semaphore # @!visibility private # @!macro internal_implementation_note class MutexSemaphore < Synchronization::LockableObject # @!macro semaphore_method_initialize def initial...
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/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/atomic/atomic_reference.rb
.bundles_cache/ruby/2.6.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/atomic/atomic_reference.rb
require 'concurrent/utility/native_extension_loader' # load native parts first require 'concurrent/atomic_reference/atomic_direct_update' require 'concurrent/atomic_reference/numeric_cas_wrapper' require 'concurrent/atomic_reference/mutex_atomic' # Shim for TruffleRuby::AtomicReference if Concurrent.on_truffleruby? &...
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/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/atomic/count_down_latch.rb
.bundles_cache/ruby/2.6.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/atomic/count_down_latch.rb
require 'concurrent/utility/engine' require 'concurrent/atomic/mutex_count_down_latch' require 'concurrent/atomic/java_count_down_latch' module Concurrent ################################################################### # @!macro count_down_latch_method_initialize # # Create a new `CountDownLatch` with ...
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/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/atomic/fiber_local_var.rb
.bundles_cache/ruby/2.6.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/atomic/fiber_local_var.rb
require 'concurrent/constants' require_relative 'locals' module Concurrent # A `FiberLocalVar` is a variable where the value is different for each fiber. # Each variable may have a default value, but when you modify the variable only # the current fiber will ever see that change. # # This is similar to 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/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/atomic/read_write_lock.rb
.bundles_cache/ruby/2.6.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/atomic/read_write_lock.rb
require 'thread' require 'concurrent/atomic/atomic_fixnum' require 'concurrent/errors' require 'concurrent/synchronization/object' require 'concurrent/synchronization/lock' module Concurrent # Ruby read-write lock implementation # # Allows any number of concurrent readers, but only one concurrent writer # (An...
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/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/atomic/locals.rb
.bundles_cache/ruby/2.6.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/atomic/locals.rb
require 'fiber' require 'concurrent/utility/engine' require 'concurrent/constants' module Concurrent # @!visibility private # @!macro internal_implementation_note # # An abstract implementation of local storage, with sub-classes for # per-thread and per-fiber locals. # # Each execution context (EC, threa...
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/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/atomic/lock_local_var.rb
.bundles_cache/ruby/2.6.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/atomic/lock_local_var.rb
require 'concurrent/utility/engine' require_relative 'fiber_local_var' require_relative 'thread_local_var' module Concurrent # @!visibility private def self.mutex_owned_per_thread? return false if Concurrent.on_jruby? || Concurrent.on_truffleruby? mutex = Mutex.new # Lock the mutex: mutex.synchron...
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/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb
.bundles_cache/ruby/2.6.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/executor/ruby_thread_pool_executor.rb
require 'thread' require 'concurrent/atomic/event' require 'concurrent/concern/logging' require 'concurrent/executor/ruby_executor_service' require 'concurrent/utility/monotonic_time' module Concurrent # @!macro thread_pool_executor # @!macro thread_pool_options # @!visibility private class RubyThreadPoolExec...
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/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/executor/simple_executor_service.rb
.bundles_cache/ruby/2.6.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/executor/simple_executor_service.rb
require 'concurrent/atomic/atomic_boolean' require 'concurrent/atomic/atomic_fixnum' require 'concurrent/atomic/event' require 'concurrent/executor/executor_service' require 'concurrent/executor/ruby_executor_service' module Concurrent # An executor service in which every operation spawns a new, # independently 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/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/executor/thread_pool_executor.rb
.bundles_cache/ruby/2.6.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/executor/thread_pool_executor.rb
require 'concurrent/utility/engine' require 'concurrent/executor/ruby_thread_pool_executor' module Concurrent if Concurrent.on_jruby? require 'concurrent/executor/java_thread_pool_executor' end ThreadPoolExecutorImplementation = case when Concurrent.on_jruby? ...
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/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/executor/single_thread_executor.rb
.bundles_cache/ruby/2.6.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/executor/single_thread_executor.rb
require 'concurrent/utility/engine' require 'concurrent/executor/ruby_single_thread_executor' module Concurrent if Concurrent.on_jruby? require 'concurrent/executor/java_single_thread_executor' end SingleThreadExecutorImplementation = case when Concurrent.on_jruby? ...
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/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/executor/java_single_thread_executor.rb
.bundles_cache/ruby/2.6.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/executor/java_single_thread_executor.rb
if Concurrent.on_jruby? require 'concurrent/executor/java_executor_service' require 'concurrent/executor/serial_executor_service' module Concurrent # @!macro single_thread_executor # @!macro abstract_executor_service_public_api # @!visibility private class JavaSingleThreadExecutor < JavaExecuto...
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/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/executor/java_thread_pool_executor.rb
.bundles_cache/ruby/2.6.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/executor/java_thread_pool_executor.rb
if Concurrent.on_jruby? require 'concurrent/executor/java_executor_service' module Concurrent # @!macro thread_pool_executor # @!macro thread_pool_options # @!visibility private class JavaThreadPoolExecutor < JavaExecutorService # @!macro thread_pool_executor_constant_default_max_pool_size...
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/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/executor/ruby_executor_service.rb
.bundles_cache/ruby/2.6.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/executor/ruby_executor_service.rb
require 'concurrent/executor/abstract_executor_service' require 'concurrent/atomic/event' module Concurrent # @!macro abstract_executor_service_public_api # @!visibility private class RubyExecutorService < AbstractExecutorService safe_initialization! def initialize(*args, &block) super @Sto...
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/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/executor/cached_thread_pool.rb
.bundles_cache/ruby/2.6.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/executor/cached_thread_pool.rb
require 'concurrent/utility/engine' require 'concurrent/executor/thread_pool_executor' module Concurrent # A thread pool that dynamically grows and shrinks to fit the current workload. # New threads are created as needed, existing threads are reused, and threads # that remain idle for too long are killed and re...
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/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/executor/serialized_execution_delegator.rb
.bundles_cache/ruby/2.6.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/executor/serialized_execution_delegator.rb
require 'delegate' require 'concurrent/executor/serial_executor_service' require 'concurrent/executor/serialized_execution' module Concurrent # A wrapper/delegator for any `ExecutorService` that # guarantees serialized execution of tasks. # # @see [SimpleDelegator](http://www.ruby-doc.org/stdlib-2.1.2/libdoc/...
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/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/executor/immediate_executor.rb
.bundles_cache/ruby/2.6.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/executor/immediate_executor.rb
require 'concurrent/atomic/event' require 'concurrent/executor/abstract_executor_service' require 'concurrent/executor/serial_executor_service' module Concurrent # An executor service which runs all operations on the current thread, # blocking as necessary. Operations are performed in the order they are # recei...
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/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/executor/java_executor_service.rb
.bundles_cache/ruby/2.6.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/executor/java_executor_service.rb
require 'concurrent/utility/engine' if Concurrent.on_jruby? require 'concurrent/errors' require 'concurrent/executor/abstract_executor_service' module Concurrent # @!macro abstract_executor_service_public_api # @!visibility private class JavaExecutorService < AbstractExecutorService java_impo...
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/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/executor/safe_task_executor.rb
.bundles_cache/ruby/2.6.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/executor/safe_task_executor.rb
require 'concurrent/synchronization/lockable_object' module Concurrent # A simple utility class that executes a callable and returns and array of three elements: # success - indicating if the callable has been executed without errors # value - filled by the callable result if it has been executed without errors...
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/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/executor/ruby_single_thread_executor.rb
.bundles_cache/ruby/2.6.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/executor/ruby_single_thread_executor.rb
require 'concurrent/executor/ruby_thread_pool_executor' module Concurrent # @!macro single_thread_executor # @!macro abstract_executor_service_public_api # @!visibility private class RubySingleThreadExecutor < RubyThreadPoolExecutor # @!macro single_thread_executor_method_initialize def initialize(op...
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/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/executor/serialized_execution.rb
.bundles_cache/ruby/2.6.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/executor/serialized_execution.rb
require 'concurrent/errors' require 'concurrent/concern/logging' require 'concurrent/synchronization/lockable_object' module Concurrent # Ensures passed jobs in a serialized order never running at the same time. class SerializedExecution < Synchronization::LockableObject include Concern::Logging def init...
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/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/executor/serial_executor_service.rb
.bundles_cache/ruby/2.6.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/executor/serial_executor_service.rb
require 'concurrent/executor/executor_service' module Concurrent # Indicates that the including `ExecutorService` guarantees # that all operations will occur in the order they are post and that no # two operations may occur simultaneously. This module provides no # functionality and provides no guarantees. Th...
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/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/executor/executor_service.rb
.bundles_cache/ruby/2.6.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/executor/executor_service.rb
require 'concurrent/concern/logging' module Concurrent ################################################################### # @!macro executor_service_method_post # # Submit a task to the executor for asynchronous processing. # # @param [Array] args zero or more arguments to be passed to the task # ...
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/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/executor/abstract_executor_service.rb
.bundles_cache/ruby/2.6.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/executor/abstract_executor_service.rb
require 'concurrent/errors' require 'concurrent/concern/deprecation' require 'concurrent/executor/executor_service' require 'concurrent/synchronization/lockable_object' module Concurrent # @!macro abstract_executor_service_public_api # @!visibility private class AbstractExecutorService < Synchronization::Lockab...
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/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/executor/fixed_thread_pool.rb
.bundles_cache/ruby/2.6.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/executor/fixed_thread_pool.rb
require 'concurrent/utility/engine' require 'concurrent/executor/thread_pool_executor' module Concurrent # @!macro thread_pool_executor_constant_default_max_pool_size # Default maximum number of threads that will be created in the pool. # @!macro thread_pool_executor_constant_default_min_pool_size # Defa...
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/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/executor/timer_set.rb
.bundles_cache/ruby/2.6.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/executor/timer_set.rb
require 'concurrent/scheduled_task' require 'concurrent/atomic/event' require 'concurrent/collection/non_concurrent_priority_queue' require 'concurrent/executor/executor_service' require 'concurrent/executor/single_thread_executor' require 'concurrent/options' module Concurrent # Executes a collection of tasks, ea...
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/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/executor/indirect_immediate_executor.rb
.bundles_cache/ruby/2.6.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/executor/indirect_immediate_executor.rb
require 'concurrent/executor/immediate_executor' require 'concurrent/executor/simple_executor_service' module Concurrent # An executor service which runs all operations on a new thread, blocking # until it completes. Operations are performed in the order they are received # and no two operations can be performed...
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/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/atomic_reference/numeric_cas_wrapper.rb
.bundles_cache/ruby/2.6.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/atomic_reference/numeric_cas_wrapper.rb
module Concurrent # Special "compare and set" handling of numeric values. # # @!visibility private # @!macro internal_implementation_note module AtomicNumericCompareAndSetWrapper # @!macro atomic_reference_method_compare_and_set def compare_and_set(old_value, new_value) if old_value.kind_of? N...
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/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/atomic_reference/mutex_atomic.rb
.bundles_cache/ruby/2.6.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/atomic_reference/mutex_atomic.rb
require 'concurrent/atomic_reference/atomic_direct_update' require 'concurrent/atomic_reference/numeric_cas_wrapper' require 'concurrent/synchronization/safe_initialization' module Concurrent # @!visibility private # @!macro internal_implementation_note class MutexAtomicReference extend Concurrent::Synchron...
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/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/atomic_reference/atomic_direct_update.rb
.bundles_cache/ruby/2.6.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/atomic_reference/atomic_direct_update.rb
require 'concurrent/errors' module Concurrent # Define update methods that use direct paths # # @!visibility private # @!macro internal_implementation_note module AtomicDirectUpdate def update true until compare_and_set(old_value = get, new_value = yield(old_value)) new_value end 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/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/concern/deprecation.rb
.bundles_cache/ruby/2.6.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/concern/deprecation.rb
require 'concurrent/concern/logging' module Concurrent module Concern # @!visibility private # @!macro internal_implementation_note module Deprecation # TODO require additional parameter: a version. Display when it'll be removed based on that. Error if not removed. include Concern::Logging ...
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/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/concern/obligation.rb
.bundles_cache/ruby/2.6.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/concern/obligation.rb
require 'thread' require 'timeout' require 'concurrent/atomic/event' require 'concurrent/concern/dereferenceable' module Concurrent module Concern module Obligation include Concern::Dereferenceable # NOTE: The Dereferenceable module is going away in 2.0. In the mean time # we need it to place...
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/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/concern/logging.rb
.bundles_cache/ruby/2.6.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/concern/logging.rb
require 'logger' require 'concurrent/atomic/atomic_reference' module Concurrent module Concern # Include where logging is needed # # @!visibility private module Logging include Logger::Severity # Logs through {Concurrent.global_logger}, it can be overridden by setting @logger # @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/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/concern/observable.rb
.bundles_cache/ruby/2.6.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/concern/observable.rb
require 'concurrent/collection/copy_on_notify_observer_set' require 'concurrent/collection/copy_on_write_observer_set' module Concurrent module Concern # The [observer pattern](http://en.wikipedia.org/wiki/Observer_pattern) is one # of the most useful design patterns. # # The workflow is very simple...
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/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/concern/dereferenceable.rb
.bundles_cache/ruby/2.6.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/concern/dereferenceable.rb
module Concurrent module Concern # Object references in Ruby are mutable. This can lead to serious problems when # the `#value` of a concurrent object is a mutable reference. Which is always the # case unless the value is a `Fixnum`, `Symbol`, or similar "primitive" data type. # Most classes in this ...
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/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/utility/native_extension_loader.rb
.bundles_cache/ruby/2.6.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/utility/native_extension_loader.rb
require 'concurrent/utility/engine' # Synchronization::AbstractObject must be defined before loading the extension require 'concurrent/synchronization/abstract_object' module Concurrent # @!visibility private module Utility # @!visibility private module NativeExtensionLoader def allow_c_extensions? ...
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/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/utility/processor_counter.rb
.bundles_cache/ruby/2.6.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/utility/processor_counter.rb
require 'etc' require 'rbconfig' require 'concurrent/delay' module Concurrent # @!visibility private module Utility # @!visibility private class ProcessorCounter def initialize @processor_count = Delay.new { compute_processor_count } @physical_processor_count = Delay.new { 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/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/utility/native_integer.rb
.bundles_cache/ruby/2.6.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/utility/native_integer.rb
module Concurrent # @!visibility private module Utility # @private module NativeInteger # http://stackoverflow.com/questions/535721/ruby-max-integer MIN_VALUE = -(2**(0.size * 8 - 2)) MAX_VALUE = (2**(0.size * 8 - 2) - 1) def ensure_upper_bound(value) if value > MAX_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/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/utility/engine.rb
.bundles_cache/ruby/2.6.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/utility/engine.rb
module Concurrent # @!visibility private module Utility # @!visibility private module EngineDetector def on_cruby? RUBY_ENGINE == 'ruby' end def on_jruby? RUBY_ENGINE == 'jruby' end def on_truffleruby? RUBY_ENGINE == 'truffleruby' end def...
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/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/utility/monotonic_time.rb
.bundles_cache/ruby/2.6.0/gems/concurrent-ruby-1.2.2/lib/concurrent-ruby/concurrent/utility/monotonic_time.rb
module Concurrent # @!macro monotonic_get_time # # Returns the current time as tracked by the application monotonic clock. # # @param [Symbol] unit the time unit to be returned, can be either # :float_second, :float_millisecond, :float_microsecond, :second, # :millisecond, :microsecond, or :n...
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/colorator-1.1.0/lib/colorator.rb
.bundles_cache/ruby/2.6.0/gems/colorator-1.1.0/lib/colorator.rb
$:.unshift File.dirname(__FILE__) module Colorator module_function VERSION = "1.1.0" # -------------------------------------------------------------------------- ANSI_MATCHR = /\x1b.*?[jkmsuABGKH]/ ANSI_COLORS = { :black => 30, :red => 31, :green => 32, :yellow => 33, :blue ...
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/colorator-1.1.0/lib/colorator/core_ext.rb
.bundles_cache/ruby/2.6.0/gems/colorator-1.1.0/lib/colorator/core_ext.rb
class String Colorator::CORE_METHODS.each do |method| define_method method do |*args| Colorator.public_send(method, self, *args ) 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/sass-listen-4.0.0/lib/sass-listen.rb
.bundles_cache/ruby/2.6.0/gems/sass-listen-4.0.0/lib/sass-listen.rb
require 'logger' require 'sass-listen/logger' require 'sass-listen/listener' require 'sass-listen/internals/thread_pool' # Always set up logging by default first time file is required # # NOTE: If you need to clear the logger completely, do so *after* # requiring this file. If you need to set a custom logger, # requi...
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/sass-listen-4.0.0/lib/sass-listen/directory.rb
.bundles_cache/ruby/2.6.0/gems/sass-listen-4.0.0/lib/sass-listen/directory.rb
require 'set' module SassListen # TODO: refactor (turn it into a normal object, cache the stat, etc) class Directory def self.scan(snapshot, rel_path, options) record = snapshot.record dir = Pathname.new(record.root) previous = record.dir_entries(rel_path) record.add_dir(rel_path) ...
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/sass-listen-4.0.0/lib/sass-listen/record.rb
.bundles_cache/ruby/2.6.0/gems/sass-listen-4.0.0/lib/sass-listen/record.rb
require 'thread' require 'sass-listen/record/entry' require 'sass-listen/record/symlink_detector' module SassListen class Record # TODO: one Record object per watched directory? # TODO: deprecate attr_reader :root def initialize(directory) @tree = _auto_hash @root = directory.to_s 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/sass-listen-4.0.0/lib/sass-listen/version.rb
.bundles_cache/ruby/2.6.0/gems/sass-listen-4.0.0/lib/sass-listen/version.rb
module SassListen VERSION = '4.0.0' 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/sass-listen-4.0.0/lib/sass-listen/change.rb
.bundles_cache/ruby/2.6.0/gems/sass-listen-4.0.0/lib/sass-listen/change.rb
require 'sass-listen/file' require 'sass-listen/directory' module SassListen # TODO: rename to Snapshot class Change # TODO: test this class for coverage class Config def initialize(queue, silencer) @queue = queue @silencer = silencer end def silenced?(path, type) ...
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/sass-listen-4.0.0/lib/sass-listen/logger.rb
.bundles_cache/ruby/2.6.0/gems/sass-listen-4.0.0/lib/sass-listen/logger.rb
module SassListen def self.logger @logger ||= nil end def self.logger=(logger) @logger = logger end def self.setup_default_logger_if_unset self.logger ||= ::Logger.new(STDERR).tap do |logger| debugging = ENV['LISTEN_GEM_DEBUGGING'] logger.level = case debugging.to_s 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/sass-listen-4.0.0/lib/sass-listen/options.rb
.bundles_cache/ruby/2.6.0/gems/sass-listen-4.0.0/lib/sass-listen/options.rb
module SassListen class Options def initialize(opts, defaults) @options = {} given_options = opts.dup defaults.keys.each do |key| @options[key] = given_options.delete(key) || defaults[key] end return if given_options.empty? msg = "Unknown options: #{given_options.insp...
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/sass-listen-4.0.0/lib/sass-listen/silencer.rb
.bundles_cache/ruby/2.6.0/gems/sass-listen-4.0.0/lib/sass-listen/silencer.rb
module SassListen class Silencer # The default list of directories that get ignored. DEFAULT_IGNORED_DIRECTORIES = %r{^(?: \.git | \.svn | \.hg | \.rbx | \.bundle | bundle | vendor/bundle | log | tmp |vendor/ruby )(/|$)}x # The default list ...
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/sass-listen-4.0.0/lib/sass-listen/file.rb
.bundles_cache/ruby/2.6.0/gems/sass-listen-4.0.0/lib/sass-listen/file.rb
require 'digest/md5' module SassListen class File def self.change(record, rel_path) path = Pathname.new(record.root) + rel_path lstat = path.lstat data = { mtime: lstat.mtime.to_f, mode: lstat.mode } record_data = record.file_data(rel_path) if record_data.empty? record.up...
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/sass-listen-4.0.0/lib/sass-listen/adapter.rb
.bundles_cache/ruby/2.6.0/gems/sass-listen-4.0.0/lib/sass-listen/adapter.rb
require 'sass-listen/adapter/base' require 'sass-listen/adapter/bsd' require 'sass-listen/adapter/darwin' require 'sass-listen/adapter/linux' require 'sass-listen/adapter/polling' require 'sass-listen/adapter/windows' module SassListen module Adapter OPTIMIZED_ADAPTERS = [Darwin, Linux, BSD, Windows] POLLING...
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/sass-listen-4.0.0/lib/sass-listen/fsm.rb
.bundles_cache/ruby/2.6.0/gems/sass-listen-4.0.0/lib/sass-listen/fsm.rb
# Code copied from https://github.com/celluloid/celluloid-fsm module SassListen module FSM DEFAULT_STATE = :default # Default state name unless one is explicitly set # Included hook to extend class methods def self.included(klass) klass.send :extend, ClassMethods end module ClassMethods ...
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/sass-listen-4.0.0/lib/sass-listen/backend.rb
.bundles_cache/ruby/2.6.0/gems/sass-listen-4.0.0/lib/sass-listen/backend.rb
require 'sass-listen/adapter' require 'sass-listen/adapter/base' require 'sass-listen/adapter/config' require 'forwardable' # This class just aggregates configuration object to avoid Listener specs # from exploding with huge test setup blocks module SassListen class Backend def initialize(directories, queue, si...
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/sass-listen-4.0.0/lib/sass-listen/cli.rb
.bundles_cache/ruby/2.6.0/gems/sass-listen-4.0.0/lib/sass-listen/cli.rb
require 'thor' require 'sass-listen' require 'logger' module SassListen class CLI < Thor default_task :start desc 'start', 'Starts SassListen' class_option :verbose, type: :boolean, default: false, aliases: '-v', banner: 'Verbose' ...
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/sass-listen-4.0.0/lib/sass-listen/queue_optimizer.rb
.bundles_cache/ruby/2.6.0/gems/sass-listen-4.0.0/lib/sass-listen/queue_optimizer.rb
module SassListen class QueueOptimizer class Config def initialize(adapter_class, silencer) @adapter_class = adapter_class @silencer = silencer end def exist?(path) Pathname(path).exist? end def silenced?(path, type) @silencer.silenced?(path, type) ...
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/sass-listen-4.0.0/lib/sass-listen/listener.rb
.bundles_cache/ruby/2.6.0/gems/sass-listen-4.0.0/lib/sass-listen/listener.rb
require 'English' require 'sass-listen/version' require 'sass-listen/backend' require 'sass-listen/silencer' require 'sass-listen/silencer/controller' require 'sass-listen/queue_optimizer' require 'sass-listen/fsm' require 'sass-listen/event/loop' require 'sass-listen/event/queue' require 'sass-listen/event/confi...
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/sass-listen-4.0.0/lib/sass-listen/silencer/controller.rb
.bundles_cache/ruby/2.6.0/gems/sass-listen-4.0.0/lib/sass-listen/silencer/controller.rb
module SassListen class Silencer class Controller def initialize(silencer, default_options) @silencer = silencer opts = default_options @prev_silencer_options = {} rules = [:only, :ignore, :ignore!].map do |option| [option, opts[option]] if opts.key? option ...
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/sass-listen-4.0.0/lib/sass-listen/record/entry.rb
.bundles_cache/ruby/2.6.0/gems/sass-listen-4.0.0/lib/sass-listen/record/entry.rb
module SassListen # @private api class Record # Represents a directory entry (dir or file) class Entry # file: "/home/me/watched_dir", "app/models", "foo.rb" # dir, "/home/me/watched_dir", "." def initialize(root, relative, name = nil) @root, @relative, @name = root, relative, name...
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/sass-listen-4.0.0/lib/sass-listen/record/symlink_detector.rb
.bundles_cache/ruby/2.6.0/gems/sass-listen-4.0.0/lib/sass-listen/record/symlink_detector.rb
require 'set' module SassListen # @private api class Record class SymlinkDetector WIKI = 'https://github.com/guard/listen/wiki/Duplicate-directory-errors' SYMLINK_LOOP_ERROR = <<-EOS ** ERROR: directory is already being watched! ** Directory: %s is already being watched 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/sass-listen-4.0.0/lib/sass-listen/internals/thread_pool.rb
.bundles_cache/ruby/2.6.0/gems/sass-listen-4.0.0/lib/sass-listen/internals/thread_pool.rb
module SassListen # @private api module Internals module ThreadPool def self.add(&block) Thread.new { block.call }.tap do |th| (@threads ||= Queue.new) << th end end def self.stop return unless @threads ||= nil return if @threads.empty? # return to av...
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/sass-listen-4.0.0/lib/sass-listen/event/processor.rb
.bundles_cache/ruby/2.6.0/gems/sass-listen-4.0.0/lib/sass-listen/event/processor.rb
module SassListen module Event class Processor def initialize(config, reasons) @config = config @reasons = reasons _reset_no_unprocessed_events end # TODO: implement this properly instead of checking the state at arbitrary # points in time def loop_for(latenc...
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/sass-listen-4.0.0/lib/sass-listen/event/queue.rb
.bundles_cache/ruby/2.6.0/gems/sass-listen-4.0.0/lib/sass-listen/event/queue.rb
require 'thread' require 'forwardable' module SassListen module Event class Queue class Config def initialize(relative) @relative = relative end def relative? @relative end end def initialize(config, &block) @event_queue = ::Queue.n...
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/sass-listen-4.0.0/lib/sass-listen/event/loop.rb
.bundles_cache/ruby/2.6.0/gems/sass-listen-4.0.0/lib/sass-listen/event/loop.rb
require 'thread' require 'timeout' require 'sass-listen/event/processor' module SassListen module Event class Loop class Error < RuntimeError class NotStarted < Error end end def initialize(config) @config = config @wait_thread = nil @state = :paused ...
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/sass-listen-4.0.0/lib/sass-listen/event/config.rb
.bundles_cache/ruby/2.6.0/gems/sass-listen-4.0.0/lib/sass-listen/event/config.rb
module SassListen module Event class Config def initialize( listener, event_queue, queue_optimizer, wait_for_delay, &block) @listener = listener @event_queue = event_queue @queue_optimizer = queue_optimizer @min_delay_between_events = ...
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/sass-listen-4.0.0/lib/sass-listen/adapter/polling.rb
.bundles_cache/ruby/2.6.0/gems/sass-listen-4.0.0/lib/sass-listen/adapter/polling.rb
module SassListen module Adapter # Polling Adapter that works cross-platform and # has no dependencies. This is the adapter that # uses the most CPU processing power and has higher # file IO than the other implementations. # class Polling < Base OS_REGEXP = // # match every OS DEF...
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/sass-listen-4.0.0/lib/sass-listen/adapter/base.rb
.bundles_cache/ruby/2.6.0/gems/sass-listen-4.0.0/lib/sass-listen/adapter/base.rb
require 'sass-listen/options' require 'sass-listen/record' require 'sass-listen/change' module SassListen module Adapter class Base attr_reader :options # TODO: only used by tests DEFAULTS = {} attr_reader :config def initialize(config) @started = false @config = ...
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/sass-listen-4.0.0/lib/sass-listen/adapter/darwin.rb
.bundles_cache/ruby/2.6.0/gems/sass-listen-4.0.0/lib/sass-listen/adapter/darwin.rb
require 'thread' require 'sass-listen/internals/thread_pool' module SassListen module Adapter # Adapter implementation for Mac OS X `FSEvents`. # class Darwin < Base OS_REGEXP = /darwin(?<major_version>1\d+)/i # The default delay between checking for changes. DEFAULTS = { latency: 0.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/sass-listen-4.0.0/lib/sass-listen/adapter/linux.rb
.bundles_cache/ruby/2.6.0/gems/sass-listen-4.0.0/lib/sass-listen/adapter/linux.rb
module SassListen module Adapter # @see https://github.com/nex3/rb-inotify class Linux < Base OS_REGEXP = /linux/i DEFAULTS = { events: [ :recursive, :attrib, :create, :delete, :move, :close_write ], wait_for_dela...
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/sass-listen-4.0.0/lib/sass-listen/adapter/config.rb
.bundles_cache/ruby/2.6.0/gems/sass-listen-4.0.0/lib/sass-listen/adapter/config.rb
require 'pathname' module SassListen module Adapter class Config attr_reader :directories attr_reader :silencer attr_reader :queue attr_reader :adapter_options def initialize(directories, queue, silencer, adapter_options) # Default to current directory if no directories are...
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/sass-listen-4.0.0/lib/sass-listen/adapter/bsd.rb
.bundles_cache/ruby/2.6.0/gems/sass-listen-4.0.0/lib/sass-listen/adapter/bsd.rb
# Listener implementation for BSD's `kqueue`. # @see http://www.freebsd.org/cgi/man.cgi?query=kqueue # @see https://github.com/mat813/rb-kqueue/blob/master/lib/rb-kqueue/queue.rb # module SassListen module Adapter class BSD < Base OS_REGEXP = /bsd|dragonfly/i DEFAULTS = { events: [ ...
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/sass-listen-4.0.0/lib/sass-listen/adapter/windows.rb
.bundles_cache/ruby/2.6.0/gems/sass-listen-4.0.0/lib/sass-listen/adapter/windows.rb
module SassListen module Adapter # Adapter implementation for Windows `wdm`. # class Windows < Base OS_REGEXP = /mswin|mingw|cygwin/i BUNDLER_DECLARE_GEM = <<-EOS.gsub(/^ {6}/, '') Please add the following to your Gemfile to avoid polling for changes: gem 'wdm', '>= 0.1.0' 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/sass-listen-4.0.0/lib/sass-listen/listener/config.rb
.bundles_cache/ruby/2.6.0/gems/sass-listen-4.0.0/lib/sass-listen/listener/config.rb
module SassListen class Listener class Config DEFAULTS = { # Listener options debug: false, # TODO: is this broken? wait_for_delay: nil, # NOTE: should be provided by adapter if possible relative: false, # Backend selecting options force_polling: false, ...
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/html-proofer-3.19.4/lib/html-proofer.rb
.bundles_cache/ruby/2.6.0/gems/html-proofer-3.19.4/lib/html-proofer.rb
# rubocop:disable Naming/FileName # frozen_string_literal: true def require_all(path) dir = File.join(File.dirname(__FILE__), path) Dir[File.join(dir, '*.rb')].sort.each do |f| require f end end require_relative 'html-proofer/utils' require_all 'html-proofer' require_all 'html-proofer/check' require 'paral...
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/html-proofer-3.19.4/lib/html-proofer/url_validator.rb
.bundles_cache/ruby/2.6.0/gems/html-proofer-3.19.4/lib/html-proofer/url_validator.rb
# frozen_string_literal: true require 'typhoeus' require 'uri' require_relative './utils' require_relative './cache' module HTMLProofer class UrlValidator include HTMLProofer::Utils attr_reader :external_urls attr_writer :before_request def initialize(logger, cache, external_urls, options) @...
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/html-proofer-3.19.4/lib/html-proofer/element.rb
.bundles_cache/ruby/2.6.0/gems/html-proofer-3.19.4/lib/html-proofer/element.rb
# frozen_string_literal: true require 'addressable/uri' require_relative './utils' module HTMLProofer # Represents the element currently being processed class Element include HTMLProofer::Utils attr_reader :id, :name, :alt, :href, :link, :src, :line, :data_proofer_ignore def initialize(obj, check, l...
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/html-proofer-3.19.4/lib/html-proofer/version.rb
.bundles_cache/ruby/2.6.0/gems/html-proofer-3.19.4/lib/html-proofer/version.rb
# frozen_string_literal: true module HTMLProofer VERSION = '3.19.4' 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/html-proofer-3.19.4/lib/html-proofer/middleware.rb
.bundles_cache/ruby/2.6.0/gems/html-proofer-3.19.4/lib/html-proofer/middleware.rb
# frozen_string_literal: true module HTMLProofer class Middleware include HTMLProofer::Utils class InvalidHtmlError < StandardError def initialize(failures) super @failures = failures end def message "HTML Validation errors (skip by adding `?proofer-ignore` to URL)...
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/html-proofer-3.19.4/lib/html-proofer/log.rb
.bundles_cache/ruby/2.6.0/gems/html-proofer-3.19.4/lib/html-proofer/log.rb
# frozen_string_literal: true require 'yell' require 'rainbow' module HTMLProofer class Log include Yell::Loggable STDOUT_LEVELS = %i[debug info warn].freeze STDERR_LEVELS = %i[error fatal].freeze def initialize(log_level) @logger = Yell.new(format: false, \ name: '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/html-proofer-3.19.4/lib/html-proofer/issue.rb
.bundles_cache/ruby/2.6.0/gems/html-proofer-3.19.4/lib/html-proofer/issue.rb
# frozen_string_literal: true module HTMLProofer class Issue attr_reader :path, :desc, :status, :line, :content def initialize(path, desc, line: nil, status: -1, content: nil) @line = line.nil? ? '' : " (line #{line})" @path = path @desc = desc @status = status @content = conte...
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/html-proofer-3.19.4/lib/html-proofer/utils.rb
.bundles_cache/ruby/2.6.0/gems/html-proofer-3.19.4/lib/html-proofer/utils.rb
# frozen_string_literal: true require 'nokogiri' module HTMLProofer module Utils def pluralize(count, single, plural) "#{count} #{count == 1 ? single : plural}" end def create_nokogiri(path) content = if File.exist?(path) && !File.directory?(path) File.open(path).read ...
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/html-proofer-3.19.4/lib/html-proofer/configuration.rb
.bundles_cache/ruby/2.6.0/gems/html-proofer-3.19.4/lib/html-proofer/configuration.rb
# frozen_string_literal: true module HTMLProofer module Configuration require_relative 'version' PROOFER_DEFAULTS = { allow_missing_href: false, allow_hash_href: false, alt_ignore: [], assume_extension: false, check_external_hash: false, check_favicon: false, check_...
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/html-proofer-3.19.4/lib/html-proofer/runner.rb
.bundles_cache/ruby/2.6.0/gems/html-proofer-3.19.4/lib/html-proofer/runner.rb
# frozen_string_literal: true module HTMLProofer class Runner include HTMLProofer::Utils attr_reader :options, :internal_urls, :external_urls, :failures def initialize(src, opts = {}) @src = src @options = HTMLProofer::Configuration::PROOFER_DEFAULTS.merge(opts) @options[:typhoeus] ...
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/html-proofer-3.19.4/lib/html-proofer/check.rb
.bundles_cache/ruby/2.6.0/gems/html-proofer-3.19.4/lib/html-proofer/check.rb
# frozen_string_literal: true module HTMLProofer # Mostly handles issue management and collecting of external URLs. class Check attr_reader :node, :html, :element, :src, :path, :options, :issues, :internal_urls, :external_urls def initialize(src, path, html, logger, cache, options) @src = src ...
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/html-proofer-3.19.4/lib/html-proofer/cache.rb
.bundles_cache/ruby/2.6.0/gems/html-proofer-3.19.4/lib/html-proofer/cache.rb
# frozen_string_literal: true require_relative 'utils' require 'date' require 'json' require 'uri' module HTMLProofer class Cache include HTMLProofer::Utils DEFAULT_STORAGE_DIR = File.join('tmp', '.htmlproofer') DEFAULT_CACHE_FILE_NAME = 'cache.log' URI_REGEXP = URI::DEFAULT_PARSER.make_regexp ...
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/html-proofer-3.19.4/lib/html-proofer/check/favicon.rb
.bundles_cache/ruby/2.6.0/gems/html-proofer-3.19.4/lib/html-proofer/check/favicon.rb
# frozen_string_literal: true class FaviconCheck < ::HTMLProofer::Check def run found = false @html.xpath('//link[not(ancestor::pre or ancestor::code)]').each do |node| favicon = create_element(node) next if favicon.ignore? found = true if favicon.rel.split.last.eql? 'icon' break if ...
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/html-proofer-3.19.4/lib/html-proofer/check/opengraph.rb
.bundles_cache/ruby/2.6.0/gems/html-proofer-3.19.4/lib/html-proofer/check/opengraph.rb
# frozen_string_literal: true class OpenGraphElement < ::HTMLProofer::Element attr_reader :src def initialize(obj, check, logger) super(obj, check, logger) # Fake up src from the content attribute instance_variable_set('@src', @content) @src.insert 0, 'http:' if %r{^//}.match?(@src) end end 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/html-proofer-3.19.4/lib/html-proofer/check/scripts.rb
.bundles_cache/ruby/2.6.0/gems/html-proofer-3.19.4/lib/html-proofer/check/scripts.rb
# frozen_string_literal: true class ScriptCheck < ::HTMLProofer::Check attr_reader :src def missing_src? !@script.src end def run @html.css('script').each do |node| @script = create_element(node) line = node.line content = node.content next if @script.ignore? next unles...
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/html-proofer-3.19.4/lib/html-proofer/check/images.rb
.bundles_cache/ruby/2.6.0/gems/html-proofer-3.19.4/lib/html-proofer/check/images.rb
# frozen_string_literal: true class ImageCheck < ::HTMLProofer::Check SCREEN_SHOT_REGEX = /Screen(?: |%20)Shot(?: |%20)\d+-\d+-\d+(?: |%20)at(?: |%20)\d+.\d+.\d+/.freeze def empty_alt_tag? @img.alt.nil? || @img.alt.strip.empty? end def terrible_filename? @img.url =~ SCREEN_SHOT_REGEX end def mis...
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/html-proofer-3.19.4/lib/html-proofer/check/links.rb
.bundles_cache/ruby/2.6.0/gems/html-proofer-3.19.4/lib/html-proofer/check/links.rb
# frozen_string_literal: true class LinkCheck < ::HTMLProofer::Check include HTMLProofer::Utils def missing_href? return blank?(@link.src) if @node.name == 'source' blank?(@link.href) && blank?(@link.name) && blank?(@link.id) end def placeholder? (!blank?(@link.id) || !blank?(@link.name)) && @li...
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/html-proofer-3.19.4/lib/html-proofer/check/html.rb
.bundles_cache/ruby/2.6.0/gems/html-proofer-3.19.4/lib/html-proofer/check/html.rb
# frozen_string_literal: true class HtmlCheck < ::HTMLProofer::Check # tags embedded in scripts are used in templating languages: http://git.io/vOovv SCRIPT_EMBEDS_MSG = /Element script embeds close tag/.freeze INVALID_TAG_MSG = /Tag ([\w\-:]+) invalid/.freeze INVALID_PREFIX = /Namespace prefix/.freeze PARSE...
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/i18n-1.13.0/lib/i18n.rb
.bundles_cache/ruby/2.6.0/gems/i18n-1.13.0/lib/i18n.rb
# frozen_string_literal: true require 'concurrent/map' require 'concurrent/hash' require 'i18n/version' require 'i18n/utils' require 'i18n/exceptions' require 'i18n/interpolate/ruby' module I18n autoload :Backend, 'i18n/backend' autoload :Config, 'i18n/config' autoload :Gettext, 'i18n/gettext' autoload :Loc...
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/i18n-1.13.0/lib/i18n/version.rb
.bundles_cache/ruby/2.6.0/gems/i18n-1.13.0/lib/i18n/version.rb
# frozen_string_literal: true module I18n VERSION = "1.13.0" 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/i18n-1.13.0/lib/i18n/exceptions.rb
.bundles_cache/ruby/2.6.0/gems/i18n-1.13.0/lib/i18n/exceptions.rb
# frozen_string_literal: true require 'cgi' module I18n class ExceptionHandler def call(exception, _locale, _key, _options) if exception.is_a?(MissingTranslation) exception.message else raise exception end end end class ArgumentError < ::ArgumentError; end class Dis...
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/i18n-1.13.0/lib/i18n/middleware.rb
.bundles_cache/ruby/2.6.0/gems/i18n-1.13.0/lib/i18n/middleware.rb
# frozen_string_literal: true module I18n class Middleware def initialize(app) @app = app end def call(env) @app.call(env) ensure Thread.current[:i18n_config] = I18n::Config.new 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/i18n-1.13.0/lib/i18n/utils.rb
.bundles_cache/ruby/2.6.0/gems/i18n-1.13.0/lib/i18n/utils.rb
# frozen_string_literal: true module I18n module Utils class << self if Hash.method_defined?(:except) def except(hash, *keys) hash.except(*keys) end else def except(hash, *keys) hash = hash.dup keys.each { |k| hash.delete(k) } hash ...
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/i18n-1.13.0/lib/i18n/gettext.rb
.bundles_cache/ruby/2.6.0/gems/i18n-1.13.0/lib/i18n/gettext.rb
# frozen_string_literal: true module I18n module Gettext PLURAL_SEPARATOR = "\001" CONTEXT_SEPARATOR = "\004" autoload :Helpers, 'i18n/gettext/helpers' @@plural_keys = { :en => [:one, :other] } class << self # returns an array of plural keys for the given locale or the whole hash ...
ruby
Apache-2.0
d43118c4af2adeb708d26658615319d6493e6077
2026-01-04T15:51:47.325668Z
false