source stringclasses 1
value | repo stringlengths 5 63 | repo_url stringlengths 24 82 | path stringlengths 5 167 | language stringclasses 1
value | license stringclasses 5
values | stars int64 10 51.4k | ref stringclasses 23
values | size_bytes int64 200 258k | text stringlengths 137 258k |
|---|---|---|---|---|---|---|---|---|---|
github | HoneyryderChuck/httpx | https://github.com/HoneyryderChuck/httpx | standalone_tests/multipart_filemagic_test.rb | Ruby | apache-2.0 | 237 | master | 746 | # frozen_string_literal: true
require "filemagic"
require "test_helper"
require "spy"
require "support/http_helpers"
require "support/minitest_extensions"
class MultipartFilemagicTest < Minitest::Test
include HTTPHelpers
def test_plugin_multipart_filemagic_file_upload
assert defined?(FileMagic)
filemagi... |
github | HoneyryderChuck/httpx | https://github.com/HoneyryderChuck/httpx | standalone_tests/json_yajl_test.rb | Ruby | apache-2.0 | 237 | master | 815 | # frozen_string_literal: true
require "yajl"
require "test_helper"
class ResponseYajlTest < Minitest::Test
include HTTPX
def test_response_decoders
json_response = Response.new(request, 200, "2.0", { "content-type" => "application/json" })
json_response << %({"a": "b"})
assert json_response.json == {... |
github | HoneyryderChuck/httpx | https://github.com/HoneyryderChuck/httpx | standalone_tests/no_punycode_test.rb | Ruby | apache-2.0 | 237 | master | 371 | # frozen_string_literal: true
$LOAD_PATH.delete_if { |path| path.include?("/idnx") }
require "test_helper"
require "support/http_helpers"
require "support/minitest_extensions"
class NoPunycodeTest < Minitest::Test
include HTTPHelpers
def test_do_not_punycode
assert_raises(URI::InvalidComponentError) do
... |
github | HoneyryderChuck/httpx | https://github.com/HoneyryderChuck/httpx | standalone_tests/close_on_fork_test.rb | Ruby | apache-2.0 | 237 | master | 1,827 | # frozen_string_literal: true
require "oj"
require "test_helper"
class CloseOnForkTest < Minitest::Test
include HTTPHelpers
include HTTPX
def test_close_on_fork_after_fork_callback
skip("MRI feature") unless Process.respond_to?(:fork)
GC.start # cleanup instances created by other tests
http = HTTP... |
github | HoneyryderChuck/httpx | https://github.com/HoneyryderChuck/httpx | standalone_tests/clean_exit_on_ssl_corruption_test.rb | Ruby | apache-2.0 | 237 | master | 449 | # frozen_string_literal: true
require "test_helper"
require "support/http_helpers"
require "support/minitest_extensions"
class HTTPX::SSL
def write(*)
raise OpenSSL::SSL::SSLError, "SSL_write"
end
end
class CleanExitOnSslCorruptionTest < Minitest::Test
include HTTPHelpers
def test_clean_exit_on_ssl_writ... |
github | HoneyryderChuck/httpx | https://github.com/HoneyryderChuck/httpx | standalone_tests/env_proxy_test.rb | Ruby | apache-2.0 | 237 | master | 2,834 | # frozen_string_literal: true
require "uri"
HTTP_PROXY = ENV["HTTPX_HTTP_PROXY"]
ENV["http_proxy"] = HTTP_PROXY
HTTPS_PROXY = ENV["HTTPX_HTTPS_PROXY"]
ENV["https_proxy"] = HTTPS_PROXY
NO_PROXY = ENV["HTTPBIN_NO_PROXY_HOST"]
ENV["no_proxy"] = URI(NO_PROXY).authority
require "test_helper"
require "support/http_helpers... |
github | HoneyryderChuck/httpx | https://github.com/HoneyryderChuck/httpx | standalone_tests/faraday_with_webmock_test.rb | Ruby | apache-2.0 | 237 | master | 772 | # frozen_string_literal: true
require "test_helper"
require "support/http_helpers"
require "support/minitest_extensions"
require "httpx/adapters/faraday"
require "webmock/minitest"
require "httpx/adapters/webmock"
class FaradayWithWebmockTest < Minitest::Test
include HTTPHelpers
def setup
super
WebMock.e... |
github | HoneyryderChuck/httpx | https://github.com/HoneyryderChuck/httpx | standalone_tests/expect_417_test.rb | Ruby | apache-2.0 | 237 | master | 846 | # frozen_string_literal: true
require "multi_json"
require "test_helper"
class Expect417Test < Minitest::Test
include HTTPHelpers
%w[http https].each do |scheme|
define_method :"test_plugin_expect_100_#{scheme}_form_params_417" do
uri = "#{scheme}://#{httpbin}/status/417"
response = HTTPX.plugin(... |
github | HoneyryderChuck/httpx | https://github.com/HoneyryderChuck/httpx | profiler/helpers.rb | Ruby | apache-2.0 | 237 | master | 1,923 | # frozen_string_literal: true
require "objspace"
module ProfilerHelpers
module_function
def measure_time
initial = Process.clock_gettime(Process::CLOCK_MONOTONIC, :millisecond)
yield
ensure
total = Process.clock_gettime(Process::CLOCK_MONOTONIC, :millisecond) - initial
puts "Took #{total} milli... |
github | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | Gemfile | Ruby | apache-2.0 | 237 | main | 891 | # Copyright 2019 Google, Inc
#
# 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 writing, ... |
github | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | iap/Gemfile | Ruby | apache-2.0 | 237 | main | 699 | # Copyright 2020 Google, LLC.
#
# 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 writing,... |
github | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | iap/iap.rb | Ruby | apache-2.0 | 237 | main | 2,971 | # Copyright 2020 Google, LLC.
#
# 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 writing,... |
github | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | iap/spec/iap_spec.rb | Ruby | apache-2.0 | 237 | main | 1,713 | # Copyright 2016 Google, Inc
#
# 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 writing, ... |
github | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | run/rails/Gemfile | Ruby | apache-2.0 | 237 | main | 2,206 | source "https://rubygems.org"
git_source(:github) { |repo| "https://github.com/#{repo}.git" }
gem "dotenv-rails", "~> 2.8"
# Bundle edge Rails instead: gem "rails", github: "rails/rails", branch: "main"
gem "rails", "~> 8.0"
# Use postgresql as the database for Active Record
gem "pg", "~> 1.5"
# Use Puma as the app se... |
github | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | run/rails/db/schema.rb | Ruby | apache-2.0 | 237 | main | 2,417 | # This file is auto-generated from the current state of the database. Instead
# of editing this file, please use the migrations feature of Active Record to
# incrementally modify your database, and then regenerate this schema definition.
#
# This file is the source Rails uses to define your schema when running `bin/rai... |
github | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | run/rails/db/migrate/20210504183455_create_active_storage_tables.active_storage.rb | Ruby | apache-2.0 | 237 | main | 1,357 | # This migration comes from active_storage (originally 20170806125915)
class CreateActiveStorageTables < ActiveRecord::Migration[5.2]
def change
create_table :active_storage_blobs do |t|
t.string :key, null: false
t.string :filename, null: false
t.string :content_type
t.... |
github | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | run/rails/config/boot.rb | Ruby | apache-2.0 | 237 | main | 206 | 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. |
github | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | run/rails/config/application.rb | Ruby | apache-2.0 | 237 | main | 1,212 | require_relative "boot"
require "rails"
# Pick the frameworks you want:
require "active_model/railtie"
require "active_job/railtie"
require "active_record/railtie"
require "active_storage/engine"
require "action_controller/railtie"
# require "action_mailer/railtie"
# require "action_mailbox/engine"
# require "action_t... |
github | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | run/rails/config/puma.rb | Ruby | apache-2.0 | 237 | main | 1,771 | # 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... |
github | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | run/rails/config/environments/test.rb | Ruby | apache-2.0 | 237 | main | 2,091 | 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... |
github | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | run/rails/config/environments/development.rb | Ruby | apache-2.0 | 237 | main | 2,720 | 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... |
github | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | run/rails/config/environments/production.rb | Ruby | apache-2.0 | 237 | main | 4,955 | 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... |
github | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | run/rails/config/initializers/wrap_parameters.rb | Ruby | apache-2.0 | 237 | main | 484 | # Be sure to restart your server when you modify this file.
# This file contains settings for ActionController::ParamsWrapper which
# is enabled by default.
# Enable parameter wrapping for JSON. You can disable this by setting :format to an empty array.
ActiveSupport.on_load :action_controller do
wrap_parameters fo... |
github | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | run/rails/config/initializers/new_framework_defaults_7_0.rb | Ruby | apache-2.0 | 237 | main | 7,581 | # Be sure to restart your server when you modify this file.
#
# This file eases your Rails 7.0 framework defaults upgrade.
#
# Uncomment each configuration one by one to switch to the new default.
# Once your application is ready to run with all new defaults, you can remove
# this file and set the `config.load_defaults... |
github | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | run/rails/app/controllers/photos_controller.rb | Ruby | apache-2.0 | 237 | main | 1,277 | class PhotosController < ApplicationController
before_action :set_photo, only: [:show, :edit, :update, :destroy]
def index
@photos = Photo.all
end
def show
end
def new
@photo = Photo.new
end
def edit
end
def create
@photo = Photo.new photo_params
image = params[:photo][:image]
... |
github | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | run/rails/app/helpers/photos_helper.rb | Ruby | apache-2.0 | 237 | main | 264 | module PhotosHelper
def image_url photo
case Rails.application.config.active_storage.service
when :local
url_for photo.image
when :google
"https://storage.googleapis.com/#{ENV['STORAGE_BUCKET_NAME']}/#{photo.image.key}"
end
end
end |
github | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | run/rails/test/test_helper.rb | Ruby | apache-2.0 | 237 | main | 408 | ENV["RAILS_ENV"] ||= "test"
require_relative "../config/environment"
require "rails/test_help"
class ActiveSupport
class 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.
... |
github | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | run/rails/test/system/photos_test.rb | Ruby | apache-2.0 | 237 | main | 877 | require "application_system_test_case"
class PhotosTest < ApplicationSystemTestCase
setup do
@photo = photos :one
end
test "visiting the index" do
visit photos_url
assert_selector "h1", text: "Photos"
end
test "creating a Photo" do
visit photos_url
click_on "New Photo"
fill_in "Cap... |
github | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | run/rails/test/controllers/photos_controller_test.rb | Ruby | apache-2.0 | 237 | main | 1,008 | require "test_helper"
class PhotosControllerTest < ActionDispatch::IntegrationTest
setup do
@photo = photos :one
end
test "should get index" do
get photos_url
assert_response :success
end
test "should get new" do
get new_photo_url
assert_response :success
end
test "should create ph... |
github | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | run/helloworld/Gemfile | Ruby | apache-2.0 | 237 | main | 260 | source "https://rubygems.org"
gem "sinatra", "~>3.1"
gem "thin"
group :test do
gem "rack-test"
gem "rest-client"
gem "rspec"
gem "rspec_junit_formatter"
gem "rspec-retry"
gem "rubysl-securerandom"
end
gem "puma", "~> 6.6"
gem "rackup", "~> 1.0" |
github | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | run/helloworld/app.rb | Ruby | apache-2.0 | 237 | main | 866 | # Copyright 2020 Google, LLC.
#
# 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 writing, ... |
github | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | run/helloworld/spec/helloworld_spec.rb | Ruby | apache-2.0 | 237 | main | 1,010 | # Copyright 2020 Google, LLC
#
# 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 writing, ... |
github | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | run/helloworld/spec/e2e_spec.rb | Ruby | apache-2.0 | 237 | main | 2,307 | # Copyright 2020 Google, LLC
#
# 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 writing, ... |
github | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | spanner/spanner_enable_fine_grained_access.rb | Ruby | apache-2.0 | 237 | main | 1,957 | # Copyright 2022 Google, Inc
#
# 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 writing, ... |
github | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | spanner/quickstart.rb | Ruby | apache-2.0 | 237 | main | 1,225 | # Copyright 2017 Google, Inc
#
# 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 writing, ... |
github | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | spanner/spanner_postgresql_drop_sequence.rb | Ruby | apache-2.0 | 237 | main | 1,674 | # Copyright 2023 Google, Inc
#
# 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 writing, ... |
github | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | spanner/spanner_postgresql_update_dml_returning.rb | Ruby | apache-2.0 | 237 | main | 1,965 | # Copyright 2022 Google, Inc
#
# 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 writing, ... |
github | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | spanner/spanner_postgresql_dml_getting_started_update.rb | Ruby | apache-2.0 | 237 | main | 1,462 | # Copyright 2022 Google, Inc
#
# 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 writing, ... |
github | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | spanner/spanner_postgresql_delete_dml_returning.rb | Ruby | apache-2.0 | 237 | main | 1,848 | # Copyright 2022 Google, Inc
#
# 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 writing, ... |
github | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | spanner/spanner_update_dml_returning.rb | Ruby | apache-2.0 | 237 | main | 1,929 | # Copyright 2022 Google, Inc
#
# 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 writing, ... |
github | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | spanner/spanner_delete_dml_returning.rb | Ruby | apache-2.0 | 237 | main | 1,807 | # Copyright 2022 Google, Inc
#
# 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 writing, ... |
github | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | spanner/spanner_update_instance_config.rb | Ruby | apache-2.0 | 237 | main | 1,640 | # Copyright 2022 Google LLC
#
# 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 writing, s... |
github | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | spanner/Gemfile | Ruby | apache-2.0 | 237 | main | 757 | # Copyright 2017 Google, Inc
#
# 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 writing, ... |
github | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | spanner/spanner_delete_instance_partition.rb | Ruby | apache-2.0 | 237 | main | 1,586 | # Copyright 2025 Google LLC
#
# 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 writing, s... |
github | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | spanner/spanner_postgresql_jsonb_update_data.rb | Ruby | apache-2.0 | 237 | main | 1,902 | # Copyright 2022 Google, Inc
#
# 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 writing, ... |
github | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | spanner/spanner_create_instance_partition.rb | Ruby | apache-2.0 | 237 | main | 2,093 | # Copyright 2025 Google LLC
#
# 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 writing, s... |
github | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | spanner/spanner_postgresql_identifier_case_sensitivity.rb | Ruby | apache-2.0 | 237 | main | 4,333 | # Copyright 2022 Google, Inc
#
# 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 writing, ... |
github | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | spanner/tagging_samples.rb | Ruby | apache-2.0 | 237 | main | 3,040 | # Copyright 2021 Google LLC
#
# 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 writing, s... |
github | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | spanner/spanner_postgresql_batch_dml.rb | Ruby | apache-2.0 | 237 | main | 1,526 | # Copyright 2022 Google, Inc
#
# 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 writing, ... |
github | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | spanner/json_column_type_samples.rb | Ruby | apache-2.0 | 237 | main | 4,367 | # Copyright 2021 Google LLC
#
# 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 writing, s... |
github | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | spanner/spanner_update_database.rb | Ruby | apache-2.0 | 237 | main | 1,573 | # Copyright 2023 Google, Inc
#
# 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 writing, ... |
github | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | spanner/spanner_create_backup_schedule_config.rb | Ruby | apache-2.0 | 237 | main | 2,800 | # Copyright 2025 Google LLC
#
# 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 writing, s... |
github | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | spanner/spanner_alter_table_with_foreign_key_delete_cascade.rb | Ruby | apache-2.0 | 237 | main | 1,886 | # Copyright 2023 Google, Inc
#
# 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 writing, ... |
github | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | spanner/spanner_postgresql_interleaved_table.rb | Ruby | apache-2.0 | 237 | main | 2,259 | # Copyright 2022 Google, Inc
#
# 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 writing, ... |
github | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | spanner/spanner_connect_postgresql_database.rb | Ruby | apache-2.0 | 237 | main | 1,355 | # Copyright 2022 Google, Inc
#
# 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 writing, ... |
github | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | spanner/spanner_create_table_with_foreign_key_delete_cascade.rb | Ruby | apache-2.0 | 237 | main | 2,165 | # Copyright 2023 Google, Inc
#
# 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 writing, ... |
github | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | spanner/spanner_postgresql_numeric_data_type.rb | Ruby | apache-2.0 | 237 | main | 1,691 | # Copyright 2022 Google, Inc
#
# 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 writing, ... |
github | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | spanner/spanner_create_sequence.rb | Ruby | apache-2.0 | 237 | main | 1,786 | # Copyright 2023 Google, Inc
#
# 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 writing, ... |
github | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | spanner/spanner_read_data_with_database_role.rb | Ruby | apache-2.0 | 237 | main | 1,433 | # Copyright 2022 Google, Inc
#
# 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 writing, ... |
github | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | spanner/spanner_postgresql_query_parameter.rb | Ruby | apache-2.0 | 237 | main | 1,500 | # Copyright 2022 Google, Inc
#
# 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 writing, ... |
github | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | spanner/spanner_batch_write.rb | Ruby | apache-2.0 | 237 | main | 2,013 | # Copyright 2026 Google LLC
#
# 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 writing, s... |
github | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | spanner/spanner_get_backup_schedule_config.rb | Ruby | apache-2.0 | 237 | main | 1,665 | # Copyright 2025 Google LLC
#
# 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 writing, s... |
github | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | spanner/spanner_update_backup_schedule_config.rb | Ruby | apache-2.0 | 237 | main | 2,688 | # Copyright 2025 Google LLC
#
# 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 writing, s... |
github | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | spanner/spanner_postgresql_create_database.rb | Ruby | apache-2.0 | 237 | main | 1,693 | # Copyright 2022 Google, Inc
#
# 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 writing, ... |
github | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | spanner/spanner_directed_read.rb | Ruby | apache-2.0 | 237 | main | 3,035 | # Copyright 2024 Google, Inc
#
# 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 writing, ... |
github | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | spanner/spanner_postgresql_partitioned_dml.rb | Ruby | apache-2.0 | 237 | main | 1,767 | # Copyright 2022 Google, Inc
#
# 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 writing, ... |
github | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | spanner/spanner_delete_instance_config.rb | Ruby | apache-2.0 | 237 | main | 1,213 | # Copyright 2022 Google LLC
#
# 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 writing, s... |
github | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | spanner/spanner_postgresql_cast_data_type.rb | Ruby | apache-2.0 | 237 | main | 1,831 | # Copyright 2022 Google, Inc
#
# 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 writing, ... |
github | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | spanner/spanner_list_instance_config_operations.rb | Ruby | apache-2.0 | 237 | main | 1,534 | # Copyright 2022 Google LLC
#
# 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 writing, s... |
github | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | spanner/spanner_postgresql_jsonb_query_parameter.rb | Ruby | apache-2.0 | 237 | main | 1,610 | # Copyright 2022 Google, Inc
#
# 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 writing, ... |
github | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | spanner/spanner_postgresql_functions.rb | Ruby | apache-2.0 | 237 | main | 1,455 | # Copyright 2022 Google, Inc
#
# 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 writing, ... |
github | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | spanner/spanner_postgresql_order_nulls.rb | Ruby | apache-2.0 | 237 | main | 3,055 | # Copyright 2022 Google, Inc
#
# 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 writing, ... |
github | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | spanner/spanner_postgresql_create_storing_index.rb | Ruby | apache-2.0 | 237 | main | 1,916 | # Copyright 2022 Google, Inc
#
# 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 writing, ... |
github | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | spanner/spanner_postgresql_create_sequence.rb | Ruby | apache-2.0 | 237 | main | 1,796 | # Copyright 2023 Google, Inc
#
# 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 writing, ... |
github | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | spanner/spanner_delete_backup_schedule_config.rb | Ruby | apache-2.0 | 237 | main | 1,681 | # Copyright 2025 Google LLC
#
# 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 writing, s... |
github | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | spanner/spanner_add_and_drop_database_role.rb | Ruby | apache-2.0 | 237 | main | 1,927 | # Copyright 2022 Google, Inc
#
# 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 writing, ... |
github | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | spanner/spanner_create_instance_config.rb | Ruby | apache-2.0 | 237 | main | 2,686 | # Copyright 2022 Google LLC
#
# 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 writing, s... |
github | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | spanner/spanner_postgresql_alter_sequence.rb | Ruby | apache-2.0 | 237 | main | 1,618 | # Copyright 2023 Google, Inc
#
# 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 writing, ... |
github | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | spanner/spanner_list_backup_schedules_config.rb | Ruby | apache-2.0 | 237 | main | 1,625 | # Copyright 2025 Google LLC
#
# 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 writing, s... |
github | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | spanner/spanner_postgresql_add_column.rb | Ruby | apache-2.0 | 237 | main | 1,858 | # Copyright 2022 Google, Inc
#
# 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 writing, ... |
github | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | spanner/utils.rb | Ruby | apache-2.0 | 237 | main | 882 | # Copyright 2021 Google LLC
#
# 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 writing, s... |
github | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | spanner/spanner_list_database_roles.rb | Ruby | apache-2.0 | 237 | main | 1,373 | # Copyright 2022 Google, Inc
#
# 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 writing, ... |
github | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | spanner/spanner_alter_sequence.rb | Ruby | apache-2.0 | 237 | main | 1,606 | # Copyright 2023 Google, Inc
#
# 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 writing, ... |
github | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | spanner/spanner_postgresql_jsonb_add_column.rb | Ruby | apache-2.0 | 237 | main | 1,885 | # Copyright 2022 Google, Inc
#
# 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 writing, ... |
github | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | spanner/spanner_drop_sequence.rb | Ruby | apache-2.0 | 237 | main | 1,624 | # Copyright 2023 Google, Inc
#
# 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 writing, ... |
github | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | spanner/spanner_postgresql_insert_dml_returning.rb | Ruby | apache-2.0 | 237 | main | 1,961 | # Copyright 2022 Google, Inc
#
# 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 writing, ... |
github | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | spanner/spanner_samples.rb | Ruby | apache-2.0 | 237 | main | 109,641 | # Copyright 2017 Google, Inc
#
# 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 writing, ... |
github | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | spanner/spanner_insert_dml_returning.rb | Ruby | apache-2.0 | 237 | main | 1,924 | # Copyright 2022 Google, Inc
#
# 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 writing, ... |
github | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | spanner/spanner_postgresql_dml_with_parameters.rb | Ruby | apache-2.0 | 237 | main | 1,674 | # Copyright 2022 Google, Inc
#
# 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 writing, ... |
github | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | spanner/spanner_drop_foreign_key_constraint_delete_cascade.rb | Ruby | apache-2.0 | 237 | main | 1,800 | # Copyright 2023 Google, Inc
#
# 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 writing, ... |
github | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | spanner/spanner_postgresql_information_schema.rb | Ruby | apache-2.0 | 237 | main | 1,781 | # Copyright 2022 Google, Inc
#
# 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 writing, ... |
github | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | spanner/spanner_set_max_commit_delay.rb | Ruby | apache-2.0 | 237 | main | 1,747 | # Copyright 2024 Google, Inc
#
# 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 writing, ... |
github | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | spanner/database_leader_placement_samples.rb | Ruby | apache-2.0 | 237 | main | 8,308 | # Copyright 2021 Google LLC
#
# 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 writing, s... |
github | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | spanner/spec/spanner_postgresql_query_parameter_spec.rb | Ruby | apache-2.0 | 237 | main | 1,489 | # Copyright 2022 Google, Inc
#
# 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 writing, ... |
github | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | spanner/spec/spanner_create_instance_partition_spec.rb | Ruby | apache-2.0 | 237 | main | 1,656 | # Copyright 2025 Google LLC
#
# 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 writing, s... |
github | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | spanner/spec/spanner_batch_write_spec.rb | Ruby | apache-2.0 | 237 | main | 1,302 | # Copyright 2026 Google LLC
#
# 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 writing, s... |
github | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | spanner/spec/spanner_samples_spec.rb | Ruby | apache-2.0 | 237 | main | 65,632 | # Copyright 2017 Google, Inc
#
# 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 writing, ... |
github | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | spanner/spec/spanner_postgresql_jsonb_add_column.rb | Ruby | apache-2.0 | 237 | main | 1,359 | # Copyright 2022 Google, Inc
#
# 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 writing, ... |
github | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | spanner/spec/spanner_postgresql_add_column_spec.rb | Ruby | apache-2.0 | 237 | main | 1,360 | # Copyright 2022 Google, Inc
#
# 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 writing, ... |
github | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | spanner/spec/spanner_postgresql_numeric_data_type_spec.rb | Ruby | apache-2.0 | 237 | main | 1,664 | # Copyright 2022 Google, Inc
#
# 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 writing, ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.