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
burtlo/yard-cucumber
https://github.com/burtlo/yard-cucumber/blob/177e5ad17aa4973660ce646b398118a6408d8913/lib/cucumber/city_builder.rb
lib/cucumber/city_builder.rb
module Cucumber module Parser class CityBuilder < ::Gherkin::AstBuilder # # The Gherkin Parser is going to call the various methods within this # class as it finds items. This is similar to how Cucumber generates # it's Abstract Syntax Tree (AST). Here instead this generates the # v...
ruby
MIT
177e5ad17aa4973660ce646b398118a6408d8913
2026-01-04T17:52:15.257300Z
false
burtlo/yard-cucumber
https://github.com/burtlo/yard-cucumber/blob/177e5ad17aa4973660ce646b398118a6408d8913/lib/docserver/doc_server/full_list/html/setup.rb
lib/docserver/doc_server/full_list/html/setup.rb
include T('default/fulldoc/html') def init # This is the css class type; here we just default to class @list_class = "class" case @list_type.to_sym when :features; @list_title = "Features" when :tags; @list_title = "Tags" when :class; @list_title = "Class List" when :methods; @list_title = "Method List" ...
ruby
MIT
177e5ad17aa4973660ce646b398118a6408d8913
2026-01-04T17:52:15.257300Z
false
serverkit/serverkit
https://github.com/serverkit/serverkit/blob/48e2bf1de089c6e3ab14e2ea0dd24da5461f9faf/spec/spec_helper.rb
spec/spec_helper.rb
# frozen_string_literal: true require "serverkit" RSpec.configure do |config| config.expect_with :rspec do |expectations| expectations.include_chain_clauses_in_custom_matcher_descriptions = true end config.mock_with :rspec do |mocks| mocks.verify_partial_doubles = true end config.disable_monkey_pa...
ruby
MIT
48e2bf1de089c6e3ab14e2ea0dd24da5461f9faf
2026-01-04T17:52:19.132705Z
false
serverkit/serverkit
https://github.com/serverkit/serverkit/blob/48e2bf1de089c6e3ab14e2ea0dd24da5461f9faf/spec/serverkit/recipe_spec.rb
spec/serverkit/recipe_spec.rb
# frozen_string_literal: true RSpec.describe Serverkit::Recipe do let(:recipe) do described_class.new(recipe_data) end let(:recipe_data) do { "resources" => resources } end let(:resources) do [] end describe "#errors" do subject do recipe.errors end context "with invalid...
ruby
MIT
48e2bf1de089c6e3ab14e2ea0dd24da5461f9faf
2026-01-04T17:52:19.132705Z
false
serverkit/serverkit
https://github.com/serverkit/serverkit/blob/48e2bf1de089c6e3ab14e2ea0dd24da5461f9faf/spec/serverkit/command_spec.rb
spec/serverkit/command_spec.rb
# frozen_string_literal: true RSpec.describe Serverkit::Command do let(:command) do described_class.new(argv) end describe "#call" do subject do command.call end context "with validate as 1st argument" do let(:argv) do ["validate", "recipe.yml"] end it "calls Se...
ruby
MIT
48e2bf1de089c6e3ab14e2ea0dd24da5461f9faf
2026-01-04T17:52:19.132705Z
false
serverkit/serverkit
https://github.com/serverkit/serverkit/blob/48e2bf1de089c6e3ab14e2ea0dd24da5461f9faf/spec/serverkit/resource_builder_spec.rb
spec/serverkit/resource_builder_spec.rb
# frozen_string_literal: true RSpec.describe Serverkit::ResourceBuilder do let(:recipe) do Serverkit::Recipe.new(recipe_data) end let(:recipe_data) do { "resources" => resources } end let(:resources) do [resource_attributes] end let(:resource_attributes) do { "destination" => "b"...
ruby
MIT
48e2bf1de089c6e3ab14e2ea0dd24da5461f9faf
2026-01-04T17:52:19.132705Z
false
serverkit/serverkit
https://github.com/serverkit/serverkit/blob/48e2bf1de089c6e3ab14e2ea0dd24da5461f9faf/spec/serverkit/resources/user_spec.rb
spec/serverkit/resources/user_spec.rb
# frozen_string_literal: true RSpec.describe Serverkit::Resources::User do let(:recipe) { Serverkit::Recipe.new(resources: [attributes]) } subject { described_class.new(recipe, attributes) } describe "attributes" do let(:attributes) do { "type" => "user" } end it { expect(subject.type).to eq...
ruby
MIT
48e2bf1de089c6e3ab14e2ea0dd24da5461f9faf
2026-01-04T17:52:19.132705Z
false
serverkit/serverkit
https://github.com/serverkit/serverkit/blob/48e2bf1de089c6e3ab14e2ea0dd24da5461f9faf/lib/type_validator.rb
lib/type_validator.rb
# frozen_string_literal: true require "active_model" class TypeValidator < ActiveModel::EachValidator def options super.merge(allow_nil: true) end def validate_each(record, attribute, value) classes = options[:in] || [options[:with]] if classes.all? { |klass| !value.is_a?(klass) } record.erro...
ruby
MIT
48e2bf1de089c6e3ab14e2ea0dd24da5461f9faf
2026-01-04T17:52:19.132705Z
false
serverkit/serverkit
https://github.com/serverkit/serverkit/blob/48e2bf1de089c6e3ab14e2ea0dd24da5461f9faf/lib/readable_validator.rb
lib/readable_validator.rb
# frozen_string_literal: true require "active_model" class ReadableValidator < ActiveModel::EachValidator def validate_each(record, attribute, value) if !value.nil? && !File.readable?(value) record.errors.add(attribute, "can't be unreadable path") end end end
ruby
MIT
48e2bf1de089c6e3ab14e2ea0dd24da5461f9faf
2026-01-04T17:52:19.132705Z
false
serverkit/serverkit
https://github.com/serverkit/serverkit/blob/48e2bf1de089c6e3ab14e2ea0dd24da5461f9faf/lib/required_validator.rb
lib/required_validator.rb
# frozen_string_literal: true require "active_model" class RequiredValidator < ActiveModel::EachValidator def validate_each(record, attribute, value) if value.nil? record.errors.add(attribute, "is required") end end end
ruby
MIT
48e2bf1de089c6e3ab14e2ea0dd24da5461f9faf
2026-01-04T17:52:19.132705Z
false
serverkit/serverkit
https://github.com/serverkit/serverkit/blob/48e2bf1de089c6e3ab14e2ea0dd24da5461f9faf/lib/regexp_validator.rb
lib/regexp_validator.rb
# frozen_string_literal: true require "active_model" class RegexpValidator < ActiveModel::EachValidator def validate_each(record, attribute, value) unless value.nil? Regexp.new(value) end rescue RegexpError record.errors.add(attribute, "is invalid regexp expression #{value.inspect}") end end
ruby
MIT
48e2bf1de089c6e3ab14e2ea0dd24da5461f9faf
2026-01-04T17:52:19.132705Z
false
serverkit/serverkit
https://github.com/serverkit/serverkit/blob/48e2bf1de089c6e3ab14e2ea0dd24da5461f9faf/lib/at_least_one_of_validator.rb
lib/at_least_one_of_validator.rb
# frozen_string_literal: true require "active_model" require "active_support/core_ext/array/conversions" require "active_support/core_ext/object/try" class AtLeastOneOfValidator < ActiveModel::EachValidator def validate_each(record, attribute, value) attributes = options[:in] + [attribute] if attributes.all...
ruby
MIT
48e2bf1de089c6e3ab14e2ea0dd24da5461f9faf
2026-01-04T17:52:19.132705Z
false
serverkit/serverkit
https://github.com/serverkit/serverkit/blob/48e2bf1de089c6e3ab14e2ea0dd24da5461f9faf/lib/serverkit.rb
lib/serverkit.rb
# frozen_string_literal: true require_relative "serverkit/command" require_relative "serverkit/version"
ruby
MIT
48e2bf1de089c6e3ab14e2ea0dd24da5461f9faf
2026-01-04T17:52:19.132705Z
false
serverkit/serverkit
https://github.com/serverkit/serverkit/blob/48e2bf1de089c6e3ab14e2ea0dd24da5461f9faf/lib/serverkit/recipe.rb
lib/serverkit/recipe.rb
# frozen_string_literal: true require "active_support/core_ext/hash/deep_merge" require "serverkit/errors/invalid_recipe_type_error" require "serverkit/errors/invalid_resources_type_error" require "serverkit/resource_builder" module Serverkit class Recipe attr_reader :recipe_data, :variables_path # @param ...
ruby
MIT
48e2bf1de089c6e3ab14e2ea0dd24da5461f9faf
2026-01-04T17:52:19.132705Z
false
serverkit/serverkit
https://github.com/serverkit/serverkit/blob/48e2bf1de089c6e3ab14e2ea0dd24da5461f9faf/lib/serverkit/command.rb
lib/serverkit/command.rb
# frozen_string_literal: true require "rainbow" require "serverkit/actions/apply" require "serverkit/actions/check" require "serverkit/actions/inspect" require "serverkit/actions/validate" require "serverkit/errors/missing_action_name_argument_error" require "serverkit/errors/missing_recipe_path_argument_error" requir...
ruby
MIT
48e2bf1de089c6e3ab14e2ea0dd24da5461f9faf
2026-01-04T17:52:19.132705Z
false
serverkit/serverkit
https://github.com/serverkit/serverkit/blob/48e2bf1de089c6e3ab14e2ea0dd24da5461f9faf/lib/serverkit/version.rb
lib/serverkit/version.rb
# frozen_string_literal: true module Serverkit VERSION = "1.0.0" end
ruby
MIT
48e2bf1de089c6e3ab14e2ea0dd24da5461f9faf
2026-01-04T17:52:19.132705Z
false
serverkit/serverkit
https://github.com/serverkit/serverkit/blob/48e2bf1de089c6e3ab14e2ea0dd24da5461f9faf/lib/serverkit/logger.rb
lib/serverkit/logger.rb
# frozen_string_literal: true require "logger" require "rainbow" module Serverkit # A logger class that has a simple formatter by default. class Logger < ::Logger def initialize(*) super self.formatter = Formatter.new end # @param [Serverkit::Resources::Base] def report_apply_result_o...
ruby
MIT
48e2bf1de089c6e3ab14e2ea0dd24da5461f9faf
2026-01-04T17:52:19.132705Z
false
serverkit/serverkit
https://github.com/serverkit/serverkit/blob/48e2bf1de089c6e3ab14e2ea0dd24da5461f9faf/lib/serverkit/resource_builder.rb
lib/serverkit/resource_builder.rb
# frozen_string_literal: true require "active_support/core_ext/string/inflections" require "serverkit/resources/command" require "serverkit/resources/directory" require "serverkit/resources/file" require "serverkit/resources/git" require "serverkit/resources/group" require "serverkit/resources/line" require "serverkit...
ruby
MIT
48e2bf1de089c6e3ab14e2ea0dd24da5461f9faf
2026-01-04T17:52:19.132705Z
false
serverkit/serverkit
https://github.com/serverkit/serverkit/blob/48e2bf1de089c6e3ab14e2ea0dd24da5461f9faf/lib/serverkit/variables.rb
lib/serverkit/variables.rb
# frozen_string_literal: true require "active_support/core_ext/hash/deep_merge" require "hashie/mash" module Serverkit class Variables attr_reader :variables_data # @param [Hash] variables_data def initialize(variables_data) @variables_data = variables_data end # @param [Serverkit::Varia...
ruby
MIT
48e2bf1de089c6e3ab14e2ea0dd24da5461f9faf
2026-01-04T17:52:19.132705Z
false
serverkit/serverkit
https://github.com/serverkit/serverkit/blob/48e2bf1de089c6e3ab14e2ea0dd24da5461f9faf/lib/serverkit/errors/unknown_resource_type_error.rb
lib/serverkit/errors/unknown_resource_type_error.rb
# frozen_string_literal: true require "serverkit/errors/base" module Serverkit module Errors class UnknownResourceTypeError < Base # @param [String] type def initialize(type) @type = type end # @return [String] def to_s "Unknown `#{@type}` resource type" end ...
ruby
MIT
48e2bf1de089c6e3ab14e2ea0dd24da5461f9faf
2026-01-04T17:52:19.132705Z
false
serverkit/serverkit
https://github.com/serverkit/serverkit/blob/48e2bf1de089c6e3ab14e2ea0dd24da5461f9faf/lib/serverkit/errors/missing_resource_type_error.rb
lib/serverkit/errors/missing_resource_type_error.rb
# frozen_string_literal: true require "serverkit/errors/base" module Serverkit module Errors class MissingResourceTypeError < Base # @return [String] def to_s "Missing resource type" end end end end
ruby
MIT
48e2bf1de089c6e3ab14e2ea0dd24da5461f9faf
2026-01-04T17:52:19.132705Z
false
serverkit/serverkit
https://github.com/serverkit/serverkit/blob/48e2bf1de089c6e3ab14e2ea0dd24da5461f9faf/lib/serverkit/errors/invalid_resources_type_error.rb
lib/serverkit/errors/invalid_resources_type_error.rb
# frozen_string_literal: true require "serverkit/errors/base" module Serverkit module Errors class InvalidResourcesTypeError < Base # @param [Class] type def initialize(type) @type = type end def to_s "resources property must be an Array, not #{@type}" end end ...
ruby
MIT
48e2bf1de089c6e3ab14e2ea0dd24da5461f9faf
2026-01-04T17:52:19.132705Z
false
serverkit/serverkit
https://github.com/serverkit/serverkit/blob/48e2bf1de089c6e3ab14e2ea0dd24da5461f9faf/lib/serverkit/errors/missing_action_name_argument_error.rb
lib/serverkit/errors/missing_action_name_argument_error.rb
# frozen_string_literal: true require "serverkit/errors/base" module Serverkit module Errors class MissingActionNameArgumentError < Base # @return [String] def to_s "Missing action name argument" end end end end
ruby
MIT
48e2bf1de089c6e3ab14e2ea0dd24da5461f9faf
2026-01-04T17:52:19.132705Z
false
serverkit/serverkit
https://github.com/serverkit/serverkit/blob/48e2bf1de089c6e3ab14e2ea0dd24da5461f9faf/lib/serverkit/errors/base.rb
lib/serverkit/errors/base.rb
# frozen_string_literal: true module Serverkit module Errors class Base < StandardError end end end
ruby
MIT
48e2bf1de089c6e3ab14e2ea0dd24da5461f9faf
2026-01-04T17:52:19.132705Z
false
serverkit/serverkit
https://github.com/serverkit/serverkit/blob/48e2bf1de089c6e3ab14e2ea0dd24da5461f9faf/lib/serverkit/errors/unknown_action_name_error.rb
lib/serverkit/errors/unknown_action_name_error.rb
# frozen_string_literal: true require "serverkit/errors/base" module Serverkit module Errors class UnknownActionNameError < Base # @param [String] action_name def initialize(action_name) @action_name = action_name end # @return [String] def to_s abort "Unknown acti...
ruby
MIT
48e2bf1de089c6e3ab14e2ea0dd24da5461f9faf
2026-01-04T17:52:19.132705Z
false
serverkit/serverkit
https://github.com/serverkit/serverkit/blob/48e2bf1de089c6e3ab14e2ea0dd24da5461f9faf/lib/serverkit/errors/non_existent_path_error.rb
lib/serverkit/errors/non_existent_path_error.rb
# frozen_string_literal: true require "serverkit/errors/base" module Serverkit module Errors class NonExistentPathError < Base # @param [#to_s] path def initialize(path) @path = path end # @return [String] def to_s abort "No such file or directory `#{@path}`" ...
ruby
MIT
48e2bf1de089c6e3ab14e2ea0dd24da5461f9faf
2026-01-04T17:52:19.132705Z
false
serverkit/serverkit
https://github.com/serverkit/serverkit/blob/48e2bf1de089c6e3ab14e2ea0dd24da5461f9faf/lib/serverkit/errors/invalid_recipe_type_error.rb
lib/serverkit/errors/invalid_recipe_type_error.rb
# frozen_string_literal: true require "serverkit/errors/base" module Serverkit module Errors class InvalidRecipeTypeError < Base # @param [Class] type def initialize(type) @type = type end def to_s "Recipe data must be a Hash, not #{@type}" end end end end
ruby
MIT
48e2bf1de089c6e3ab14e2ea0dd24da5461f9faf
2026-01-04T17:52:19.132705Z
false
serverkit/serverkit
https://github.com/serverkit/serverkit/blob/48e2bf1de089c6e3ab14e2ea0dd24da5461f9faf/lib/serverkit/errors/missing_recipe_path_argument_error.rb
lib/serverkit/errors/missing_recipe_path_argument_error.rb
# frozen_string_literal: true require "serverkit/errors/base" module Serverkit module Errors class MissingRecipePathArgumentError < Base # @return [String] def to_s "Missing recipe path argument" end end end end
ruby
MIT
48e2bf1de089c6e3ab14e2ea0dd24da5461f9faf
2026-01-04T17:52:19.132705Z
false
serverkit/serverkit
https://github.com/serverkit/serverkit/blob/48e2bf1de089c6e3ab14e2ea0dd24da5461f9faf/lib/serverkit/errors/attribute_validation_error.rb
lib/serverkit/errors/attribute_validation_error.rb
# frozen_string_literal: true require "serverkit/errors/base" module Serverkit module Errors class AttributeValidationError < Base # @param [Serverkit::Resources::Base] resource # @param [String] validation_error_message def initialize(resource, attribute_name, validation_error_message) ...
ruby
MIT
48e2bf1de089c6e3ab14e2ea0dd24da5461f9faf
2026-01-04T17:52:19.132705Z
false
serverkit/serverkit
https://github.com/serverkit/serverkit/blob/48e2bf1de089c6e3ab14e2ea0dd24da5461f9faf/lib/serverkit/actions/inspect.rb
lib/serverkit/actions/inspect.rb
# frozen_string_literal: true require "serverkit/actions/base" module Serverkit module Actions class Inspect < Base def run puts JSON.pretty_generate(recipe.to_hash) end end end end
ruby
MIT
48e2bf1de089c6e3ab14e2ea0dd24da5461f9faf
2026-01-04T17:52:19.132705Z
false
serverkit/serverkit
https://github.com/serverkit/serverkit/blob/48e2bf1de089c6e3ab14e2ea0dd24da5461f9faf/lib/serverkit/actions/base.rb
lib/serverkit/actions/base.rb
# frozen_string_literal: true require "bundler" require "logger" require "serverkit/backends/local_backend" require "serverkit/backends/ssh_backend" require "serverkit/loaders/recipe_loader" require "serverkit/recipe" require "slop" require "specinfra" module Serverkit module Actions class Base DEFAULT_LO...
ruby
MIT
48e2bf1de089c6e3ab14e2ea0dd24da5461f9faf
2026-01-04T17:52:19.132705Z
false
serverkit/serverkit
https://github.com/serverkit/serverkit/blob/48e2bf1de089c6e3ab14e2ea0dd24da5461f9faf/lib/serverkit/actions/validate.rb
lib/serverkit/actions/validate.rb
# frozen_string_literal: true require "serverkit/actions/base" module Serverkit module Actions class Validate < Base def run end end end end
ruby
MIT
48e2bf1de089c6e3ab14e2ea0dd24da5461f9faf
2026-01-04T17:52:19.132705Z
false
serverkit/serverkit
https://github.com/serverkit/serverkit/blob/48e2bf1de089c6e3ab14e2ea0dd24da5461f9faf/lib/serverkit/actions/apply.rb
lib/serverkit/actions/apply.rb
# frozen_string_literal: true require "serverkit/actions/base" module Serverkit module Actions class Apply < Base # Apply recipe so that all backends have ideal states, then exit with 0 or 1 def run if apply_resources exit else exit(1) end end ...
ruby
MIT
48e2bf1de089c6e3ab14e2ea0dd24da5461f9faf
2026-01-04T17:52:19.132705Z
false
serverkit/serverkit
https://github.com/serverkit/serverkit/blob/48e2bf1de089c6e3ab14e2ea0dd24da5461f9faf/lib/serverkit/actions/check.rb
lib/serverkit/actions/check.rb
# frozen_string_literal: true require "serverkit/actions/base" module Serverkit module Actions class Check < Base # Check if all backends have ideal states, then exit with exit-code 0 or 1 def run if check_resources exit else exit(1) end end p...
ruby
MIT
48e2bf1de089c6e3ab14e2ea0dd24da5461f9faf
2026-01-04T17:52:19.132705Z
false
serverkit/serverkit
https://github.com/serverkit/serverkit/blob/48e2bf1de089c6e3ab14e2ea0dd24da5461f9faf/lib/serverkit/backends/ssh_backend.rb
lib/serverkit/backends/ssh_backend.rb
# frozen_string_literal: true require "etc" require "net/ssh" require "serverkit/backends/base_backend" require "specinfra" module Serverkit module Backends class SshBackend < BaseBackend DEFAULT_SSH_OPTIONS = {}.freeze attr_reader :host # @param [String] host # @param [Hash] ssh_optio...
ruby
MIT
48e2bf1de089c6e3ab14e2ea0dd24da5461f9faf
2026-01-04T17:52:19.132705Z
false
serverkit/serverkit
https://github.com/serverkit/serverkit/blob/48e2bf1de089c6e3ab14e2ea0dd24da5461f9faf/lib/serverkit/backends/local_backend.rb
lib/serverkit/backends/local_backend.rb
# frozen_string_literal: true require "serverkit/backends/base_backend" require "specinfra" module Serverkit module Backends class LocalBackend < BaseBackend HOST = "localhost" # @note Override def host HOST end private # @return [Specinfra::Backend::Exec] de...
ruby
MIT
48e2bf1de089c6e3ab14e2ea0dd24da5461f9faf
2026-01-04T17:52:19.132705Z
false
serverkit/serverkit
https://github.com/serverkit/serverkit/blob/48e2bf1de089c6e3ab14e2ea0dd24da5461f9faf/lib/serverkit/backends/base_backend.rb
lib/serverkit/backends/base_backend.rb
# frozen_string_literal: true require "active_support/core_ext/module/delegation" require "serverkit/logger" module Serverkit module Backends class BaseBackend delegate( :command, :send_file, to: :specinfra_backend, ) def initialize(log_level: nil) @log_level =...
ruby
MIT
48e2bf1de089c6e3ab14e2ea0dd24da5461f9faf
2026-01-04T17:52:19.132705Z
false
serverkit/serverkit
https://github.com/serverkit/serverkit/blob/48e2bf1de089c6e3ab14e2ea0dd24da5461f9faf/lib/serverkit/loaders/recipe_loader.rb
lib/serverkit/loaders/recipe_loader.rb
# frozen_string_literal: true require "serverkit/loaders/base_loader" require "serverkit/loaders/variables_loader" require "serverkit/recipe" module Serverkit module Loaders class RecipeLoader < BaseLoader DEFAULT_VARIABLES_DATA = {}.freeze # @param [String] path # @param [String, nil] variab...
ruby
MIT
48e2bf1de089c6e3ab14e2ea0dd24da5461f9faf
2026-01-04T17:52:19.132705Z
false
serverkit/serverkit
https://github.com/serverkit/serverkit/blob/48e2bf1de089c6e3ab14e2ea0dd24da5461f9faf/lib/serverkit/loaders/base_loader.rb
lib/serverkit/loaders/base_loader.rb
# frozen_string_literal: true require "erb" require "json" require "pathname" require "serverkit/errors/non_existent_path_error" require "tempfile" require "yaml" module Serverkit module Loaders class BaseLoader YAML_EXTNAMES = [".yaml", ".yml"].freeze # @param [String] path def initialize(pa...
ruby
MIT
48e2bf1de089c6e3ab14e2ea0dd24da5461f9faf
2026-01-04T17:52:19.132705Z
false
serverkit/serverkit
https://github.com/serverkit/serverkit/blob/48e2bf1de089c6e3ab14e2ea0dd24da5461f9faf/lib/serverkit/loaders/variables_loader.rb
lib/serverkit/loaders/variables_loader.rb
# frozen_string_literal: true require "serverkit/loaders/base_loader" require "serverkit/variables" module Serverkit module Loaders class VariablesLoader < BaseLoader private # @note Implementation def loaded_class Serverkit::Variables end end end end
ruby
MIT
48e2bf1de089c6e3ab14e2ea0dd24da5461f9faf
2026-01-04T17:52:19.132705Z
false
serverkit/serverkit
https://github.com/serverkit/serverkit/blob/48e2bf1de089c6e3ab14e2ea0dd24da5461f9faf/lib/serverkit/resources/recipe.rb
lib/serverkit/resources/recipe.rb
# frozen_string_literal: true require "serverkit/resources/base" module Serverkit module Resources class Recipe < Base attribute :path, readable: true, required: true, type: String # @note Override def to_a if valid? loaded_recipe.resources else self ...
ruby
MIT
48e2bf1de089c6e3ab14e2ea0dd24da5461f9faf
2026-01-04T17:52:19.132705Z
false
serverkit/serverkit
https://github.com/serverkit/serverkit/blob/48e2bf1de089c6e3ab14e2ea0dd24da5461f9faf/lib/serverkit/resources/command.rb
lib/serverkit/resources/command.rb
# frozen_string_literal: true require "serverkit/resources/base" module Serverkit module Resources class Command < Base attribute :script, required: true, type: String # @note Override def apply run_command(script) end # @note Override def check false ...
ruby
MIT
48e2bf1de089c6e3ab14e2ea0dd24da5461f9faf
2026-01-04T17:52:19.132705Z
false
serverkit/serverkit
https://github.com/serverkit/serverkit/blob/48e2bf1de089c6e3ab14e2ea0dd24da5461f9faf/lib/serverkit/resources/entry.rb
lib/serverkit/resources/entry.rb
# frozen_string_literal: true require "digest" require "serverkit/resources/base" require "tempfile" module Serverkit module Resources # Abstract class for file and directory class Entry < Base attribute :group, type: String attribute :mode, type: [Integer, String] attribute :owner, type: ...
ruby
MIT
48e2bf1de089c6e3ab14e2ea0dd24da5461f9faf
2026-01-04T17:52:19.132705Z
false
serverkit/serverkit
https://github.com/serverkit/serverkit/blob/48e2bf1de089c6e3ab14e2ea0dd24da5461f9faf/lib/serverkit/resources/directory.rb
lib/serverkit/resources/directory.rb
# frozen_string_literal: true require "serverkit/resources/entry" module Serverkit module Resources class Directory < Entry attribute :path, required: true, type: String private # @note Override def destination path end # @note Override def has_correct_entry?...
ruby
MIT
48e2bf1de089c6e3ab14e2ea0dd24da5461f9faf
2026-01-04T17:52:19.132705Z
false
serverkit/serverkit
https://github.com/serverkit/serverkit/blob/48e2bf1de089c6e3ab14e2ea0dd24da5461f9faf/lib/serverkit/resources/group.rb
lib/serverkit/resources/group.rb
# frozen_string_literal: true require "serverkit/resources/base" module Serverkit module Resources class Group < Base attribute :gid, type: Integer attribute :name, required: true, type: String # @note Override def apply if has_correct_group? run_command_from_identifie...
ruby
MIT
48e2bf1de089c6e3ab14e2ea0dd24da5461f9faf
2026-01-04T17:52:19.132705Z
false
serverkit/serverkit
https://github.com/serverkit/serverkit/blob/48e2bf1de089c6e3ab14e2ea0dd24da5461f9faf/lib/serverkit/resources/symlink.rb
lib/serverkit/resources/symlink.rb
# frozen_string_literal: true require "serverkit/resources/base" module Serverkit module Resources class Symlink < Base attribute :destination, required: true, type: String attribute :source, required: true, type: String # @note Override def apply run_command_from_identifier(:li...
ruby
MIT
48e2bf1de089c6e3ab14e2ea0dd24da5461f9faf
2026-01-04T17:52:19.132705Z
false
serverkit/serverkit
https://github.com/serverkit/serverkit/blob/48e2bf1de089c6e3ab14e2ea0dd24da5461f9faf/lib/serverkit/resources/unknown.rb
lib/serverkit/resources/unknown.rb
# frozen_string_literal: true require "serverkit/errors/unknown_resource_type_error" require "serverkit/resources/base" module Serverkit module Resources class Unknown < Base # @return [Array<Serverkit::Errors::UnknownResourceTypeError>] def all_errors [Errors::UnknownResourceTypeError.new(t...
ruby
MIT
48e2bf1de089c6e3ab14e2ea0dd24da5461f9faf
2026-01-04T17:52:19.132705Z
false
serverkit/serverkit
https://github.com/serverkit/serverkit/blob/48e2bf1de089c6e3ab14e2ea0dd24da5461f9faf/lib/serverkit/resources/package.rb
lib/serverkit/resources/package.rb
# frozen_string_literal: true require "serverkit/resources/base" module Serverkit module Resources class Package < Base attribute :name, required: true, type: String attribute :options, type: String attribute :version, type: String # @note Override def apply run_command_fr...
ruby
MIT
48e2bf1de089c6e3ab14e2ea0dd24da5461f9faf
2026-01-04T17:52:19.132705Z
false
serverkit/serverkit
https://github.com/serverkit/serverkit/blob/48e2bf1de089c6e3ab14e2ea0dd24da5461f9faf/lib/serverkit/resources/line.rb
lib/serverkit/resources/line.rb
# frozen_string_literal: true require "serverkit/resources/base" module Serverkit module Resources # Ensure a particular line is in a file, or replace an existing line using regexp. # @example Example line resource that ensures a line is in /etc/sudoers # - type: line # path: /etc/sudoers ...
ruby
MIT
48e2bf1de089c6e3ab14e2ea0dd24da5461f9faf
2026-01-04T17:52:19.132705Z
false
serverkit/serverkit
https://github.com/serverkit/serverkit/blob/48e2bf1de089c6e3ab14e2ea0dd24da5461f9faf/lib/serverkit/resources/file.rb
lib/serverkit/resources/file.rb
# frozen_string_literal: true require "serverkit/resources/entry" module Serverkit module Resources class File < Entry attribute :content, type: String attribute :path, required: true, type: String private # @note Override def destination path end # @note Ove...
ruby
MIT
48e2bf1de089c6e3ab14e2ea0dd24da5461f9faf
2026-01-04T17:52:19.132705Z
false
serverkit/serverkit
https://github.com/serverkit/serverkit/blob/48e2bf1de089c6e3ab14e2ea0dd24da5461f9faf/lib/serverkit/resources/missing.rb
lib/serverkit/resources/missing.rb
# frozen_string_literal: true require "serverkit/errors/missing_resource_type_error" require "serverkit/resources/base" module Serverkit module Resources class Missing < Base # @return [Array<Serverkit::Errors::MissingResourceTypeError>] def all_errors [Errors::MissingResourceTypeError.new] ...
ruby
MIT
48e2bf1de089c6e3ab14e2ea0dd24da5461f9faf
2026-01-04T17:52:19.132705Z
false
serverkit/serverkit
https://github.com/serverkit/serverkit/blob/48e2bf1de089c6e3ab14e2ea0dd24da5461f9faf/lib/serverkit/resources/base.rb
lib/serverkit/resources/base.rb
# frozen_string_literal: true require "active_model" require "active_model/errors" require "active_support/core_ext/module/delegation" require "at_least_one_of_validator" require "readable_validator" require "regexp_validator" require "required_validator" require "serverkit/errors/attribute_validation_error" require "...
ruby
MIT
48e2bf1de089c6e3ab14e2ea0dd24da5461f9faf
2026-01-04T17:52:19.132705Z
false
serverkit/serverkit
https://github.com/serverkit/serverkit/blob/48e2bf1de089c6e3ab14e2ea0dd24da5461f9faf/lib/serverkit/resources/template.rb
lib/serverkit/resources/template.rb
# frozen_string_literal: true require "erb" require "serverkit/loaders/variables_loader" require "serverkit/resources/remote_file" module Serverkit module Resources class Template < RemoteFile DEFAULT_VARIABLES_DATA = {}.freeze private # @note Override def content @content ||= ...
ruby
MIT
48e2bf1de089c6e3ab14e2ea0dd24da5461f9faf
2026-01-04T17:52:19.132705Z
false
serverkit/serverkit
https://github.com/serverkit/serverkit/blob/48e2bf1de089c6e3ab14e2ea0dd24da5461f9faf/lib/serverkit/resources/nothing.rb
lib/serverkit/resources/nothing.rb
# frozen_string_literal: true require "serverkit/resources/base" module Serverkit module Resources # A class to do nothing for debugging. class Nothing < Base # @note Override def apply end # @note Override for #apply to be always called def check false end ...
ruby
MIT
48e2bf1de089c6e3ab14e2ea0dd24da5461f9faf
2026-01-04T17:52:19.132705Z
false
serverkit/serverkit
https://github.com/serverkit/serverkit/blob/48e2bf1de089c6e3ab14e2ea0dd24da5461f9faf/lib/serverkit/resources/service.rb
lib/serverkit/resources/service.rb
# frozen_string_literal: true require "serverkit/resources/base" module Serverkit module Resources class Service < Base attribute :name, required: true, type: String # @note Override def apply run_command_from_identifier(:start_service, name) end # @note Override de...
ruby
MIT
48e2bf1de089c6e3ab14e2ea0dd24da5461f9faf
2026-01-04T17:52:19.132705Z
false
serverkit/serverkit
https://github.com/serverkit/serverkit/blob/48e2bf1de089c6e3ab14e2ea0dd24da5461f9faf/lib/serverkit/resources/remote_file.rb
lib/serverkit/resources/remote_file.rb
# frozen_string_literal: true require "serverkit/resources/entry" module Serverkit module Resources class RemoteFile < Entry attribute :destination, required: true, type: String attribute :source, readable: true, required: true, type: String private def content @content ||= ::F...
ruby
MIT
48e2bf1de089c6e3ab14e2ea0dd24da5461f9faf
2026-01-04T17:52:19.132705Z
false
serverkit/serverkit
https://github.com/serverkit/serverkit/blob/48e2bf1de089c6e3ab14e2ea0dd24da5461f9faf/lib/serverkit/resources/git.rb
lib/serverkit/resources/git.rb
# frozen_string_literal: true require "serverkit/resources/base" module Serverkit module Resources class Git < Base DEFAULT_STATE = "cloned" attribute :path, required: true, type: String attribute :repository, required: true, type: String attribute :state, default: DEFAULT_STATE, inclus...
ruby
MIT
48e2bf1de089c6e3ab14e2ea0dd24da5461f9faf
2026-01-04T17:52:19.132705Z
false
serverkit/serverkit
https://github.com/serverkit/serverkit/blob/48e2bf1de089c6e3ab14e2ea0dd24da5461f9faf/lib/serverkit/resources/user.rb
lib/serverkit/resources/user.rb
# frozen_string_literal: true require "serverkit/resources/base" require "unix_crypt" module Serverkit module Resources class User < Base attribute :gid, type: [Integer, String] attribute :home, type: String attribute :name, type: String, required: true attribute :password, type: String ...
ruby
MIT
48e2bf1de089c6e3ab14e2ea0dd24da5461f9faf
2026-01-04T17:52:19.132705Z
false
cyx/shield
https://github.com/cyx/shield/blob/effcb6316b723e63ff5792b36d16facf336f0625/test/password.rb
test/password.rb
require_relative "helper" scope do test "encrypt" do encrypted = Shield::Password.encrypt("password") assert Shield::Password.check("password", encrypted) end test "with custom 64 character salt" do encrypted = Shield::Password.encrypt("password", "A" * 64) assert Shield::Password.check("passwor...
ruby
MIT
effcb6316b723e63ff5792b36d16facf336f0625
2026-01-04T17:52:17.585471Z
false
cyx/shield
https://github.com/cyx/shield/blob/effcb6316b723e63ff5792b36d16facf336f0625/test/nested.rb
test/nested.rb
require_relative "helper" require_relative "user" require "cuba" Cuba.use Rack::Session::Cookie, secret: "R6zSBQWz0VGVSwvT8THurhJwaVqzpnsH27J5FoI58pxoIciDQYvE4opVvDTLMyfjj7c5inIc6PDNaQWvArMvK3" Cuba.plugin Shield::Helpers class Admin < Cuba use Shield::Middleware, "/admin/login" define do on "login" do ...
ruby
MIT
effcb6316b723e63ff5792b36d16facf336f0625
2026-01-04T17:52:17.585471Z
false
cyx/shield
https://github.com/cyx/shield/blob/effcb6316b723e63ff5792b36d16facf336f0625/test/model_integration.rb
test/model_integration.rb
require_relative "helper" class User include Shield::Model attr_accessor :email, :crypted_password def self.fetch(email) $users[email] end def initialize(email, password) @email = email self.password = password end end setup do $users = {} $users["foo@bar.com"] = User.new("foo@bar.com",...
ruby
MIT
effcb6316b723e63ff5792b36d16facf336f0625
2026-01-04T17:52:17.585471Z
false
cyx/shield
https://github.com/cyx/shield/blob/effcb6316b723e63ff5792b36d16facf336f0625/test/shield.rb
test/shield.rb
require_relative "helper" class User < Struct.new(:id) extend Shield::Model def self.[](id) User.new(1) unless id.to_s.empty? end def self.authenticate(username, password) User.new(1001) if username == "quentin" && password == "password" end end class Context def initialize(path) @path = pat...
ruby
MIT
effcb6316b723e63ff5792b36d16facf336f0625
2026-01-04T17:52:17.585471Z
false
cyx/shield
https://github.com/cyx/shield/blob/effcb6316b723e63ff5792b36d16facf336f0625/test/middleware.rb
test/middleware.rb
require_relative "helper" require_relative "user" require "cuba" Cuba.use Rack::Session::Cookie, secret: "R6zSBQWz0VGVSwvT8THurhJwaVqzpnsH27J5FoI58pxoIciDQYvE4opVvDTLMyfjj7c5inIc6PDNaQWvArMvK3" Cuba.use Shield::Middleware Cuba.plugin Shield::Helpers Cuba.define do on "secured" do if not authenticated(User) ...
ruby
MIT
effcb6316b723e63ff5792b36d16facf336f0625
2026-01-04T17:52:17.585471Z
false
cyx/shield
https://github.com/cyx/shield/blob/effcb6316b723e63ff5792b36d16facf336f0625/test/cuba.rb
test/cuba.rb
require_relative "helper" require_relative "user" require "cuba" Cuba.use Rack::Session::Cookie, secret: "R6zSBQWz0VGVSwvT8THurhJwaVqzpnsH27J5FoI58pxoIciDQYvE4opVvDTLMyfjj7c5inIc6PDNaQWvArMvK3" Cuba.use Shield::Middleware Cuba.plugin Shield::Helpers Cuba.define do on get, "public" do res.write "Public" end ...
ruby
MIT
effcb6316b723e63ff5792b36d16facf336f0625
2026-01-04T17:52:17.585471Z
false
cyx/shield
https://github.com/cyx/shield/blob/effcb6316b723e63ff5792b36d16facf336f0625/test/helper.rb
test/helper.rb
require "cutest" require "rack/test" require_relative "../lib/shield" class Cutest::Scope include Rack::Test::Methods def assert_redirected_to(path) unless last_response.status == 302 flunk end assert_equal path, URI(redirection_url).path end def redirection_url last_response.headers["...
ruby
MIT
effcb6316b723e63ff5792b36d16facf336f0625
2026-01-04T17:52:17.585471Z
false
cyx/shield
https://github.com/cyx/shield/blob/effcb6316b723e63ff5792b36d16facf336f0625/test/model.rb
test/model.rb
require_relative "helper" class User < Struct.new(:crypted_password) include Shield::Model end test "fetch" do ex = nil begin User.fetch("quentin") rescue Exception => ex end assert ex.kind_of?(Shield::Model::FetchMissing) assert "User.fetch not implemented" == ex.message end test "is_valid_passw...
ruby
MIT
effcb6316b723e63ff5792b36d16facf336f0625
2026-01-04T17:52:17.585471Z
false
cyx/shield
https://github.com/cyx/shield/blob/effcb6316b723e63ff5792b36d16facf336f0625/test/user.rb
test/user.rb
class User include Shield::Model def self.[](id) User.new(1001) unless id.to_s.empty? end def self.fetch(username) User.new(1001) if username == "quentin" end attr :id def initialize(id) @id = id end def crypted_password @crypted_password ||= Shield::Password.encrypt("password") ...
ruby
MIT
effcb6316b723e63ff5792b36d16facf336f0625
2026-01-04T17:52:17.585471Z
false
cyx/shield
https://github.com/cyx/shield/blob/effcb6316b723e63ff5792b36d16facf336f0625/lib/shield.rb
lib/shield.rb
require "armor" require "uri" module Shield class Middleware attr :url def initialize(app, url = "/login") @app = app @url = url end def call(env) tuple = @app.call(env) if tuple[0] == 401 [302, headers(env["SCRIPT_NAME"] + env["PATH_INFO"]), []] else ...
ruby
MIT
effcb6316b723e63ff5792b36d16facf336f0625
2026-01-04T17:52:17.585471Z
false
poise/poise-python
https://github.com/poise/poise-python/blob/eeb0fc0ee50e8baef15ab4f91601994e5b40a272/test/integration/default/serverspec/default_spec.rb
test/integration/default/serverspec/default_spec.rb
# # Copyright 2015-2017, Noah Kantrowitz # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in w...
ruby
Apache-2.0
eeb0fc0ee50e8baef15ab4f91601994e5b40a272
2026-01-04T17:52:09.242542Z
false
poise/poise-python
https://github.com/poise/poise-python/blob/eeb0fc0ee50e8baef15ab4f91601994e5b40a272/test/cookbook/metadata.rb
test/cookbook/metadata.rb
# # Copyright 2015-2017, Noah Kantrowitz # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in w...
ruby
Apache-2.0
eeb0fc0ee50e8baef15ab4f91601994e5b40a272
2026-01-04T17:52:09.242542Z
false
poise/poise-python
https://github.com/poise/poise-python/blob/eeb0fc0ee50e8baef15ab4f91601994e5b40a272/test/cookbook/recipes/default.rb
test/cookbook/recipes/default.rb
# # Copyright 2015-2017, Noah Kantrowitz # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in w...
ruby
Apache-2.0
eeb0fc0ee50e8baef15ab4f91601994e5b40a272
2026-01-04T17:52:09.242542Z
false
poise/poise-python
https://github.com/poise/poise-python/blob/eeb0fc0ee50e8baef15ab4f91601994e5b40a272/test/spec/utils_spec.rb
test/spec/utils_spec.rb
# # Copyright 2015-2017, Noah Kantrowitz # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in w...
ruby
Apache-2.0
eeb0fc0ee50e8baef15ab4f91601994e5b40a272
2026-01-04T17:52:09.242542Z
false
poise/poise-python
https://github.com/poise/poise-python/blob/eeb0fc0ee50e8baef15ab4f91601994e5b40a272/test/spec/python_command_mixin_spec.rb
test/spec/python_command_mixin_spec.rb
# # Copyright 2015-2017, Noah Kantrowitz # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in w...
ruby
Apache-2.0
eeb0fc0ee50e8baef15ab4f91601994e5b40a272
2026-01-04T17:52:09.242542Z
false
poise/poise-python
https://github.com/poise/poise-python/blob/eeb0fc0ee50e8baef15ab4f91601994e5b40a272/test/spec/spec_helper.rb
test/spec/spec_helper.rb
# # Copyright 2015-2017, Noah Kantrowitz # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in w...
ruby
Apache-2.0
eeb0fc0ee50e8baef15ab4f91601994e5b40a272
2026-01-04T17:52:09.242542Z
false
poise/poise-python
https://github.com/poise/poise-python/blob/eeb0fc0ee50e8baef15ab4f91601994e5b40a272/test/spec/python_providers/dummy_spec.rb
test/spec/python_providers/dummy_spec.rb
# # Copyright 2015-2017, Noah Kantrowitz # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in w...
ruby
Apache-2.0
eeb0fc0ee50e8baef15ab4f91601994e5b40a272
2026-01-04T17:52:09.242542Z
false
poise/poise-python
https://github.com/poise/poise-python/blob/eeb0fc0ee50e8baef15ab4f91601994e5b40a272/test/spec/python_providers/portable_pypy_spec.rb
test/spec/python_providers/portable_pypy_spec.rb
# # Copyright 2015-2017, Noah Kantrowitz # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in w...
ruby
Apache-2.0
eeb0fc0ee50e8baef15ab4f91601994e5b40a272
2026-01-04T17:52:09.242542Z
false
poise/poise-python
https://github.com/poise/poise-python/blob/eeb0fc0ee50e8baef15ab4f91601994e5b40a272/test/spec/python_providers/scl_spec.rb
test/spec/python_providers/scl_spec.rb
# # Copyright 2015-2017, Noah Kantrowitz # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in w...
ruby
Apache-2.0
eeb0fc0ee50e8baef15ab4f91601994e5b40a272
2026-01-04T17:52:09.242542Z
false
poise/poise-python
https://github.com/poise/poise-python/blob/eeb0fc0ee50e8baef15ab4f91601994e5b40a272/test/spec/python_providers/portable_pypy3_spec.rb
test/spec/python_providers/portable_pypy3_spec.rb
# # Copyright 2015-2017, Noah Kantrowitz # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in w...
ruby
Apache-2.0
eeb0fc0ee50e8baef15ab4f91601994e5b40a272
2026-01-04T17:52:09.242542Z
false
poise/poise-python
https://github.com/poise/poise-python/blob/eeb0fc0ee50e8baef15ab4f91601994e5b40a272/test/spec/python_providers/system_spec.rb
test/spec/python_providers/system_spec.rb
# # Copyright 2015-2017, Noah Kantrowitz # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in w...
ruby
Apache-2.0
eeb0fc0ee50e8baef15ab4f91601994e5b40a272
2026-01-04T17:52:09.242542Z
false
poise/poise-python
https://github.com/poise/poise-python/blob/eeb0fc0ee50e8baef15ab4f91601994e5b40a272/test/spec/utils/python_encoder_spec.rb
test/spec/utils/python_encoder_spec.rb
# # Copyright 2015-2017, Noah Kantrowitz # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in w...
ruby
Apache-2.0
eeb0fc0ee50e8baef15ab4f91601994e5b40a272
2026-01-04T17:52:09.242542Z
false
poise/poise-python
https://github.com/poise/poise-python/blob/eeb0fc0ee50e8baef15ab4f91601994e5b40a272/test/spec/resources/python_runtime_spec.rb
test/spec/resources/python_runtime_spec.rb
# # Copyright 2015-2017, Noah Kantrowitz # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in w...
ruby
Apache-2.0
eeb0fc0ee50e8baef15ab4f91601994e5b40a272
2026-01-04T17:52:09.242542Z
false
poise/poise-python
https://github.com/poise/poise-python/blob/eeb0fc0ee50e8baef15ab4f91601994e5b40a272/test/spec/resources/python_runtime_pip_spec.rb
test/spec/resources/python_runtime_pip_spec.rb
# # Copyright 2015-2017, Noah Kantrowitz # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in w...
ruby
Apache-2.0
eeb0fc0ee50e8baef15ab4f91601994e5b40a272
2026-01-04T17:52:09.242542Z
false
poise/poise-python
https://github.com/poise/poise-python/blob/eeb0fc0ee50e8baef15ab4f91601994e5b40a272/test/spec/resources/python_package_spec.rb
test/spec/resources/python_package_spec.rb
# # Copyright 2015-2017, Noah Kantrowitz # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in w...
ruby
Apache-2.0
eeb0fc0ee50e8baef15ab4f91601994e5b40a272
2026-01-04T17:52:09.242542Z
false
poise/poise-python
https://github.com/poise/poise-python/blob/eeb0fc0ee50e8baef15ab4f91601994e5b40a272/test/spec/resources/pip_requirements_spec.rb
test/spec/resources/pip_requirements_spec.rb
# # Copyright 2015-2017, Noah Kantrowitz # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in w...
ruby
Apache-2.0
eeb0fc0ee50e8baef15ab4f91601994e5b40a272
2026-01-04T17:52:09.242542Z
false
poise/poise-python
https://github.com/poise/poise-python/blob/eeb0fc0ee50e8baef15ab4f91601994e5b40a272/test/spec/resources/python_virtualenv_spec.rb
test/spec/resources/python_virtualenv_spec.rb
# # Copyright 2015-2017, Noah Kantrowitz # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in w...
ruby
Apache-2.0
eeb0fc0ee50e8baef15ab4f91601994e5b40a272
2026-01-04T17:52:09.242542Z
false
poise/poise-python
https://github.com/poise/poise-python/blob/eeb0fc0ee50e8baef15ab4f91601994e5b40a272/chef/recipes/default.rb
chef/recipes/default.rb
# # Copyright 2015-2017, Noah Kantrowitz # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in w...
ruby
Apache-2.0
eeb0fc0ee50e8baef15ab4f91601994e5b40a272
2026-01-04T17:52:09.242542Z
false
poise/poise-python
https://github.com/poise/poise-python/blob/eeb0fc0ee50e8baef15ab4f91601994e5b40a272/chef/attributes/default.rb
chef/attributes/default.rb
# # Copyright 2015-2017, Noah Kantrowitz # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in w...
ruby
Apache-2.0
eeb0fc0ee50e8baef15ab4f91601994e5b40a272
2026-01-04T17:52:09.242542Z
false
poise/poise-python
https://github.com/poise/poise-python/blob/eeb0fc0ee50e8baef15ab4f91601994e5b40a272/lib/poise_python.rb
lib/poise_python.rb
# # Copyright 2015-2017, Noah Kantrowitz # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in w...
ruby
Apache-2.0
eeb0fc0ee50e8baef15ab4f91601994e5b40a272
2026-01-04T17:52:09.242542Z
false
poise/poise-python
https://github.com/poise/poise-python/blob/eeb0fc0ee50e8baef15ab4f91601994e5b40a272/lib/poise_python/python_command_mixin.rb
lib/poise_python/python_command_mixin.rb
# # Copyright 2015-2017, Noah Kantrowitz # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in w...
ruby
Apache-2.0
eeb0fc0ee50e8baef15ab4f91601994e5b40a272
2026-01-04T17:52:09.242542Z
false
poise/poise-python
https://github.com/poise/poise-python/blob/eeb0fc0ee50e8baef15ab4f91601994e5b40a272/lib/poise_python/version.rb
lib/poise_python/version.rb
# # Copyright 2015-2017, Noah Kantrowitz # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in w...
ruby
Apache-2.0
eeb0fc0ee50e8baef15ab4f91601994e5b40a272
2026-01-04T17:52:09.242542Z
false
poise/poise-python
https://github.com/poise/poise-python/blob/eeb0fc0ee50e8baef15ab4f91601994e5b40a272/lib/poise_python/resources.rb
lib/poise_python/resources.rb
# # Copyright 2015-2017, Noah Kantrowitz # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in w...
ruby
Apache-2.0
eeb0fc0ee50e8baef15ab4f91601994e5b40a272
2026-01-04T17:52:09.242542Z
false
poise/poise-python
https://github.com/poise/poise-python/blob/eeb0fc0ee50e8baef15ab4f91601994e5b40a272/lib/poise_python/utils.rb
lib/poise_python/utils.rb
# # Copyright 2015-2017, Noah Kantrowitz # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in w...
ruby
Apache-2.0
eeb0fc0ee50e8baef15ab4f91601994e5b40a272
2026-01-04T17:52:09.242542Z
false
poise/poise-python
https://github.com/poise/poise-python/blob/eeb0fc0ee50e8baef15ab4f91601994e5b40a272/lib/poise_python/python_providers.rb
lib/poise_python/python_providers.rb
# # Copyright 2015-2017, Noah Kantrowitz # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in w...
ruby
Apache-2.0
eeb0fc0ee50e8baef15ab4f91601994e5b40a272
2026-01-04T17:52:09.242542Z
false
poise/poise-python
https://github.com/poise/poise-python/blob/eeb0fc0ee50e8baef15ab4f91601994e5b40a272/lib/poise_python/cheftie.rb
lib/poise_python/cheftie.rb
# # Copyright 2015-2017, Noah Kantrowitz # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in w...
ruby
Apache-2.0
eeb0fc0ee50e8baef15ab4f91601994e5b40a272
2026-01-04T17:52:09.242542Z
false
poise/poise-python
https://github.com/poise/poise-python/blob/eeb0fc0ee50e8baef15ab4f91601994e5b40a272/lib/poise_python/error.rb
lib/poise_python/error.rb
# # Copyright 2015-2017, Noah Kantrowitz # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in w...
ruby
Apache-2.0
eeb0fc0ee50e8baef15ab4f91601994e5b40a272
2026-01-04T17:52:09.242542Z
false
poise/poise-python
https://github.com/poise/poise-python/blob/eeb0fc0ee50e8baef15ab4f91601994e5b40a272/lib/poise_python/python_providers/scl.rb
lib/poise_python/python_providers/scl.rb
# # Copyright 2015-2017, Noah Kantrowitz # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in w...
ruby
Apache-2.0
eeb0fc0ee50e8baef15ab4f91601994e5b40a272
2026-01-04T17:52:09.242542Z
false
poise/poise-python
https://github.com/poise/poise-python/blob/eeb0fc0ee50e8baef15ab4f91601994e5b40a272/lib/poise_python/python_providers/dummy.rb
lib/poise_python/python_providers/dummy.rb
# # Copyright 2015-2017, Noah Kantrowitz # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in w...
ruby
Apache-2.0
eeb0fc0ee50e8baef15ab4f91601994e5b40a272
2026-01-04T17:52:09.242542Z
false
poise/poise-python
https://github.com/poise/poise-python/blob/eeb0fc0ee50e8baef15ab4f91601994e5b40a272/lib/poise_python/python_providers/portable_pypy.rb
lib/poise_python/python_providers/portable_pypy.rb
# # Copyright 2015-2017, Noah Kantrowitz # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in w...
ruby
Apache-2.0
eeb0fc0ee50e8baef15ab4f91601994e5b40a272
2026-01-04T17:52:09.242542Z
false
poise/poise-python
https://github.com/poise/poise-python/blob/eeb0fc0ee50e8baef15ab4f91601994e5b40a272/lib/poise_python/python_providers/base.rb
lib/poise_python/python_providers/base.rb
# # Copyright 2015-2017, Noah Kantrowitz # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in w...
ruby
Apache-2.0
eeb0fc0ee50e8baef15ab4f91601994e5b40a272
2026-01-04T17:52:09.242542Z
false
poise/poise-python
https://github.com/poise/poise-python/blob/eeb0fc0ee50e8baef15ab4f91601994e5b40a272/lib/poise_python/python_providers/system.rb
lib/poise_python/python_providers/system.rb
# # Copyright 2015-2017, Noah Kantrowitz # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. # You may obtain a copy of the License at # # http://www.apache.org/licenses/LICENSE-2.0 # # Unless required by applicable law or agreed to in w...
ruby
Apache-2.0
eeb0fc0ee50e8baef15ab4f91601994e5b40a272
2026-01-04T17:52:09.242542Z
false