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 | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | appengine/flexible/ruby31-and-earlier/static_files/rails/config/initializers/assets.rb | Ruby | apache-2.0 | 237 | main | 700 | # 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, s... |
github | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | appengine/flexible/ruby31-and-earlier/static_files/rails/config/initializers/cookies_serializer.rb | Ruby | apache-2.0 | 237 | main | 643 | # 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, s... |
github | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | appengine/flexible/ruby31-and-earlier/rails-cloudsql-mysql/Gemfile | Ruby | apache-2.0 | 237 | main | 2,088 | # 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 | appengine/flexible/ruby31-and-earlier/rails-cloudsql-mysql/spec/rails_helper.rb | Ruby | apache-2.0 | 237 | main | 1,135 | # This file is copied to spec/ when you run 'rails generate rspec:install'
ENV["RAILS_ENV"] ||= "test"
require File.expand_path "../config/environment", __dir__
# Prevent database truncation if the environment is production
abort "The Rails environment is running in production mode!" if Rails.env.production?
require "s... |
github | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | appengine/flexible/ruby31-and-earlier/rails-cloudsql-mysql/config/routes.rb | Ruby | apache-2.0 | 237 | main | 963 | # 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 | appengine/flexible/ruby31-and-earlier/rails-cloudsql-mysql/config/application.rb | Ruby | apache-2.0 | 237 | main | 1,579 | # 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 | appengine/flexible/ruby31-and-earlier/rails-cloudsql-mysql/config/environments/production.rb | Ruby | apache-2.0 | 237 | main | 3,790 | # 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 | appengine/flexible/ruby31-and-earlier/rails-cloudsql-mysql/config/environments/test.rb | Ruby | apache-2.0 | 237 | main | 2,081 | # 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 | appengine/flexible/ruby31-and-earlier/rails-cloudsql-mysql/config/environments/development.rb | Ruby | apache-2.0 | 237 | main | 2,331 | # 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 | appengine/flexible/ruby31-and-earlier/rails-cloudsql-mysql/config/initializers/filter_parameter_logging.rb | Ruby | apache-2.0 | 237 | main | 770 | # 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 | appengine/flexible/ruby31-and-earlier/rails-cloudsql-mysql/db/schema.rb | Ruby | apache-2.0 | 237 | main | 960 | # 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.
#
# Note that this schema.rb definition is the authoritative source for your
# dat... |
github | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | appengine/flexible/ruby31-and-earlier/rails-hello_world/Gemfile | Ruby | apache-2.0 | 237 | main | 1,823 | # 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 | appengine/flexible/ruby31-and-earlier/rails-hello_world/config/routes.rb | Ruby | apache-2.0 | 237 | main | 936 | # 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 | appengine/flexible/ruby31-and-earlier/rails-hello_world/config/application.rb | Ruby | apache-2.0 | 237 | main | 1,578 | # 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 | appengine/flexible/ruby31-and-earlier/rails-hello_world/config/environments/development.rb | Ruby | apache-2.0 | 237 | main | 2,213 | # 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 | appengine/flexible/ruby31-and-earlier/rails-hello_world/config/environments/production.rb | Ruby | apache-2.0 | 237 | main | 3,686 | # 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 | appengine/flexible/ruby31-and-earlier/rails-cloudsql-postgres/Gemfile | Ruby | apache-2.0 | 237 | main | 1,976 | # 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 | appengine/flexible/ruby31-and-earlier/rails-cloudsql-postgres/config/application.rb | Ruby | apache-2.0 | 237 | main | 1,584 | # 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 | appengine/flexible/ruby31-and-earlier/rails-cloudsql-postgres/config/environments/production.rb | Ruby | apache-2.0 | 237 | main | 3,793 | # 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 | appengine/flexible/ruby31-and-earlier/pubsub/app.rb | Ruby | apache-2.0 | 237 | main | 3,073 | # 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 | appengine/flexible/ruby31-and-earlier/pubsub/Gemfile | Ruby | apache-2.0 | 237 | main | 773 | # 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 | appengine/flexible/ruby31-and-earlier/pubsub/spec/pubsub_spec.rb | Ruby | apache-2.0 | 237 | main | 3,243 | # Copyright 2015 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 | appengine/flexible/ruby31-and-earlier/cloud-tasks/Gemfile | Ruby | apache-2.0 | 237 | main | 737 | # Copyright 2018 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 | appengine/flexible/ruby31-and-earlier/cloud-tasks/app.rb | Ruby | apache-2.0 | 237 | main | 950 | # Copyright 2018 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 | appengine/flexible/ruby31-and-earlier/hello_world/Gemfile | Ruby | apache-2.0 | 237 | main | 787 | # Copyright 2015 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 | appengine/flexible/ruby31-and-earlier/hello_world/app.rb | Ruby | apache-2.0 | 237 | main | 685 | # Copyright 2015 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 | appengine/flexible/ruby31-and-earlier/hello_world/spec/hello_world_spec.rb | Ruby | apache-2.0 | 237 | main | 852 | # Copyright 2015 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 | appengine/flexible/ruby31-and-earlier/websockets/app.rb | Ruby | apache-2.0 | 237 | main | 1,622 | # Copyright 2019 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 | appengine/flexible/ruby31-and-earlier/websockets/spec/websockets_spec.rb | Ruby | apache-2.0 | 237 | main | 1,351 | # Copyright 2015 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 | appengine/flexible/ruby31-and-earlier/datastore/app.rb | Ruby | apache-2.0 | 237 | main | 1,306 | # Copyright 2015 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 | appengine/flexible/ruby31-and-earlier/datastore/Gemfile | Ruby | apache-2.0 | 237 | main | 801 | # Copyright 2015 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 | appengine/flexible/ruby31-and-earlier/datastore/spec/datastore_spec.rb | Ruby | apache-2.0 | 237 | main | 924 | # Copyright 2015 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 | appengine/flexible/hello_world/app.rb | Ruby | apache-2.0 | 237 | main | 684 | # Copyright 2023 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 | appengine/flexible/hello_world/Gemfile | Ruby | apache-2.0 | 237 | main | 869 | # Copyright 2023 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 | appengine/flexible/hello_world/spec/hello_world_spec.rb | Ruby | apache-2.0 | 237 | main | 851 | # Copyright 2023 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 | appengine/static_files/rails/Gemfile | Ruby | apache-2.0 | 237 | main | 831 | # 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, s... |
github | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | appengine/static_files/rails/config/environment.rb | Ruby | apache-2.0 | 237 | main | 703 | # 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, s... |
github | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | appengine/static_files/rails/config/application.rb | Ruby | apache-2.0 | 237 | main | 1,764 | # 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, s... |
github | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | appengine/static_files/rails/config/initializers/assets.rb | Ruby | apache-2.0 | 237 | main | 1,078 | # 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, s... |
github | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | appengine/static_files/rails/config/environments/development.rb | Ruby | apache-2.0 | 237 | main | 2,484 | # 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, s... |
github | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | appengine/static_files/rails/config/environments/production.rb | Ruby | apache-2.0 | 237 | main | 3,538 | # 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, s... |
github | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | appengine/static_files/rails/config/environments/test.rb | Ruby | apache-2.0 | 237 | main | 2,583 | # 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, s... |
github | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | appengine/datastore/app.rb | Ruby | apache-2.0 | 237 | main | 1,486 | # Copyright 2015 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 | appengine/twilio/app.rb | Ruby | apache-2.0 | 237 | main | 1,873 | # 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 | appengine/hello_world/app.rb | Ruby | apache-2.0 | 237 | main | 859 | # Copyright 2015 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 | appengine/standard-metadata-server/app.rb | Ruby | apache-2.0 | 237 | main | 1,166 | # 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, s... |
github | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | appengine/standard-metadata-server/Gemfile | Ruby | apache-2.0 | 237 | main | 733 | # 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, s... |
github | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | appengine/standard-metadata-server/spec/metadata_server_spec.rb | Ruby | apache-2.0 | 237 | main | 980 | # 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, s... |
github | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | appengine/standard-static-files/sinatra/app.rb | Ruby | apache-2.0 | 237 | main | 621 | # 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, sof... |
github | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | appengine/standard-static-files/sinatra/Gemfile | Ruby | apache-2.0 | 237 | main | 747 | # 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, soft... |
github | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | appengine/standard-static-files/sinatra/spec/static_file_serving_spec.rb | Ruby | apache-2.0 | 237 | main | 1,308 | # 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, sof... |
github | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | appengine/standard-static-files/rails/Rakefile | Ruby | apache-2.0 | 237 | main | 820 | # 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, sof... |
github | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | appengine/standard-static-files/rails/config.ru | Ruby | apache-2.0 | 237 | main | 722 | # 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, sof... |
github | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | appengine/standard-static-files/rails/Gemfile | Ruby | apache-2.0 | 237 | main | 829 | # 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, sof... |
github | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | appengine/standard-static-files/rails/config/routes.rb | Ruby | apache-2.0 | 237 | main | 633 | # 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, sof... |
github | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | appengine/standard-static-files/rails/config/application.rb | Ruby | apache-2.0 | 237 | main | 1,780 | # 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, sof... |
github | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | appengine/standard-static-files/rails/config/environment.rb | Ruby | apache-2.0 | 237 | main | 701 | # 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, sof... |
github | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | appengine/standard-static-files/rails/config/boot.rb | Ruby | apache-2.0 | 237 | main | 700 | # 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, sof... |
github | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | appengine/standard-static-files/rails/config/environments/development.rb | Ruby | apache-2.0 | 237 | main | 1,902 | # 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, sof... |
github | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | appengine/standard-static-files/rails/config/environments/production.rb | Ruby | apache-2.0 | 237 | main | 3,506 | # 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, sof... |
github | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | appengine/standard-static-files/rails/config/environments/test.rb | Ruby | apache-2.0 | 237 | main | 2,531 | # 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, sof... |
github | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | appengine/standard-static-files/rails/config/initializers/session_store.rb | Ruby | apache-2.0 | 237 | main | 701 | # 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, sof... |
github | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | appengine/standard-static-files/rails/config/initializers/assets.rb | Ruby | apache-2.0 | 237 | main | 1,075 | # 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, sof... |
github | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | appengine/standard-static-files/rails/config/initializers/cookies_serializer.rb | Ruby | apache-2.0 | 237 | main | 641 | # 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, sof... |
github | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | appengine/standard-static-files/rails/app/controllers/welcome_controller.rb | Ruby | apache-2.0 | 237 | main | 643 | # 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, sof... |
github | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | appengine/standard-static-files/rails/app/controllers/application_controller.rb | Ruby | apache-2.0 | 237 | main | 777 | # 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, sof... |
github | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | appengine/standard-static-files/rails/spec/spec_helper.rb | Ruby | apache-2.0 | 237 | main | 1,020 | # 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, sof... |
github | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | appengine/standard-static-files/rails/spec/features/static_file_serving_spec.rb | Ruby | apache-2.0 | 237 | main | 1,194 | # 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, sof... |
github | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | appengine/analytics/app.rb | Ruby | apache-2.0 | 237 | main | 1,814 | # 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 | appengine/standard-hello_world/app.rb | Ruby | apache-2.0 | 237 | main | 840 | # Copyright 2019 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 | appengine/standard-hello_world/Gemfile | Ruby | apache-2.0 | 237 | main | 875 | # Copyright 2019 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 | appengine/standard-hello_world/spec/hello_world_spec.rb | Ruby | apache-2.0 | 237 | main | 851 | # Copyright 2019 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 | appengine/rails-cloudsql-postgres/Gemfile | Ruby | apache-2.0 | 237 | main | 1,970 | # 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 | appengine/rails-cloudsql-postgres/spec/rails_helper.rb | Ruby | apache-2.0 | 237 | main | 1,136 | # This file is copied to spec/ when you run 'rails generate rspec:install'
ENV["RAILS_ENV"] ||= "test"
require File.expand_path "../config/environment", __dir__
# Prevent database truncation if the environment is production
abort "The Rails environment is running in production mode!" if Rails.env.production?
require "s... |
github | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | appengine/rails-cloudsql-postgres/config/application.rb | Ruby | apache-2.0 | 237 | main | 1,765 | # 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 | appengine/rails-cloudsql-postgres/config/routes.rb | Ruby | apache-2.0 | 237 | main | 1,043 | # 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 | appengine/rails-cloudsql-postgres/config/environments/development.rb | Ruby | apache-2.0 | 237 | main | 2,713 | # 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 | appengine/rails-cloudsql-postgres/config/environments/production.rb | Ruby | apache-2.0 | 237 | main | 3,859 | # 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 | appengine/standard-cloud-tasks/Gemfile | Ruby | apache-2.0 | 237 | main | 769 | # 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, s... |
github | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | appengine/standard-cloud-tasks/create_task.rb | Ruby | apache-2.0 | 237 | main | 2,745 | # 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, softw... |
github | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | appengine/standard-cloud-tasks/app.rb | Ruby | apache-2.0 | 237 | main | 1,016 | # 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, s... |
github | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | appengine/standard-cloud-tasks/spec/task_spec.rb | Ruby | apache-2.0 | 237 | main | 1,863 | # 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, s... |
github | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | appengine/pubsub/app.rb | Ruby | apache-2.0 | 237 | main | 3,189 | # 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 | appengine/pubsub/spec/pubsub_spec.rb | Ruby | apache-2.0 | 237 | main | 3,315 | # Copyright 2015 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 | appengine/endpoints/spec/endpoint_sample_spec.rb | Ruby | apache-2.0 | 237 | main | 3,477 | require_relative "../app"
require "rspec"
require "rack/test"
describe "Ruby Endpoints Sample" do
include Rack::Test::Methods
attr_reader :app
before :all do
@app = Sinatra::Application
@app.set :environment, :production
end
it "POST /echo renders message from request body" do
data = {"messag... |
github | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | appengine/standard-analytics/app.rb | Ruby | apache-2.0 | 237 | main | 1,625 | # 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, s... |
github | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | appengine/standard-analytics/Gemfile | Ruby | apache-2.0 | 237 | main | 735 | # 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, s... |
github | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | appengine/standard-analytics/spec/google_analytics_spec.rb | Ruby | apache-2.0 | 237 | main | 838 | # 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, s... |
github | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | appengine/standard-rails-hello-world/Gemfile | Ruby | apache-2.0 | 237 | main | 1,503 | # 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, s... |
github | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | appengine/standard-rails-hello-world/Rakefile | Ruby | apache-2.0 | 237 | main | 802 | # 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, s... |
github | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | appengine/standard-rails-hello-world/config.ru | Ruby | apache-2.0 | 237 | main | 705 | # 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, s... |
github | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | appengine/standard-rails-hello-world/app/helpers/application_helper.rb | Ruby | apache-2.0 | 237 | main | 604 | # 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, s... |
github | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | appengine/standard-rails-hello-world/app/helpers/welcome_helper.rb | Ruby | apache-2.0 | 237 | main | 600 | # 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, s... |
github | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | appengine/standard-rails-hello-world/app/jobs/application_job.rb | Ruby | apache-2.0 | 237 | main | 618 | # 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, s... |
github | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | appengine/standard-rails-hello-world/app/controllers/welcome_controller.rb | Ruby | apache-2.0 | 237 | main | 645 | # 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, s... |
github | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | appengine/standard-rails-hello-world/app/controllers/application_controller.rb | Ruby | apache-2.0 | 237 | main | 672 | # 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, s... |
github | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | appengine/standard-rails-hello-world/spec/spec_helper.rb | Ruby | apache-2.0 | 237 | main | 1,947 | # 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, s... |
github | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | appengine/standard-rails-hello-world/spec/rails_helper.rb | Ruby | apache-2.0 | 237 | main | 1,173 | # 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, s... |
github | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | appengine/standard-rails-hello-world/spec/features/welcome_spec.rb | Ruby | apache-2.0 | 237 | main | 796 | # 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, sof... |
github | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | appengine/standard-rails-hello-world/config/application.rb | Ruby | apache-2.0 | 237 | main | 1,758 | # 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, s... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.