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/sass-3.7.4/lib/sass/selector/sequence.rb | .bundles_cache/ruby/2.6.0/gems/sass-3.7.4/lib/sass/selector/sequence.rb | module Sass
module Selector
# An operator-separated sequence of
# {SimpleSequence simple selector sequences}.
class Sequence < AbstractSequence
# Sets the line of the Sass template on which this selector was declared.
# This also sets the line for all child selectors.
#
# @param 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/sass-3.7.4/lib/sass/selector/simple.rb | .bundles_cache/ruby/2.6.0/gems/sass-3.7.4/lib/sass/selector/simple.rb | module Sass
module Selector
# The abstract superclass for simple selectors
# (that is, those that don't compose multiple selectors).
class Simple
# The line of the Sass template on which this selector was declared.
#
# @return [Integer]
attr_accessor :line
# The name of the ... | ruby | Apache-2.0 | 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-3.7.4/lib/sass/selector/pseudo.rb | .bundles_cache/ruby/2.6.0/gems/sass-3.7.4/lib/sass/selector/pseudo.rb | # coding: utf-8
module Sass
module Selector
# A pseudoclass (e.g. `:visited`) or pseudoelement (e.g. `::first-line`)
# selector. It can have arguments (e.g. `:nth-child(2n+1)`) which can
# contain selectors (e.g. `:nth-child(2n+1 of .foo)`).
class Pseudo < Simple
# Some pseudo-class-syntax selec... | ruby | Apache-2.0 | 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-3.7.4/lib/sass/script/value.rb | .bundles_cache/ruby/2.6.0/gems/sass-3.7.4/lib/sass/script/value.rb | module Sass::Script::Value; end
require 'sass/script/value/base'
require 'sass/script/value/string'
require 'sass/script/value/number'
require 'sass/script/value/color'
require 'sass/script/value/bool'
require 'sass/script/value/null'
require 'sass/script/value/list'
require 'sass/script/value/arg_list'
require 'sass/... | ruby | Apache-2.0 | 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-3.7.4/lib/sass/script/tree.rb | .bundles_cache/ruby/2.6.0/gems/sass-3.7.4/lib/sass/script/tree.rb | # The module containing nodes in the SassScript parse tree. These nodes are
# all subclasses of {Sass::Script::Tree::Node}.
module Sass::Script::Tree
end
require 'sass/script/tree/node'
require 'sass/script/tree/variable'
require 'sass/script/tree/funcall'
require 'sass/script/tree/operation'
require 'sass/script/tree... | ruby | Apache-2.0 | 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-3.7.4/lib/sass/script/css_parser.rb | .bundles_cache/ruby/2.6.0/gems/sass-3.7.4/lib/sass/script/css_parser.rb | require 'sass/script'
require 'sass/script/css_lexer'
module Sass
module Script
# This is a subclass of {Parser} for use in parsing plain CSS properties.
#
# @see Sass::SCSS::CssParser
class CssParser < Parser
private
# @private
def lexer_class; CssLexer; end
# We need a pro... | ruby | Apache-2.0 | 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-3.7.4/lib/sass/script/parser.rb | .bundles_cache/ruby/2.6.0/gems/sass-3.7.4/lib/sass/script/parser.rb | require 'sass/script/lexer'
module Sass
module Script
# The parser for SassScript.
# It parses a string of code into a tree of {Script::Tree::Node}s.
class Parser
# The line number of the parser's current position.
#
# @return [Integer]
def line
@lexer.line
end
... | 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/sass-3.7.4/lib/sass/script/lexer.rb | .bundles_cache/ruby/2.6.0/gems/sass-3.7.4/lib/sass/script/lexer.rb | require 'sass/scss/rx'
module Sass
module Script
# The lexical analyzer for SassScript.
# It takes a raw string and converts it to individual tokens
# that are easier to parse.
class Lexer
include Sass::SCSS::RX
# A struct containing information about an individual token.
#
#... | ruby | Apache-2.0 | 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-3.7.4/lib/sass/script/functions.rb | .bundles_cache/ruby/2.6.0/gems/sass-3.7.4/lib/sass/script/functions.rb | require 'sass/script/value/helpers'
module Sass::Script
# YARD can't handle some multiline tags, and we need really long tags for function declarations.
# Methods in this module are accessible from the SassScript context.
# For example, you can write
#
# $color: hsl(120deg, 100%, 50%)
#
# and it wi... | 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/sass-3.7.4/lib/sass/script/css_lexer.rb | .bundles_cache/ruby/2.6.0/gems/sass-3.7.4/lib/sass/script/css_lexer.rb | module Sass
module Script
# This is a subclass of {Lexer} for use in parsing plain CSS properties.
#
# @see Sass::SCSS::CssParser
class CssLexer < Lexer
private
def token
important || super
end
def string(re, *args)
if re == :uri
uri = scan(URI)
... | ruby | Apache-2.0 | 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-3.7.4/lib/sass/script/value/callable.rb | .bundles_cache/ruby/2.6.0/gems/sass-3.7.4/lib/sass/script/value/callable.rb | module Sass::Script::Value
# A SassScript object representing a null value.
class Callable < Base
# Constructs a Callable value for use in SassScript.
#
# @param callable [Sass::Callable] The callable to be used when the
# callable is called.
def initialize(callable)
super(callable)
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-3.7.4/lib/sass/script/value/bool.rb | .bundles_cache/ruby/2.6.0/gems/sass-3.7.4/lib/sass/script/value/bool.rb | module Sass::Script::Value
# A SassScript object representing a boolean (true or false) value.
class Bool < Base
# The true value in SassScript.
#
# This is assigned before new is overridden below so that we use the default implementation.
TRUE = new(true)
# The false value in SassScript.
... | ruby | Apache-2.0 | 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-3.7.4/lib/sass/script/value/helpers.rb | .bundles_cache/ruby/2.6.0/gems/sass-3.7.4/lib/sass/script/value/helpers.rb | module Sass::Script::Value
# Provides helper functions for creating sass values from within ruby methods.
# @since `3.3.0`
module Helpers
# Construct a Sass Boolean.
#
# @param value [Object] A ruby object that will be tested for truthiness.
# @return [Sass::Script::Value::Bool] whether the ruby v... | ruby | Apache-2.0 | 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-3.7.4/lib/sass/script/value/color.rb | .bundles_cache/ruby/2.6.0/gems/sass-3.7.4/lib/sass/script/value/color.rb | module Sass::Script::Value
# A SassScript object representing a CSS color.
#
# A color may be represented internally as RGBA, HSLA, or both.
# It's originally represented as whatever its input is;
# if it's created with RGB values, it's represented as RGBA,
# and if it's created with HSL values, it's repres... | ruby | Apache-2.0 | 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-3.7.4/lib/sass/script/value/base.rb | .bundles_cache/ruby/2.6.0/gems/sass-3.7.4/lib/sass/script/value/base.rb | module Sass::Script::Value
# The abstract superclass for SassScript objects.
#
# Many of these methods, especially the ones that correspond to SassScript operations,
# are designed to be overridden by subclasses which may change the semantics somewhat.
# The operations listed here are just the defaults.
cla... | ruby | Apache-2.0 | 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-3.7.4/lib/sass/script/value/null.rb | .bundles_cache/ruby/2.6.0/gems/sass-3.7.4/lib/sass/script/value/null.rb | module Sass::Script::Value
# A SassScript object representing a null value.
class Null < Base
# The null value in SassScript.
#
# This is assigned before new is overridden below so that we use the default implementation.
NULL = new(nil)
# We override object creation so that users of the core AP... | ruby | Apache-2.0 | 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-3.7.4/lib/sass/script/value/number.rb | .bundles_cache/ruby/2.6.0/gems/sass-3.7.4/lib/sass/script/value/number.rb | module Sass::Script::Value
# A SassScript object representing a number.
# SassScript numbers can have decimal values,
# and can also have units.
# For example, `12`, `1px`, and `10.45em`
# are all valid values.
#
# Numbers can also have more complex units, such as `1px*em/in`.
# These cannot be inputted... | ruby | Apache-2.0 | 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-3.7.4/lib/sass/script/value/string.rb | .bundles_cache/ruby/2.6.0/gems/sass-3.7.4/lib/sass/script/value/string.rb | # -*- coding: utf-8 -*-
module Sass::Script::Value
# A SassScript object representing a CSS string *or* a CSS identifier.
class String < Base
@@interpolation_deprecation = Sass::Deprecation.new
# The Ruby value of the string.
#
# @return [String]
attr_reader :value
# Whether this is a CSS ... | ruby | Apache-2.0 | 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-3.7.4/lib/sass/script/value/list.rb | .bundles_cache/ruby/2.6.0/gems/sass-3.7.4/lib/sass/script/value/list.rb | module Sass::Script::Value
# A SassScript object representing a CSS list.
# This includes both comma-separated lists and space-separated lists.
class List < Base
# The Ruby array containing the contents of the list.
#
# @return [Array<Value>]
attr_reader :value
alias_method :to_a, :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/sass-3.7.4/lib/sass/script/value/function.rb | .bundles_cache/ruby/2.6.0/gems/sass-3.7.4/lib/sass/script/value/function.rb | module Sass::Script::Value
# A SassScript object representing a function.
class Function < Callable
# Constructs a Function value for use in SassScript.
#
# @param function [Sass::Callable] The callable to be used when the
# function is invoked.
def initialize(function)
unless function.typ... | ruby | Apache-2.0 | 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-3.7.4/lib/sass/script/value/map.rb | .bundles_cache/ruby/2.6.0/gems/sass-3.7.4/lib/sass/script/value/map.rb | module Sass::Script::Value
# A SassScript object representing a map from keys to values. Both keys and
# values can be any SassScript object.
class Map < Base
# The Ruby hash containing the contents of this map.
#
# @return [Hash<Node, Node>]
attr_reader :value
alias_method :to_h, :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/sass-3.7.4/lib/sass/script/value/arg_list.rb | .bundles_cache/ruby/2.6.0/gems/sass-3.7.4/lib/sass/script/value/arg_list.rb | module Sass::Script::Value
# A SassScript object representing a variable argument list. This works just
# like a normal list, but can also contain keyword arguments.
#
# The keyword arguments attached to this list are unused except when this is
# passed as a glob argument to a function or mixin.
class ArgLi... | ruby | Apache-2.0 | 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-3.7.4/lib/sass/script/tree/selector.rb | .bundles_cache/ruby/2.6.0/gems/sass-3.7.4/lib/sass/script/tree/selector.rb | module Sass::Script::Tree
# A SassScript node that will resolve to the current selector.
class Selector < Node
def initialize; end
def children
[]
end
def to_sass(opts = {})
'&'
end
def deep_copy
dup
end
protected
def _perform(environment)
selector = ... | ruby | Apache-2.0 | 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-3.7.4/lib/sass/script/tree/map_literal.rb | .bundles_cache/ruby/2.6.0/gems/sass-3.7.4/lib/sass/script/tree/map_literal.rb | module Sass::Script::Tree
# A class representing a map literal. When resolved, this returns a
# {Sass::Script::Node::Map}.
class MapLiteral < Node
# The key/value pairs that make up this map node. This isn't a Hash so that
# we can detect key collisions once all the keys have been 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/sass-3.7.4/lib/sass/script/tree/interpolation.rb | .bundles_cache/ruby/2.6.0/gems/sass-3.7.4/lib/sass/script/tree/interpolation.rb | module Sass::Script::Tree
# A SassScript object representing `#{}` interpolation outside a string.
#
# @see StringInterpolation
class Interpolation < Node
# @return [Node] The SassScript before the interpolation
attr_reader :before
# @return [Node] The SassScript within the interpolation
attr_r... | ruby | Apache-2.0 | d43118c4af2adeb708d26658615319d6493e6077 | 2026-01-04T15:51:47.325668Z | false |
collabnix/kubelabs | https://github.com/collabnix/kubelabs/blob/d43118c4af2adeb708d26658615319d6493e6077/.bundles_cache/ruby/2.6.0/gems/sass-3.7.4/lib/sass/script/tree/funcall.rb | .bundles_cache/ruby/2.6.0/gems/sass-3.7.4/lib/sass/script/tree/funcall.rb | require 'sass/script/functions'
require 'sass/util'
module Sass::Script::Tree
# A SassScript parse node representing a function call.
#
# A function call either calls one of the functions in
# {Sass::Script::Functions}, or if no function with the given name exists it
# returns a string representation of the ... | ruby | Apache-2.0 | 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-3.7.4/lib/sass/script/tree/unary_operation.rb | .bundles_cache/ruby/2.6.0/gems/sass-3.7.4/lib/sass/script/tree/unary_operation.rb | module Sass::Script::Tree
# A SassScript parse node representing a unary operation,
# such as `-$b` or `not true`.
#
# Currently only `-`, `/`, and `not` are unary operators.
class UnaryOperation < Node
# @return [Symbol] The operation to perform
attr_reader :operator
# @return [Script::Node] The... | ruby | Apache-2.0 | 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-3.7.4/lib/sass/script/tree/literal.rb | .bundles_cache/ruby/2.6.0/gems/sass-3.7.4/lib/sass/script/tree/literal.rb | module Sass::Script::Tree
# The parse tree node for a literal scalar value. This wraps an instance of
# {Sass::Script::Value::Base}.
#
# List literals should use {ListLiteral} instead.
class Literal < Node
# The wrapped value.
#
# @return [Sass::Script::Value::Base]
attr_reader :value
# 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/sass-3.7.4/lib/sass/script/tree/node.rb | .bundles_cache/ruby/2.6.0/gems/sass-3.7.4/lib/sass/script/tree/node.rb | module Sass::Script::Tree
# The abstract superclass for SassScript parse tree nodes.
#
# Use \{#perform} to evaluate a parse tree.
class Node
# The options hash for this node.
#
# @return [{Symbol => Object}]
attr_reader :options
# The line of the document on which this node appeared.
#... | ruby | Apache-2.0 | 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-3.7.4/lib/sass/script/tree/string_interpolation.rb | .bundles_cache/ruby/2.6.0/gems/sass-3.7.4/lib/sass/script/tree/string_interpolation.rb | module Sass::Script::Tree
# A SassScript object representing `#{}` interpolation within a string.
#
# @see Interpolation
class StringInterpolation < Node
# @return [Literal] The string literal before this interpolation.
attr_reader :before
# @return [Node] The SassScript within the interpolation
... | ruby | Apache-2.0 | 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-3.7.4/lib/sass/script/tree/list_literal.rb | .bundles_cache/ruby/2.6.0/gems/sass-3.7.4/lib/sass/script/tree/list_literal.rb | module Sass::Script::Tree
# A parse tree node representing a list literal. When resolved, this returns a
# {Sass::Tree::Value::List}.
class ListLiteral < Node
# The parse nodes for members of this list.
#
# @return [Array<Node>]
attr_reader :elements
# The operator separating the values of 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/sass-3.7.4/lib/sass/script/tree/variable.rb | .bundles_cache/ruby/2.6.0/gems/sass-3.7.4/lib/sass/script/tree/variable.rb | module Sass::Script::Tree
# A SassScript parse node representing a variable.
class Variable < Node
# The name of the variable.
#
# @return [String]
attr_reader :name
# The underscored name of the variable.
#
# @return [String]
attr_reader :underscored_name
# @param name [String... | ruby | Apache-2.0 | 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-3.7.4/lib/sass/script/tree/operation.rb | .bundles_cache/ruby/2.6.0/gems/sass-3.7.4/lib/sass/script/tree/operation.rb | module Sass::Script::Tree
# A SassScript parse node representing a binary operation,
# such as `$a + $b` or `"foo" + 1`.
class Operation < Node
@@color_arithmetic_deprecation = Sass::Deprecation.new
@@unitless_equals_deprecation = Sass::Deprecation.new
attr_reader :operand1
attr_reader :operand2
... | ruby | Apache-2.0 | 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-3.7.4/lib/sass/tree/prop_node.rb | .bundles_cache/ruby/2.6.0/gems/sass-3.7.4/lib/sass/tree/prop_node.rb | module Sass::Tree
# A static node representing a CSS property.
#
# @see Sass::Tree
class PropNode < Node
# The name of the property,
# interspersed with {Sass::Script::Tree::Node}s
# representing `#{}`-interpolation.
# Any adjacent strings will be merged together.
#
# @return [Array<Stri... | ruby | Apache-2.0 | 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-3.7.4/lib/sass/tree/charset_node.rb | .bundles_cache/ruby/2.6.0/gems/sass-3.7.4/lib/sass/tree/charset_node.rb | module Sass::Tree
# A static node representing an unprocessed Sass `@charset` directive.
#
# @see Sass::Tree
class CharsetNode < Node
# The name of the charset.
#
# @return [String]
attr_accessor :name
# @param name [String] see \{#name}
def initialize(name)
@name = name
sup... | ruby | Apache-2.0 | 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-3.7.4/lib/sass/tree/css_import_node.rb | .bundles_cache/ruby/2.6.0/gems/sass-3.7.4/lib/sass/tree/css_import_node.rb | module Sass::Tree
# A node representing an `@import` rule that's importing plain CSS.
#
# @see Sass::Tree
class CssImportNode < DirectiveNode
# The URI being imported, either as a plain string or an interpolated
# script string.
#
# @return [String, Sass::Script::Tree::Node]
attr_accessor :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/sass-3.7.4/lib/sass/tree/for_node.rb | .bundles_cache/ruby/2.6.0/gems/sass-3.7.4/lib/sass/tree/for_node.rb | require 'sass/tree/node'
module Sass::Tree
# A dynamic node representing a Sass `@for` loop.
#
# @see Sass::Tree
class ForNode < Node
# The name of the loop variable.
# @return [String]
attr_reader :var
# The parse tree for the initial expression.
# @return [Script::Tree::Node]
attr_ac... | ruby | Apache-2.0 | 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-3.7.4/lib/sass/tree/content_node.rb | .bundles_cache/ruby/2.6.0/gems/sass-3.7.4/lib/sass/tree/content_node.rb | module Sass
module Tree
# A node representing the placement within a mixin of the include statement's content.
#
# @see Sass::Tree
class ContentNode < Node
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-3.7.4/lib/sass/tree/root_node.rb | .bundles_cache/ruby/2.6.0/gems/sass-3.7.4/lib/sass/tree/root_node.rb | module Sass
module Tree
# A static node that is the root node of the Sass document.
class RootNode < Node
# The Sass template from which this node was created
#
# @param template [String]
attr_reader :template
# @param template [String] The Sass template from which this node was... | ruby | Apache-2.0 | 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-3.7.4/lib/sass/tree/while_node.rb | .bundles_cache/ruby/2.6.0/gems/sass-3.7.4/lib/sass/tree/while_node.rb | require 'sass/tree/node'
module Sass::Tree
# A dynamic node representing a Sass `@while` loop.
#
# @see Sass::Tree
class WhileNode < Node
# The parse tree for the continuation expression.
# @return [Script::Tree::Node]
attr_accessor :expr
# @param expr [Script::Tree::Node] See \{#expr}
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-3.7.4/lib/sass/tree/supports_node.rb | .bundles_cache/ruby/2.6.0/gems/sass-3.7.4/lib/sass/tree/supports_node.rb | module Sass::Tree
# A static node representing a `@supports` rule.
#
# @see Sass::Tree
class SupportsNode < DirectiveNode
# The name, which may include a browser prefix.
#
# @return [String]
attr_accessor :name
# The supports condition.
#
# @return [Sass::Supports::Condition]
at... | ruby | Apache-2.0 | 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-3.7.4/lib/sass/tree/comment_node.rb | .bundles_cache/ruby/2.6.0/gems/sass-3.7.4/lib/sass/tree/comment_node.rb | require 'sass/tree/node'
module Sass::Tree
# A static node representing a Sass comment (silent or loud).
#
# @see Sass::Tree
class CommentNode < Node
# The text of the comment, not including `/*` and `*/`.
# Interspersed with {Sass::Script::Tree::Node}s representing `#{}`-interpolation
# if this is... | ruby | Apache-2.0 | 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-3.7.4/lib/sass/tree/trace_node.rb | .bundles_cache/ruby/2.6.0/gems/sass-3.7.4/lib/sass/tree/trace_node.rb | require 'sass/tree/node'
module Sass::Tree
# A solely static node left over after a mixin include or @content has been performed.
# Its sole purpose is to wrap exceptions to add to the backtrace.
#
# @see Sass::Tree
class TraceNode < Node
# The name of the trace entry to add.
#
# @return [String]... | ruby | Apache-2.0 | 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-3.7.4/lib/sass/tree/if_node.rb | .bundles_cache/ruby/2.6.0/gems/sass-3.7.4/lib/sass/tree/if_node.rb | require 'sass/tree/node'
module Sass::Tree
# A dynamic node representing a Sass `@if` statement.
#
# {IfNode}s are a little odd, in that they also represent `@else` and `@else if`s.
# This is done as a linked list:
# each {IfNode} has a link (\{#else}) to the next {IfNode}.
#
# @see Sass::Tree
class 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/sass-3.7.4/lib/sass/tree/media_node.rb | .bundles_cache/ruby/2.6.0/gems/sass-3.7.4/lib/sass/tree/media_node.rb | module Sass::Tree
# A static node representing a `@media` rule.
# `@media` rules behave differently from other directives
# in that when they're nested within rules,
# they bubble up to top-level.
#
# @see Sass::Tree
class MediaNode < DirectiveNode
# TODO: parse and cache the query immediately if it 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/sass-3.7.4/lib/sass/tree/directive_node.rb | .bundles_cache/ruby/2.6.0/gems/sass-3.7.4/lib/sass/tree/directive_node.rb | module Sass::Tree
# A static node representing an unprocessed Sass `@`-directive.
# Directives known to Sass, like `@for` and `@debug`,
# are handled by their own nodes;
# only CSS directives like `@media` and `@font-face` become {DirectiveNode}s.
#
# `@import` and `@charset` are special cases;
# they bec... | ruby | Apache-2.0 | 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-3.7.4/lib/sass/tree/node.rb | .bundles_cache/ruby/2.6.0/gems/sass-3.7.4/lib/sass/tree/node.rb | module Sass
# A namespace for nodes in the Sass parse tree.
#
# The Sass parse tree has three states: dynamic, static Sass, and static CSS.
#
# When it's first parsed, a Sass document is in the dynamic state.
# It has nodes for mixin definitions and `@for` loops and so forth,
# in addition to nodes for CS... | ruby | Apache-2.0 | 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-3.7.4/lib/sass/tree/keyframe_rule_node.rb | .bundles_cache/ruby/2.6.0/gems/sass-3.7.4/lib/sass/tree/keyframe_rule_node.rb | module Sass::Tree
class KeyframeRuleNode < Node
# The text of the directive after any interpolated SassScript has been resolved.
# Since this is only a static node, this is the only value property.
#
# @return [String]
attr_accessor :resolved_value
# @param resolved_value [String] See \{#reso... | ruby | Apache-2.0 | 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-3.7.4/lib/sass/tree/mixin_node.rb | .bundles_cache/ruby/2.6.0/gems/sass-3.7.4/lib/sass/tree/mixin_node.rb | require 'sass/tree/node'
module Sass::Tree
# A static node representing a mixin include.
# When in a static tree, the sole purpose is to wrap exceptions
# to add the mixin to the backtrace.
#
# @see Sass::Tree
class MixinNode < Node
# The name of the mixin.
# @return [String]
attr_reader :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-3.7.4/lib/sass/tree/extend_node.rb | .bundles_cache/ruby/2.6.0/gems/sass-3.7.4/lib/sass/tree/extend_node.rb | require 'sass/tree/node'
module Sass::Tree
# A static node representing an `@extend` directive.
#
# @see Sass::Tree
class ExtendNode < Node
# The parsed selector after interpolation has been resolved.
# Only set once {Tree::Visitors::Perform} has been run.
#
# @return [Selector::CommaSequence]
... | ruby | Apache-2.0 | 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-3.7.4/lib/sass/tree/return_node.rb | .bundles_cache/ruby/2.6.0/gems/sass-3.7.4/lib/sass/tree/return_node.rb | module Sass
module Tree
# A dynamic node representing returning from a function.
#
# @see Sass::Tree
class ReturnNode < Node
# The expression to return.
#
# @return [Script::Tree::Node]
attr_accessor :expr
# @param expr [Script::Tree::Node] The expression to return
... | ruby | Apache-2.0 | 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-3.7.4/lib/sass/tree/warn_node.rb | .bundles_cache/ruby/2.6.0/gems/sass-3.7.4/lib/sass/tree/warn_node.rb | module Sass
module Tree
# A dynamic node representing a Sass `@warn` statement.
#
# @see Sass::Tree
class WarnNode < Node
# The expression to print.
# @return [Script::Tree::Node]
attr_accessor :expr
# @param expr [Script::Tree::Node] The expression to print
def initiali... | ruby | Apache-2.0 | 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-3.7.4/lib/sass/tree/each_node.rb | .bundles_cache/ruby/2.6.0/gems/sass-3.7.4/lib/sass/tree/each_node.rb | require 'sass/tree/node'
module Sass::Tree
# A dynamic node representing a Sass `@each` loop.
#
# @see Sass::Tree
class EachNode < Node
# The names of the loop variables.
# @return [Array<String>]
attr_reader :vars
# The parse tree for the list.
# @return [Script::Tree::Node]
attr_acce... | ruby | Apache-2.0 | 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-3.7.4/lib/sass/tree/error_node.rb | .bundles_cache/ruby/2.6.0/gems/sass-3.7.4/lib/sass/tree/error_node.rb | module Sass
module Tree
# A dynamic node representing a Sass `@error` statement.
#
# @see Sass::Tree
class ErrorNode < Node
# The expression to print.
# @return [Script::Tree::Node]
attr_accessor :expr
# @param expr [Script::Tree::Node] The expression to print
def initia... | ruby | Apache-2.0 | 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-3.7.4/lib/sass/tree/rule_node.rb | .bundles_cache/ruby/2.6.0/gems/sass-3.7.4/lib/sass/tree/rule_node.rb | require 'pathname'
module Sass::Tree
# A static node representing a CSS rule.
#
# @see Sass::Tree
class RuleNode < Node
# The character used to include the parent selector
PARENT = '&'
# The CSS selector for this rule,
# interspersed with {Sass::Script::Tree::Node}s
# representing `#{}`-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/sass-3.7.4/lib/sass/tree/import_node.rb | .bundles_cache/ruby/2.6.0/gems/sass-3.7.4/lib/sass/tree/import_node.rb | module Sass
module Tree
# A static node that wraps the {Sass::Tree} for an `@import`ed file.
# It doesn't have a functional purpose other than to add the `@import`ed file
# to the backtrace if an error occurs.
class ImportNode < RootNode
# The name of the imported file as it appears in the Sass ... | ruby | Apache-2.0 | 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-3.7.4/lib/sass/tree/debug_node.rb | .bundles_cache/ruby/2.6.0/gems/sass-3.7.4/lib/sass/tree/debug_node.rb | module Sass
module Tree
# A dynamic node representing a Sass `@debug` statement.
#
# @see Sass::Tree
class DebugNode < Node
# The expression to print.
# @return [Script::Tree::Node]
attr_accessor :expr
# @param expr [Script::Tree::Node] The expression to print
def initia... | ruby | Apache-2.0 | 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-3.7.4/lib/sass/tree/at_root_node.rb | .bundles_cache/ruby/2.6.0/gems/sass-3.7.4/lib/sass/tree/at_root_node.rb | module Sass
module Tree
# A dynamic node representing an `@at-root` directive.
#
# An `@at-root` directive with a selector is converted to an \{AtRootNode}
# containing a \{RuleNode} at parse time.
#
# @see Sass::Tree
class AtRootNode < Node
# The query for this node (e.g. `(without:... | ruby | Apache-2.0 | 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-3.7.4/lib/sass/tree/function_node.rb | .bundles_cache/ruby/2.6.0/gems/sass-3.7.4/lib/sass/tree/function_node.rb | module Sass
module Tree
# A dynamic node representing a function definition.
#
# @see Sass::Tree
class FunctionNode < Node
# The name of the function.
# @return [String]
attr_reader :name
# The arguments to the function. Each element is a tuple
# containing the variable ... | ruby | Apache-2.0 | 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-3.7.4/lib/sass/tree/variable_node.rb | .bundles_cache/ruby/2.6.0/gems/sass-3.7.4/lib/sass/tree/variable_node.rb | module Sass
module Tree
# A dynamic node representing a variable definition.
#
# @see Sass::Tree
class VariableNode < Node
# The name of the variable.
# @return [String]
attr_reader :name
# The parse tree for the variable value.
# @return [Script::Tree::Node]
attr_... | ruby | Apache-2.0 | 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-3.7.4/lib/sass/tree/mixin_def_node.rb | .bundles_cache/ruby/2.6.0/gems/sass-3.7.4/lib/sass/tree/mixin_def_node.rb | module Sass
module Tree
# A dynamic node representing a mixin definition.
#
# @see Sass::Tree
class MixinDefNode < Node
# The mixin name.
# @return [String]
attr_reader :name
# The arguments for the mixin.
# Each element is a tuple containing the variable for argument
... | ruby | Apache-2.0 | 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-3.7.4/lib/sass/tree/visitors/set_options.rb | .bundles_cache/ruby/2.6.0/gems/sass-3.7.4/lib/sass/tree/visitors/set_options.rb | # A visitor for setting options on the Sass tree
class Sass::Tree::Visitors::SetOptions < Sass::Tree::Visitors::Base
# @param root [Tree::Node] The root node of the tree to visit.
# @param options [{Symbol => Object}] The options has to set.
def self.visit(root, options); new(options).send(:visit, root); end
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/sass-3.7.4/lib/sass/tree/visitors/convert.rb | .bundles_cache/ruby/2.6.0/gems/sass-3.7.4/lib/sass/tree/visitors/convert.rb | # A visitor for converting a Sass tree into a source string.
class Sass::Tree::Visitors::Convert < Sass::Tree::Visitors::Base
# Runs the visitor on a tree.
#
# @param root [Tree::Node] The root node of the Sass tree.
# @param options [{Symbol => Object}] An options hash (see {Sass::CSS#initialize}).
# @param ... | ruby | Apache-2.0 | 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-3.7.4/lib/sass/tree/visitors/check_nesting.rb | .bundles_cache/ruby/2.6.0/gems/sass-3.7.4/lib/sass/tree/visitors/check_nesting.rb | # A visitor for checking that all nodes are properly nested.
class Sass::Tree::Visitors::CheckNesting < Sass::Tree::Visitors::Base
protected
def initialize
@parents = []
@parent = nil
@current_mixin_def = nil
end
def visit(node)
if (error = @parent && (
try_send(@parent.class.invalid_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/sass-3.7.4/lib/sass/tree/visitors/deep_copy.rb | .bundles_cache/ruby/2.6.0/gems/sass-3.7.4/lib/sass/tree/visitors/deep_copy.rb | # A visitor for copying the full structure of a Sass tree.
class Sass::Tree::Visitors::DeepCopy < Sass::Tree::Visitors::Base
protected
def visit(node)
super(node.dup)
end
def visit_children(parent)
parent.children = parent.children.map {|c| visit(c)}
parent
end
def visit_debug(node)
node.... | ruby | Apache-2.0 | 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-3.7.4/lib/sass/tree/visitors/to_css.rb | .bundles_cache/ruby/2.6.0/gems/sass-3.7.4/lib/sass/tree/visitors/to_css.rb | # A visitor for converting a Sass tree into CSS.
class Sass::Tree::Visitors::ToCss < Sass::Tree::Visitors::Base
# The source mapping for the generated CSS file. This is only set if
# `build_source_mapping` is passed to the constructor and \{Sass::Engine#render} has been
# run.
attr_reader :source_mapping
# @... | ruby | Apache-2.0 | 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-3.7.4/lib/sass/tree/visitors/extend.rb | .bundles_cache/ruby/2.6.0/gems/sass-3.7.4/lib/sass/tree/visitors/extend.rb | # A visitor for performing selector inheritance on a static CSS tree.
#
# Destructively modifies the tree.
class Sass::Tree::Visitors::Extend < Sass::Tree::Visitors::Base
# Performs the given extensions on the static CSS tree based in `root`, then
# validates that all extends matched some selector.
#
# @param r... | ruby | Apache-2.0 | d43118c4af2adeb708d26658615319d6493e6077 | 2026-01-04T15:51:47.325668Z | false |
collabnix/kubelabs | https://github.com/collabnix/kubelabs/blob/d43118c4af2adeb708d26658615319d6493e6077/.bundles_cache/ruby/2.6.0/gems/sass-3.7.4/lib/sass/tree/visitors/base.rb | .bundles_cache/ruby/2.6.0/gems/sass-3.7.4/lib/sass/tree/visitors/base.rb | # Visitors are used to traverse the Sass parse tree.
# Visitors should extend {Visitors::Base},
# which provides a small amount of scaffolding for traversal.
module Sass::Tree::Visitors
# The abstract base class for Sass visitors.
# Visitors should extend this class,
# then implement `visit_*` methods for each no... | ruby | Apache-2.0 | 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-3.7.4/lib/sass/tree/visitors/cssize.rb | .bundles_cache/ruby/2.6.0/gems/sass-3.7.4/lib/sass/tree/visitors/cssize.rb | # A visitor for converting a static Sass tree into a static CSS tree.
class Sass::Tree::Visitors::Cssize < Sass::Tree::Visitors::Base
# @param root [Tree::Node] The root node of the tree to visit.
# @return [(Tree::Node, Sass::Util::SubsetMap)] The resulting tree of static nodes
# *and* the extensions defined 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/sass-3.7.4/lib/sass/tree/visitors/perform.rb | .bundles_cache/ruby/2.6.0/gems/sass-3.7.4/lib/sass/tree/visitors/perform.rb | # A visitor for converting a dynamic Sass tree into a static Sass tree.
class Sass::Tree::Visitors::Perform < Sass::Tree::Visitors::Base
@@function_name_deprecation = Sass::Deprecation.new
class << self
# @param root [Tree::Node] The root node of the tree to visit.
# @param environment [Sass::Environment] ... | ruby | Apache-2.0 | 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-remote-theme-0.4.3/lib/jekyll-remote-theme.rb | .bundles_cache/ruby/2.6.0/gems/jekyll-remote-theme-0.4.3/lib/jekyll-remote-theme.rb | # frozen_string_literal: true
require "jekyll"
require "fileutils"
require "tempfile"
require "addressable"
require "net/http"
require "zip"
$LOAD_PATH.unshift(File.dirname(__FILE__))
module Jekyll
module RemoteTheme
class DownloadError < StandardError; end
autoload :Downloader, "jekyll-remote-theme/down... | ruby | Apache-2.0 | 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-remote-theme-0.4.3/lib/jekyll-remote-theme/version.rb | .bundles_cache/ruby/2.6.0/gems/jekyll-remote-theme-0.4.3/lib/jekyll-remote-theme/version.rb | # frozen_string_literal: true
module Jekyll
module RemoteTheme
VERSION = "0.4.3"
end
end
| ruby | Apache-2.0 | d43118c4af2adeb708d26658615319d6493e6077 | 2026-01-04T15:51:47.325668Z | false |
collabnix/kubelabs | https://github.com/collabnix/kubelabs/blob/d43118c4af2adeb708d26658615319d6493e6077/.bundles_cache/ruby/2.6.0/gems/jekyll-remote-theme-0.4.3/lib/jekyll-remote-theme/munger.rb | .bundles_cache/ruby/2.6.0/gems/jekyll-remote-theme-0.4.3/lib/jekyll-remote-theme/munger.rb | # frozen_string_literal: true
module Jekyll
module RemoteTheme
class Munger
extend Forwardable
def_delegator :site, :config
attr_reader :site
def initialize(site)
@site = site
end
def munge!
return unless raw_theme
unless theme.valid?
Jekyl... | ruby | Apache-2.0 | 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-remote-theme-0.4.3/lib/jekyll-remote-theme/theme.rb | .bundles_cache/ruby/2.6.0/gems/jekyll-remote-theme-0.4.3/lib/jekyll-remote-theme/theme.rb | # frozen_string_literal: true
module Jekyll
module RemoteTheme
class Theme < Jekyll::Theme
OWNER_REGEX = %r!(?<owner>[a-z0-9\-]+)!i.freeze
NAME_REGEX = %r!(?<name>[a-z0-9\._\-]+)!i.freeze
REF_REGEX = %r!@(?<ref>[a-z0-9\._\-]+)!i.freeze # May be a branch, tag, or commit
THEME_REGEX = %r... | ruby | Apache-2.0 | d43118c4af2adeb708d26658615319d6493e6077 | 2026-01-04T15:51:47.325668Z | false |
collabnix/kubelabs | https://github.com/collabnix/kubelabs/blob/d43118c4af2adeb708d26658615319d6493e6077/.bundles_cache/ruby/2.6.0/gems/jekyll-remote-theme-0.4.3/lib/jekyll-remote-theme/mock_gemspec.rb | .bundles_cache/ruby/2.6.0/gems/jekyll-remote-theme-0.4.3/lib/jekyll-remote-theme/mock_gemspec.rb | # frozen_string_literal: true
module Jekyll
module RemoteTheme
# Jekyll::Theme expects the theme's gemspec to tell it things like
# the path to the theme and runtime dependencies. MockGemspec serves as a
# stand in, since remote themes don't need Gemspecs
class MockGemspec
extend Forwardable
... | ruby | Apache-2.0 | 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-remote-theme-0.4.3/lib/jekyll-remote-theme/downloader.rb | .bundles_cache/ruby/2.6.0/gems/jekyll-remote-theme-0.4.3/lib/jekyll-remote-theme/downloader.rb | # frozen_string_literal: true
module Jekyll
module RemoteTheme
class Downloader
PROJECT_URL = "https://github.com/benbalter/jekyll-remote-theme"
USER_AGENT = "Jekyll Remote Theme/#{VERSION} (+#{PROJECT_URL})"
MAX_FILE_SIZE = 1 * (1024 * 1024 * 1024) # Size in bytes (1 GB)
NET_HTTP_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/jekyll-sass-converter-1.5.2/lib/jekyll-sass-converter.rb | .bundles_cache/ruby/2.6.0/gems/jekyll-sass-converter-1.5.2/lib/jekyll-sass-converter.rb | # frozen_string_literal: true
require "jekyll-sass-converter/version"
require "jekyll/converters/scss"
require "jekyll/converters/sass"
module JekyllSassConverter
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-sass-converter-1.5.2/lib/jekyll-sass-converter/version.rb | .bundles_cache/ruby/2.6.0/gems/jekyll-sass-converter-1.5.2/lib/jekyll-sass-converter/version.rb | # frozen_string_literal: true
module JekyllSassConverter
VERSION = "1.5.2".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-sass-converter-1.5.2/lib/jekyll/converters/sass.rb | .bundles_cache/ruby/2.6.0/gems/jekyll-sass-converter-1.5.2/lib/jekyll/converters/sass.rb | # frozen_string_literal: true
require "sass"
require "jekyll/utils"
require "jekyll/converters/scss"
module Jekyll
module Converters
class Sass < Scss
safe true
priority :low
def matches(ext)
ext =~ %r!^\.sass$!i
end
def syntax
:sass
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/jekyll-sass-converter-1.5.2/lib/jekyll/converters/scss.rb | .bundles_cache/ruby/2.6.0/gems/jekyll-sass-converter-1.5.2/lib/jekyll/converters/scss.rb | # frozen_string_literal: true
require "sass"
require "jekyll/utils"
module Jekyll
module Converters
class Scss < Converter
BYTE_ORDER_MARK = %r!^\xEF\xBB\xBF!
SyntaxError = Class.new(ArgumentError)
safe true
priority :low
ALLOWED_STYLES = %w(nested expanded compact compressed).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/octokit-4.25.1/lib/octokit.rb | .bundles_cache/ruby/2.6.0/gems/octokit-4.25.1/lib/octokit.rb | # frozen_string_literal: true
require 'octokit/default'
require 'octokit/client'
require 'octokit/enterprise_admin_client'
require 'octokit/enterprise_management_console_client'
# Ruby toolkit for the GitHub API
module Octokit
class << self
include Octokit::Configurable
# API client based on configured opt... | ruby | Apache-2.0 | d43118c4af2adeb708d26658615319d6493e6077 | 2026-01-04T15:51:47.325668Z | false |
collabnix/kubelabs | https://github.com/collabnix/kubelabs/blob/d43118c4af2adeb708d26658615319d6493e6077/.bundles_cache/ruby/2.6.0/gems/octokit-4.25.1/lib/octokit/authentication.rb | .bundles_cache/ruby/2.6.0/gems/octokit-4.25.1/lib/octokit/authentication.rb | # frozen_string_literal: true
module Octokit
# Authentication methods for {Octokit::Client}
module Authentication
# In Faraday 2.x, the authorization middleware uses new interface
FARADAY_BASIC_AUTH_KEYS =
if Gem::Version.new(Faraday::VERSION) >= Gem::Version.new('2.0')
%i[authorization basic... | ruby | Apache-2.0 | d43118c4af2adeb708d26658615319d6493e6077 | 2026-01-04T15:51:47.325668Z | false |
collabnix/kubelabs | https://github.com/collabnix/kubelabs/blob/d43118c4af2adeb708d26658615319d6493e6077/.bundles_cache/ruby/2.6.0/gems/octokit-4.25.1/lib/octokit/repository.rb | .bundles_cache/ruby/2.6.0/gems/octokit-4.25.1/lib/octokit/repository.rb | # frozen_string_literal: true
module Octokit
# Class to parse GitHub repository owner and name from
# URLs and to generate URLs
class Repository
attr_accessor :owner, :name, :id
NAME_WITH_OWNER_PATTERN = %r{\A[\w.-]+/[\w.-]+\z}i.freeze
# Instantiate from a GitHub repository URL
#
# @return [... | ruby | Apache-2.0 | d43118c4af2adeb708d26658615319d6493e6077 | 2026-01-04T15:51:47.325668Z | false |
collabnix/kubelabs | https://github.com/collabnix/kubelabs/blob/d43118c4af2adeb708d26658615319d6493e6077/.bundles_cache/ruby/2.6.0/gems/octokit-4.25.1/lib/octokit/version.rb | .bundles_cache/ruby/2.6.0/gems/octokit-4.25.1/lib/octokit/version.rb | # frozen_string_literal: true
module Octokit
# Current major release.
# @return [Integer]
MAJOR = 4
# Current minor release.
# @return [Integer]
MINOR = 25
# Current patch level.
# @return [Integer]
PATCH = 1
# Full release version.
# @return [String]
VERSION = [MAJOR, MINOR, PATCH].join('.'... | ruby | Apache-2.0 | d43118c4af2adeb708d26658615319d6493e6077 | 2026-01-04T15:51:47.325668Z | false |
collabnix/kubelabs | https://github.com/collabnix/kubelabs/blob/d43118c4af2adeb708d26658615319d6493e6077/.bundles_cache/ruby/2.6.0/gems/octokit-4.25.1/lib/octokit/default.rb | .bundles_cache/ruby/2.6.0/gems/octokit-4.25.1/lib/octokit/default.rb | # frozen_string_literal: true
require 'octokit/middleware/follow_redirects'
require 'octokit/response/raise_error'
require 'octokit/response/feed_parser'
require 'octokit/version'
require 'octokit/warnable'
if Gem::Version.new(Faraday::VERSION) >= Gem::Version.new('2.0')
begin
require 'faraday/retry'
rescue 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/octokit-4.25.1/lib/octokit/gist.rb | .bundles_cache/ruby/2.6.0/gems/octokit-4.25.1/lib/octokit/gist.rb | # frozen_string_literal: true
module Octokit
# Class to parse and create Gist URLs
class Gist
# !@attribute id
# @return [String] Gist ID
attr_accessor :id
# Instantiate {Gist} object from Gist URL
# @ return [Gist]
def self.from_url(url)
Gist.new(URI.parse(url).path[1..-1])
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/octokit-4.25.1/lib/octokit/arguments.rb | .bundles_cache/ruby/2.6.0/gems/octokit-4.25.1/lib/octokit/arguments.rb | # frozen_string_literal: true
module Octokit
# Extracts options from method arguments
# @private
class Arguments < Array
attr_reader :options
def initialize(args)
@options = args.last.is_a?(::Hash) ? args.pop : {}
super(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/octokit-4.25.1/lib/octokit/preview.rb | .bundles_cache/ruby/2.6.0/gems/octokit-4.25.1/lib/octokit/preview.rb | # frozen_string_literal: true
module Octokit
# Default setup options for preview features
module Preview
PREVIEW_TYPES = {
applications_api: 'application/vnd.github.doctor-strange-preview+json',
branch_protection: 'application/vnd.github.luke-cage-preview+json',
commit_search: 'application/vn... | ruby | Apache-2.0 | d43118c4af2adeb708d26658615319d6493e6077 | 2026-01-04T15:51:47.325668Z | false |
collabnix/kubelabs | https://github.com/collabnix/kubelabs/blob/d43118c4af2adeb708d26658615319d6493e6077/.bundles_cache/ruby/2.6.0/gems/octokit-4.25.1/lib/octokit/rate_limit.rb | .bundles_cache/ruby/2.6.0/gems/octokit-4.25.1/lib/octokit/rate_limit.rb | # frozen_string_literal: true
module Octokit
# Class for API Rate Limit info
#
# @!attribute [w] limit
# @return [Integer] Max tries per rate limit period
# @!attribute [w] remaining
# @return [Integer] Remaining tries per rate limit period
# @!attribute [w] resets_at
# @return [Time] Indicates 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/octokit-4.25.1/lib/octokit/warnable.rb | .bundles_cache/ruby/2.6.0/gems/octokit-4.25.1/lib/octokit/warnable.rb | # frozen_string_literal: true
module Octokit
# Allows warnings to be suppressed via environment variable.
module Warnable
module_function
# Wrapper around Kernel#warn to print warnings unless
# OCTOKIT_SILENT is set to true.
#
# @return [nil]
def octokit_warn(*message)
warn message 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/octokit-4.25.1/lib/octokit/connection.rb | .bundles_cache/ruby/2.6.0/gems/octokit-4.25.1/lib/octokit/connection.rb | # frozen_string_literal: true
require 'sawyer'
require 'octokit/authentication'
module Octokit
# Network layer for API clients.
module Connection
include Octokit::Authentication
# Header keys that can be passed in options hash to {#get},{#head}
CONVENIENCE_HEADERS = Set.new(%i[accept content_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/octokit-4.25.1/lib/octokit/organization.rb | .bundles_cache/ruby/2.6.0/gems/octokit-4.25.1/lib/octokit/organization.rb | # frozen_string_literal: true
module Octokit
# GitHub organization class to generate API path urls
class Organization
# Get the api path for an organization
#
# @param org [String, Integer] GitHub organization login or id
# @return [String] Organization Api path
def self.path(org)
case 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/octokit-4.25.1/lib/octokit/client.rb | .bundles_cache/ruby/2.6.0/gems/octokit-4.25.1/lib/octokit/client.rb | # frozen_string_literal: true
require 'octokit/connection'
require 'octokit/warnable'
require 'octokit/arguments'
require 'octokit/repo_arguments'
require 'octokit/configurable'
require 'octokit/authentication'
require 'octokit/gist'
require 'octokit/rate_limit'
require 'octokit/repository'
require 'octokit/user'
requ... | ruby | Apache-2.0 | d43118c4af2adeb708d26658615319d6493e6077 | 2026-01-04T15:51:47.325668Z | false |
collabnix/kubelabs | https://github.com/collabnix/kubelabs/blob/d43118c4af2adeb708d26658615319d6493e6077/.bundles_cache/ruby/2.6.0/gems/octokit-4.25.1/lib/octokit/enterprise_management_console_client.rb | .bundles_cache/ruby/2.6.0/gems/octokit-4.25.1/lib/octokit/enterprise_management_console_client.rb | # frozen_string_literal: true
require 'octokit/configurable'
require 'octokit/connection'
require 'octokit/warnable'
require 'octokit/enterprise_management_console_client/management_console'
module Octokit
# EnterpriseManagementConsoleClient is only meant to be used by GitHub Enterprise Admins
# and provides acce... | ruby | Apache-2.0 | d43118c4af2adeb708d26658615319d6493e6077 | 2026-01-04T15:51:47.325668Z | false |
collabnix/kubelabs | https://github.com/collabnix/kubelabs/blob/d43118c4af2adeb708d26658615319d6493e6077/.bundles_cache/ruby/2.6.0/gems/octokit-4.25.1/lib/octokit/enterprise_admin_client.rb | .bundles_cache/ruby/2.6.0/gems/octokit-4.25.1/lib/octokit/enterprise_admin_client.rb | # frozen_string_literal: true
require 'octokit/connection'
require 'octokit/configurable'
require 'octokit/warnable'
require 'octokit/enterprise_admin_client/admin_stats'
require 'octokit/enterprise_admin_client/license'
require 'octokit/enterprise_admin_client/orgs'
require 'octokit/enterprise_admin_client/search_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/octokit-4.25.1/lib/octokit/configurable.rb | .bundles_cache/ruby/2.6.0/gems/octokit-4.25.1/lib/octokit/configurable.rb | # frozen_string_literal: true
module Octokit
# Configuration options for {Client}, defaulting to values
# in {Default}
module Configurable
# @!attribute [w] access_token
# @see https://developer.github.com/v3/oauth/
# @return [String] OAuth2 access token for authentication
# @!attribute api_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/octokit-4.25.1/lib/octokit/error.rb | .bundles_cache/ruby/2.6.0/gems/octokit-4.25.1/lib/octokit/error.rb | # frozen_string_literal: true
module Octokit
# Custom error class for rescuing from all GitHub errors
class Error < StandardError
attr_reader :context
# Returns the appropriate Octokit::Error subclass based
# on status and response message
#
# @param [Hash] response HTTP response
# @return ... | ruby | Apache-2.0 | d43118c4af2adeb708d26658615319d6493e6077 | 2026-01-04T15:51:47.325668Z | false |
collabnix/kubelabs | https://github.com/collabnix/kubelabs/blob/d43118c4af2adeb708d26658615319d6493e6077/.bundles_cache/ruby/2.6.0/gems/octokit-4.25.1/lib/octokit/repo_arguments.rb | .bundles_cache/ruby/2.6.0/gems/octokit-4.25.1/lib/octokit/repo_arguments.rb | # frozen_string_literal: true
module Octokit
# Class to extract options from Ruby arguments for
# Repository-related methods
class RepoArguments < Arguments
# !@attribute [r] repo
# @return [Repository]
attr_reader :repo
def initialize(args)
arguments = super(args)
@repo = argument... | ruby | Apache-2.0 | d43118c4af2adeb708d26658615319d6493e6077 | 2026-01-04T15:51:47.325668Z | false |
collabnix/kubelabs | https://github.com/collabnix/kubelabs/blob/d43118c4af2adeb708d26658615319d6493e6077/.bundles_cache/ruby/2.6.0/gems/octokit-4.25.1/lib/octokit/user.rb | .bundles_cache/ruby/2.6.0/gems/octokit-4.25.1/lib/octokit/user.rb | # frozen_string_literal: true
module Octokit
# GitHub user class to generate API path urls
class User
# Get the api path for a user
#
# @param user [String, Integer] GitHub user login or id
# @return [String] User Api path
def self.path(user)
case user
when String
"users/#{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/octokit-4.25.1/lib/octokit/middleware/follow_redirects.rb | .bundles_cache/ruby/2.6.0/gems/octokit-4.25.1/lib/octokit/middleware/follow_redirects.rb | # frozen_string_literal: true
require 'faraday'
require 'set'
# Adapted from lostisland/faraday_middleware. Trimmed down to just the logic
# that we need for octokit.rb.
#
# https://github.com/lostisland/faraday_middleware/blob/138766e/lib/faraday_middleware/response/follow_redirects.rb
module Octokit
module Middl... | ruby | Apache-2.0 | d43118c4af2adeb708d26658615319d6493e6077 | 2026-01-04T15:51:47.325668Z | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.