This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# | |
# Usage: | |
# rake db:rollback_to_common branch=production | |
# git checkout -m production | |
# rake db:migrate | |
# | |
namespace :db do | |
desc 'Rolls back database to common migration state between current branch and another' | |
task :rollback_to_common do | |
FileUtils.cd(RAILS_ROOT) do |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'krb5_auth' | |
module Rack | |
module Auth | |
class Kerberos | |
# The version of the rack-auth-kerberos library. | |
VERSION = '0.2.0' | |
# Creates a new Rack::Kerberos object. The +user_field+ and +password_field+ | |
# are the params looked for in the call method. The defaults are 'username' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module Rack | |
module Auth | |
class Cheat | |
# Creates a new Rack::Auth::Cheat object. The +user_field+ and +password_field+ | |
# are the params looked for in the call method. The defaults are 'username' | |
# and 'password', respectively. | |
# | |
def initialize(app, user_field = 'username', password_field = 'password') | |
@app = app | |
@user_field = user_field |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Staging bdb... | |
./libtool --mode=compile /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -mmacosx-version-min=10.14 -fvisibility=hidden -fvisibility-inlines-hidden --sysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk -c -I. -I../dist/./../src -I/Users/charlieok/Projects/zcash/depends/x86_64-apple-darwin20.3.0/include -pipe -O3 ../dist/./../util/db_archive.c | |
./libtool --mode=compile /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/usr/bin/clang -mmacosx-version-min=10.14 -fvisibility=hidden -fvisibility-inlines-hidden --sysroot /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk -c -I. -I../dist/./../src -I/Users/charlieok/Projects/zcash/depends/x86_64-apple-darwin20.3.0/include -pipe -O3 ../dist/./../src/common/util_sig.c | |
./libtool --mode=compile /Applications/Xcode.app/Contents/Developer/Toolchains/XcodeDefault.xctoolchain/u |