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 | functions/test/firebase/rtdb_test.rb | Ruby | apache-2.0 | 237 | main | 1,390 | # 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
#
# https://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 | functions/test/firebase/analytics_test.rb | Ruby | apache-2.0 | 237 | main | 1,890 | # 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
#
# https://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 | functions/test/typed/greeting_test.rb | Ruby | apache-2.0 | 237 | main | 1,288 | # 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
#
# https://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 | functions/test/typed/googlechatbot_test.rb | Ruby | apache-2.0 | 237 | main | 2,030 | # 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
#
# https://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 | functions/tips/lazy/Gemfile | Ruby | apache-2.0 | 237 | main | 643 | # 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
#
# https://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 | functions/tips/lazy/app.rb | Ruby | apache-2.0 | 237 | main | 1,386 | # 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
#
# https://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 | functions/tips/scopes/app.rb | Ruby | apache-2.0 | 237 | main | 2,025 | # 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
#
# https://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 | functions/tips/retry/app.rb | Ruby | apache-2.0 | 237 | main | 1,128 | # 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
#
# https://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 | functions/tips/infinite_retries/app.rb | Ruby | apache-2.0 | 237 | main | 1,306 | # 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
#
# https://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 | functions/env_vars/app.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
#
# https://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 | functions/concepts/requests/app.rb | Ruby | apache-2.0 | 237 | main | 882 | # 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
#
# https://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 | functions/concepts/filesystem/app.rb | Ruby | apache-2.0 | 237 | main | 805 | # 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
#
# https://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 | functions/concepts/stateless/app.rb | Ruby | apache-2.0 | 237 | main | 1,049 | # 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
#
# https://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 | functions/http/content/app.rb | Ruby | apache-2.0 | 237 | main | 1,658 | # 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
#
# https://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 | functions/http/form_data/app.rb | Ruby | apache-2.0 | 237 | main | 1,973 | # 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
#
# https://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 | functions/http/cors/app.rb | Ruby | apache-2.0 | 237 | main | 2,512 | # 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 | functions/http/method/app.rb | Ruby | apache-2.0 | 237 | main | 1,156 | # 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
#
# https://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 | functions/firebase/auth/app.rb | Ruby | apache-2.0 | 237 | main | 1,264 | # 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
#
# https://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 | functions/firebase/firestore/app.rb | Ruby | apache-2.0 | 237 | main | 1,122 | # 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
#
# https://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 | functions/firebase/remote_config/app.rb | Ruby | apache-2.0 | 237 | main | 1,223 | # 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
#
# https://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 | functions/firebase/analytics/app.rb | Ruby | apache-2.0 | 237 | main | 1,567 | # 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
#
# https://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 | functions/firebase/rtdb/app.rb | Ruby | apache-2.0 | 237 | main | 1,199 | # 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
#
# https://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 | functions/firebase/reactive/app.rb | Ruby | apache-2.0 | 237 | main | 2,057 | # 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
#
# https://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 | functions/firebase/reactive/Gemfile | Ruby | apache-2.0 | 237 | main | 683 | # 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
#
# https://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 | .toys/update-gemfile-locks.rb | Ruby | apache-2.0 | 237 | main | 303 | desc "Updates all Gemfile.lock files under the current directory"
include :fileutils
include :exec, e: true
def run
Dir.glob "**/Gemfile.lock" do |path|
dir = File.dirname path
puts "Updating in #{dir}"
cd dir do
rm "Gemfile.lock"
exec ["bundle", "update"]
end
end
end |
github | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | .toys/kokoro-ci.rb | Ruby | apache-2.0 | 237 | main | 12,046 | desc "Run Kokoro tests"
include :exec, e: true
include :fileutils
include :terminal, styled: true
def run
run_setup
run_tests
report_results
exit 1 unless @failures.empty?
ensure
run_cleanup
end
####
# Toplevel steps
####
def run_setup
@failures = []
@project = ""
@kill_on_cleanup = []
gimme_proj
... |
github | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | getting-started/bookshelf/Gemfile | Ruby | apache-2.0 | 237 | main | 1,554 | # 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, sof... |
github | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | getting-started/bookshelf/config.ru | Ruby | apache-2.0 | 237 | main | 703 | # 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, sof... |
github | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | getting-started/bookshelf/Rakefile | Ruby | apache-2.0 | 237 | main | 800 | # 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, sof... |
github | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | getting-started/bookshelf/config/application.rb | Ruby | apache-2.0 | 237 | main | 1,574 | # 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, sof... |
github | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | getting-started/bookshelf/config/boot.rb | Ruby | apache-2.0 | 237 | main | 700 | # 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, sof... |
github | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | getting-started/bookshelf/config/routes.rb | Ruby | apache-2.0 | 237 | main | 833 | # 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, sof... |
github | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | getting-started/bookshelf/config/environment.rb | Ruby | apache-2.0 | 237 | main | 701 | # 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, sof... |
github | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | getting-started/bookshelf/config/environments/development.rb | Ruby | apache-2.0 | 237 | main | 2,479 | # 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, sof... |
github | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | getting-started/bookshelf/config/environments/test.rb | Ruby | apache-2.0 | 237 | main | 2,452 | # 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, sof... |
github | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | getting-started/bookshelf/config/environments/production.rb | Ruby | apache-2.0 | 237 | main | 4,187 | # 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, sof... |
github | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | getting-started/bookshelf/config/initializers/inflections.rb | Ruby | apache-2.0 | 237 | main | 1,220 | # 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, sof... |
github | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | getting-started/bookshelf/config/initializers/session_store.rb | Ruby | apache-2.0 | 237 | main | 714 | # 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, sof... |
github | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | getting-started/bookshelf/config/initializers/filter_parameter_logging.rb | Ruby | apache-2.0 | 237 | main | 767 | # 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, sof... |
github | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | getting-started/bookshelf/config/initializers/cookies_serializer.rb | Ruby | apache-2.0 | 237 | main | 817 | # 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, sof... |
github | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | getting-started/bookshelf/config/initializers/wrap_parameters.rb | Ruby | apache-2.0 | 237 | main | 1,057 | # 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, sof... |
github | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | getting-started/bookshelf/spec/book_extensions.rb | Ruby | apache-2.0 | 237 | main | 1,142 | # 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, sof... |
github | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | getting-started/bookshelf/spec/spec_helper.rb | Ruby | apache-2.0 | 237 | main | 1,390 | # 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, sof... |
github | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | getting-started/bookshelf/spec/e2e_spec_helper.rb | Ruby | apache-2.0 | 237 | main | 2,506 | # 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, sof... |
github | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | getting-started/bookshelf/spec/models/book_spec.rb | Ruby | apache-2.0 | 237 | main | 754 | # 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, sof... |
github | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | getting-started/bookshelf/spec/features/book_management_spec.rb | Ruby | apache-2.0 | 237 | main | 3,905 | # 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, sof... |
github | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | getting-started/bookshelf/spec/features/book_management_e2e_spec.rb | Ruby | apache-2.0 | 237 | main | 1,977 | # 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, sof... |
github | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | getting-started/bookshelf/app/models/book.rb | Ruby | apache-2.0 | 237 | main | 5,146 | # 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, sof... |
github | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | getting-started/bookshelf/app/controllers/stackdriver_controller.rb | Ruby | apache-2.0 | 237 | main | 865 | # 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 | getting-started/bookshelf/app/controllers/books_controller.rb | Ruby | apache-2.0 | 237 | main | 1,549 | # 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, sof... |
github | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | getting-started/bookshelf/app/controllers/application_controller.rb | Ruby | apache-2.0 | 237 | main | 777 | # 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, sof... |
github | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | getting-started/authenticating-users/app.rb | Ruby | apache-2.0 | 237 | main | 2,448 | # 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 | getting-started/authenticating-users/Gemfile | Ruby | apache-2.0 | 237 | main | 253 | # frozen_string_literal: true
source "https://rubygems.org"
git_source(:github) { |repo_name| "https://github.com/#{repo_name}" }
# [START getting_started_requirements]
gem "jwt", "~> 2.2"
gem "sinatra", "~> 2.0"
# [END getting_started_requirements] |
github | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | getting-started/sessions/firestore_session.rb | Ruby | apache-2.0 | 237 | main | 1,739 | # 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, so... |
github | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | getting-started/sessions/Rakefile | Ruby | apache-2.0 | 237 | main | 262 | require "rake/testtask"
desc "Run tests."
Rake::TestTask.new :test do |t|
t.test_files = FileList["test/**/*_test.rb"]
t.warning = false
end
Rake::TestTask.new :acceptance do |t|
t.test_files = FileList["acceptance/**/*_test.rb"]
t.warning = false
end |
github | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | getting-started/sessions/Gemfile | Ruby | apache-2.0 | 237 | main | 427 | # frozen_string_literal: true
source "https://rubygems.org"
git_source(:github) { |repo_name| "https://github.com/#{repo_name}" }
# [START getting_started_sessions_requirements]
gem "google-cloud-firestore", "~> 2.0"
gem "sinatra", "~> 2.0"
# [END getting_started_sessions_requirements]
group :development do
gem "... |
github | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | getting-started/sessions/app.rb | Ruby | apache-2.0 | 237 | main | 1,016 | # 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, so... |
github | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | getting-started/sessions/skip-test/app_test.rb | Ruby | apache-2.0 | 237 | main | 1,978 | require File.expand_path "test_helper.rb", __dir__
include Rack::Test::Methods # rubocop:disable Style/MixinUsage
def app
Sinatra::Application
end
class FirestoreSessionMock < Rack::Session::Abstract::Persisted
def initialize app, options = {}
super
@data = {}
end
def find_session _req, session_id
... |
github | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | getting-started/sessions/skip-acceptance/app_test.rb | Ruby | apache-2.0 | 237 | main | 1,578 | require File.expand_path "../test/test_helper.rb", __dir__
include Rack::Test::Methods # rubocop:disable Style/MixinUsage
def app
Sinatra::Application
end
def firestore
firestore = Google::Cloud::Firestore.new
end
def col
col = firestore.col "sessions"
end
def docs
docs = col.list_documents
end
def delete... |
github | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | cdn/Gemfile | Ruby | apache-2.0 | 237 | main | 704 | # 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 | cdn/sign_url.rb | Ruby | apache-2.0 | 237 | main | 2,412 | # 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 | cdn/spec/sign_url_spec.rb | Ruby | apache-2.0 | 237 | main | 1,029 | # 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 | media_cdn/dualtoken.rb | Ruby | apache-2.0 | 237 | main | 6,642 | # 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
#
# https://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 | media_cdn/Gemfile | Ruby | apache-2.0 | 237 | main | 718 | # 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
#
# https://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 | media_cdn/spec/dualtoken_spec.rb | Ruby | apache-2.0 | 237 | main | 7,317 | # 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
#
# https://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 | endpoints/getting-started/Gemfile | Ruby | apache-2.0 | 237 | main | 257 | source "https://rubygems.org"
gem "json"
gem "sinatra"
# Dependencies for ./clients/
group :development do
gem "rest-client"
gem "signet"
end
# Dependencies for ./spec/
group :test do
gem "rack-test"
gem "rspec"
gem "rspec_junit_formatter"
end |
github | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | endpoints/getting-started/app.rb | Ruby | apache-2.0 | 237 | main | 1,586 | # 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 | endpoints/getting-started/spec/endpoint_sample_spec.rb | Ruby | apache-2.0 | 237 | main | 2,097 | 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 | endpoints/getting-started/clients/echo_client.rb | Ruby | apache-2.0 | 237 | main | 1,672 | # 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 | endpoints/getting-started/clients/google_jwt_client.rb | Ruby | apache-2.0 | 237 | main | 2,710 | # 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 | endpoints/getting-started/clients/google_id_token_client.rb | Ruby | apache-2.0 | 237 | main | 2,891 | # 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 | endpoints/getting-started-grpc/greeter_server.rb | Ruby | apache-2.0 | 237 | main | 1,534 | # 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 write, so... |
github | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | endpoints/getting-started-grpc/greeter_client.rb | Ruby | apache-2.0 | 237 | main | 1,583 | # 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 write, so... |
github | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | endpoints/getting-started-grpc/lib/helloworld_services_pb.rb | Ruby | apache-2.0 | 237 | main | 1,139 | # Generated by the protocol buffer compiler. DO NOT EDIT!
# Source: helloworld.proto for package 'helloworld'
# Original file comments:
# 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 ... |
github | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | endpoints/getting-started-grpc/lib/helloworld_pb.rb | Ruby | apache-2.0 | 237 | main | 571 | # Generated by the protocol buffer compiler. DO NOT EDIT!
# source: helloworld.proto
require "google/protobuf"
Google::Protobuf::DescriptorPool.generated_pool.build do
add_message "helloworld.HelloRequest" do
optional :name, :string, 1
end
add_message "helloworld.HelloReply" do
optional :message, :stri... |
github | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | auth/Gemfile | Ruby | apache-2.0 | 237 | main | 698 | # 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 | auth/auth.rb | Ruby | apache-2.0 | 237 | main | 2,219 | # 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 | auth/spec/auth_spec.rb | Ruby | apache-2.0 | 237 | main | 1,760 | # 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 | spec/e2e_cleanup.rb | Ruby | apache-2.0 | 237 | main | 736 | # 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, s... |
github | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | spec/helpers.rb | Ruby | apache-2.0 | 237 | main | 870 | # 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 | spec/e2e.rb | Ruby | apache-2.0 | 237 | main | 3,707 | # 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, s... |
github | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | appengine/rails-cloudsql-mysql/config.ru | Ruby | apache-2.0 | 237 | main | 706 | # 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-mysql/Gemfile | Ruby | apache-2.0 | 237 | main | 1,974 | # 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-mysql/Rakefile | Ruby | apache-2.0 | 237 | main | 803 | # 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-mysql/db/schema.rb | Ruby | apache-2.0 | 237 | main | 965 | # 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/rails-cloudsql-mysql/db/seeds.rb | Ruby | apache-2.0 | 237 | main | 946 | # 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-mysql/db/migrate/20170804210744_create_cats.rb | Ruby | apache-2.0 | 237 | main | 747 | # 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-mysql/config/routes.rb | Ruby | apache-2.0 | 237 | main | 1,045 | # 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-mysql/config/puma.rb | Ruby | apache-2.0 | 237 | main | 2,875 | # 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-mysql/config/application.rb | Ruby | apache-2.0 | 237 | main | 1,760 | # 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-mysql/config/boot.rb | Ruby | apache-2.0 | 237 | main | 703 | # 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-mysql/config/environment.rb | Ruby | apache-2.0 | 237 | main | 704 | # 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-mysql/config/environments/test.rb | Ruby | apache-2.0 | 237 | main | 2,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/rails-cloudsql-mysql/config/environments/development.rb | Ruby | apache-2.0 | 237 | main | 2,716 | # 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-mysql/config/environments/production.rb | Ruby | apache-2.0 | 237 | main | 3,856 | # 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-mysql/config/initializers/application_controller_renderer.rb | Ruby | apache-2.0 | 237 | main | 738 | # 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-mysql/config/initializers/backtrace_silencers.rb | Ruby | apache-2.0 | 237 | main | 980 | # 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-mysql/config/initializers/filter_parameter_logging.rb | Ruby | apache-2.0 | 237 | main | 972 | # 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-mysql/config/initializers/assets.rb | Ruby | apache-2.0 | 237 | main | 1,078 | # 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-mysql/config/initializers/inflections.rb | Ruby | apache-2.0 | 237 | main | 1,223 | # 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, ... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.