mirror of
https://github.com/we-promise/sure.git
synced 2026-04-19 03:54:08 +00:00
More rebranding changes (#159)
* Replace Maybe for Sure in select code areas * Make sure passwords are consistent * Remove (admin|member) from demo data first name * Database and schema names finally to `sure` * Fix broken test * Another (benchmarking) database name to `sure_*` * More rebranding to Sure * Missed this Maybe mention in the same page * Random nitpicks and more Maybes * Demo data accounts and more Maybes * Test data account updates * Impersonation test accounts * Consistency with `compose.example.yml`
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
# Benchmarking requires a production-like data sample, so requires some up-front setup.
|
||||
#
|
||||
# 1. Load a scrubbed production-like slice of data into maybe_benchmarking DB locally
|
||||
# 2. Setup .env.production so that the Rails app can boot with RAILS_ENV=production and connect to local maybe_benchmarking DB
|
||||
# 1. Load a scrubbed production-like slice of data into sure_benchmarking DB locally
|
||||
# 2. Setup .env.production so that the Rails app can boot with RAILS_ENV=production and connect to local sure_benchmarking DB
|
||||
# 3. Run `rake benchmark_dump:06_setup_bench_user`
|
||||
# 4. Run locally, find endpoint needed
|
||||
# 5. Run an endpoint, example: `ENDPOINT=/budgets/jun-2025/budget_categories/245637cb-129f-4612-b0a8-1de57559372b RAILS_ENV=production BENCHMARKING_ENABLED=true RAILS_LOG_LEVEL=debug rake benchmarking:ips`
|
||||
@@ -11,7 +11,7 @@ namespace :benchmarking do
|
||||
Benchmark.ips do |x|
|
||||
x.config(time: 30, warmup: 10)
|
||||
|
||||
family = User.find_by(email: "user@sure.local").family
|
||||
family = User.find_by(email: "user@example.com").family
|
||||
scope = family.transactions.active
|
||||
|
||||
# x.report("IncomeStatement::Totals") do
|
||||
|
||||
@@ -10,7 +10,7 @@ namespace :data_migration do
|
||||
eu_items.find_each do |item|
|
||||
request = Plaid::ItemWebhookUpdateRequest.new(
|
||||
access_token: item.access_token,
|
||||
webhook: "https://app.maybefinance.com/webhooks/plaid_eu"
|
||||
webhook: "https://app.sure.am/webhooks/plaid_eu"
|
||||
)
|
||||
|
||||
provider.client.item_webhook_update(request)
|
||||
|
||||
Reference in New Issue
Block a user