Sha256: e72f15732b761d48d6a9372c0f4f40b2a24fd8e2d0dec5db195adbf1e1d4fad0

Contents?: true

Size: 438 Bytes

Versions: 23

Compression:

Stored size: 438 Bytes

Contents

# Copyright 2021 Google LLC
#
# Use of this source code is governed by an MIT-style
# license that can be found in the LICENSE file or at
# https://opensource.org/licenses/MIT.

require_relative "../config/environment"
require "sinatra/activerecord/rake"

desc "Sample showing how to execute a read/write transaction on Spanner with ActiveRecord."
task :run do
  Dir.chdir("..") { sh "bundle exec rake run[read-write-transactions]" }
end

Version data entries

23 entries across 23 versions & 1 rubygems

Version Path
activerecord-spanner-adapter-0.7.0 examples/snippets/read-write-transactions/Rakefile
activerecord-spanner-adapter-0.6.0 examples/snippets/read-write-transactions/Rakefile
activerecord-spanner-adapter-0.5.0 examples/snippets/read-write-transactions/Rakefile