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/octokit-4.25.1/lib/octokit/enterprise_admin_client/users.rb | .bundles_cache/ruby/2.6.0/gems/octokit-4.25.1/lib/octokit/enterprise_admin_client/users.rb | # frozen_string_literal: true
module Octokit
class EnterpriseAdminClient
# Methods for the Enterprise User Administration API
#
# @see https://developer.github.com/enterprise/v3/enterprise-admin/users/
module Users
# Create a new user.
#
# @param login [String] The user's username.
... | ruby | Apache-2.0 | 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/license.rb | .bundles_cache/ruby/2.6.0/gems/octokit-4.25.1/lib/octokit/enterprise_admin_client/license.rb | # frozen_string_literal: true
module Octokit
class EnterpriseAdminClient
# Methods for the Enterprise License API
#
# @see https://developer.github.com/v3/enterprise-admin/license/
module License
# Get information about the Enterprise license
#
# @return [Sawyer::Resource] The licen... | ruby | Apache-2.0 | 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/admin_stats.rb | .bundles_cache/ruby/2.6.0/gems/octokit-4.25.1/lib/octokit/enterprise_admin_client/admin_stats.rb | # frozen_string_literal: true
module Octokit
class EnterpriseAdminClient
# Methods for the Enterprise Admin Stats API
#
# @see https://developer.github.com/v3/enterprise-admin/admin_stats/
module AdminStats
# Get all available stats
#
# @return [Sawyer::Resource] All available stats... | ruby | Apache-2.0 | 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/search_indexing.rb | .bundles_cache/ruby/2.6.0/gems/octokit-4.25.1/lib/octokit/enterprise_admin_client/search_indexing.rb | # frozen_string_literal: true
module Octokit
class EnterpriseAdminClient
# Methods for the Enterprise Search Indexing API
#
# @see https://developer.github.com/v3/enterprise-admin/search_indexing/
module SearchIndexing
# Queue a User or Organization to be indexed
#
# @param user [St... | ruby | Apache-2.0 | 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/orgs.rb | .bundles_cache/ruby/2.6.0/gems/octokit-4.25.1/lib/octokit/enterprise_admin_client/orgs.rb | # frozen_string_literal: true
module Octokit
class EnterpriseAdminClient
# Methods for the Enterprise Orgs API
#
# @see https://developer.github.com/v3/enterprise-admin/orgs/
module Orgs
# Create a new organization on the instance.
#
# @param login [String] The organization's userna... | ruby | Apache-2.0 | 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/issues.rb | .bundles_cache/ruby/2.6.0/gems/octokit-4.25.1/lib/octokit/client/issues.rb | # frozen_string_literal: true
module Octokit
class Client
# Methods for the Issues API
#
# @see https://developer.github.com/v3/issues/
module Issues
# List issues for the authenticated user or repository
#
# @param repository [Integer, String, Repository, Hash] A GitHub repository.... | ruby | Apache-2.0 | 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/releases.rb | .bundles_cache/ruby/2.6.0/gems/octokit-4.25.1/lib/octokit/client/releases.rb | # frozen_string_literal: true
module Octokit
class Client
# Methods for the Releases API
#
# @see https://developer.github.com/v3/repos/releases/
module Releases
# List releases for a repository
#
# @param repo [Integer, String, Repository, Hash] A GitHub repository
# @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/client/events.rb | .bundles_cache/ruby/2.6.0/gems/octokit-4.25.1/lib/octokit/client/events.rb | # frozen_string_literal: true
module Octokit
class Client
# Method for the Events API
#
# @see https://developer.github.com/v3/activity/events/
# @see https://developer.github.com/v3/issues/events/
module Events
# List all public events for GitHub
#
# @return [Array<Sawyer::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/octokit-4.25.1/lib/octokit/client/users.rb | .bundles_cache/ruby/2.6.0/gems/octokit-4.25.1/lib/octokit/client/users.rb | # frozen_string_literal: true
module Octokit
class Client
# Methods for the Users API
#
# @see https://developer.github.com/v3/users/
module Users
# List all GitHub users
#
# This provides a list of every user, in the order that they signed up
# for GitHub.
#
# @pa... | ruby | Apache-2.0 | 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/repository_invitations.rb | .bundles_cache/ruby/2.6.0/gems/octokit-4.25.1/lib/octokit/client/repository_invitations.rb | # frozen_string_literal: true
module Octokit
class Client
# Methods for the Repository Invitations API
#
# @see https://developer.github.com/v3/repos/invitations/
module RepositoryInvitations
# Invite a user to a repository
#
# Requires authenticated client
#
# @param 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/octokit-4.25.1/lib/octokit/client/refs.rb | .bundles_cache/ruby/2.6.0/gems/octokit-4.25.1/lib/octokit/client/refs.rb | # frozen_string_literal: true
module Octokit
class Client
# Methods for References for Git Data API
#
# @see https://developer.github.com/v3/git/refs/
module Refs
# List all refs for a given user and repo
#
# @param repo [Integer, String, Repository, Hash] A GitHub repository
... | ruby | Apache-2.0 | 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/meta.rb | .bundles_cache/ruby/2.6.0/gems/octokit-4.25.1/lib/octokit/client/meta.rb | # frozen_string_literal: true
module Octokit
class Client
# Methods for the Meta API
#
# @see https://developer.github.com/v3/meta/
module Meta
# Get meta information about GitHub.com, the service.
# @see https://developer.github.com/v3/meta/#meta
# @return [Sawyer::Resource] Hash 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/client/milestones.rb | .bundles_cache/ruby/2.6.0/gems/octokit-4.25.1/lib/octokit/client/milestones.rb | # frozen_string_literal: true
module Octokit
class Client
# Methods for the Issues Milestones API
#
# @see https://developer.github.com/v3/issues/milestones/
module Milestones
# List milestones for a repository
#
# @param repository [Integer, String, Repository, Hash] A GitHub repos... | ruby | Apache-2.0 | 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/authorizations.rb | .bundles_cache/ruby/2.6.0/gems/octokit-4.25.1/lib/octokit/client/authorizations.rb | # frozen_string_literal: true
module Octokit
class Client
# Methods for the Authorizations API
#
# @see https://developer.github.com/v3/oauth_authorizations/#oauth-authorizations-api
module Authorizations
# List the authenticated user's authorizations
#
# API for users to manage 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/octokit-4.25.1/lib/octokit/client/hooks.rb | .bundles_cache/ruby/2.6.0/gems/octokit-4.25.1/lib/octokit/client/hooks.rb | # frozen_string_literal: true
module Octokit
class Client
# Methods for the Hooks API
module Hooks
# List all Service Hooks supported by GitHub
#
# @return [Sawyer::Resource] A list of all hooks on GitHub
# @see https://developer.github.com/v3/repos/hooks/#services
# @example 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/octokit-4.25.1/lib/octokit/client/legacy_search.rb | .bundles_cache/ruby/2.6.0/gems/octokit-4.25.1/lib/octokit/client/legacy_search.rb | # frozen_string_literal: true
module Octokit
class Client
# Methods for the Legacy Search API
#
# @see https://developer.github.com/v3/search/
module LegacySearch
# Legacy repository search
#
# @see https://developer.github.com/v3/search/#search-repositories
# @param q [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/octokit-4.25.1/lib/octokit/client/actions_workflows.rb | .bundles_cache/ruby/2.6.0/gems/octokit-4.25.1/lib/octokit/client/actions_workflows.rb | # frozen_string_literal: true
module Octokit
class Client
# Methods for the Actions Workflows API
#
# @see https://developer.github.com/v3/actions/workflows
module ActionsWorkflows
# Get the workflows in a repository
#
# @param repo [Integer, String, Repository, Hash] A GitHub repos... | ruby | Apache-2.0 | 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/contents.rb | .bundles_cache/ruby/2.6.0/gems/octokit-4.25.1/lib/octokit/client/contents.rb | # frozen_string_literal: true
require 'base64'
module Octokit
class Client
# Methods for the Repo Contents API
#
# @see https://developer.github.com/v3/repos/contents/
module Contents
# Receive the default Readme for a repository
#
# @param repo [Integer, String, Repository, 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/octokit-4.25.1/lib/octokit/client/objects.rb | .bundles_cache/ruby/2.6.0/gems/octokit-4.25.1/lib/octokit/client/objects.rb | # frozen_string_literal: true
module Octokit
class Client
# Methods for the Git Data API
#
# @see https://developer.github.com/v3/git/
module Objects
# Get a single tree, fetching information about its root-level objects
#
# Pass <tt>:recursive => true</tt> in <tt>options</tt> to fe... | ruby | Apache-2.0 | 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/commit_pulls.rb | .bundles_cache/ruby/2.6.0/gems/octokit-4.25.1/lib/octokit/client/commit_pulls.rb | # frozen_string_literal: true
module Octokit
class Client
# Methods for the Commit Pulls API
#
# @see https://developer.github.com/v3/repos/comments/
module CommitPulls
# List pulls for a single commit
#
# @param repo [Integer, String, Hash, Repository] A GitHub repository
# @... | ruby | Apache-2.0 | 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/organizations.rb | .bundles_cache/ruby/2.6.0/gems/octokit-4.25.1/lib/octokit/client/organizations.rb | # frozen_string_literal: true
module Octokit
class Client
# Methods for the Organizations API
#
# @see https://developer.github.com/v3/orgs/
module Organizations
# Get an organization
#
# @param org [String, Integer] Organization GitHub login or id.
# @return [Sawyer::Resource... | 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/octokit-4.25.1/lib/octokit/client/statuses.rb | .bundles_cache/ruby/2.6.0/gems/octokit-4.25.1/lib/octokit/client/statuses.rb | # frozen_string_literal: true
module Octokit
class Client
# Methods for the Commit Statuses API
#
# @see https://developer.github.com/v3/repos/statuses/
module Statuses
# List all statuses for a given commit
#
# @param repo [Integer, String, Repository, Hash] A GitHub repository
... | ruby | Apache-2.0 | 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/reactions.rb | .bundles_cache/ruby/2.6.0/gems/octokit-4.25.1/lib/octokit/client/reactions.rb | # frozen_string_literal: true
module Octokit
class Client
# Methods for the Reacions API
#
# @see https://developer.github.com/v3/reactions/
module Reactions
# List reactions for a commit comment
#
# @param repo [Integer, String, Hash, Repository] A GitHub repository
# @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/octokit-4.25.1/lib/octokit/client/traffic.rb | .bundles_cache/ruby/2.6.0/gems/octokit-4.25.1/lib/octokit/client/traffic.rb | # frozen_string_literal: true
module Octokit
class Client
# Methods for the Traffic API
#
# @see https://developer.github.com/v3/repos/traffic/
module Traffic
# Get the top 10 referrers over the last 14 days
#
# @param repo [Integer, String, Repository, Hash] A GitHub repository
... | ruby | Apache-2.0 | 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/stats.rb | .bundles_cache/ruby/2.6.0/gems/octokit-4.25.1/lib/octokit/client/stats.rb | # frozen_string_literal: true
module Octokit
class Client
# Methods for the Repository Statistics API
#
# @see https://developer.github.com/v3/repos/statistics/
module Stats
# Get contributors list with additions, deletions, and commit counts
#
# @param repo [Integer, String, 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/octokit-4.25.1/lib/octokit/client/emojis.rb | .bundles_cache/ruby/2.6.0/gems/octokit-4.25.1/lib/octokit/client/emojis.rb | # frozen_string_literal: true
module Octokit
class Client
# Methods for the Emojis API
module Emojis
# List all emojis used on GitHub
#
# @return [Sawyer::Resource] A list of all emojis on GitHub
# @see https://developer.github.com/v3/emojis/#emojis
# @example List all emojis
... | ruby | Apache-2.0 | 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/rate_limit.rb | .bundles_cache/ruby/2.6.0/gems/octokit-4.25.1/lib/octokit/client/rate_limit.rb | # frozen_string_literal: true
module Octokit
class Client
# Methods for API rate limiting info
#
# @see https://developer.github.com/v3/#rate-limiting
module RateLimit
# Get rate limit info from last response if available
# or make a new request to fetch rate limit
#
# @see ht... | ruby | Apache-2.0 | 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/search.rb | .bundles_cache/ruby/2.6.0/gems/octokit-4.25.1/lib/octokit/client/search.rb | # frozen_string_literal: true
module Octokit
class Client
# Methods for the Search API
#
# @see https://developer.github.com/v3/search/
module Search
# Search code
#
# @param query [String] Search term and qualifiers
# @param options [Hash] Sort and pagination 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/octokit-4.25.1/lib/octokit/client/projects.rb | .bundles_cache/ruby/2.6.0/gems/octokit-4.25.1/lib/octokit/client/projects.rb | # frozen_string_literal: true
module Octokit
class Client
# Methods for Projects API
#
# @see https://developer.github.com/v3/repos/projects
module Projects
# List projects for a repository
#
# Requires authenticated client
#
# @param repo [Integer, String, Repository, 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/octokit-4.25.1/lib/octokit/client/downloads.rb | .bundles_cache/ruby/2.6.0/gems/octokit-4.25.1/lib/octokit/client/downloads.rb | # frozen_string_literal: true
module Octokit
class Client
# Methods for the Repo Downloads API
#
# @see https://developer.github.com/v3/repos/downloads/
module Downloads
# List available downloads for a repository
#
# @param repo [Integer, String, Repository, Hash] A Github Reposito... | ruby | Apache-2.0 | 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/deployments.rb | .bundles_cache/ruby/2.6.0/gems/octokit-4.25.1/lib/octokit/client/deployments.rb | # frozen_string_literal: true
module Octokit
class Client
# Methods for the Deployments API
#
# @see https://developer.github.com/v3/repos/commits/deployments/
module Deployments
# Fetch a single deployment for a repository
#
# @param repo [Integer, String, Repository, Hash] A GitHu... | ruby | Apache-2.0 | 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/feeds.rb | .bundles_cache/ruby/2.6.0/gems/octokit-4.25.1/lib/octokit/client/feeds.rb | # frozen_string_literal: true
module Octokit
class Client
# Methods for the Feeds API
#
# @see https://developer.github.com/v3/activity/feeds/
module Feeds
# List Feeds
#
# The feeds returned depend on authentication, see the GitHub API docs
# for more information.
#
... | ruby | Apache-2.0 | 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/source_import.rb | .bundles_cache/ruby/2.6.0/gems/octokit-4.25.1/lib/octokit/client/source_import.rb | # frozen_string_literal: true
module Octokit
class Client
# Methods for the Source Import API
#
# @see https://developer.github.com/v3/migration/source_imports
module SourceImport
# Start a source import to a GitHub repository using GitHub Importer.
#
# @overload start_source_import... | ruby | Apache-2.0 | 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/pub_sub_hubbub.rb | .bundles_cache/ruby/2.6.0/gems/octokit-4.25.1/lib/octokit/client/pub_sub_hubbub.rb | # frozen_string_literal: true
module Octokit
class Client
# Methods for the PubSubHubbub API
#
# @see https://developer.github.com/v3/repos/hooks/#pubsubhubbub
module PubSubHubbub
# Subscribe to a pubsub topic
#
# @param topic [String] A recoginized and supported pubsub topic
... | ruby | Apache-2.0 | 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/pull_requests.rb | .bundles_cache/ruby/2.6.0/gems/octokit-4.25.1/lib/octokit/client/pull_requests.rb | # frozen_string_literal: true
module Octokit
class Client
# Methods for the Pull Requests API
#
# @see https://developer.github.com/v3/pulls/
module PullRequests
# List pull requests for a repository
#
# @overload pull_requests(repo, options)
# @param repo [Integer, 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/octokit-4.25.1/lib/octokit/client/licenses.rb | .bundles_cache/ruby/2.6.0/gems/octokit-4.25.1/lib/octokit/client/licenses.rb | # frozen_string_literal: true
module Octokit
class Client
# Methods for licenses API
#
module Licenses
# List all licenses
#
# @see https://developer.github.com/v3/licenses/#list-all-licenses
# @return [Array<Sawyer::Resource>] A list of licenses
# @example
# Octokit... | ruby | Apache-2.0 | 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/repositories.rb | .bundles_cache/ruby/2.6.0/gems/octokit-4.25.1/lib/octokit/client/repositories.rb | # frozen_string_literal: true
module Octokit
class Client
# Methods for the Repositories API
#
# @see https://developer.github.com/v3/repos/
module Repositories
# Check if a repository exists
#
# @see https://developer.github.com/v3/repos/#get
# @param repo [Integer, String, H... | 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/octokit-4.25.1/lib/octokit/client/actions_secrets.rb | .bundles_cache/ruby/2.6.0/gems/octokit-4.25.1/lib/octokit/client/actions_secrets.rb | # frozen_string_literal: true
module Octokit
class Client
# Methods for the Actions Secrets API
#
# @see https://developer.github.com/v3/actions/secrets/
module ActionsSecrets
# Get public key for secrets encryption
#
# @param repo [Integer, String, Hash, Repository] A GitHub reposi... | ruby | Apache-2.0 | 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/commit_branches.rb | .bundles_cache/ruby/2.6.0/gems/octokit-4.25.1/lib/octokit/client/commit_branches.rb | # frozen_string_literal: true
module Octokit
class Client
# Methods for the Branches for HEAD API
#
# @see https://developer.github.com/v3/repos/commits/
module CommitBranches
# List branches for a single HEAD commit
#
# @param repo [Integer, String, Hash, Repository] A GitHub repos... | ruby | Apache-2.0 | 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/markdown.rb | .bundles_cache/ruby/2.6.0/gems/octokit-4.25.1/lib/octokit/client/markdown.rb | # frozen_string_literal: true
module Octokit
class Client
# Methods for the Markdown API
#
# @see https://developer.github.com/v3/markdown/
module Markdown
# Render an arbitrary Markdown document
#
# @param text [String] Markdown source
# @option options [String] (optional) :m... | ruby | Apache-2.0 | d43118c4af2adeb708d26658615319d6493e6077 | 2026-01-04T15:51:47.325668Z | false |
collabnix/kubelabs | https://github.com/collabnix/kubelabs/blob/d43118c4af2adeb708d26658615319d6493e6077/.bundles_cache/ruby/2.6.0/gems/octokit-4.25.1/lib/octokit/client/service_status.rb | .bundles_cache/ruby/2.6.0/gems/octokit-4.25.1/lib/octokit/client/service_status.rb | # frozen_string_literal: true
module Octokit
class Client
# Methods for the GitHub Status API
#
# @see https://status.github.com/api
module ServiceStatus
# Root for status API
# @private
SUMMARY_ROOT = 'https://www.githubstatus.com/api/v2/summary.json'
STATUS_ROOT = 'ht... | ruby | Apache-2.0 | 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/say.rb | .bundles_cache/ruby/2.6.0/gems/octokit-4.25.1/lib/octokit/client/say.rb | # frozen_string_literal: true
module Octokit
class Client
# Methods for the unpublished Octocat API
module Say
# Return a nifty ASCII Octocat with GitHub wisdom
# or your own
#
# @return [String]
def say(text = nil, options = {})
options[:s] = text if text
get '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/octokit-4.25.1/lib/octokit/client/commit_comments.rb | .bundles_cache/ruby/2.6.0/gems/octokit-4.25.1/lib/octokit/client/commit_comments.rb | # frozen_string_literal: true
module Octokit
class Client
# Methods for the Commit Comments API
#
# @see https://developer.github.com/v3/repos/comments/
module CommitComments
# List all commit comments
#
# @param repo [Integer, String, Hash, Repository] A GitHub repository
# @... | ruby | Apache-2.0 | 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/gitignore.rb | .bundles_cache/ruby/2.6.0/gems/octokit-4.25.1/lib/octokit/client/gitignore.rb | # frozen_string_literal: true
module Octokit
class Client
# Methods for the Gitignore API
#
# @see https://developer.github.com/v3/gitignore/
module Gitignore
# Listing available gitignore templates.
#
# These templates can be passed option when creating a repository.
#
... | ruby | Apache-2.0 | 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/reviews.rb | .bundles_cache/ruby/2.6.0/gems/octokit-4.25.1/lib/octokit/client/reviews.rb | # frozen_string_literal: true
module Octokit
class Client
# Methods for the Reviews API
#
# @see https://developer.github.com/v3/pulls/reviews/
module Reviews
# List reviews on a pull request
#
# @param repo [Integer, String, Hash, Repository] A GitHub repository
# @param numb... | ruby | Apache-2.0 | 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/notifications.rb | .bundles_cache/ruby/2.6.0/gems/octokit-4.25.1/lib/octokit/client/notifications.rb | # frozen_string_literal: true
module Octokit
class Client
# Methods for the Notifications API
#
# @see https://developer.github.com/v3/activity/notifications/
module Notifications
# List your notifications
#
# @param options [Hash] Optional parameters
# @option options [Boolea... | ruby | Apache-2.0 | 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/gists.rb | .bundles_cache/ruby/2.6.0/gems/octokit-4.25.1/lib/octokit/client/gists.rb | # frozen_string_literal: true
module Octokit
class Client
# Methods for the Gists API
#
# @see https://developer.github.com/v3/gists/
module Gists
# List gists for a user or all public gists
#
# @param user [String] An optional user to filter listing
# @return [Array<Sawyer::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/octokit-4.25.1/lib/octokit/client/pages.rb | .bundles_cache/ruby/2.6.0/gems/octokit-4.25.1/lib/octokit/client/pages.rb | # frozen_string_literal: true
module Octokit
class Client
# Methods for the Pages API
#
# @see https://developer.github.com/v3/repos/pages/
module Pages
# List Pages information for a repository
#
# @param repo [Integer, String, Repository, Hash] A GitHub repository
# @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/client/apps.rb | .bundles_cache/ruby/2.6.0/gems/octokit-4.25.1/lib/octokit/client/apps.rb | # frozen_string_literal: true
module Octokit
class Client
# Methods for the Apps API
module Apps
# Get the authenticated App
#
# @param options [Hash] A customizable set of options
#
# @see https://developer.github.com/v3/apps/#get-the-authenticated-app
#
# @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/client/commits.rb | .bundles_cache/ruby/2.6.0/gems/octokit-4.25.1/lib/octokit/client/commits.rb | # frozen_string_literal: true
require 'date'
module Octokit
class Client
# Methods for the Commits API
#
# @see https://developer.github.com/v3/repos/commits/
module Commits
# List commits
#
# @overload commits(repo, sha_or_branch, options = {})
# @deprecated
# @par... | ruby | Apache-2.0 | 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/actions_workflow_runs.rb | .bundles_cache/ruby/2.6.0/gems/octokit-4.25.1/lib/octokit/client/actions_workflow_runs.rb | # frozen_string_literal: true
module Octokit
class Client
module ActionsWorkflowRuns
# List all runs for a repository workflow
#
# @param repo [Integer, String, Repository, Hash] A GitHub repository
# @param workflow [Integer, String] Id or file name of the workflow
# @option 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/octokit-4.25.1/lib/octokit/client/community_profile.rb | .bundles_cache/ruby/2.6.0/gems/octokit-4.25.1/lib/octokit/client/community_profile.rb | # frozen_string_literal: true
module Octokit
class Client
# Methods for the Community Profile API
#
# @see https://developer.github.com/v3/repos/community/
module CommunityProfile
# Get community profile metrics for a repository
#
# @param repo [Integer, String, Hash, Repository] A ... | ruby | Apache-2.0 | 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/labels.rb | .bundles_cache/ruby/2.6.0/gems/octokit-4.25.1/lib/octokit/client/labels.rb | # frozen_string_literal: true
require 'erb'
module Octokit
class Client
# Methods for the Issue Labels API
#
# @see https://developer.github.com/v3/issues/labels/
module Labels
# List available labels for a repository
#
# @param repo [Integer, String, Repository, Hash] A GitHub rep... | ruby | Apache-2.0 | 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/oauth_applications.rb | .bundles_cache/ruby/2.6.0/gems/octokit-4.25.1/lib/octokit/client/oauth_applications.rb | # frozen_string_literal: true
module Octokit
class Client
# Methods for the OauthApplications API
#
# @see https://developer.github.com/v3/apps/oauth_applications
module OauthApplications
# Check if a token is valid.
#
# Applications can check if a token is valid without rate limits... | ruby | Apache-2.0 | 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/checks.rb | .bundles_cache/ruby/2.6.0/gems/octokit-4.25.1/lib/octokit/client/checks.rb | # frozen_string_literal: true
module Octokit
class Client
# Methods for the Checks API
#
# @see https://developer.github.com/v3/checks/
module Checks
# Methods for Check Runs
#
# @see https://developer.github.com/v3/checks/runs/
# Create a check run
#
# @param rep... | ruby | Apache-2.0 | 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/marketplace.rb | .bundles_cache/ruby/2.6.0/gems/octokit-4.25.1/lib/octokit/client/marketplace.rb | # frozen_string_literal: true
module Octokit
class Client
# Methods for the Marketplace Listing API
#
# @see https://developer.github.com/v3/apps/marketplace/
module Marketplace
# List all plans for an app's marketplace listing
#
# @param options [Hash] A customizable set of 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/octokit-4.25.1/lib/octokit/enterprise_management_console_client/management_console.rb | .bundles_cache/ruby/2.6.0/gems/octokit-4.25.1/lib/octokit/enterprise_management_console_client/management_console.rb | # frozen_string_literal: true
module Octokit
class EnterpriseManagementConsoleClient
# Methods for the Enterprise Management Console API
#
# @see https://developer.github.com/v3/enterprise-admin/management_console/
module ManagementConsole
# Uploads a license for the first time
#
# ... | ruby | Apache-2.0 | 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/response/raise_error.rb | .bundles_cache/ruby/2.6.0/gems/octokit-4.25.1/lib/octokit/response/raise_error.rb | # frozen_string_literal: true
require 'octokit/response/base_middleware'
require 'octokit/error'
module Octokit
# Faraday response middleware
module Response
# This class raises an Octokit-flavored exception based
# HTTP status codes returned by the API
class RaiseError < BaseMiddleware
def on_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/octokit-4.25.1/lib/octokit/response/base_middleware.rb | .bundles_cache/ruby/2.6.0/gems/octokit-4.25.1/lib/octokit/response/base_middleware.rb | # frozen_string_literal: true
require 'faraday'
module Octokit
module Response
# In Faraday 2.x, Faraday::Response::Middleware was removed
BaseMiddleware = defined?(Faraday::Response::Middleware) ? Faraday::Response::Middleware : Faraday::Middleware
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/response/feed_parser.rb | .bundles_cache/ruby/2.6.0/gems/octokit-4.25.1/lib/octokit/response/feed_parser.rb | # frozen_string_literal: true
require 'octokit/response/base_middleware'
module Octokit
module Response
# Parses RSS and Atom feed responses.
class FeedParser < BaseMiddleware
def on_complete(env)
if env[:response_headers]['content-type'] =~ /(\batom|\brss)/
require 'rss'
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/ext/sawyer/relation.rb | .bundles_cache/ruby/2.6.0/gems/octokit-4.25.1/lib/ext/sawyer/relation.rb | # frozen_string_literal: true
require 'sawyer'
patch = Module.new do
def href(options = nil)
# Temporary workaround for: https://github.com/octokit/octokit.rb/issues/727
name.to_s == 'ssh' ? @href : super
end
end
Sawyer::Relation.send(:prepend, patch)
| ruby | Apache-2.0 | d43118c4af2adeb708d26658615319d6493e6077 | 2026-01-04T15:51:47.325668Z | false |
collabnix/kubelabs | https://github.com/collabnix/kubelabs/blob/d43118c4af2adeb708d26658615319d6493e6077/.bundles_cache/ruby/2.6.0/gems/jemoji-0.12.0/lib/jemoji.rb | .bundles_cache/ruby/2.6.0/gems/jemoji-0.12.0/lib/jemoji.rb | # frozen_string_literal: true
require "jekyll"
require "html/pipeline"
module Jekyll
class Emoji
GITHUB_DOT_COM_ASSET_HOST_URL = "https://github.githubassets.com"
ASSET_PATH = "/images/icons/"
BODY_START_TAG = "<body"
OPENING_BODY_TAG_REGEX = %r!<body(.*?)>\s*!m.freeze
class << self
def 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/unf_ext-0.0.8.2/test/test_unf_ext.rb | .bundles_cache/ruby/2.6.0/gems/unf_ext-0.0.8.2/test/test_unf_ext.rb | require 'helper'
require 'pathname'
class TestUnf < Test::Unit::TestCase
test "raise ArgumentError if an unknown normalization form is given" do
normalizer = UNF::Normalizer.new
assert_raises(ArgumentError) { normalizer.normalize("が", :nfck) }
end
test "pass all tests bundled with the original unf" do
... | ruby | Apache-2.0 | d43118c4af2adeb708d26658615319d6493e6077 | 2026-01-04T15:51:47.325668Z | false |
collabnix/kubelabs | https://github.com/collabnix/kubelabs/blob/d43118c4af2adeb708d26658615319d6493e6077/.bundles_cache/ruby/2.6.0/gems/unf_ext-0.0.8.2/test/helper.rb | .bundles_cache/ruby/2.6.0/gems/unf_ext-0.0.8.2/test/helper.rb | require 'rubygems'
require 'bundler'
begin
Bundler.setup(:default, :development)
rescue Bundler::BundlerError => e
$stderr.puts e.message
$stderr.puts "Run `bundle install` to install missing gems"
exit e.status_code
end
require 'test/unit'
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))
$LO... | ruby | Apache-2.0 | d43118c4af2adeb708d26658615319d6493e6077 | 2026-01-04T15:51:47.325668Z | false |
collabnix/kubelabs | https://github.com/collabnix/kubelabs/blob/d43118c4af2adeb708d26658615319d6493e6077/.bundles_cache/ruby/2.6.0/gems/unf_ext-0.0.8.2/ext/unf_ext/extconf.rb | .bundles_cache/ruby/2.6.0/gems/unf_ext-0.0.8.2/ext/unf_ext/extconf.rb | require 'mkmf'
if with_config('static-libstdc++')
$LDFLAGS << ' ' << `#{CONFIG['CC']} -print-file-name=libstdc++.a`.chomp
else
have_library('stdc++')
case RbConfig::CONFIG['host_os']
when /solaris(!?2.11)/
# Do a little trickery here to enable C++ standard on Solaris 11 if found.
# This also forces 64... | ruby | Apache-2.0 | d43118c4af2adeb708d26658615319d6493e6077 | 2026-01-04T15:51:47.325668Z | false |
collabnix/kubelabs | https://github.com/collabnix/kubelabs/blob/d43118c4af2adeb708d26658615319d6493e6077/.bundles_cache/ruby/2.6.0/gems/unf_ext-0.0.8.2/lib/unf_ext.rb | .bundles_cache/ruby/2.6.0/gems/unf_ext-0.0.8.2/lib/unf_ext.rb | begin
require "#{RUBY_VERSION[/\A[0-9]+\.[0-9]+/]}/unf_ext.so"
rescue LoadError
require "unf_ext.so"
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/unf_ext-0.0.8.2/lib/unf_ext/version.rb | .bundles_cache/ruby/2.6.0/gems/unf_ext-0.0.8.2/lib/unf_ext/version.rb | module UNF
class Normalizer
VERSION = "0.0.8.2"
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/ast-2.4.2/lib/ast.rb | .bundles_cache/ruby/2.6.0/gems/ast-2.4.2/lib/ast.rb | # {AST} is a library for manipulating abstract syntax trees.
#
# It embraces immutability; each AST node is inherently frozen at
# creation, and updating a child node requires recreating that node
# and its every parent, recursively.
# This is a design choice. It does create some pressure on
# garbage collector, but co... | ruby | Apache-2.0 | d43118c4af2adeb708d26658615319d6493e6077 | 2026-01-04T15:51:47.325668Z | false |
collabnix/kubelabs | https://github.com/collabnix/kubelabs/blob/d43118c4af2adeb708d26658615319d6493e6077/.bundles_cache/ruby/2.6.0/gems/ast-2.4.2/lib/ast/sexp.rb | .bundles_cache/ruby/2.6.0/gems/ast-2.4.2/lib/ast/sexp.rb | module AST
# This simple module is very useful in the cases where one needs
# to define deeply nested ASTs from Ruby code, for example, in
# tests. It should be used like this:
#
# describe YourLanguage::AST do
# include Sexp
#
# it "should correctly parse expressions" do
# You... | ruby | Apache-2.0 | d43118c4af2adeb708d26658615319d6493e6077 | 2026-01-04T15:51:47.325668Z | false |
collabnix/kubelabs | https://github.com/collabnix/kubelabs/blob/d43118c4af2adeb708d26658615319d6493e6077/.bundles_cache/ruby/2.6.0/gems/ast-2.4.2/lib/ast/processor.rb | .bundles_cache/ruby/2.6.0/gems/ast-2.4.2/lib/ast/processor.rb | module AST
# This class includes {AST::Processor::Mixin}; however, it is
# deprecated, since the module defines all of the behaviors that
# the processor includes. Any new libraries should use
# {AST::Processor::Mixin} instead of subclassing this.
#
# @deprecated Use {AST::Processor::Mixin} instead.
clas... | ruby | Apache-2.0 | d43118c4af2adeb708d26658615319d6493e6077 | 2026-01-04T15:51:47.325668Z | false |
collabnix/kubelabs | https://github.com/collabnix/kubelabs/blob/d43118c4af2adeb708d26658615319d6493e6077/.bundles_cache/ruby/2.6.0/gems/ast-2.4.2/lib/ast/node.rb | .bundles_cache/ruby/2.6.0/gems/ast-2.4.2/lib/ast/node.rb | # frozen_string_literal: true
module AST
# Node is an immutable class, instances of which represent abstract
# syntax tree nodes. It combines semantic information (i.e. anything
# that affects the algorithmic properties of a program) with
# meta-information (line numbers or compiler intermediates).
#
# Not... | ruby | Apache-2.0 | d43118c4af2adeb708d26658615319d6493e6077 | 2026-01-04T15:51:47.325668Z | false |
collabnix/kubelabs | https://github.com/collabnix/kubelabs/blob/d43118c4af2adeb708d26658615319d6493e6077/.bundles_cache/ruby/2.6.0/gems/ast-2.4.2/lib/ast/processor/mixin.rb | .bundles_cache/ruby/2.6.0/gems/ast-2.4.2/lib/ast/processor/mixin.rb | module AST
class Processor
# The processor module is a module which helps transforming one
# AST into another. In a nutshell, the {#process} method accepts
# a {Node} and dispatches it to a handler corresponding to its
# type, and returns a (possibly) updated variant of the node.
#
# The proc... | ruby | Apache-2.0 | d43118c4af2adeb708d26658615319d6493e6077 | 2026-01-04T15:51:47.325668Z | false |
xcpretty/xcode-install | https://github.com/xcpretty/xcode-install/blob/388de632125bd57c9170fa989f525d909dd15732/spec/install_spec.rb | spec/install_spec.rb | require File.expand_path('../spec_helper', __FILE__)
module XcodeInstall
describe Command::Install do
describe 'when invoked' do
before do
Installer.any_instance.stubs(:exists).returns(true)
Installer.any_instance.stubs(:installed).returns([])
fixture = Pathname.new('spec/fixtures/x... | ruby | MIT | 388de632125bd57c9170fa989f525d909dd15732 | 2026-01-04T15:54:21.191044Z | false |
xcpretty/xcode-install | https://github.com/xcpretty/xcode-install/blob/388de632125bd57c9170fa989f525d909dd15732/spec/prerelease_spec.rb | spec/prerelease_spec.rb | require File.expand_path('../spec_helper', __FILE__)
module XcodeInstall
describe Installer do
def fixture(date)
File.read("spec/fixtures/devcenter/xcode-#{date}.html")
end
def parse_prereleases(date)
fixture = fixture(date)
@result.stubs(:body).returns(fixture)
installer = Inst... | ruby | MIT | 388de632125bd57c9170fa989f525d909dd15732 | 2026-01-04T15:54:21.191044Z | false |
xcpretty/xcode-install | https://github.com/xcpretty/xcode-install/blob/388de632125bd57c9170fa989f525d909dd15732/spec/curl_spec.rb | spec/curl_spec.rb | require File.expand_path('../spec_helper', __FILE__)
module XcodeInstall
def self.silence_stderr
begin
orig_stderr = $stderr.clone
$stderr.reopen File.new('/dev/null', 'w')
retval = yield
ensure
$stderr.reopen orig_stderr
end
retval
end
describe Curl do
it 'reports fa... | ruby | MIT | 388de632125bd57c9170fa989f525d909dd15732 | 2026-01-04T15:54:21.191044Z | false |
xcpretty/xcode-install | https://github.com/xcpretty/xcode-install/blob/388de632125bd57c9170fa989f525d909dd15732/spec/cli_spec.rb | spec/cli_spec.rb | require File.expand_path('../spec_helper', __FILE__)
module XcodeInstall
describe Command::InstallCLITools do
it 'fails if tools are already installed' do
Command::InstallCLITools.any_instance.expects(:installed?).returns(true)
-> { Command::InstallCLITools.run }.should.raise(SystemExit)
end
... | ruby | MIT | 388de632125bd57c9170fa989f525d909dd15732 | 2026-01-04T15:54:21.191044Z | false |
xcpretty/xcode-install | https://github.com/xcpretty/xcode-install/blob/388de632125bd57c9170fa989f525d909dd15732/spec/list_spec.rb | spec/list_spec.rb | require File.expand_path('../spec_helper', __FILE__)
module XcodeInstall
describe Command::List do
before do
installer.stubs(:exists).returns(true)
end
def installer
@installer ||= Installer.new
end
def fake_xcode(name)
fixture = Pathname.new('spec/fixtures/xcode_63.json').rea... | ruby | MIT | 388de632125bd57c9170fa989f525d909dd15732 | 2026-01-04T15:54:21.191044Z | false |
xcpretty/xcode-install | https://github.com/xcpretty/xcode-install/blob/388de632125bd57c9170fa989f525d909dd15732/spec/json_spec.rb | spec/json_spec.rb | require File.expand_path('../spec_helper', __FILE__)
module XcodeInstall
describe JSON do
it 'can parse Xcode JSON' do
fixture = Pathname.new('spec/fixtures/xcode.json').read
xcode = Xcode.new(JSON.parse(fixture))
xcode.date_modified.should == 1_572_613_080
xcode.name.should == '9.3'
... | ruby | MIT | 388de632125bd57c9170fa989f525d909dd15732 | 2026-01-04T15:54:21.191044Z | false |
xcpretty/xcode-install | https://github.com/xcpretty/xcode-install/blob/388de632125bd57c9170fa989f525d909dd15732/spec/uninstall_spec.rb | spec/uninstall_spec.rb | require File.expand_path('../spec_helper', __FILE__)
module XcodeInstall
describe Command::Uninstall do
describe 'when invoked' do
it 'raise error when the version is not specified' do
Command::Uninstall.any_instance.expects(:help!)
-> { Command::Uninstall.run([]) }.should.raise(Exception)
... | ruby | MIT | 388de632125bd57c9170fa989f525d909dd15732 | 2026-01-04T15:54:21.191044Z | false |
xcpretty/xcode-install | https://github.com/xcpretty/xcode-install/blob/388de632125bd57c9170fa989f525d909dd15732/spec/installed_spec.rb | spec/installed_spec.rb | require File.expand_path('../spec_helper', __FILE__)
module XcodeInstall
xcode_path = '/Volumes/Macintosh HD/Applications/Xcode Beta'
describe InstalledXcode do
it 'finds the current Xcode version with whitespace chars' do
InstalledXcode.any_instance.expects(:`).with("/usr/libexec/PlistBuddy -c \"Print ... | ruby | MIT | 388de632125bd57c9170fa989f525d909dd15732 | 2026-01-04T15:54:21.191044Z | false |
xcpretty/xcode-install | https://github.com/xcpretty/xcode-install/blob/388de632125bd57c9170fa989f525d909dd15732/spec/installer_spec.rb | spec/installer_spec.rb | require File.expand_path('../spec_helper', __FILE__)
module XcodeInstall
#
# FIXME: This test randomely fail on GitHub Actions.
#
# describe '#fetch' do
# before do
# client = mock
# client.stubs(:cookie).returns('customCookie')
# Spaceship::PortalClient.stubs(:login).returns(client)
# ... | ruby | MIT | 388de632125bd57c9170fa989f525d909dd15732 | 2026-01-04T15:54:21.191044Z | false |
xcpretty/xcode-install | https://github.com/xcpretty/xcode-install/blob/388de632125bd57c9170fa989f525d909dd15732/spec/spec_helper.rb | spec/spec_helper.rb | require 'coveralls'
Coveralls.wear!
require 'pathname'
ROOT = Pathname.new(File.expand_path('../../', __FILE__))
$LOAD_PATH.unshift((ROOT + 'lib').to_s)
$LOAD_PATH.unshift((ROOT + 'spec').to_s)
ENV['DELIVER_USER'] = 'xcversion'
ENV['DELIVER_PASSWORD'] = '12345password'
require 'bundler/setup'
require 'bacon'
require... | ruby | MIT | 388de632125bd57c9170fa989f525d909dd15732 | 2026-01-04T15:54:21.191044Z | false |
xcpretty/xcode-install | https://github.com/xcpretty/xcode-install/blob/388de632125bd57c9170fa989f525d909dd15732/lib/xcode/install.rb | lib/xcode/install.rb | require 'fileutils'
require 'pathname'
require 'rexml/document'
require 'spaceship'
require 'json'
require 'rubygems/version'
require 'xcode/install/command'
require 'xcode/install/version'
require 'shellwords'
require 'open3'
require 'fastlane'
require 'fastlane/helper/sh_helper'
require 'fastlane/action'
require 'fas... | ruby | MIT | 388de632125bd57c9170fa989f525d909dd15732 | 2026-01-04T15:54:21.191044Z | false |
xcpretty/xcode-install | https://github.com/xcpretty/xcode-install/blob/388de632125bd57c9170fa989f525d909dd15732/lib/xcode/install/command.rb | lib/xcode/install/command.rb | require 'claide'
require 'xcode/install/version'
module XcodeInstall
class PlainInformative < StandardError
include CLAide::InformativeError
end
class Informative < PlainInformative
def message
"[!] #{super}".ansi.red
end
end
class Command < CLAide::Command
require 'xcode/install/clea... | ruby | MIT | 388de632125bd57c9170fa989f525d909dd15732 | 2026-01-04T15:54:21.191044Z | false |
xcpretty/xcode-install | https://github.com/xcpretty/xcode-install/blob/388de632125bd57c9170fa989f525d909dd15732/lib/xcode/install/selected.rb | lib/xcode/install/selected.rb | module XcodeInstall
class Command
class Selected < Command
self.command = 'selected'
self.summary = 'Show version number of currently selected Xcode.'
def run
puts `xcodebuild -version`
end
end
end
end
| ruby | MIT | 388de632125bd57c9170fa989f525d909dd15732 | 2026-01-04T15:54:21.191044Z | false |
xcpretty/xcode-install | https://github.com/xcpretty/xcode-install/blob/388de632125bd57c9170fa989f525d909dd15732/lib/xcode/install/version.rb | lib/xcode/install/version.rb | module XcodeInstall
VERSION = '2.8.1'.freeze
end
| ruby | MIT | 388de632125bd57c9170fa989f525d909dd15732 | 2026-01-04T15:54:21.191044Z | false |
xcpretty/xcode-install | https://github.com/xcpretty/xcode-install/blob/388de632125bd57c9170fa989f525d909dd15732/lib/xcode/install/update.rb | lib/xcode/install/update.rb | module XcodeInstall
class Command
class Update < Command
self.command = 'update'
self.summary = 'Update cached list of available Xcodes.'
def run
installer = XcodeInstall::Installer.new
installer.rm_list_cache
installer.list
end
end
end
end
| ruby | MIT | 388de632125bd57c9170fa989f525d909dd15732 | 2026-01-04T15:54:21.191044Z | false |
xcpretty/xcode-install | https://github.com/xcpretty/xcode-install/blob/388de632125bd57c9170fa989f525d909dd15732/lib/xcode/install/installed.rb | lib/xcode/install/installed.rb | module XcodeInstall
class Command
class Installed < Command
self.command = 'installed'
self.summary = 'List installed Xcodes.'
def self.options
[['--uuid', 'Show DVTPlugInCompatibilityUUIDs in the list.']].concat(super)
end
def initialize(argv)
@uuid = argv.flag?('u... | ruby | MIT | 388de632125bd57c9170fa989f525d909dd15732 | 2026-01-04T15:54:21.191044Z | false |
xcpretty/xcode-install | https://github.com/xcpretty/xcode-install/blob/388de632125bd57c9170fa989f525d909dd15732/lib/xcode/install/cleanup.rb | lib/xcode/install/cleanup.rb | module XcodeInstall
class Command
class Cleanup < Command
self.command = 'cleanup'
self.summary = 'Cleanup cached downloads.'
def run
installer = XcodeInstall::Installer.new
return if installer.cache_dir.nil? || installer.cache_dir.to_s.length < 5
FileUtils.rm_f(Dir.glob... | ruby | MIT | 388de632125bd57c9170fa989f525d909dd15732 | 2026-01-04T15:54:21.191044Z | false |
xcpretty/xcode-install | https://github.com/xcpretty/xcode-install/blob/388de632125bd57c9170fa989f525d909dd15732/lib/xcode/install/select.rb | lib/xcode/install/select.rb | module XcodeInstall
class Command
class Select < Command
self.command = 'select'
self.summary = 'Select installed Xcode via `xcode-select`.'
self.arguments = [
CLAide::Argument.new('VERSION', :true)
]
def self.options
[['--symlink', 'Update symlink in /Applications ... | ruby | MIT | 388de632125bd57c9170fa989f525d909dd15732 | 2026-01-04T15:54:21.191044Z | false |
xcpretty/xcode-install | https://github.com/xcpretty/xcode-install/blob/388de632125bd57c9170fa989f525d909dd15732/lib/xcode/install/uninstall.rb | lib/xcode/install/uninstall.rb | module XcodeInstall
class Command
class Uninstall < Command
self.command = 'uninstall'
self.summary = 'Uninstall a specific version of Xcode.'
self.arguments = [
CLAide::Argument.new('VERSION', :true)
]
def initialize(argv)
@installer = Installer.new
@versio... | ruby | MIT | 388de632125bd57c9170fa989f525d909dd15732 | 2026-01-04T15:54:21.191044Z | false |
xcpretty/xcode-install | https://github.com/xcpretty/xcode-install/blob/388de632125bd57c9170fa989f525d909dd15732/lib/xcode/install/simulators.rb | lib/xcode/install/simulators.rb | require 'claide'
module XcodeInstall
class Command
class Simulators < Command
self.command = 'simulators'
self.summary = 'List or install iOS simulators.'
def self.options
[['--install=name', 'Install simulator beginning with name, e.g. \'iOS 8.4\', \'tvOS 9.0\'.'],
['--force'... | ruby | MIT | 388de632125bd57c9170fa989f525d909dd15732 | 2026-01-04T15:54:21.191044Z | false |
xcpretty/xcode-install | https://github.com/xcpretty/xcode-install/blob/388de632125bd57c9170fa989f525d909dd15732/lib/xcode/install/cli.rb | lib/xcode/install/cli.rb | module XcodeInstall
class Command
class InstallCLITools < Command
self.command = 'install-cli-tools'
self.summary = 'Installs Xcode Command Line Tools.'
def run
if installed?
print 'Xcode CLI Tools are already installed.'
exit(0)
end
install
end... | ruby | MIT | 388de632125bd57c9170fa989f525d909dd15732 | 2026-01-04T15:54:21.191044Z | false |
xcpretty/xcode-install | https://github.com/xcpretty/xcode-install/blob/388de632125bd57c9170fa989f525d909dd15732/lib/xcode/install/list.rb | lib/xcode/install/list.rb | module XcodeInstall
class Command
class List < Command
self.command = 'list'
self.summary = 'List Xcodes available for download.'
def self.options
[['--all', 'Show all available versions. (Default, Deprecated)']].concat(super)
end
def run
installer = XcodeInstall::I... | ruby | MIT | 388de632125bd57c9170fa989f525d909dd15732 | 2026-01-04T15:54:21.191044Z | false |
xcpretty/xcode-install | https://github.com/xcpretty/xcode-install/blob/388de632125bd57c9170fa989f525d909dd15732/lib/xcode/install/install.rb | lib/xcode/install/install.rb | require 'uri'
module XcodeInstall
class Command
class Install < Command
self.command = 'install'
self.summary = 'Install a specific version of Xcode.'
self.arguments = [
CLAide::Argument.new('VERSION', :true)
]
def self.options
[['--url', 'Custom Xcode DMG file pat... | ruby | MIT | 388de632125bd57c9170fa989f525d909dd15732 | 2026-01-04T15:54:21.191044Z | false |
aanand/git-up | https://github.com/aanand/git-up/blob/64de741ddb1f5820cefc6f3616143b9580dfbaaa/lib/git-up.rb | lib/git-up.rb | require 'colored'
require 'grit'
require 'git-up/version'
class GitUp
def run(argv)
@fetch = true
process_args(argv)
if @fetch
command = ['git', 'fetch', '--multiple']
command << '--prune' if prune?
command += config("fetch.all") ? ['--all'] : remotes
# puts command.join("... | ruby | MIT | 64de741ddb1f5820cefc6f3616143b9580dfbaaa | 2026-01-04T15:54:21.947213Z | false |
aanand/git-up | https://github.com/aanand/git-up/blob/64de741ddb1f5820cefc6f3616143b9580dfbaaa/lib/git-up/version.rb | lib/git-up/version.rb | class GitUp
VERSION = "0.5.12"
end
| ruby | MIT | 64de741ddb1f5820cefc6f3616143b9580dfbaaa | 2026-01-04T15:54:21.947213Z | false |
mitchellh/vagrant-aws | https://github.com/mitchellh/vagrant-aws/blob/43e7ec2eb425fdf0223910522b6e91a92329f00f/spec/spec_helper.rb | spec/spec_helper.rb | ruby | MIT | 43e7ec2eb425fdf0223910522b6e91a92329f00f | 2026-01-04T15:54:22.385766Z | false | |
mitchellh/vagrant-aws | https://github.com/mitchellh/vagrant-aws/blob/43e7ec2eb425fdf0223910522b6e91a92329f00f/spec/vagrant-aws/config_spec.rb | spec/vagrant-aws/config_spec.rb | require "vagrant-aws/config"
require 'rspec/its'
# remove deprecation warnings
# (until someone decides to update the whole spec file to rspec 3.4)
RSpec.configure do |config|
# ...
config.mock_with :rspec do |c|
c.syntax = [:should, :expect]
end
config.expect_with :rspec do |c|
c.syntax = [:should, :e... | ruby | MIT | 43e7ec2eb425fdf0223910522b6e91a92329f00f | 2026-01-04T15:54:22.385766Z | false |
mitchellh/vagrant-aws | https://github.com/mitchellh/vagrant-aws/blob/43e7ec2eb425fdf0223910522b6e91a92329f00f/lib/vagrant-aws.rb | lib/vagrant-aws.rb | require "pathname"
require "vagrant-aws/plugin"
module VagrantPlugins
module AWS
lib_path = Pathname.new(File.expand_path("../vagrant-aws", __FILE__))
autoload :Action, lib_path.join("action")
autoload :Errors, lib_path.join("errors")
# This returns the path to the source of this plugin.
#
... | ruby | MIT | 43e7ec2eb425fdf0223910522b6e91a92329f00f | 2026-01-04T15:54:22.385766Z | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.