Ruby samples for Google Cloud Platform products.
Ruby HTML CSS Shell JavaScript Dockerfile CoffeeScript
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.kokoro kokoro: enable the remaining tests (#307) Jul 31, 2018
appengine appengine/metadata_server: use Capybara.default_driver (#327) Jul 31, 2018
auth Use latest stable Ruby versions in Circle build. Mar 22, 2018
bigquery Remove unused BigQuery snippet Aug 6, 2018
bigquerydatatransfer kokoro: enable bigquerydatatransfer tests Jun 13, 2018
cdn Use latest stable Ruby versions in Circle build. Mar 22, 2018
datastore all: update Gemfile.lock files for security updates Jun 27, 2018
dialogflow dialogflow: make tests more robust (#315) Jul 26, 2018
dlp Replace google-gax 1.1.0 with 1.0.1 Mar 22, 2018
endpoints all: update Gemfile.lock files for security updates Jun 27, 2018
firestore Fixed region tags Jun 12, 2018
iot Merge pull request #252 from GoogleCloudPlatform/kokoro-runner-3 Mar 22, 2018
jobs Move files from jobs/cjd_sample to jobs/ Jul 13, 2018
kms Add retries to kms Mar 27, 2018
language Update language test Mar 27, 2018
logging Update logging doc tags. (#334) Aug 14, 2018
pubsub all: update Gemfile.lock files for security updates Jun 27, 2018
spanner kokoro: enable Spanner tests Jun 13, 2018
spec Disable CircleCI (#326) Jul 31, 2018
speech Update Gemfile for speech Jun 21, 2018
stackdriver Always use test project cloud-samples-ruby-test-1. Aug 13, 2018
storage storage: use params to configure KMS key Jun 26, 2018
texttospeech tts: fix help string and instructions (#321) Jul 30, 2018
translate Fix region tag for translate sample May 16, 2018
video Fix Video region tag May 16, 2018
vision Vision region tag update (#335) Aug 15, 2018
.gitignore Uptime check sample and test. Aug 9, 2018
CODE_OF_CONDUCT.md Add Code of conduct to repo Dec 11, 2017
CONTRIBUTING.md fixes typo preventing links from rendering properly Feb 14, 2018
LICENSE Cloud storage sample. Aug 18, 2015
README.md Disable CircleCI (#326) Jul 31, 2018

README.md

Ruby docs samples

Kokoro: Kokoro

This repository holds samples used in the ruby documentation on cloud.google.com.

See our other Google Cloud Platform github repos for sample applications and scaffolding for other frameworks and use cases.

Run Locally

  1. Clone this repo.

    git clone https://github.com/GoogleCloudPlatform/ruby-docs-samples.git
    
  2. Change directories to the sample that you want to test. Example:

    cd ruby-docs-samples/storage
    
  3. Run the tests from the command line.

    bundle install
    bundle exec rspec
    

Contributing changes

Contributions to this sample repository are always welcome and highly encouraged.

See CONTRIBUTING for more information on how to get started.

Please note that this project is released with a Contributor Code of Conduct. By participating in this project you agree to abide by its terms. See Code of Conduct for more information.

Licensing