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 |
|---|---|---|---|---|---|---|---|---|
mattgreen/elevate | https://github.com/mattgreen/elevate/blob/edb3e428c9643974cdf1a747ff961c09d771aec5/lib/elevate/task_context.rb | lib/elevate/task_context.rb | module Elevate
# A blank slate for hosting task blocks.
#
# Because task blocks run in another thread, it is dangerous to expose them
# to the calling context. This class acts as a sandbox for task blocks.
#
# @api private
class TaskContext
def initialize(block, channel, args)
@__block = block
... | ruby | MIT | edb3e428c9643974cdf1a747ff961c09d771aec5 | 2026-01-04T17:55:16.391428Z | false |
mattgreen/elevate | https://github.com/mattgreen/elevate/blob/edb3e428c9643974cdf1a747ff961c09d771aec5/lib/elevate/http.rb | lib/elevate/http.rb | module Elevate
module HTTP
Request::METHODS.each do |m|
define_singleton_method(m) do |url, options = {}|
coordinator = IOCoordinator.for_thread
request = Request.new(m, url, options)
coordinator.signal_blocked(request) if coordinator
response = request.response
coordinator.signal_... | ruby | MIT | edb3e428c9643974cdf1a747ff961c09d771aec5 | 2026-01-04T17:55:16.391428Z | false |
mattgreen/elevate | https://github.com/mattgreen/elevate/blob/edb3e428c9643974cdf1a747ff961c09d771aec5/lib/elevate/operation.rb | lib/elevate/operation.rb | module Elevate
# Executes an Elevate task, firing callbacks along the way.
#
class ElevateOperation < NSOperation
# Designated initializer.
#
# @return [ElevateOperation]
# newly initialized instance
#
# @api private
def initWithTarget(target, args: args, channel: channel)
if i... | ruby | MIT | edb3e428c9643974cdf1a747ff961c09d771aec5 | 2026-01-04T17:55:16.391428Z | false |
mattgreen/elevate | https://github.com/mattgreen/elevate/blob/edb3e428c9643974cdf1a747ff961c09d771aec5/lib/elevate/io_coordinator.rb | lib/elevate/io_coordinator.rb | module Elevate
# Implements task cancellation.
#
# Compliant I/O mechanisms (such as HTTP requests) register long-running
# operations with a well-known instance of this class. When a cancellation
# request is received from another thread, the long-running operation is
# cancelled.
class IOCoordinator
... | ruby | MIT | edb3e428c9643974cdf1a747ff961c09d771aec5 | 2026-01-04T17:55:16.391428Z | false |
mattgreen/elevate | https://github.com/mattgreen/elevate/blob/edb3e428c9643974cdf1a747ff961c09d771aec5/lib/elevate/elevate.rb | lib/elevate/elevate.rb | module Elevate
def self.included(base)
base.extend(ClassMethods)
end
module ClassMethods
def task(name, options = {}, &block)
task_definitions[name.to_sym] = TaskDefinition.new(name.to_sym, options, &block)
end
def task_definitions
@task_definitions ||= {}
end
end
def cancel... | ruby | MIT | edb3e428c9643974cdf1a747ff961c09d771aec5 | 2026-01-04T17:55:16.391428Z | false |
mattgreen/elevate | https://github.com/mattgreen/elevate/blob/edb3e428c9643974cdf1a747ff961c09d771aec5/lib/elevate/http/thread.rb | lib/elevate/http/thread.rb | module Elevate
module HTTP
class NetworkThread
def self.cancel(connection)
connection.performSelector(:cancel, onThread:thread, withObject:nil, waitUntilDone:false)
end
def self.start(connection)
connection.performSelector(:start, onThread:thread, withObject:nil, waitUntilDone:false)
end
... | ruby | MIT | edb3e428c9643974cdf1a747ff961c09d771aec5 | 2026-01-04T17:55:16.391428Z | false |
mattgreen/elevate | https://github.com/mattgreen/elevate/blob/edb3e428c9643974cdf1a747ff961c09d771aec5/lib/elevate/http/errors.rb | lib/elevate/http/errors.rb | module Elevate
module HTTP
# Raised when a request could not be completed.
class RequestError < RuntimeError
def initialize(error)
super(error.localizedDescription)
@code = error.code
end
attr_reader :code
end
# Raised when the internet connection is offline.
class OfflineError < Re... | ruby | MIT | edb3e428c9643974cdf1a747ff961c09d771aec5 | 2026-01-04T17:55:16.391428Z | false |
mattgreen/elevate | https://github.com/mattgreen/elevate/blob/edb3e428c9643974cdf1a747ff961c09d771aec5/lib/elevate/http/response.rb | lib/elevate/http/response.rb | module Elevate
module HTTP
# Encapsulates a response received from a HTTP server.
#
# @api public
class Response
def initialize
@body = nil
@headers = nil
@status_code = nil
@error = nil
@raw_body = NSMutableData.alloc.init
@url = nil
end
# Appends a chunk of dat... | ruby | MIT | edb3e428c9643974cdf1a747ff961c09d771aec5 | 2026-01-04T17:55:16.391428Z | false |
mattgreen/elevate | https://github.com/mattgreen/elevate/blob/edb3e428c9643974cdf1a747ff961c09d771aec5/lib/elevate/http/base64.rb | lib/elevate/http/base64.rb | module Elevate
module HTTP
module Base64
def self.encode(s)
[s].pack("m0")
end
end
end
end
| ruby | MIT | edb3e428c9643974cdf1a747ff961c09d771aec5 | 2026-01-04T17:55:16.391428Z | false |
mattgreen/elevate | https://github.com/mattgreen/elevate/blob/edb3e428c9643974cdf1a747ff961c09d771aec5/lib/elevate/http/http_client.rb | lib/elevate/http/http_client.rb | module Elevate
module HTTP
class HTTPClient
def initialize(base_url)
@base_url = NSURL.URLWithString(base_url)
@credentials = nil
end
def get(path, query={}, &block)
issue(:get, path, nil, query: query, &block)
end
def post(path, body, &block)
issue(:post, path, body, &bl... | ruby | MIT | edb3e428c9643974cdf1a747ff961c09d771aec5 | 2026-01-04T17:55:16.391428Z | false |
mattgreen/elevate | https://github.com/mattgreen/elevate/blob/edb3e428c9643974cdf1a747ff961c09d771aec5/lib/elevate/http/uri.rb | lib/elevate/http/uri.rb | module Elevate
module HTTP
module URI
def self.encode_www_form(enum)
enum.map do |k,v|
if v.nil?
encode_www_form_component(k)
elsif v.respond_to?(:to_ary)
v.to_ary.map do |w|
str = encode_www_form_component(k)
if w.nil?
str
... | ruby | MIT | edb3e428c9643974cdf1a747ff961c09d771aec5 | 2026-01-04T17:55:16.391428Z | false |
mattgreen/elevate | https://github.com/mattgreen/elevate/blob/edb3e428c9643974cdf1a747ff961c09d771aec5/lib/elevate/http/request.rb | lib/elevate/http/request.rb | module Elevate
module HTTP
# Encapsulates a HTTP request.
#
# +NSURLConnection+ is responsible for fulfilling the request. The response
# is buffered in memory as it is received, and made available through the
# +response+ method.
#
# @api public
class Request
METHODS = [:get, :post, :put, :delete, ... | ruby | MIT | edb3e428c9643974cdf1a747ff961c09d771aec5 | 2026-01-04T17:55:16.391428Z | false |
mattgreen/elevate | https://github.com/mattgreen/elevate/blob/edb3e428c9643974cdf1a747ff961c09d771aec5/lib/elevate/http/activity_indicator.rb | lib/elevate/http/activity_indicator.rb | module Elevate
module HTTP
class ActivityIndicator
def self.instance
Dispatch.once { @instance = new }
@instance
end
def initialize
@lock = NSLock.alloc.init
@count = 0
end
def hide
toggled = false
@lock.lock
@count -= 1 if @count > 0
toggled = @... | ruby | MIT | edb3e428c9643974cdf1a747ff961c09d771aec5 | 2026-01-04T17:55:16.391428Z | false |
rob-murray/five-star | https://github.com/rob-murray/five-star/blob/41109fe87c95b94387363203bf41d59d6b160f0d/spec/spec_helper.rb | spec/spec_helper.rb | $LOAD_PATH.unshift File.expand_path("../../lib", __FILE__)
begin
require "byebug"
rescue LoadError
puts "Platform incompatible"
end
require "coveralls"
require "simplecov"
SimpleCov.start
Coveralls.wear!
require "five-star"
#
# See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
RSpec.configure do |c... | ruby | MIT | 41109fe87c95b94387363203bf41d59d6b160f0d | 2026-01-04T17:55:19.222030Z | false |
rob-murray/five-star | https://github.com/rob-murray/five-star/blob/41109fe87c95b94387363203bf41d59d6b160f0d/spec/five-star/five_star_spec.rb | spec/five-star/five_star_spec.rb | require "spec_helper"
RSpec.describe FiveStar do
describe ".rateable" do
it "is the rateable module" do
expect(FiveStar.rateable).to eq(FiveStar::Rateable)
end
end
describe ".base_rater" do
it "is the base rater class" do
expect(FiveStar.base_rater).to eq(FiveStar::BaseRater)
end
e... | ruby | MIT | 41109fe87c95b94387363203bf41d59d6b160f0d | 2026-01-04T17:55:19.222030Z | false |
rob-murray/five-star | https://github.com/rob-murray/five-star/blob/41109fe87c95b94387363203bf41d59d6b160f0d/spec/five-star/rateable_spec.rb | spec/five-star/rateable_spec.rb | require "spec_helper"
RSpec.describe FiveStar::Rateable do
class Rater
def self.build(_); self; end
def self.description; end
end
subject(:dummy_class) {
Class.new do
include FiveStar::Rateable
rate_with(Rater, Rater, Rater)
end
}
describe ".rate_with" do
it "sets class" do
... | ruby | MIT | 41109fe87c95b94387363203bf41d59d6b160f0d | 2026-01-04T17:55:19.222030Z | false |
rob-murray/five-star | https://github.com/rob-murray/five-star/blob/41109fe87c95b94387363203bf41d59d6b160f0d/spec/five-star/base_rater_spec.rb | spec/five-star/base_rater_spec.rb | require "spec_helper"
RSpec.describe FiveStar::BaseRater do
let(:rateable) { double("Rateable", rateable_name: "Rateable", configuration: configuration) }
let(:configuration) { double("Configuration", min_rating: 0, max_rating: 10, min_weighting: 0.0, max_weighting: 1.0) }
subject { described_class.new(rateable)... | ruby | MIT | 41109fe87c95b94387363203bf41d59d6b160f0d | 2026-01-04T17:55:19.222030Z | false |
rob-murray/five-star | https://github.com/rob-murray/five-star/blob/41109fe87c95b94387363203bf41d59d6b160f0d/spec/five-star/rating_calculator_spec.rb | spec/five-star/rating_calculator_spec.rb | require "spec_helper"
RSpec.describe FiveStar::RatingCalculator do
let(:list_of_raters) { [first_rater, second_rater, third_rater] }
let(:configuration) { double("Configuration", min_rating: 0, max_rating: 10, min_weighting: 0.0, max_weighting: 1.0) }
subject { described_class.new(configuration, list_of_raters) ... | ruby | MIT | 41109fe87c95b94387363203bf41d59d6b160f0d | 2026-01-04T17:55:19.222030Z | false |
rob-murray/five-star | https://github.com/rob-murray/five-star/blob/41109fe87c95b94387363203bf41d59d6b160f0d/lib/five-star.rb | lib/five-star.rb | require "five-star/version"
require "five-star/base_rater"
require "five-star/configuration"
require "five-star/rateable"
require "five-star/errors"
require "five-star/rating_calculator"
# Base module for library interface
module FiveStar
class << self
# Include this in your class that can be rated - this is you... | ruby | MIT | 41109fe87c95b94387363203bf41d59d6b160f0d | 2026-01-04T17:55:19.222030Z | false |
rob-murray/five-star | https://github.com/rob-murray/five-star/blob/41109fe87c95b94387363203bf41d59d6b160f0d/lib/five-star/version.rb | lib/five-star/version.rb | module FiveStar
VERSION = "1.0.0"
end
| ruby | MIT | 41109fe87c95b94387363203bf41d59d6b160f0d | 2026-01-04T17:55:19.222030Z | false |
rob-murray/five-star | https://github.com/rob-murray/five-star/blob/41109fe87c95b94387363203bf41d59d6b160f0d/lib/five-star/errors.rb | lib/five-star/errors.rb | module FiveStar
# Exception raised when error calculating occurs.
#
RatingError = Class.new(StandardError)
end
| ruby | MIT | 41109fe87c95b94387363203bf41d59d6b160f0d | 2026-01-04T17:55:19.222030Z | false |
rob-murray/five-star | https://github.com/rob-murray/five-star/blob/41109fe87c95b94387363203bf41d59d6b160f0d/lib/five-star/base_rater.rb | lib/five-star/base_rater.rb | module FiveStar
# Base implementation of a class to give a rating, weighting and description
# to a +rateable+ instance.
#
# You are *expected* to subclass this class and override the default
# implementation with your own implementation.
class BaseRater
# Called to build a new instance of the rater wit... | ruby | MIT | 41109fe87c95b94387363203bf41d59d6b160f0d | 2026-01-04T17:55:19.222030Z | false |
rob-murray/five-star | https://github.com/rob-murray/five-star/blob/41109fe87c95b94387363203bf41d59d6b160f0d/lib/five-star/configuration.rb | lib/five-star/configuration.rb | module FiveStar
# Default configuration of rating values and weighting.
#
# @api private
class Configuration
DEFAULT_WEIGHTING = 1.0.freeze
def min_rating; 0.0; end
def max_rating; 10.0; end
def min_weighting; 0.0; end
def max_weighting; 1.0; end
end
end
| ruby | MIT | 41109fe87c95b94387363203bf41d59d6b160f0d | 2026-01-04T17:55:19.222030Z | false |
rob-murray/five-star | https://github.com/rob-murray/five-star/blob/41109fe87c95b94387363203bf41d59d6b160f0d/lib/five-star/rating_calculator.rb | lib/five-star/rating_calculator.rb | module FiveStar
# Calculate overall rating for the rateable object from each rater.
# Each instance must implement +rating+ and +weighting+.
# The configuration instance provides min and max rating and weighting values.
#
# @api private
class RatingCalculator
# @see calculate_rating
def self.rate(co... | ruby | MIT | 41109fe87c95b94387363203bf41d59d6b160f0d | 2026-01-04T17:55:19.222030Z | false |
rob-murray/five-star | https://github.com/rob-murray/five-star/blob/41109fe87c95b94387363203bf41d59d6b160f0d/lib/five-star/rateable.rb | lib/five-star/rateable.rb | module FiveStar
# A module to be included to enhance an object with the interface below.
module Rateable
# Extends base class or a module with Rateable methods
#
# @param base [Object]
# the object to mix in this *Rateable* module
#
# @return [undefined]
#
# @api private
def se... | ruby | MIT | 41109fe87c95b94387363203bf41d59d6b160f0d | 2026-01-04T17:55:19.222030Z | false |
jacquescrocker/jammit-s3 | https://github.com/jacquescrocker/jammit-s3/blob/e8aaa4074ab1689795de9376460261cc2c466fa5/lib/jammit-s3.rb | lib/jammit-s3.rb | require 'jammit/command_line'
require 'jammit/s3_command_line'
require 'jammit/s3_uploader'
module Jammit
def self.upload_to_s3!(options = {})
S3Uploader.new(options).upload
end
end
if defined?(Rails)
module Jammit
class JammitRailtie < Rails::Railtie
initializer "set asset host and asset id" do
... | ruby | MIT | e8aaa4074ab1689795de9376460261cc2c466fa5 | 2026-01-04T17:55:19.350524Z | false |
jacquescrocker/jammit-s3 | https://github.com/jacquescrocker/jammit-s3/blob/e8aaa4074ab1689795de9376460261cc2c466fa5/lib/jammit/s3_uploader.rb | lib/jammit/s3_uploader.rb | require 'rubygems'
require 'hmac'
require 'hmac-sha1'
require 'net/https'
require 'base64'
require 'mimemagic'
require 'digest/md5'
module Jammit
class S3Uploader
def initialize(options = {})
@bucket = options[:bucket]
unless @bucket
@bucket_name = options[:bucket_name] || Jammit.configuratio... | ruby | MIT | e8aaa4074ab1689795de9376460261cc2c466fa5 | 2026-01-04T17:55:19.350524Z | false |
jacquescrocker/jammit-s3 | https://github.com/jacquescrocker/jammit-s3/blob/e8aaa4074ab1689795de9376460261cc2c466fa5/lib/jammit/s3_command_line.rb | lib/jammit/s3_command_line.rb | require 's3'
module Jammit
class S3CommandLine < CommandLine
def initialize
super
ensure_s3_configuration
begin
Jammit.upload_to_s3!
rescue S3::Error::BucketAlreadyExists => e
# tell them to pick another name
puts e.message
exit(1)
end
end
pr... | ruby | MIT | e8aaa4074ab1689795de9376460261cc2c466fa5 | 2026-01-04T17:55:19.350524Z | false |
github/codespaces-rails | https://github.com/github/codespaces-rails/blob/c169e2a6f6db8039a9dfd261f9c69082a58258c2/app/jobs/application_job.rb | app/jobs/application_job.rb | class ApplicationJob < ActiveJob::Base
# Automatically retry jobs that encountered a deadlock
# retry_on ActiveRecord::Deadlocked
# Most jobs are safe to ignore if the underlying records are no longer available
# discard_on ActiveJob::DeserializationError
end
| ruby | MIT | c169e2a6f6db8039a9dfd261f9c69082a58258c2 | 2026-01-04T17:50:33.169053Z | false |
github/codespaces-rails | https://github.com/github/codespaces-rails/blob/c169e2a6f6db8039a9dfd261f9c69082a58258c2/app/helpers/hello_codespaces_helper.rb | app/helpers/hello_codespaces_helper.rb | module HelloCodespacesHelper
end
| ruby | MIT | c169e2a6f6db8039a9dfd261f9c69082a58258c2 | 2026-01-04T17:50:33.169053Z | false |
github/codespaces-rails | https://github.com/github/codespaces-rails/blob/c169e2a6f6db8039a9dfd261f9c69082a58258c2/app/helpers/application_helper.rb | app/helpers/application_helper.rb | module ApplicationHelper
end
| ruby | MIT | c169e2a6f6db8039a9dfd261f9c69082a58258c2 | 2026-01-04T17:50:33.169053Z | false |
github/codespaces-rails | https://github.com/github/codespaces-rails/blob/c169e2a6f6db8039a9dfd261f9c69082a58258c2/app/controllers/hello_controller.rb | app/controllers/hello_controller.rb | class HelloController < ApplicationController
def index
end
end
| ruby | MIT | c169e2a6f6db8039a9dfd261f9c69082a58258c2 | 2026-01-04T17:50:33.169053Z | false |
github/codespaces-rails | https://github.com/github/codespaces-rails/blob/c169e2a6f6db8039a9dfd261f9c69082a58258c2/app/controllers/application_controller.rb | app/controllers/application_controller.rb | class ApplicationController < ActionController::Base
end
| ruby | MIT | c169e2a6f6db8039a9dfd261f9c69082a58258c2 | 2026-01-04T17:50:33.169053Z | false |
github/codespaces-rails | https://github.com/github/codespaces-rails/blob/c169e2a6f6db8039a9dfd261f9c69082a58258c2/app/models/application_record.rb | app/models/application_record.rb | class ApplicationRecord < ActiveRecord::Base
primary_abstract_class
end
| ruby | MIT | c169e2a6f6db8039a9dfd261f9c69082a58258c2 | 2026-01-04T17:50:33.169053Z | false |
github/codespaces-rails | https://github.com/github/codespaces-rails/blob/c169e2a6f6db8039a9dfd261f9c69082a58258c2/app/mailers/application_mailer.rb | app/mailers/application_mailer.rb | class ApplicationMailer < ActionMailer::Base
default from: "from@example.com"
layout "mailer"
end
| ruby | MIT | c169e2a6f6db8039a9dfd261f9c69082a58258c2 | 2026-01-04T17:50:33.169053Z | false |
github/codespaces-rails | https://github.com/github/codespaces-rails/blob/c169e2a6f6db8039a9dfd261f9c69082a58258c2/app/channels/application_cable/channel.rb | app/channels/application_cable/channel.rb | module ApplicationCable
class Channel < ActionCable::Channel::Base
end
end
| ruby | MIT | c169e2a6f6db8039a9dfd261f9c69082a58258c2 | 2026-01-04T17:50:33.169053Z | false |
github/codespaces-rails | https://github.com/github/codespaces-rails/blob/c169e2a6f6db8039a9dfd261f9c69082a58258c2/app/channels/application_cable/connection.rb | app/channels/application_cable/connection.rb | module ApplicationCable
class Connection < ActionCable::Connection::Base
end
end
| ruby | MIT | c169e2a6f6db8039a9dfd261f9c69082a58258c2 | 2026-01-04T17:50:33.169053Z | false |
github/codespaces-rails | https://github.com/github/codespaces-rails/blob/c169e2a6f6db8039a9dfd261f9c69082a58258c2/db/seeds.rb | db/seeds.rb | # This file should contain all the record creation needed to seed the database with its default values.
# The data can then be loaded with the bin/rails db:seed command (or created alongside the database with db:setup).
#
# Examples:
#
# movies = Movie.create([{ name: "Star Wars" }, { name: "Lord of the Rings" }])
# ... | ruby | MIT | c169e2a6f6db8039a9dfd261f9c69082a58258c2 | 2026-01-04T17:50:33.169053Z | false |
github/codespaces-rails | https://github.com/github/codespaces-rails/blob/c169e2a6f6db8039a9dfd261f9c69082a58258c2/test/application_system_test_case.rb | test/application_system_test_case.rb | require "test_helper"
class ApplicationSystemTestCase < ActionDispatch::SystemTestCase
driven_by :selenium, using: :chrome, screen_size: [1400, 1400]
end
| ruby | MIT | c169e2a6f6db8039a9dfd261f9c69082a58258c2 | 2026-01-04T17:50:33.169053Z | false |
github/codespaces-rails | https://github.com/github/codespaces-rails/blob/c169e2a6f6db8039a9dfd261f9c69082a58258c2/test/test_helper.rb | test/test_helper.rb | ENV["RAILS_ENV"] ||= "test"
require_relative "../config/environment"
require "rails/test_help"
class ActiveSupport::TestCase
# Run tests in parallel with specified workers
parallelize(workers: :number_of_processors)
# Setup all fixtures in test/fixtures/*.yml for all tests in alphabetical order.
fixtures :all... | ruby | MIT | c169e2a6f6db8039a9dfd261f9c69082a58258c2 | 2026-01-04T17:50:33.169053Z | false |
github/codespaces-rails | https://github.com/github/codespaces-rails/blob/c169e2a6f6db8039a9dfd261f9c69082a58258c2/test/controllers/hello_codespaces_controller_test.rb | test/controllers/hello_codespaces_controller_test.rb | require "test_helper"
class HelloCodespacesControllerTest < ActionDispatch::IntegrationTest
test "should get index" do
get "/"
assert_response :success
end
end
| ruby | MIT | c169e2a6f6db8039a9dfd261f9c69082a58258c2 | 2026-01-04T17:50:33.169053Z | false |
github/codespaces-rails | https://github.com/github/codespaces-rails/blob/c169e2a6f6db8039a9dfd261f9c69082a58258c2/test/channels/application_cable/connection_test.rb | test/channels/application_cable/connection_test.rb | require "test_helper"
class ApplicationCable::ConnectionTest < ActionCable::Connection::TestCase
# test "connects with cookies" do
# cookies.signed[:user_id] = 42
#
# connect
#
# assert_equal connection.user_id, "42"
# end
end
| ruby | MIT | c169e2a6f6db8039a9dfd261f9c69082a58258c2 | 2026-01-04T17:50:33.169053Z | false |
github/codespaces-rails | https://github.com/github/codespaces-rails/blob/c169e2a6f6db8039a9dfd261f9c69082a58258c2/config/application.rb | config/application.rb | require_relative "boot"
require "rails/all"
# Require the gems listed in Gemfile, including any gems
# you've limited to :test, :development, or :production.
Bundler.require(*Rails.groups)
module CodespacesTryRails
class Application < Rails::Application
# Initialize configuration defaults for originally genera... | ruby | MIT | c169e2a6f6db8039a9dfd261f9c69082a58258c2 | 2026-01-04T17:50:33.169053Z | false |
github/codespaces-rails | https://github.com/github/codespaces-rails/blob/c169e2a6f6db8039a9dfd261f9c69082a58258c2/config/environment.rb | config/environment.rb | # Load the Rails application.
require_relative "application"
# Initialize the Rails application.
Rails.application.initialize!
| ruby | MIT | c169e2a6f6db8039a9dfd261f9c69082a58258c2 | 2026-01-04T17:50:33.169053Z | false |
github/codespaces-rails | https://github.com/github/codespaces-rails/blob/c169e2a6f6db8039a9dfd261f9c69082a58258c2/config/puma.rb | config/puma.rb | # Puma can serve each request in a thread from an internal thread pool.
# The `threads` method setting takes two numbers: a minimum and maximum.
# Any libraries that use thread pools should be configured to match
# the maximum value specified for Puma. Default is set to 5 threads for minimum
# and maximum; this matches... | ruby | MIT | c169e2a6f6db8039a9dfd261f9c69082a58258c2 | 2026-01-04T17:50:33.169053Z | false |
github/codespaces-rails | https://github.com/github/codespaces-rails/blob/c169e2a6f6db8039a9dfd261f9c69082a58258c2/config/routes.rb | config/routes.rb | Rails.application.routes.draw do
root "hello#index"
end
| ruby | MIT | c169e2a6f6db8039a9dfd261f9c69082a58258c2 | 2026-01-04T17:50:33.169053Z | false |
github/codespaces-rails | https://github.com/github/codespaces-rails/blob/c169e2a6f6db8039a9dfd261f9c69082a58258c2/config/importmap.rb | config/importmap.rb | # Pin npm packages by running ./bin/importmap
pin "application", preload: true
pin "@hotwired/turbo-rails", to: "turbo.min.js", preload: true
pin "@hotwired/stimulus", to: "stimulus.min.js", preload: true
pin "@hotwired/stimulus-loading", to: "stimulus-loading.js", preload: true
pin_all_from "app/javascript/controller... | ruby | MIT | c169e2a6f6db8039a9dfd261f9c69082a58258c2 | 2026-01-04T17:50:33.169053Z | false |
github/codespaces-rails | https://github.com/github/codespaces-rails/blob/c169e2a6f6db8039a9dfd261f9c69082a58258c2/config/boot.rb | config/boot.rb | ENV["BUNDLE_GEMFILE"] ||= File.expand_path("../Gemfile", __dir__)
require "bundler/setup" # Set up gems listed in the Gemfile.
require "bootsnap/setup" # Speed up boot time by caching expensive operations.
| ruby | MIT | c169e2a6f6db8039a9dfd261f9c69082a58258c2 | 2026-01-04T17:50:33.169053Z | false |
github/codespaces-rails | https://github.com/github/codespaces-rails/blob/c169e2a6f6db8039a9dfd261f9c69082a58258c2/config/initializers/content_security_policy.rb | config/initializers/content_security_policy.rb | # Be sure to restart your server when you modify this file.
# Define an application-wide content security policy.
# See the Securing Rails Applications Guide for more information:
# https://guides.rubyonrails.org/security.html#content-security-policy-header
# Rails.application.configure do
# config.content_security... | ruby | MIT | c169e2a6f6db8039a9dfd261f9c69082a58258c2 | 2026-01-04T17:50:33.169053Z | false |
github/codespaces-rails | https://github.com/github/codespaces-rails/blob/c169e2a6f6db8039a9dfd261f9c69082a58258c2/config/initializers/filter_parameter_logging.rb | config/initializers/filter_parameter_logging.rb | # Be sure to restart your server when you modify this file.
# Configure parameters to be filtered from the log file. Use this to limit dissemination of
# sensitive information. See the ActiveSupport::ParameterFilter documentation for supported
# notations and behaviors.
Rails.application.config.filter_parameters += [
... | ruby | MIT | c169e2a6f6db8039a9dfd261f9c69082a58258c2 | 2026-01-04T17:50:33.169053Z | false |
github/codespaces-rails | https://github.com/github/codespaces-rails/blob/c169e2a6f6db8039a9dfd261f9c69082a58258c2/config/initializers/inflections.rb | config/initializers/inflections.rb | # Be sure to restart your server when you modify this file.
# Add new inflection rules using the following format. Inflections
# are locale specific, and you may define rules for as many different
# locales as you wish. All of these examples are active by default:
# ActiveSupport::Inflector.inflections(:en) do |inflec... | ruby | MIT | c169e2a6f6db8039a9dfd261f9c69082a58258c2 | 2026-01-04T17:50:33.169053Z | false |
github/codespaces-rails | https://github.com/github/codespaces-rails/blob/c169e2a6f6db8039a9dfd261f9c69082a58258c2/config/initializers/permissions_policy.rb | config/initializers/permissions_policy.rb | # Define an application-wide HTTP permissions policy. For further
# information see https://developers.google.com/web/updates/2018/06/feature-policy
#
# Rails.application.config.permissions_policy do |f|
# f.camera :none
# f.gyroscope :none
# f.microphone :none
# f.usb :none
# f.fullscreen :s... | ruby | MIT | c169e2a6f6db8039a9dfd261f9c69082a58258c2 | 2026-01-04T17:50:33.169053Z | false |
github/codespaces-rails | https://github.com/github/codespaces-rails/blob/c169e2a6f6db8039a9dfd261f9c69082a58258c2/config/initializers/assets.rb | config/initializers/assets.rb | # Be sure to restart your server when you modify this file.
# Version of your assets, change this if you want to expire all your assets.
Rails.application.config.assets.version = "1.0"
# Add additional assets to the asset load path.
# Rails.application.config.assets.paths << Emoji.images_path
# Precompile additional... | ruby | MIT | c169e2a6f6db8039a9dfd261f9c69082a58258c2 | 2026-01-04T17:50:33.169053Z | false |
github/codespaces-rails | https://github.com/github/codespaces-rails/blob/c169e2a6f6db8039a9dfd261f9c69082a58258c2/config/environments/test.rb | config/environments/test.rb | require "active_support/core_ext/integer/time"
# The test environment is used exclusively to run your application's
# test suite. You never need to work with it otherwise. Remember that
# your test database is "scratch space" for the test suite and is wiped
# and recreated between test runs. Don't rely on the data the... | ruby | MIT | c169e2a6f6db8039a9dfd261f9c69082a58258c2 | 2026-01-04T17:50:33.169053Z | false |
github/codespaces-rails | https://github.com/github/codespaces-rails/blob/c169e2a6f6db8039a9dfd261f9c69082a58258c2/config/environments/development.rb | config/environments/development.rb | require "active_support/core_ext/integer/time"
Rails.application.configure do
# Settings specified here will take precedence over those in config/application.rb.
# In the development environment your application's code is reloaded any time
# it changes. This slows down response time but is perfect for developme... | ruby | MIT | c169e2a6f6db8039a9dfd261f9c69082a58258c2 | 2026-01-04T17:50:33.169053Z | false |
github/codespaces-rails | https://github.com/github/codespaces-rails/blob/c169e2a6f6db8039a9dfd261f9c69082a58258c2/config/environments/production.rb | config/environments/production.rb | require "active_support/core_ext/integer/time"
Rails.application.configure do
# Settings specified here will take precedence over those in config/application.rb.
# Code is not reloaded between requests.
config.cache_classes = true
# Eager load code on boot. This eager loads most of Rails and
# your applica... | ruby | MIT | c169e2a6f6db8039a9dfd261f9c69082a58258c2 | 2026-01-04T17:50:33.169053Z | false |
HubSpot/hubspot-api-ruby | https://github.com/HubSpot/hubspot-api-ruby/blob/75a9afa65e9789fbe6ff711066d798ca0c10f432/spec/spec_helper.rb | spec/spec_helper.rb | =begin
#CRM Owners
#HubSpot uses **owners** to assign CRM objects to specific people in your organization. The endpoints described here are used to get a list of the owners that are available for an account. To assign an owner to an object, set the hubspot_owner_id property using the appropriate CRM object update or c... | ruby | Apache-2.0 | 75a9afa65e9789fbe6ff711066d798ca0c10f432 | 2026-01-04T17:55:03.682567Z | false |
HubSpot/hubspot-api-ruby | https://github.com/HubSpot/hubspot-api-ruby/blob/75a9afa65e9789fbe6ff711066d798ca0c10f432/spec/discovery/client_spec.rb | spec/discovery/client_spec.rb | require 'spec_helper'
describe 'Hubspot::Client' do
subject(:client) { Hubspot::Client.new(access_token: 'test') }
it { is_expected.to respond_to(:automation) }
it { is_expected.to respond_to(:cms) }
it { is_expected.to respond_to(:communication_preferences) }
it { is_expected.to respond_to(:conversations... | ruby | Apache-2.0 | 75a9afa65e9789fbe6ff711066d798ca0c10f432 | 2026-01-04T17:55:03.682567Z | false |
HubSpot/hubspot-api-ruby | https://github.com/HubSpot/hubspot-api-ruby/blob/75a9afa65e9789fbe6ff711066d798ca0c10f432/spec/discovery/base_api_client_spec.rb | spec/discovery/base_api_client_spec.rb | require 'spec_helper'
require 'hubspot/discovery/base_api_client'
require 'hubspot/configuration'
describe 'Hubspot::Discovery::BaseApiClient' do
class Hubspot::Discovery::SomeApiClass
include Hubspot::Discovery::BaseApiClient
def require_codegen(path)
path
end
end
class Hubspot::SomeApiClass... | ruby | Apache-2.0 | 75a9afa65e9789fbe6ff711066d798ca0c10f432 | 2026-01-04T17:55:03.682567Z | false |
HubSpot/hubspot-api-ruby | https://github.com/HubSpot/hubspot-api-ruby/blob/75a9afa65e9789fbe6ff711066d798ca0c10f432/spec/discovery/base_module_client_spec.rb | spec/discovery/base_module_client_spec.rb | require 'spec_helper'
require 'hubspot/discovery/base_module_client'
describe 'Hubspot::Discovery::BaseModuleClient' do
class Hubspot::Discovery::TestModuleClass
def api_classes
%i[
settings
subscriptions
].freeze
end
def api_modules
%i[
automation
cms
... | ruby | Apache-2.0 | 75a9afa65e9789fbe6ff711066d798ca0c10f432 | 2026-01-04T17:55:03.682567Z | false |
HubSpot/hubspot-api-ruby | https://github.com/HubSpot/hubspot-api-ruby/blob/75a9afa65e9789fbe6ff711066d798ca0c10f432/spec/discovery/settings/businnes_units/business_unit_api_spec.rb | spec/discovery/settings/businnes_units/business_unit_api_spec.rb | require 'spec_helper'
describe 'Hubspot::Discovery::Settings::BusinessUnits::BusinessUnitApi' do
subject(:api) { Hubspot::Client.new(access_token: 'test').settings.business_units.business_unit_api }
it { is_expected.to respond_to(:get_by_user_id) }
end
| ruby | Apache-2.0 | 75a9afa65e9789fbe6ff711066d798ca0c10f432 | 2026-01-04T17:55:03.682567Z | false |
HubSpot/hubspot-api-ruby | https://github.com/HubSpot/hubspot-api-ruby/blob/75a9afa65e9789fbe6ff711066d798ca0c10f432/spec/discovery/settings/users/users_api_spec.rb | spec/discovery/settings/users/users_api_spec.rb | require 'spec_helper'
describe 'Hubspot::Discovery::Settings::Users::UsersApi' do
subject(:api) { Hubspot::Client.new(access_token: 'test').settings.users.users_api }
it { is_expected.to respond_to(:archive) }
it { is_expected.to respond_to(:create) }
it { is_expected.to respond_to(:get_by_id) }
it { is_e... | ruby | Apache-2.0 | 75a9afa65e9789fbe6ff711066d798ca0c10f432 | 2026-01-04T17:55:03.682567Z | false |
HubSpot/hubspot-api-ruby | https://github.com/HubSpot/hubspot-api-ruby/blob/75a9afa65e9789fbe6ff711066d798ca0c10f432/spec/discovery/settings/users/teams_api_spec.rb | spec/discovery/settings/users/teams_api_spec.rb | require 'spec_helper'
describe 'Hubspot::Discovery::Settings::Users::TeamsApi' do
subject(:api) { Hubspot::Client.new(access_token: 'test').settings.users.teams_api }
it { is_expected.to respond_to(:get_all) }
end
| ruby | Apache-2.0 | 75a9afa65e9789fbe6ff711066d798ca0c10f432 | 2026-01-04T17:55:03.682567Z | false |
HubSpot/hubspot-api-ruby | https://github.com/HubSpot/hubspot-api-ruby/blob/75a9afa65e9789fbe6ff711066d798ca0c10f432/spec/discovery/settings/users/roles_api_spec.rb | spec/discovery/settings/users/roles_api_spec.rb | require 'spec_helper'
describe 'Hubspot::Discovery::Settings::Users::RolesApi' do
subject(:api) { Hubspot::Client.new(access_token: 'test').settings.users.roles_api }
it { is_expected.to respond_to(:get_all) }
end
| ruby | Apache-2.0 | 75a9afa65e9789fbe6ff711066d798ca0c10f432 | 2026-01-04T17:55:03.682567Z | false |
HubSpot/hubspot-api-ruby | https://github.com/HubSpot/hubspot-api-ruby/blob/75a9afa65e9789fbe6ff711066d798ca0c10f432/spec/discovery/files/folders_api_spec.rb | spec/discovery/files/folders_api_spec.rb | require 'spec_helper'
describe 'Hubspot::Discovery::Files::FoldersApi' do
subject(:api) { Hubspot::Client.new(access_token: 'test').files.folders_api }
it { is_expected.to respond_to(:archive) }
it { is_expected.to respond_to(:archive_by_path) }
it { is_expected.to respond_to(:check_update_status) }
it { ... | ruby | Apache-2.0 | 75a9afa65e9789fbe6ff711066d798ca0c10f432 | 2026-01-04T17:55:03.682567Z | false |
HubSpot/hubspot-api-ruby | https://github.com/HubSpot/hubspot-api-ruby/blob/75a9afa65e9789fbe6ff711066d798ca0c10f432/spec/discovery/files/files_api_spec.rb | spec/discovery/files/files_api_spec.rb | require 'spec_helper'
describe 'Hubspot::Discovery::Files::FilesApi' do
subject(:api) { Hubspot::Client.new(access_token: 'test').files.files_api }
it { is_expected.to respond_to(:archive) }
it { is_expected.to respond_to(:check_import) }
it { is_expected.to respond_to(:delete) }
it { is_expected.to respo... | ruby | Apache-2.0 | 75a9afa65e9789fbe6ff711066d798ca0c10f432 | 2026-01-04T17:55:03.682567Z | false |
HubSpot/hubspot-api-ruby | https://github.com/HubSpot/hubspot-api-ruby/blob/75a9afa65e9789fbe6ff711066d798ca0c10f432/spec/discovery/crm/client_spec.rb | spec/discovery/crm/client_spec.rb | require 'spec_helper'
describe 'Hubspot::Client' do
subject(:client) { Hubspot::Client.new(access_token: 'test').crm }
it { is_expected.to respond_to(:associations) }
it { is_expected.to respond_to(:companies) }
it { is_expected.to respond_to(:contacts) }
it { is_expected.to respond_to(:deals) }
it { is... | ruby | Apache-2.0 | 75a9afa65e9789fbe6ff711066d798ca0c10f432 | 2026-01-04T17:55:03.682567Z | false |
HubSpot/hubspot-api-ruby | https://github.com/HubSpot/hubspot-api-ruby/blob/75a9afa65e9789fbe6ff711066d798ca0c10f432/spec/discovery/crm/schemas/core_api_spec.rb | spec/discovery/crm/schemas/core_api_spec.rb | require 'spec_helper'
describe 'Hubspot::Discovery::Crm::Schemas::CoreApi' do
subject(:api) { Hubspot::Client.new(access_token: 'test').crm.schemas.core_api }
it { is_expected.to respond_to(:archive) }
it { is_expected.to respond_to(:archive_association) }
it { is_expected.to respond_to(:create) }
it { is... | ruby | Apache-2.0 | 75a9afa65e9789fbe6ff711066d798ca0c10f432 | 2026-01-04T17:55:03.682567Z | false |
HubSpot/hubspot-api-ruby | https://github.com/HubSpot/hubspot-api-ruby/blob/75a9afa65e9789fbe6ff711066d798ca0c10f432/spec/discovery/crm/tickets/basic_api_spec.rb | spec/discovery/crm/tickets/basic_api_spec.rb | require 'spec_helper'
describe 'Hubspot::Discovery::Crm::Tickets::BasicApi' do
subject(:api) { Hubspot::Client.new(access_token: 'test').crm.tickets.basic_api }
it { is_expected.to respond_to(:archive) }
it { is_expected.to respond_to(:create) }
it { is_expected.to respond_to(:get_by_id) }
it { is_expecte... | ruby | Apache-2.0 | 75a9afa65e9789fbe6ff711066d798ca0c10f432 | 2026-01-04T17:55:03.682567Z | false |
HubSpot/hubspot-api-ruby | https://github.com/HubSpot/hubspot-api-ruby/blob/75a9afa65e9789fbe6ff711066d798ca0c10f432/spec/discovery/crm/tickets/search_api_spec.rb | spec/discovery/crm/tickets/search_api_spec.rb | require 'spec_helper'
describe 'Hubspot::Discovery::Crm::Tickets::SearchApi' do
subject(:api) { Hubspot::Client.new(access_token: 'test').crm.tickets.search_api }
it { is_expected.to respond_to(:do_search) }
end
| ruby | Apache-2.0 | 75a9afa65e9789fbe6ff711066d798ca0c10f432 | 2026-01-04T17:55:03.682567Z | false |
HubSpot/hubspot-api-ruby | https://github.com/HubSpot/hubspot-api-ruby/blob/75a9afa65e9789fbe6ff711066d798ca0c10f432/spec/discovery/crm/tickets/batch_api_spec.rb | spec/discovery/crm/tickets/batch_api_spec.rb | require 'spec_helper'
describe 'Hubspot::Discovery::Crm::Tickets::BatchApi' do
subject(:api) { Hubspot::Client.new(access_token: 'test').crm.tickets.batch_api }
it { is_expected.to respond_to(:archive) }
it { is_expected.to respond_to(:create) }
it { is_expected.to respond_to(:read) }
it { is_expected.to ... | ruby | Apache-2.0 | 75a9afa65e9789fbe6ff711066d798ca0c10f432 | 2026-01-04T17:55:03.682567Z | false |
HubSpot/hubspot-api-ruby | https://github.com/HubSpot/hubspot-api-ruby/blob/75a9afa65e9789fbe6ff711066d798ca0c10f432/spec/discovery/crm/exports/public_exports_api_spec.rb | spec/discovery/crm/exports/public_exports_api_spec.rb | require 'spec_helper'
describe 'Hubspot::Discovery::Crm::Exports::PublicExportsApi' do
subject(:PublicExportsApi) { Hubspot::Client.new(access_token: 'test').crm.exports.public_exports_api }
it { is_expected.to respond_to(:get_status) }
it { is_expected.to respond_to(:start) }
end
| ruby | Apache-2.0 | 75a9afa65e9789fbe6ff711066d798ca0c10f432 | 2026-01-04T17:55:03.682567Z | false |
HubSpot/hubspot-api-ruby | https://github.com/HubSpot/hubspot-api-ruby/blob/75a9afa65e9789fbe6ff711066d798ca0c10f432/spec/discovery/crm/deals/basic_api_spec.rb | spec/discovery/crm/deals/basic_api_spec.rb | require 'spec_helper'
describe 'Hubspot::Discovery::Crm::Deals::BasicApi' do
subject(:basic_api) { Hubspot::Client.new(access_token: 'test').crm.deals.basic_api }
it { is_expected.to respond_to(:archive) }
it { is_expected.to respond_to(:create) }
it { is_expected.to respond_to(:get_by_id) }
it { is_expec... | ruby | Apache-2.0 | 75a9afa65e9789fbe6ff711066d798ca0c10f432 | 2026-01-04T17:55:03.682567Z | false |
HubSpot/hubspot-api-ruby | https://github.com/HubSpot/hubspot-api-ruby/blob/75a9afa65e9789fbe6ff711066d798ca0c10f432/spec/discovery/crm/deals/search_api_spec.rb | spec/discovery/crm/deals/search_api_spec.rb | require 'spec_helper'
describe 'Hubspot::Discovery::Crm::Deals::SearchApi' do
subject(:search_api) { Hubspot::Client.new(access_token: 'test').crm.deals.search_api }
it { is_expected.to respond_to(:do_search) }
end
| ruby | Apache-2.0 | 75a9afa65e9789fbe6ff711066d798ca0c10f432 | 2026-01-04T17:55:03.682567Z | false |
HubSpot/hubspot-api-ruby | https://github.com/HubSpot/hubspot-api-ruby/blob/75a9afa65e9789fbe6ff711066d798ca0c10f432/spec/discovery/crm/deals/batch_api_spec.rb | spec/discovery/crm/deals/batch_api_spec.rb | require 'spec_helper'
describe 'Hubspot::Discovery::Crm::Deals::BatchApi' do
subject(:batch_api) { Hubspot::Client.new(access_token: 'test').crm.deals.batch_api }
it { is_expected.to respond_to(:archive) }
it { is_expected.to respond_to(:create) }
it { is_expected.to respond_to(:read) }
it { is_expected.t... | ruby | Apache-2.0 | 75a9afa65e9789fbe6ff711066d798ca0c10f432 | 2026-01-04T17:55:03.682567Z | false |
HubSpot/hubspot-api-ruby | https://github.com/HubSpot/hubspot-api-ruby/blob/75a9afa65e9789fbe6ff711066d798ca0c10f432/spec/discovery/crm/lists/memberships_api_spec.rb | spec/discovery/crm/lists/memberships_api_spec.rb | require 'spec_helper'
describe 'Hubspot::Discovery::Crm::Lists::MembershipsApi' do
subject(:api) { Hubspot::Client.new(access_token: 'test').crm.lists.memberships_api }
it { is_expected.to respond_to(:add) }
it { is_expected.to respond_to(:add_all_from_list) }
it { is_expected.to respond_to(:add_and_remove)... | ruby | Apache-2.0 | 75a9afa65e9789fbe6ff711066d798ca0c10f432 | 2026-01-04T17:55:03.682567Z | false |
HubSpot/hubspot-api-ruby | https://github.com/HubSpot/hubspot-api-ruby/blob/75a9afa65e9789fbe6ff711066d798ca0c10f432/spec/discovery/crm/lists/mapping_api_spec.rb | spec/discovery/crm/lists/mapping_api_spec.rb | require 'spec_helper'
describe 'Hubspot::Discovery::Crm::Lists::ListsApi' do
subject(:api) { Hubspot::Client.new(access_token: 'test').crm.lists.lists_api }
it { is_expected.to respond_to(:create) }
it { is_expected.to respond_to(:do_search) }
it { is_expected.to respond_to(:get_all) }
it { is_expected.to... | ruby | Apache-2.0 | 75a9afa65e9789fbe6ff711066d798ca0c10f432 | 2026-01-04T17:55:03.682567Z | false |
HubSpot/hubspot-api-ruby | https://github.com/HubSpot/hubspot-api-ruby/blob/75a9afa65e9789fbe6ff711066d798ca0c10f432/spec/discovery/crm/lists/folders_api_spec.rb | spec/discovery/crm/lists/folders_api_spec.rb | require 'spec_helper'
describe 'Hubspot::Discovery::Crm::Lists::FoldersApi' do
subject(:api) { Hubspot::Client.new(access_token: 'test').crm.lists.folders_api }
it { is_expected.to respond_to(:create) }
it { is_expected.to respond_to(:get_all) }
it { is_expected.to respond_to(:move) }
it { is_expected.to ... | ruby | Apache-2.0 | 75a9afa65e9789fbe6ff711066d798ca0c10f432 | 2026-01-04T17:55:03.682567Z | false |
HubSpot/hubspot-api-ruby | https://github.com/HubSpot/hubspot-api-ruby/blob/75a9afa65e9789fbe6ff711066d798ca0c10f432/spec/discovery/crm/lists/lists_api_spec.rb | spec/discovery/crm/lists/lists_api_spec.rb | require 'spec_helper'
describe 'Hubspot::Discovery::Crm::Lists::MappingApi' do
subject(:api) { Hubspot::Client.new(access_token: 'test').crm.lists.mapping_api }
it { is_expected.to respond_to(:translate_legacy_list_id_to_list_id) }
it { is_expected.to respond_to(:translate_legacy_list_id_to_list_id_batch) }
e... | ruby | Apache-2.0 | 75a9afa65e9789fbe6ff711066d798ca0c10f432 | 2026-01-04T17:55:03.682567Z | false |
HubSpot/hubspot-api-ruby | https://github.com/HubSpot/hubspot-api-ruby/blob/75a9afa65e9789fbe6ff711066d798ca0c10f432/spec/discovery/crm/line_items/basic_api_spec.rb | spec/discovery/crm/line_items/basic_api_spec.rb | require 'spec_helper'
describe 'Hubspot::Discovery::Crm::LineItems::BasicApi' do
subject(:api) { Hubspot::Client.new(access_token: 'test').crm.line_items.basic_api }
it { is_expected.to respond_to(:archive) }
it { is_expected.to respond_to(:create) }
it { is_expected.to respond_to(:get_by_id) }
it { is_ex... | ruby | Apache-2.0 | 75a9afa65e9789fbe6ff711066d798ca0c10f432 | 2026-01-04T17:55:03.682567Z | false |
HubSpot/hubspot-api-ruby | https://github.com/HubSpot/hubspot-api-ruby/blob/75a9afa65e9789fbe6ff711066d798ca0c10f432/spec/discovery/crm/line_items/search_api_spec.rb | spec/discovery/crm/line_items/search_api_spec.rb | require 'spec_helper'
describe 'Hubspot::Discovery::Crm::LineItems::SearchApi' do
subject(:api) { Hubspot::Client.new(access_token: 'test').crm.line_items.search_api }
it { is_expected.to respond_to(:do_search) }
end
| ruby | Apache-2.0 | 75a9afa65e9789fbe6ff711066d798ca0c10f432 | 2026-01-04T17:55:03.682567Z | false |
HubSpot/hubspot-api-ruby | https://github.com/HubSpot/hubspot-api-ruby/blob/75a9afa65e9789fbe6ff711066d798ca0c10f432/spec/discovery/crm/line_items/batch_api_spec.rb | spec/discovery/crm/line_items/batch_api_spec.rb | require 'spec_helper'
describe 'Hubspot::Discovery::Crm::LineItems::BatchApi' do
subject(:api) { Hubspot::Client.new(access_token: 'test').crm.line_items.batch_api }
it { is_expected.to respond_to(:archive) }
it { is_expected.to respond_to(:create) }
it { is_expected.to respond_to(:read) }
it { is_expecte... | ruby | Apache-2.0 | 75a9afa65e9789fbe6ff711066d798ca0c10f432 | 2026-01-04T17:55:03.682567Z | false |
HubSpot/hubspot-api-ruby | https://github.com/HubSpot/hubspot-api-ruby/blob/75a9afa65e9789fbe6ff711066d798ca0c10f432/spec/discovery/crm/extensions/client_spec.rb | spec/discovery/crm/extensions/client_spec.rb | require 'spec_helper'
describe 'Hubspot::Client' do
subject(:client) { Hubspot::Client.new(access_token: 'test').crm.extensions }
it { is_expected.to respond_to(:calling) }
it { is_expected.to respond_to(:cards) }
it { is_expected.to respond_to(:videoconferencing) }
end
| ruby | Apache-2.0 | 75a9afa65e9789fbe6ff711066d798ca0c10f432 | 2026-01-04T17:55:03.682567Z | false |
HubSpot/hubspot-api-ruby | https://github.com/HubSpot/hubspot-api-ruby/blob/75a9afa65e9789fbe6ff711066d798ca0c10f432/spec/discovery/crm/extensions/videoconferencing/settings_api_spec.rb | spec/discovery/crm/extensions/videoconferencing/settings_api_spec.rb | require 'spec_helper'
describe 'Hubspot::Discovery::Crm::Extensions::Videoconferencing::SettingsApi' do
subject(:api) { Hubspot::Client.new(access_token: 'test').crm.extensions.videoconferencing.settings_api }
it { is_expected.to respond_to(:archive) }
it { is_expected.to respond_to(:get_by_id) }
it { is_ex... | ruby | Apache-2.0 | 75a9afa65e9789fbe6ff711066d798ca0c10f432 | 2026-01-04T17:55:03.682567Z | false |
HubSpot/hubspot-api-ruby | https://github.com/HubSpot/hubspot-api-ruby/blob/75a9afa65e9789fbe6ff711066d798ca0c10f432/spec/discovery/crm/extensions/cards/sample_response_api_spec.rb | spec/discovery/crm/extensions/cards/sample_response_api_spec.rb | require 'spec_helper'
describe 'Hubspot::Discovery::Crm::Extensions::Cards::SampleResponseApi' do
subject(:api) { Hubspot::Client.new(access_token: 'test').crm.extensions.cards.sample_response_api }
it { is_expected.to respond_to(:get_cards_sample_response) }
end
| ruby | Apache-2.0 | 75a9afa65e9789fbe6ff711066d798ca0c10f432 | 2026-01-04T17:55:03.682567Z | false |
HubSpot/hubspot-api-ruby | https://github.com/HubSpot/hubspot-api-ruby/blob/75a9afa65e9789fbe6ff711066d798ca0c10f432/spec/discovery/crm/extensions/cards/cards_api_spec.rb | spec/discovery/crm/extensions/cards/cards_api_spec.rb | require 'spec_helper'
describe 'Hubspot::Discovery::Crm::Extensions::Cards::CardsApi' do
subject(:api) { Hubspot::Client.new(access_token: 'test').crm.extensions.cards.cards_api }
it { is_expected.to respond_to(:archive) }
it { is_expected.to respond_to(:create) }
it { is_expected.to respond_to(:get_all) }
... | ruby | Apache-2.0 | 75a9afa65e9789fbe6ff711066d798ca0c10f432 | 2026-01-04T17:55:03.682567Z | false |
HubSpot/hubspot-api-ruby | https://github.com/HubSpot/hubspot-api-ruby/blob/75a9afa65e9789fbe6ff711066d798ca0c10f432/spec/discovery/crm/extensions/calling/recording_settings_api_spec.rb | spec/discovery/crm/extensions/calling/recording_settings_api_spec.rb | require 'spec_helper'
describe 'Hubspot::Discovery::Crm::Extensions::Calling::RecordingSettingsApi' do
subject(:api) { Hubspot::Client.new(access_token: 'test').crm.extensions.calling.recording_settings_api }
it { is_expected.to respond_to(:get_url_format) }
it { is_expected.to respond_to(:mark_as_ready) }
... | ruby | Apache-2.0 | 75a9afa65e9789fbe6ff711066d798ca0c10f432 | 2026-01-04T17:55:03.682567Z | false |
HubSpot/hubspot-api-ruby | https://github.com/HubSpot/hubspot-api-ruby/blob/75a9afa65e9789fbe6ff711066d798ca0c10f432/spec/discovery/crm/extensions/calling/channel_connection_settings_api_spec.rb | spec/discovery/crm/extensions/calling/channel_connection_settings_api_spec.rb | require 'spec_helper'
describe 'Hubspot::Discovery::Crm::Extensions::Calling::ChannelConnectionSettingsApi' do
subject(:ChannelConnectionSettingsApi) { Hubspot::Client.new(access_token: 'test').crm.extensions.calling.channel_connection_settings_api }
it { is_expected.to respond_to(:archive) }
it { is_expected... | ruby | Apache-2.0 | 75a9afa65e9789fbe6ff711066d798ca0c10f432 | 2026-01-04T17:55:03.682567Z | false |
HubSpot/hubspot-api-ruby | https://github.com/HubSpot/hubspot-api-ruby/blob/75a9afa65e9789fbe6ff711066d798ca0c10f432/spec/discovery/crm/extensions/calling/settings_api_spec.rb | spec/discovery/crm/extensions/calling/settings_api_spec.rb | require 'spec_helper'
describe 'Hubspot::Discovery::Crm::Extensions::Calling::SettingsApi' do
subject(:api) { Hubspot::Client.new(access_token: 'test').crm.extensions.calling.settings_api }
it { is_expected.to respond_to(:archive) }
it { is_expected.to respond_to(:create) }
it { is_expected.to respond_to(:g... | ruby | Apache-2.0 | 75a9afa65e9789fbe6ff711066d798ca0c10f432 | 2026-01-04T17:55:03.682567Z | false |
HubSpot/hubspot-api-ruby | https://github.com/HubSpot/hubspot-api-ruby/blob/75a9afa65e9789fbe6ff711066d798ca0c10f432/spec/discovery/crm/owners/owners_api_spec.rb | spec/discovery/crm/owners/owners_api_spec.rb | require 'spec_helper'
describe 'Hubspot::Discovery::Crm::Owners::OwnersApi' do
subject(:api) { Hubspot::Client.new(access_token: 'test').crm.owners.owners_api }
it { is_expected.to respond_to(:get_by_id) }
it { is_expected.to respond_to(:get_page) }
end
| ruby | Apache-2.0 | 75a9afa65e9789fbe6ff711066d798ca0c10f432 | 2026-01-04T17:55:03.682567Z | false |
HubSpot/hubspot-api-ruby | https://github.com/HubSpot/hubspot-api-ruby/blob/75a9afa65e9789fbe6ff711066d798ca0c10f432/spec/discovery/crm/pipelines/pipeline_audits_api_spec.rb | spec/discovery/crm/pipelines/pipeline_audits_api_spec.rb | require 'spec_helper'
describe 'Hubspot::Discovery::Crm::Pipelines::PipelineAuditsApi' do
subject(:api) { Hubspot::Client.new(access_token: 'test').crm.pipelines.pipeline_audits_api }
it { is_expected.to respond_to(:get_audit) }
end
| ruby | Apache-2.0 | 75a9afa65e9789fbe6ff711066d798ca0c10f432 | 2026-01-04T17:55:03.682567Z | false |
HubSpot/hubspot-api-ruby | https://github.com/HubSpot/hubspot-api-ruby/blob/75a9afa65e9789fbe6ff711066d798ca0c10f432/spec/discovery/crm/pipelines/pipeline_stage_audits_api_spec.rb | spec/discovery/crm/pipelines/pipeline_stage_audits_api_spec.rb | require 'spec_helper'
describe 'Hubspot::Discovery::Crm::Pipelines::PipelineStageAuditsApi' do
subject(:api) { Hubspot::Client.new(access_token: 'test').crm.pipelines.pipeline_stage_audits_api }
it { is_expected.to respond_to(:get_audit) }
end
| ruby | Apache-2.0 | 75a9afa65e9789fbe6ff711066d798ca0c10f432 | 2026-01-04T17:55:03.682567Z | false |
HubSpot/hubspot-api-ruby | https://github.com/HubSpot/hubspot-api-ruby/blob/75a9afa65e9789fbe6ff711066d798ca0c10f432/spec/discovery/crm/pipelines/pipeline_stages_api_spec.rb | spec/discovery/crm/pipelines/pipeline_stages_api_spec.rb | require 'spec_helper'
describe 'Hubspot::Discovery::Crm::Pipelines::PipelineStagesApi' do
subject(:api) { Hubspot::Client.new(access_token: 'test').crm.pipelines.pipeline_stages_api }
it { is_expected.to respond_to(:archive) }
it { is_expected.to respond_to(:create) }
it { is_expected.to respond_to(:get_all... | ruby | Apache-2.0 | 75a9afa65e9789fbe6ff711066d798ca0c10f432 | 2026-01-04T17:55:03.682567Z | false |
HubSpot/hubspot-api-ruby | https://github.com/HubSpot/hubspot-api-ruby/blob/75a9afa65e9789fbe6ff711066d798ca0c10f432/spec/discovery/crm/pipelines/pipelines_api_spec.rb | spec/discovery/crm/pipelines/pipelines_api_spec.rb | require 'spec_helper'
describe 'Hubspot::Discovery::Crm::Pipelines::PipelinesApi' do
subject(:api) { Hubspot::Client.new(access_token: 'test').crm.pipelines.pipelines_api }
it { is_expected.to respond_to(:archive) }
it { is_expected.to respond_to(:create) }
it { is_expected.to respond_to(:get_all) }
it { ... | ruby | Apache-2.0 | 75a9afa65e9789fbe6ff711066d798ca0c10f432 | 2026-01-04T17:55:03.682567Z | false |
HubSpot/hubspot-api-ruby | https://github.com/HubSpot/hubspot-api-ruby/blob/75a9afa65e9789fbe6ff711066d798ca0c10f432/spec/discovery/crm/quotes/basic_api_spec.rb | spec/discovery/crm/quotes/basic_api_spec.rb | require 'spec_helper'
describe 'Hubspot::Discovery::Crm::Quotes::BasicApi' do
subject(:api) { Hubspot::Client.new(access_token: 'test').crm.quotes.basic_api }
it { is_expected.to respond_to(:archive) }
it { is_expected.to respond_to(:create) }
it { is_expected.to respond_to(:get_by_id) }
it { is_expected.... | ruby | Apache-2.0 | 75a9afa65e9789fbe6ff711066d798ca0c10f432 | 2026-01-04T17:55:03.682567Z | false |
HubSpot/hubspot-api-ruby | https://github.com/HubSpot/hubspot-api-ruby/blob/75a9afa65e9789fbe6ff711066d798ca0c10f432/spec/discovery/crm/quotes/search_api_spec.rb | spec/discovery/crm/quotes/search_api_spec.rb | require 'spec_helper'
describe 'Hubspot::Discovery::Crm::Quotes::SearchApi' do
subject(:api) { Hubspot::Client.new(access_token: 'test').crm.quotes.search_api }
it { is_expected.to respond_to(:do_search) }
end
| ruby | Apache-2.0 | 75a9afa65e9789fbe6ff711066d798ca0c10f432 | 2026-01-04T17:55:03.682567Z | false |
HubSpot/hubspot-api-ruby | https://github.com/HubSpot/hubspot-api-ruby/blob/75a9afa65e9789fbe6ff711066d798ca0c10f432/spec/discovery/crm/quotes/batch_api_spec.rb | spec/discovery/crm/quotes/batch_api_spec.rb | require 'spec_helper'
describe 'Hubspot::Discovery::Crm::Quotes::BatchApi' do
subject(:api) { Hubspot::Client.new(access_token: 'test').crm.quotes.batch_api }
it { is_expected.to respond_to(:archive) }
it { is_expected.to respond_to(:create) }
it { is_expected.to respond_to(:read) }
it { is_expected.to re... | ruby | Apache-2.0 | 75a9afa65e9789fbe6ff711066d798ca0c10f432 | 2026-01-04T17:55:03.682567Z | false |
HubSpot/hubspot-api-ruby | https://github.com/HubSpot/hubspot-api-ruby/blob/75a9afa65e9789fbe6ff711066d798ca0c10f432/spec/discovery/crm/properties/batch_api_spec.rb | spec/discovery/crm/properties/batch_api_spec.rb | require 'spec_helper'
describe 'Hubspot::Discovery::Crm::Properties::BatchApi' do
subject(:api) { Hubspot::Client.new(access_token: 'test').crm.properties.batch_api }
it { is_expected.to respond_to(:archive) }
it { is_expected.to respond_to(:create) }
it { is_expected.to respond_to(:read) }
end
| ruby | Apache-2.0 | 75a9afa65e9789fbe6ff711066d798ca0c10f432 | 2026-01-04T17:55:03.682567Z | false |
HubSpot/hubspot-api-ruby | https://github.com/HubSpot/hubspot-api-ruby/blob/75a9afa65e9789fbe6ff711066d798ca0c10f432/spec/discovery/crm/properties/core_api_spec.rb | spec/discovery/crm/properties/core_api_spec.rb | require 'spec_helper'
describe 'Hubspot::Discovery::Crm::Properties::CoreApi' do
subject(:api) { Hubspot::Client.new(access_token: 'test').crm.properties.core_api }
it { is_expected.to respond_to(:archive) }
it { is_expected.to respond_to(:create) }
it { is_expected.to respond_to(:get_all) }
it { is_expec... | ruby | Apache-2.0 | 75a9afa65e9789fbe6ff711066d798ca0c10f432 | 2026-01-04T17:55:03.682567Z | false |
HubSpot/hubspot-api-ruby | https://github.com/HubSpot/hubspot-api-ruby/blob/75a9afa65e9789fbe6ff711066d798ca0c10f432/spec/discovery/crm/properties/groups_api_spec.rb | spec/discovery/crm/properties/groups_api_spec.rb | require 'spec_helper'
describe 'Hubspot::Discovery::Crm::Properties::GroupsApi' do
subject(:api) { Hubspot::Client.new(access_token: 'test').crm.properties.groups_api }
it { is_expected.to respond_to(:archive) }
it { is_expected.to respond_to(:create) }
it { is_expected.to respond_to(:get_all) }
it { is_e... | ruby | Apache-2.0 | 75a9afa65e9789fbe6ff711066d798ca0c10f432 | 2026-01-04T17:55:03.682567Z | false |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.