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/rails-cloudsql-mysql/config/initializers/cookies_serializer.rb | Ruby | apache-2.0 | 237 | main | 820 | # 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/mime_types.rb | Ruby | apache-2.0 | 237 | main | 732 | # 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/wrap_parameters.rb | Ruby | apache-2.0 | 237 | main | 1,060 | # 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/app/models/cat.rb | Ruby | apache-2.0 | 237 | main | 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/app/models/application_record.rb | Ruby | apache-2.0 | 237 | main | 654 | # 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/app/helpers/cats_helper.rb | Ruby | apache-2.0 | 237 | main | 598 | # 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/app/helpers/application_helper.rb | Ruby | apache-2.0 | 237 | main | 605 | # 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/app/jobs/application_job.rb | Ruby | apache-2.0 | 237 | main | 619 | # 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/app/controllers/application_controller.rb | Ruby | apache-2.0 | 237 | main | 673 | # 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/app/controllers/cats_controller.rb | Ruby | apache-2.0 | 237 | main | 2,296 | # 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/spec/spec_helper.rb | Ruby | apache-2.0 | 237 | main | 1,372 | # See http://rubydoc.info/gems/rspec-core/RSpec/Core/Configuration
RSpec.configure do |config|
config.expect_with :rspec do |expectations|
expectations.include_chain_clauses_in_custom_matcher_descriptions = true
end
config.mock_with :rspec do |mocks|
# Prevents you from mocking or stubbing a method that ... |
github | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | appengine/rails-cloudsql-mysql/spec/rails_helper.rb | Ruby | apache-2.0 | 237 | main | 1,223 | # 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-mysql/spec/views/cats/index.html.erb_spec.rb | Ruby | apache-2.0 | 237 | main | 1,089 | # 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/spec/views/cats/edit.html.erb_spec.rb | Ruby | apache-2.0 | 237 | main | 1,000 | # 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/spec/views/cats/new.html.erb_spec.rb | Ruby | apache-2.0 | 237 | main | 978 | # 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/spec/views/cats/show.html.erb_spec.rb | Ruby | apache-2.0 | 237 | main | 877 | # 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/spec/controllers/cats_controller_spec.rb | Ruby | apache-2.0 | 237 | main | 4,707 | # 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/spec/routing/cats_routing_spec.rb | Ruby | apache-2.0 | 237 | main | 1,500 | # 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/spec/features/cats_spec.rb | Ruby | apache-2.0 | 237 | main | 821 | # 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, s... |
github | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | appengine/metadata_server/app.rb | Ruby | apache-2.0 | 237 | main | 1,203 | # 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/metadata_server/Gemfile | Ruby | apache-2.0 | 237 | main | 735 | # 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/metadata_server/spec/metadata_server_spec.rb | Ruby | apache-2.0 | 237 | main | 1,026 | # 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/cloud-tasks/create_task.rb | Ruby | apache-2.0 | 237 | main | 2,728 | # 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, soft... |
github | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | appengine/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/cloud-tasks/app.rb | Ruby | apache-2.0 | 237 | main | 1,150 | # 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/cloud-tasks/spec/task_spec.rb | Ruby | apache-2.0 | 237 | main | 1,864 | # 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/websockets/app.rb | Ruby | apache-2.0 | 237 | main | 1,762 | # 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/websockets/Gemfile | Ruby | apache-2.0 | 237 | main | 288 | # [START gae_flex_websocket_dependencies]
source "https://rubygems.org"
gem "faye-websocket"
gem "sinatra"
gem "rackup"
gem "thin"
# [END gae_flex_websocket_dependencies]
group :test do
gem "capybara"
gem "cuprite"
gem "rack-test"
gem "rspec"
gem "rspec_junit_formatter"
end |
github | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | appengine/websockets/spec/websockets_spec.rb | Ruby | apache-2.0 | 237 | main | 1,368 | # 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/rails-hello_world/Gemfile | Ruby | apache-2.0 | 237 | main | 1,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-hello_world/spec/spec_helper.rb | Ruby | apache-2.0 | 237 | main | 1,948 | # 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-hello_world/spec/rails_helper.rb | Ruby | apache-2.0 | 237 | main | 1,174 | # 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-hello_world/spec/features/welcome_spec.rb | Ruby | apache-2.0 | 237 | main | 798 | # 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, s... |
github | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | appengine/rails-hello_world/app/controllers/welcome_controller.rb | Ruby | apache-2.0 | 237 | main | 646 | # 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-hello_world/app/helpers/welcome_helper.rb | Ruby | apache-2.0 | 237 | main | 601 | # 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-hello_world/config/routes.rb | Ruby | apache-2.0 | 237 | main | 1,024 | # 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-hello_world/config/application.rb | Ruby | apache-2.0 | 237 | main | 1,679 | # 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-hello_world/config/environments/production.rb | Ruby | apache-2.0 | 237 | main | 3,625 | # 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-hello_world/config/environments/development.rb | Ruby | apache-2.0 | 237 | main | 2,900 | # 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-hello_world/config/environments/test.rb | Ruby | apache-2.0 | 237 | main | 2,448 | # 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-hello_world/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-hello_world/config/initializers/wrap_parameters.rb | Ruby | apache-2.0 | 237 | main | 914 | # 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-hello_configs/app.rb | Ruby | apache-2.0 | 237 | main | 815 | # 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_configs/config.ru | Ruby | apache-2.0 | 237 | main | 690 | # 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_configs/puma.rb | Ruby | apache-2.0 | 237 | main | 688 | # 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_configs/Gemfile | Ruby | apache-2.0 | 237 | main | 819 | # 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_configs/spec/hello_configs_spec.rb | Ruby | apache-2.0 | 237 | main | 869 | # 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-datastore/app.rb | Ruby | apache-2.0 | 237 | main | 1,313 | # 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-datastore/Gemfile | Ruby | apache-2.0 | 237 | main | 850 | # 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-datastore/spec/datastore_spec.rb | Ruby | apache-2.0 | 237 | main | 923 | # 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-storage/Gemfile | Ruby | apache-2.0 | 237 | main | 896 | # 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-storage/app.rb | Ruby | apache-2.0 | 237 | main | 1,501 | # 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-storage/spec/storage_spec.rb | Ruby | apache-2.0 | 237 | main | 1,328 | # 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/flexible/metadata_server/app.rb | Ruby | apache-2.0 | 237 | main | 1,032 | # 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/metadata_server/Gemfile | Ruby | apache-2.0 | 237 | main | 726 | # 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/metadata_server/spec/metadata_server_spec.rb | Ruby | apache-2.0 | 237 | main | 1,025 | # 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/websockets/app.rb | Ruby | apache-2.0 | 237 | main | 1,622 | # 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/websockets/Gemfile | Ruby | apache-2.0 | 237 | main | 275 | # [START gae_flex_websocket_dependencies]
source "https://rubygems.org"
gem "faye-websocket"
gem "sinatra"
gem "thin"
# [END gae_flex_websocket_dependencies]
group :test do
gem "capybara"
gem "cuprite"
gem "rack-test"
gem "rspec"
gem "rspec_junit_formatter"
end |
github | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | appengine/flexible/websockets/spec/websockets_spec.rb | Ruby | apache-2.0 | 237 | main | 1,240 | # 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/pubsub/app.rb | Ruby | apache-2.0 | 237 | main | 3,072 | # 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/pubsub/Gemfile | Ruby | apache-2.0 | 237 | main | 786 | # 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/pubsub/spec/pubsub_spec.rb | Ruby | apache-2.0 | 237 | main | 3,242 | # 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/datastore/app.rb | Ruby | apache-2.0 | 237 | main | 1,305 | # 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/datastore/Gemfile | Ruby | apache-2.0 | 237 | main | 814 | # 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/datastore/spec/datastore_spec.rb | Ruby | apache-2.0 | 237 | main | 923 | # 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/analytics/app.rb | Ruby | apache-2.0 | 237 | main | 1,617 | # 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/analytics/Gemfile | Ruby | apache-2.0 | 237 | main | 715 | # 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/analytics/spec/google_analytics_spec.rb | Ruby | apache-2.0 | 237 | main | 838 | # 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/static_files/app.rb | Ruby | apache-2.0 | 237 | main | 622 | # Copyright 2016, 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 | appengine/flexible/static_files/Gemfile | Ruby | apache-2.0 | 237 | main | 767 | # Copyright 2016, 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 | appengine/flexible/static_files/spec/static_file_serving_spec.rb | Ruby | apache-2.0 | 237 | main | 1,309 | # Copyright 2016, 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 | appengine/flexible/ruby31-and-earlier/twilio/app.rb | Ruby | apache-2.0 | 237 | main | 1,757 | # 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/twilio/Gemfile | Ruby | apache-2.0 | 237 | main | 817 | # 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/twilio/spec/twilio_spec.rb | Ruby | apache-2.0 | 237 | main | 1,676 | # 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/metadata_server/Gemfile | Ruby | apache-2.0 | 237 | main | 701 | # 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/metadata_server/app.rb | Ruby | apache-2.0 | 237 | main | 1,033 | # 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/analytics/app.rb | Ruby | apache-2.0 | 237 | main | 1,618 | # 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/analytics/Gemfile | Ruby | apache-2.0 | 237 | main | 702 | # 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/analytics/spec/google_analytics_spec.rb | Ruby | apache-2.0 | 237 | main | 839 | # 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/endpoints/Gemfile | Ruby | apache-2.0 | 237 | main | 273 | source "https://rubygems.org"
gem "json"
gem "rack-cors"
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 | appengine/flexible/ruby31-and-earlier/endpoints/app.rb | Ruby | apache-2.0 | 237 | main | 1,961 | # 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/endpoints/spec/endpoint_sample_spec.rb | Ruby | apache-2.0 | 237 | main | 3,419 | 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
post "/echo", '... |
github | GoogleCloudPlatform/ruby-docs-samples | https://github.com/GoogleCloudPlatform/ruby-docs-samples | appengine/flexible/ruby31-and-earlier/static_files/sinatra/app.rb | Ruby | apache-2.0 | 237 | main | 623 | # 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/sinatra/Gemfile | Ruby | apache-2.0 | 237 | main | 741 | # 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/sinatra/spec/static_file_serving_spec.rb | Ruby | apache-2.0 | 237 | main | 1,310 | # 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/Rakefile | Ruby | apache-2.0 | 237 | main | 822 | # 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/Gemfile | Ruby | apache-2.0 | 237 | main | 852 | # 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.ru | Ruby | apache-2.0 | 237 | main | 724 | # 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/spec/spec_helper.rb | Ruby | apache-2.0 | 237 | main | 1,022 | # 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/spec/features/static_file_serving_spec.rb | Ruby | apache-2.0 | 237 | main | 1,196 | # 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/app/controllers/application_controller.rb | Ruby | apache-2.0 | 237 | main | 779 | # 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/app/controllers/welcome_controller.rb | Ruby | apache-2.0 | 237 | main | 645 | # 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/routes.rb | Ruby | apache-2.0 | 237 | main | 635 | # 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/application.rb | Ruby | apache-2.0 | 237 | main | 780 | # 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/boot.rb | Ruby | apache-2.0 | 237 | main | 702 | # 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/environment.rb | Ruby | apache-2.0 | 237 | main | 655 | # 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/environments/production.rb | Ruby | apache-2.0 | 237 | main | 1,251 | # 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/environments/development.rb | Ruby | apache-2.0 | 237 | main | 910 | # 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/environments/test.rb | Ruby | apache-2.0 | 237 | main | 1,053 | # 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/session_store.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... |
Subsets and Splits
No community queries yet
The top public SQL queries from the community will appear here once available.