plaid_rails 0.7.0 → 0.8.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/README.md +1 -1
- data/app/controllers/plaid_rails/link_controller.rb +2 -1
- data/lib/plaid_rails/version.rb +1 -1
- data/spec/controllers/plaid_rails/link_controller_spec.rb +3 -1
- data/spec/dummy/db/development.sqlite3 +0 -0
- data/spec/dummy/db/schema.rb +1 -1
- data/spec/dummy/log/development.log +64 -0
- data/spec/dummy/log/test.log +366 -0
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0cf047bde0f6ad2d7144168fef73048de2159d8a
|
4
|
+
data.tar.gz: 319c37d58db0f0f352faec6fc67d33fac5668a4b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 40f0663a5ad07a1a4e3928ad60965a2cb58b5de24fab1fd7d84fa79313bd41144f17404d8dad77a5e3aefd4d2928a598cfb49dde87729038bb9dba3b99ad6cac
|
7
|
+
data.tar.gz: c8bcac2e6f86138c3f6fcabf98cd47297616efbe2bdd2eaa309cc55c037cb9284f543d9420b6d706864898653e71767c76913706cdb22725f55d69ea96fdecc0
|
data/README.md
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
# Plaid for Rails
|
2
2
|
|
3
|
-
[
|
3
|
+
[![Build Status](https://travis-ci.org/9kSoftware/plaid_rails.svg?branch=master)](https://travis-ci.org/9kSoftware/plaid_rails)
|
4
4
|
|
5
5
|
This gem is a Rails Engine to provide an interface to [Plaid](http://plaid.com) using the plaid-ruby api
|
6
6
|
|
@@ -23,7 +23,8 @@ module PlaidRails
|
|
23
23
|
@plaid_accounts =PlaidRails::Account.where(owner_type: link_params[:owner_type],
|
24
24
|
owner_id: link_params[:owner_id])
|
25
25
|
@plaid_accounts.each do |account|
|
26
|
-
account.update(access_token: exchange_token.access_token
|
26
|
+
account.update(access_token: exchange_token.access_token,
|
27
|
+
transactions_start_date: Date.today)
|
27
28
|
end
|
28
29
|
flash[:success]="You have successfully updated your account(s)"
|
29
30
|
rescue => e
|
data/lib/plaid_rails/version.rb
CHANGED
@@ -20,13 +20,15 @@ module PlaidRails
|
|
20
20
|
end
|
21
21
|
|
22
22
|
it "update with public token" do
|
23
|
-
account = create(:account)
|
23
|
+
account = create(:account, transactions_start_date: Date.today - 3)
|
24
24
|
xhr :post, :update, public_token: 'test,wells,connected', name:'Wells Fargo', type: 'wells',
|
25
25
|
owner_id: "1", owner_type: "User"
|
26
26
|
expect(response).to be_success
|
27
27
|
expect(assigns(:plaid_accounts)).to_not be_nil
|
28
|
+
expect(assigns(:plaid_accounts).first.transactions_start_date).to eq Date.today
|
28
29
|
expect(response).to render_template('plaid_rails/link/update')
|
29
30
|
end
|
31
|
+
|
30
32
|
it {
|
31
33
|
should permit(:public_token, :type,:name,:owner_id,:owner_type).
|
32
34
|
for(:authenticate, verb: :post, format: :js)}
|
Binary file
|
data/spec/dummy/db/schema.rb
CHANGED
@@ -36,7 +36,7 @@ ActiveRecord::Schema.define(version: 20160323141534) do
|
|
36
36
|
add_index "plaid_rails_accounts", ["owner_id"], name: "index_plaid_rails_accounts_on_owner_id"
|
37
37
|
add_index "plaid_rails_accounts", ["plaid_id"], name: "index_plaid_rails_accounts_on_plaid_id"
|
38
38
|
|
39
|
-
create_table "
|
39
|
+
create_table "webhooks", force: true do |t|
|
40
40
|
t.integer "code"
|
41
41
|
t.string "message"
|
42
42
|
t.string "access_token"
|
@@ -29,3 +29,67 @@ Migrating to CreatePlaidRailsWebhooks (20160214150149)
|
|
29
29
|
[1m[35m (0.2ms)[0m DROP TABLE "plaid_rails_webhooks"
|
30
30
|
SQLite3::SQLException: no such table: plaid_rails_webhooks: DROP TABLE "plaid_rails_webhooks"
|
31
31
|
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
32
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
33
|
+
Migrating to CreatePlaidRailsAccounts (20160215155024)
|
34
|
+
[1m[35m (0.1ms)[0m begin transaction
|
35
|
+
[1m[36m (0.7ms)[0m [1mCREATE TABLE "plaid_rails_accounts" ("id" INTEGER PRIMARY KEY AUTOINCREMENT NOT NULL, "access_token" varchar(255), "token" varchar(255), "plaid_type" varchar(255), "name" varchar(255), "bank_name" varchar(255), "number" integer, "plaid_id" varchar(255), "owner_type" varchar(255), "owner_id" integer, "last_sync" datetime, "current_balance" decimal(10,2), "available_balance" decimal(10,2), "error" varchar(255), "created_at" datetime, "updated_at" datetime) [0m
|
36
|
+
[1m[35m (0.1ms)[0m select sqlite_version(*)
|
37
|
+
[1m[36m (0.2ms)[0m [1mCREATE INDEX "index_plaid_rails_accounts_on_access_token" ON "plaid_rails_accounts" ("access_token")[0m
|
38
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
39
|
+
FROM sqlite_master
|
40
|
+
WHERE name='index_plaid_rails_accounts_on_access_token' AND type='index'
|
41
|
+
UNION ALL
|
42
|
+
SELECT sql
|
43
|
+
FROM sqlite_temp_master
|
44
|
+
WHERE name='index_plaid_rails_accounts_on_access_token' AND type='index'
|
45
|
+
|
46
|
+
[1m[36m (0.2ms)[0m [1mCREATE INDEX "index_plaid_rails_accounts_on_owner_id" ON "plaid_rails_accounts" ("owner_id")[0m
|
47
|
+
[1m[35m (0.2ms)[0m SELECT sql
|
48
|
+
FROM sqlite_master
|
49
|
+
WHERE name='index_plaid_rails_accounts_on_owner_id' AND type='index'
|
50
|
+
UNION ALL
|
51
|
+
SELECT sql
|
52
|
+
FROM sqlite_temp_master
|
53
|
+
WHERE name='index_plaid_rails_accounts_on_owner_id' AND type='index'
|
54
|
+
|
55
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
56
|
+
FROM sqlite_master
|
57
|
+
WHERE name='index_plaid_rails_accounts_on_access_token' AND type='index'
|
58
|
+
UNION ALL
|
59
|
+
SELECT sql
|
60
|
+
FROM sqlite_temp_master
|
61
|
+
WHERE name='index_plaid_rails_accounts_on_access_token' AND type='index'
|
62
|
+
[0m
|
63
|
+
[1m[35m (0.2ms)[0m CREATE INDEX "index_plaid_rails_accounts_on_plaid_id" ON "plaid_rails_accounts" ("plaid_id")
|
64
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20160215155024"]]
|
65
|
+
[1m[35m (2.3ms)[0m commit transaction
|
66
|
+
Migrating to AddTransactionsStartDateToAccounts (20160323141534)
|
67
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
68
|
+
[1m[35m (18.2ms)[0m ALTER TABLE "plaid_rails_accounts" ADD "transactions_start_date" date
|
69
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES (?)[0m [["version", "20160323141534"]]
|
70
|
+
[1m[35m (0.8ms)[0m commit transaction
|
71
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.1ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
72
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
73
|
+
FROM sqlite_master
|
74
|
+
WHERE name='index_plaid_rails_accounts_on_plaid_id' AND type='index'
|
75
|
+
UNION ALL
|
76
|
+
SELECT sql
|
77
|
+
FROM sqlite_temp_master
|
78
|
+
WHERE name='index_plaid_rails_accounts_on_plaid_id' AND type='index'
|
79
|
+
|
80
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
81
|
+
FROM sqlite_master
|
82
|
+
WHERE name='index_plaid_rails_accounts_on_owner_id' AND type='index'
|
83
|
+
UNION ALL
|
84
|
+
SELECT sql
|
85
|
+
FROM sqlite_temp_master
|
86
|
+
WHERE name='index_plaid_rails_accounts_on_owner_id' AND type='index'
|
87
|
+
[0m
|
88
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
89
|
+
FROM sqlite_master
|
90
|
+
WHERE name='index_plaid_rails_accounts_on_access_token' AND type='index'
|
91
|
+
UNION ALL
|
92
|
+
SELECT sql
|
93
|
+
FROM sqlite_temp_master
|
94
|
+
WHERE name='index_plaid_rails_accounts_on_access_token' AND type='index'
|
95
|
+
|
data/spec/dummy/log/test.log
CHANGED
@@ -10019,3 +10019,369 @@ Completed 200 OK in 2457ms (Views: 13.0ms | ActiveRecord: 2.9ms)
|
|
10019
10019
|
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."owner_id" = 1 AND "plaid_rails_accounts"."owner_type" = 'User'
|
10020
10020
|
[1m[36mPlaidRails::Account Load (0.1ms)[0m [1mSELECT "plaid_rails_accounts".* FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."owner_id" = 1 AND "plaid_rails_accounts"."owner_type" = 'User' ORDER BY "plaid_rails_accounts"."id" ASC LIMIT 1[0m
|
10021
10021
|
[1m[35m (1.4ms)[0m rollback transaction
|
10022
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.8ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
10023
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.1ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
10024
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
10025
|
+
FROM sqlite_master
|
10026
|
+
WHERE name='index_plaid_rails_accounts_on_plaid_id' AND type='index'
|
10027
|
+
UNION ALL
|
10028
|
+
SELECT sql
|
10029
|
+
FROM sqlite_temp_master
|
10030
|
+
WHERE name='index_plaid_rails_accounts_on_plaid_id' AND type='index'
|
10031
|
+
[0m
|
10032
|
+
[1m[35m (0.1ms)[0m SELECT sql
|
10033
|
+
FROM sqlite_master
|
10034
|
+
WHERE name='index_plaid_rails_accounts_on_owner_id' AND type='index'
|
10035
|
+
UNION ALL
|
10036
|
+
SELECT sql
|
10037
|
+
FROM sqlite_temp_master
|
10038
|
+
WHERE name='index_plaid_rails_accounts_on_owner_id' AND type='index'
|
10039
|
+
|
10040
|
+
[1m[36m (0.1ms)[0m [1m SELECT sql
|
10041
|
+
FROM sqlite_master
|
10042
|
+
WHERE name='index_plaid_rails_accounts_on_access_token' AND type='index'
|
10043
|
+
UNION ALL
|
10044
|
+
SELECT sql
|
10045
|
+
FROM sqlite_temp_master
|
10046
|
+
WHERE name='index_plaid_rails_accounts_on_access_token' AND type='index'
|
10047
|
+
[0m
|
10048
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
10049
|
+
[1m[35m (0.1ms)[0m begin transaction
|
10050
|
+
[1m[36mPlaidRails::Account Exists (1.3ms)[0m [1mSELECT 1 AS one FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."plaid_id" = 'QPO8Jo8vdDHMepg41PBwckXm4KdK1yUdmXOwK' LIMIT 1[0m
|
10051
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
10052
|
+
[1m[36mSQL (3.8ms)[0m [1mINSERT INTO "plaid_rails_accounts" ("access_token", "available_balance", "bank_name", "created_at", "current_balance", "name", "number", "owner_id", "owner_type", "plaid_id", "plaid_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "test_wells"], ["available_balance", 1203.42], ["bank_name", "Wells Fargo"], ["created_at", "2017-10-15 15:34:35.835813"], ["current_balance", 1274.93], ["name", "Plaid Savings"], ["number", 9606], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "QPO8Jo8vdDHMepg41PBwckXm4KdK1yUdmXOwK"], ["plaid_type", "wells"], ["token", "test,wells,connected"], ["updated_at", "2017-10-15 15:34:35.835813"]]
|
10053
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
10054
|
+
[1m[36mPlaidRails::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."plaid_id" = 'nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy' LIMIT 1[0m
|
10055
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
10056
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "plaid_rails_accounts" ("access_token", "available_balance", "bank_name", "created_at", "current_balance", "name", "number", "owner_id", "owner_type", "plaid_id", "plaid_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "test_wells"], ["available_balance", 1081.78], ["bank_name", "Wells Fargo"], ["created_at", "2017-10-15 15:34:36.375698"], ["current_balance", 1253.32], ["name", "Plaid Checking"], ["number", 1702], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy"], ["plaid_type", "wells"], ["token", "test,wells,connected"], ["updated_at", "2017-10-15 15:34:36.375698"]]
|
10057
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
10058
|
+
[1m[36mPlaidRails::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."plaid_id" = 'XARE85EJqKsjxLp6XR8ocg8VakrkXpTXmRdOo' LIMIT 1[0m
|
10059
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
10060
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "plaid_rails_accounts" ("access_token", "available_balance", "bank_name", "created_at", "current_balance", "name", "number", "owner_id", "owner_type", "plaid_id", "plaid_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "test_wells"], ["available_balance", 7205.23], ["bank_name", "Wells Fargo"], ["created_at", "2017-10-15 15:34:36.940814"], ["current_balance", 7255.23], ["name", "Plaid Premier Checking"], ["number", 5204], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "XARE85EJqKsjxLp6XR8ocg8VakrkXpTXmRdOo"], ["plaid_type", "wells"], ["token", "test,wells,connected"], ["updated_at", "2017-10-15 15:34:36.940814"]]
|
10061
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
10062
|
+
[1m[36mPlaidRails::Account Exists (0.1ms)[0m [1mSELECT 1 AS one FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."plaid_id" = 'pJPM4LMBNQFrOwp0jqEyTwyxJQrQbgU6kq37k' LIMIT 1[0m
|
10063
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
10064
|
+
[1m[36mSQL (0.1ms)[0m [1mINSERT INTO "plaid_rails_accounts" ("access_token", "available_balance", "bank_name", "created_at", "current_balance", "name", "number", "owner_id", "owner_type", "plaid_id", "plaid_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "test_wells"], ["available_balance", 9930.0], ["bank_name", "Wells Fargo"], ["created_at", "2017-10-15 15:34:37.497705"], ["current_balance", 2275.58], ["name", "Plaid Credit Card"], ["number", 3002], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "pJPM4LMBNQFrOwp0jqEyTwyxJQrQbgU6kq37k"], ["plaid_type", "wells"], ["token", "test,wells,connected"], ["updated_at", "2017-10-15 15:34:37.497705"]]
|
10065
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
10066
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."owner_id" = 1 AND "plaid_rails_accounts"."owner_type" = 'User'[0m
|
10067
|
+
[1m[35m (1.6ms)[0m rollback transaction
|
10068
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
10069
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
10070
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "plaid_rails_accounts" ("access_token", "bank_name", "created_at", "name", "owner_id", "owner_type", "plaid_id", "plaid_type", "transactions_start_date", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "test_wells"], ["bank_name", "Wells Fargo"], ["created_at", "2017-10-15 15:34:37.508685"], ["name", "Wells Fargo Credit Card"], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy"], ["plaid_type", "wells"], ["transactions_start_date", "2017-10-12"], ["updated_at", "2017-10-15 15:34:37.508685"]]
|
10071
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
10072
|
+
Processing by PlaidRails::LinkController#update as JS
|
10073
|
+
Parameters: {"public_token"=>"test,wells,connected", "name"=>"Wells Fargo", "type"=>"wells", "owner_id"=>"1", "owner_type"=>"User"}
|
10074
|
+
[1m[36mPlaidRails::Account Load (0.2ms)[0m [1mSELECT "plaid_rails_accounts".* FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."owner_type" = 'User' AND "plaid_rails_accounts"."owner_id" = 1[0m
|
10075
|
+
[1m[35m (0.5ms)[0m SAVEPOINT active_record_1
|
10076
|
+
[1m[36mSQL (0.1ms)[0m [1mUPDATE "plaid_rails_accounts" SET "transactions_start_date" = ?, "updated_at" = ? WHERE "plaid_rails_accounts"."id" = 1[0m [["transactions_start_date", "2017-10-15"], ["updated_at", "2017-10-15 15:34:37.765901"]]
|
10077
|
+
[1m[35m (0.1ms)[0m RELEASE SAVEPOINT active_record_1
|
10078
|
+
Rendered /Users/cwilhelm/NetBeansProjects/plaid_rails/app/views/plaid_rails/link/update.js.erb (0.2ms)
|
10079
|
+
Completed 200 OK in 277ms (Views: 23.2ms | ActiveRecord: 0.9ms)
|
10080
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
10081
|
+
[1m[35m (0.0ms)[0m begin transaction
|
10082
|
+
Processing by PlaidRails::LinkController#update as HTML
|
10083
|
+
Error: Code 1109: unauthorized product. The sandbox client_id and secret can only be used with sandbox credentials and access tokens. See https://plaid.com/docs/api#sandbox.
|
10084
|
+
/Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/plaid-3.0.0/lib/plaid/connector.rb:137:in `raise_error'
|
10085
|
+
/Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/plaid-3.0.0/lib/plaid/connector.rb:110:in `run'
|
10086
|
+
/Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/plaid-3.0.0/lib/plaid/connector.rb:121:in `post_like'
|
10087
|
+
/Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/plaid-3.0.0/lib/plaid/connector.rb:56:in `post'
|
10088
|
+
/Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/plaid-3.0.0/lib/plaid/user.rb:139:in `exchange_token'
|
10089
|
+
/Users/cwilhelm/NetBeansProjects/plaid_rails/app/controllers/plaid_rails/link_controller.rb:21:in `update'
|
10090
|
+
/Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
|
10091
|
+
/Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/abstract_controller/base.rb:189:in `process_action'
|
10092
|
+
/Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/rendering.rb:10:in `process_action'
|
10093
|
+
/Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
|
10094
|
+
/Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/activesupport-4.1.14.1/lib/active_support/callbacks.rb:82:in `run_callbacks'
|
10095
|
+
/Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/abstract_controller/callbacks.rb:19:in `process_action'
|
10096
|
+
/Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/rescue.rb:29:in `process_action'
|
10097
|
+
/Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
|
10098
|
+
/Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/activesupport-4.1.14.1/lib/active_support/notifications.rb:159:in `block in instrument'
|
10099
|
+
/Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/activesupport-4.1.14.1/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
|
10100
|
+
/Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/activesupport-4.1.14.1/lib/active_support/notifications.rb:159:in `instrument'
|
10101
|
+
/Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
|
10102
|
+
/Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
|
10103
|
+
/Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/activerecord-4.1.14.1/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
|
10104
|
+
/Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/abstract_controller/base.rb:136:in `process'
|
10105
|
+
/Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionview-4.1.14.1/lib/action_view/rendering.rb:30:in `process'
|
10106
|
+
/Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:595:in `process'
|
10107
|
+
/Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:64:in `process'
|
10108
|
+
/Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:501:in `post'
|
10109
|
+
/Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/shoulda-matchers-2.8.0/lib/shoulda/matchers/action_controller/strong_parameters_matcher.rb:193:in `block in matches?'
|
10110
|
+
/Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/shoulda-matchers-2.8.0/lib/shoulda/matchers/doublespeak/world.rb:12:in `with_doubles_activated'
|
10111
|
+
/Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/2.3.0/forwardable.rb:189:in `with_doubles_activated'
|
10112
|
+
/Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/shoulda-matchers-2.8.0/lib/shoulda/matchers/action_controller/strong_parameters_matcher.rb:192:in `matches?'
|
10113
|
+
/Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-expectations-2.99.2/lib/rspec/expectations/handler.rb:24:in `handle_matcher'
|
10114
|
+
/Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/memoized_helpers.rb:77:in `should'
|
10115
|
+
/Users/cwilhelm/NetBeansProjects/plaid_rails/spec/controllers/plaid_rails/link_controller_spec.rb:36:in `block (2 levels) in <module:PlaidRails>'
|
10116
|
+
/Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
|
10117
|
+
/Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
|
10118
|
+
/Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:116:in `block in run'
|
10119
|
+
/Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-rails-2.99.0/lib/rspec/rails/example/controller_example_group.rb:183:in `block (2 levels) in <module:ControllerExampleGroup>'
|
10120
|
+
/Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
|
10121
|
+
/Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
|
10122
|
+
/Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:241:in `instance_eval_with_args'
|
10123
|
+
/Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
|
10124
|
+
/Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:178:in `run'
|
10125
|
+
/Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-rails-2.99.0/lib/rspec/rails/adapters.rb:69:in `block (2 levels) in <module:MinitestLifecycleAdapter>'
|
10126
|
+
/Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
|
10127
|
+
/Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
|
10128
|
+
/Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:241:in `instance_eval_with_args'
|
10129
|
+
/Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
|
10130
|
+
/Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:108:in `run'
|
10131
|
+
/Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:446:in `run_hook'
|
10132
|
+
/Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:463:in `run_around_each_hooks'
|
10133
|
+
/Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:250:in `with_around_each_hooks'
|
10134
|
+
/Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:113:in `run'
|
10135
|
+
/Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:515:in `block in run_examples'
|
10136
|
+
/Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:511:in `map'
|
10137
|
+
/Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:511:in `run_examples'
|
10138
|
+
/Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:496:in `run'
|
10139
|
+
/Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:24:in `block (2 levels) in run'
|
10140
|
+
/Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:24:in `map'
|
10141
|
+
/Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:24:in `block in run'
|
10142
|
+
/Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/reporter.rb:58:in `report'
|
10143
|
+
/Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:21:in `run'
|
10144
|
+
/Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/runner.rb:103:in `run'
|
10145
|
+
/Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/runner.rb:17:in `block in autorun'
|
10146
|
+
Completed 500 Internal Server Error in 256ms (Views: 1.0ms | ActiveRecord: 0.0ms)
|
10147
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
10148
|
+
[1m[35m (0.0ms)[0m begin transaction
|
10149
|
+
Processing by PlaidRails::LinkController#authenticate as HTML
|
10150
|
+
Error: Code 1109: unauthorized product. The sandbox client_id and secret can only be used with sandbox credentials and access tokens. See https://plaid.com/docs/api#sandbox.
|
10151
|
+
/Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/plaid-3.0.0/lib/plaid/connector.rb:137:in `raise_error'
|
10152
|
+
/Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/plaid-3.0.0/lib/plaid/connector.rb:110:in `run'
|
10153
|
+
/Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/plaid-3.0.0/lib/plaid/connector.rb:121:in `post_like'
|
10154
|
+
/Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/plaid-3.0.0/lib/plaid/connector.rb:56:in `post'
|
10155
|
+
/Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/plaid-3.0.0/lib/plaid/user.rb:139:in `exchange_token'
|
10156
|
+
/Users/cwilhelm/NetBeansProjects/plaid_rails/app/controllers/plaid_rails/link_controller.rb:8:in `authenticate'
|
10157
|
+
/Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
|
10158
|
+
/Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/abstract_controller/base.rb:189:in `process_action'
|
10159
|
+
/Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/rendering.rb:10:in `process_action'
|
10160
|
+
/Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
|
10161
|
+
/Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/activesupport-4.1.14.1/lib/active_support/callbacks.rb:82:in `run_callbacks'
|
10162
|
+
/Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/abstract_controller/callbacks.rb:19:in `process_action'
|
10163
|
+
/Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/rescue.rb:29:in `process_action'
|
10164
|
+
/Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
|
10165
|
+
/Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/activesupport-4.1.14.1/lib/active_support/notifications.rb:159:in `block in instrument'
|
10166
|
+
/Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/activesupport-4.1.14.1/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
|
10167
|
+
/Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/activesupport-4.1.14.1/lib/active_support/notifications.rb:159:in `instrument'
|
10168
|
+
/Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
|
10169
|
+
/Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
|
10170
|
+
/Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/activerecord-4.1.14.1/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
|
10171
|
+
/Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/abstract_controller/base.rb:136:in `process'
|
10172
|
+
/Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionview-4.1.14.1/lib/action_view/rendering.rb:30:in `process'
|
10173
|
+
/Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:595:in `process'
|
10174
|
+
/Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:64:in `process'
|
10175
|
+
/Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:501:in `post'
|
10176
|
+
/Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/shoulda-matchers-2.8.0/lib/shoulda/matchers/action_controller/strong_parameters_matcher.rb:193:in `block in matches?'
|
10177
|
+
/Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/shoulda-matchers-2.8.0/lib/shoulda/matchers/doublespeak/world.rb:12:in `with_doubles_activated'
|
10178
|
+
/Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/2.3.0/forwardable.rb:189:in `with_doubles_activated'
|
10179
|
+
/Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/shoulda-matchers-2.8.0/lib/shoulda/matchers/action_controller/strong_parameters_matcher.rb:192:in `matches?'
|
10180
|
+
/Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-expectations-2.99.2/lib/rspec/expectations/handler.rb:24:in `handle_matcher'
|
10181
|
+
/Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/memoized_helpers.rb:77:in `should'
|
10182
|
+
/Users/cwilhelm/NetBeansProjects/plaid_rails/spec/controllers/plaid_rails/link_controller_spec.rb:33:in `block (2 levels) in <module:PlaidRails>'
|
10183
|
+
/Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
|
10184
|
+
/Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
|
10185
|
+
/Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:116:in `block in run'
|
10186
|
+
/Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-rails-2.99.0/lib/rspec/rails/example/controller_example_group.rb:183:in `block (2 levels) in <module:ControllerExampleGroup>'
|
10187
|
+
/Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
|
10188
|
+
/Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
|
10189
|
+
/Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:241:in `instance_eval_with_args'
|
10190
|
+
/Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
|
10191
|
+
/Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:178:in `run'
|
10192
|
+
/Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-rails-2.99.0/lib/rspec/rails/adapters.rb:69:in `block (2 levels) in <module:MinitestLifecycleAdapter>'
|
10193
|
+
/Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
|
10194
|
+
/Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
|
10195
|
+
/Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:241:in `instance_eval_with_args'
|
10196
|
+
/Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
|
10197
|
+
/Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:108:in `run'
|
10198
|
+
/Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:446:in `run_hook'
|
10199
|
+
/Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:463:in `run_around_each_hooks'
|
10200
|
+
/Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:250:in `with_around_each_hooks'
|
10201
|
+
/Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:113:in `run'
|
10202
|
+
/Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:515:in `block in run_examples'
|
10203
|
+
/Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:511:in `map'
|
10204
|
+
/Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:511:in `run_examples'
|
10205
|
+
/Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:496:in `run'
|
10206
|
+
/Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:24:in `block (2 levels) in run'
|
10207
|
+
/Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:24:in `map'
|
10208
|
+
/Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:24:in `block in run'
|
10209
|
+
/Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/reporter.rb:58:in `report'
|
10210
|
+
/Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:21:in `run'
|
10211
|
+
/Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/runner.rb:103:in `run'
|
10212
|
+
/Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/runner.rb:17:in `block in autorun'
|
10213
|
+
Completed 500 Internal Server Error in 280ms (Views: 0.4ms | ActiveRecord: 0.0ms)
|
10214
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
10215
|
+
[1m[35m (0.1ms)[0m begin transaction
|
10216
|
+
Processing by PlaidRails::LinkController#authenticate as JS
|
10217
|
+
Parameters: {"public_token"=>"badtoken", "name"=>"Wells Fargo", "type"=>"wells", "owner_id"=>"1", "owner_type"=>"User"}
|
10218
|
+
Error: Code 1109: unauthorized product. The sandbox client_id and secret can only be used with sandbox credentials and access tokens. See https://plaid.com/docs/api#sandbox.
|
10219
|
+
/Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/plaid-3.0.0/lib/plaid/connector.rb:137:in `raise_error'
|
10220
|
+
/Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/plaid-3.0.0/lib/plaid/connector.rb:110:in `run'
|
10221
|
+
/Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/plaid-3.0.0/lib/plaid/connector.rb:121:in `post_like'
|
10222
|
+
/Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/plaid-3.0.0/lib/plaid/connector.rb:56:in `post'
|
10223
|
+
/Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/plaid-3.0.0/lib/plaid/user.rb:139:in `exchange_token'
|
10224
|
+
/Users/cwilhelm/NetBeansProjects/plaid_rails/app/controllers/plaid_rails/link_controller.rb:8:in `authenticate'
|
10225
|
+
/Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/implicit_render.rb:4:in `send_action'
|
10226
|
+
/Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/abstract_controller/base.rb:189:in `process_action'
|
10227
|
+
/Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/rendering.rb:10:in `process_action'
|
10228
|
+
/Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/abstract_controller/callbacks.rb:20:in `block in process_action'
|
10229
|
+
/Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/activesupport-4.1.14.1/lib/active_support/callbacks.rb:82:in `run_callbacks'
|
10230
|
+
/Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/abstract_controller/callbacks.rb:19:in `process_action'
|
10231
|
+
/Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/rescue.rb:29:in `process_action'
|
10232
|
+
/Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/instrumentation.rb:32:in `block in process_action'
|
10233
|
+
/Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/activesupport-4.1.14.1/lib/active_support/notifications.rb:159:in `block in instrument'
|
10234
|
+
/Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/activesupport-4.1.14.1/lib/active_support/notifications/instrumenter.rb:20:in `instrument'
|
10235
|
+
/Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/activesupport-4.1.14.1/lib/active_support/notifications.rb:159:in `instrument'
|
10236
|
+
/Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/instrumentation.rb:30:in `process_action'
|
10237
|
+
/Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/metal/params_wrapper.rb:250:in `process_action'
|
10238
|
+
/Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/activerecord-4.1.14.1/lib/active_record/railties/controller_runtime.rb:18:in `process_action'
|
10239
|
+
/Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/abstract_controller/base.rb:136:in `process'
|
10240
|
+
/Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionview-4.1.14.1/lib/action_view/rendering.rb:30:in `process'
|
10241
|
+
/Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:595:in `process'
|
10242
|
+
/Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:64:in `process'
|
10243
|
+
/Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:501:in `post'
|
10244
|
+
/Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/actionpack-4.1.14.1/lib/action_controller/test_case.rb:531:in `xml_http_request'
|
10245
|
+
/Users/cwilhelm/NetBeansProjects/plaid_rails/spec/controllers/plaid_rails/link_controller_spec.rb:15:in `block (2 levels) in <module:PlaidRails>'
|
10246
|
+
/Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
|
10247
|
+
/Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
|
10248
|
+
/Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:116:in `block in run'
|
10249
|
+
/Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-rails-2.99.0/lib/rspec/rails/example/controller_example_group.rb:183:in `block (2 levels) in <module:ControllerExampleGroup>'
|
10250
|
+
/Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
|
10251
|
+
/Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
|
10252
|
+
/Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:241:in `instance_eval_with_args'
|
10253
|
+
/Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
|
10254
|
+
/Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:178:in `run'
|
10255
|
+
/Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-rails-2.99.0/lib/rspec/rails/adapters.rb:69:in `block (2 levels) in <module:MinitestLifecycleAdapter>'
|
10256
|
+
/Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_exec'
|
10257
|
+
/Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/extensions/instance_eval_with_args.rb:16:in `instance_eval_with_args'
|
10258
|
+
/Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:241:in `instance_eval_with_args'
|
10259
|
+
/Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:106:in `block (2 levels) in run'
|
10260
|
+
/Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:108:in `run'
|
10261
|
+
/Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/hooks.rb:446:in `run_hook'
|
10262
|
+
/Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:463:in `run_around_each_hooks'
|
10263
|
+
/Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:250:in `with_around_each_hooks'
|
10264
|
+
/Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example.rb:113:in `run'
|
10265
|
+
/Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:515:in `block in run_examples'
|
10266
|
+
/Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:511:in `map'
|
10267
|
+
/Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:511:in `run_examples'
|
10268
|
+
/Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/example_group.rb:496:in `run'
|
10269
|
+
/Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:24:in `block (2 levels) in run'
|
10270
|
+
/Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:24:in `map'
|
10271
|
+
/Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:24:in `block in run'
|
10272
|
+
/Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/reporter.rb:58:in `report'
|
10273
|
+
/Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/command_line.rb:21:in `run'
|
10274
|
+
/Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/runner.rb:103:in `run'
|
10275
|
+
/Users/cwilhelm/.rbenv/versions/2.3.1/lib/ruby/gems/2.3.0/gems/rspec-core-2.99.2/lib/rspec/core/runner.rb:17:in `block in autorun'
|
10276
|
+
Completed 500 Internal Server Error in 255ms (Views: 0.4ms | ActiveRecord: 0.0ms)
|
10277
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
10278
|
+
[1m[35m (0.0ms)[0m begin transaction
|
10279
|
+
Processing by PlaidRails::LinkController#authenticate as JS
|
10280
|
+
Parameters: {"public_token"=>"test,wells,connected", "name"=>"Wells Fargo", "type"=>"wells", "owner_id"=>"1", "owner_type"=>"User"}
|
10281
|
+
Completed 200 OK in 273ms (Views: 17.3ms | ActiveRecord: 0.0ms)
|
10282
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
10283
|
+
[1m[35m (0.1ms)[0m begin transaction
|
10284
|
+
[1m[36m (0.1ms)[0m [1mrollback transaction[0m
|
10285
|
+
[1m[35m (0.0ms)[0m begin transaction
|
10286
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
10287
|
+
[1m[35m (0.0ms)[0m begin transaction
|
10288
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
10289
|
+
[1m[35m (0.0ms)[0m begin transaction
|
10290
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
10291
|
+
[1m[35mSQL (0.5ms)[0m INSERT INTO "plaid_rails_webhooks" ("access_token", "code", "created_at", "message", "updated_at") VALUES (?, ?, ?, ?, ?) [["access_token", "123abc"], ["code", 0], ["created_at", "2017-10-15 15:34:38.902847"], ["message", "hello"], ["updated_at", "2017-10-15 15:34:38.902847"]]
|
10292
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
10293
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
10294
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
10295
|
+
Processing by PlaidRails::AccountsController#index as HTML
|
10296
|
+
Parameters: {"account"=>{"owner_id"=>"1"}}
|
10297
|
+
Completed 200 OK in 7ms (Views: 6.7ms | ActiveRecord: 0.0ms)
|
10298
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
10299
|
+
[1m[36mSQL (0.4ms)[0m [1mINSERT INTO "plaid_rails_accounts" ("access_token", "bank_name", "created_at", "name", "owner_id", "owner_type", "plaid_id", "plaid_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "test_wells"], ["bank_name", "Wells Fargo"], ["created_at", "2017-10-15 15:34:38.915338"], ["name", "Wells Fargo Credit Card"], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy"], ["plaid_type", "wells"], ["updated_at", "2017-10-15 15:34:38.915338"]]
|
10300
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
10301
|
+
[1m[36mPlaidRails::Account Load (0.1ms)[0m [1mSELECT "plaid_rails_accounts".* FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."owner_id" = 1[0m
|
10302
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
10303
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
10304
|
+
Processing by PlaidRails::AccountsController#create as HTML
|
10305
|
+
Parameters: {"account"=>{"access_token"=>"test_wells", "account_ids"=>["QPO8Jo8vdDHMepg41PBwckXm4KdK1yUdmXOwK", "nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy", "XARE85EJqKsjxLp6XR8ocg8VakrkXpTXmRdOo", "pJPM4LMBNQFrOwp0jqEyTwyxJQrQbgU6kq37k"], "name"=>"Wells Fargo", "type"=>"wells", "owner_id"=>"1", "owner_type"=>"User", "token"=>"test,wells,connected"}}
|
10306
|
+
[1m[35mPlaidRails::Account Exists (0.2ms)[0m SELECT 1 AS one FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."plaid_id" = 'QPO8Jo8vdDHMepg41PBwckXm4KdK1yUdmXOwK' LIMIT 1
|
10307
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
10308
|
+
[1m[35mSQL (0.4ms)[0m INSERT INTO "plaid_rails_accounts" ("access_token", "available_balance", "bank_name", "created_at", "current_balance", "name", "number", "owner_id", "owner_type", "plaid_id", "plaid_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["access_token", "test_wells"], ["available_balance", 1203.42], ["bank_name", "Wells Fargo"], ["created_at", "2017-10-15 15:34:39.761202"], ["current_balance", 1274.93], ["name", "Plaid Savings"], ["number", 9606], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "QPO8Jo8vdDHMepg41PBwckXm4KdK1yUdmXOwK"], ["plaid_type", "wells"], ["token", "test,wells,connected"], ["updated_at", "2017-10-15 15:34:39.761202"]]
|
10309
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
10310
|
+
[1m[35mPlaidRails::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."plaid_id" = 'nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy' LIMIT 1
|
10311
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
10312
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "plaid_rails_accounts" ("access_token", "available_balance", "bank_name", "created_at", "current_balance", "name", "number", "owner_id", "owner_type", "plaid_id", "plaid_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["access_token", "test_wells"], ["available_balance", 1081.78], ["bank_name", "Wells Fargo"], ["created_at", "2017-10-15 15:34:40.281944"], ["current_balance", 1253.32], ["name", "Plaid Checking"], ["number", 1702], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy"], ["plaid_type", "wells"], ["token", "test,wells,connected"], ["updated_at", "2017-10-15 15:34:40.281944"]]
|
10313
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
10314
|
+
[1m[35mPlaidRails::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."plaid_id" = 'XARE85EJqKsjxLp6XR8ocg8VakrkXpTXmRdOo' LIMIT 1
|
10315
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
10316
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "plaid_rails_accounts" ("access_token", "available_balance", "bank_name", "created_at", "current_balance", "name", "number", "owner_id", "owner_type", "plaid_id", "plaid_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["access_token", "test_wells"], ["available_balance", 7205.23], ["bank_name", "Wells Fargo"], ["created_at", "2017-10-15 15:34:40.873968"], ["current_balance", 7255.23], ["name", "Plaid Premier Checking"], ["number", 5204], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "XARE85EJqKsjxLp6XR8ocg8VakrkXpTXmRdOo"], ["plaid_type", "wells"], ["token", "test,wells,connected"], ["updated_at", "2017-10-15 15:34:40.873968"]]
|
10317
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
10318
|
+
[1m[35mPlaidRails::Account Exists (0.1ms)[0m SELECT 1 AS one FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."plaid_id" = 'pJPM4LMBNQFrOwp0jqEyTwyxJQrQbgU6kq37k' LIMIT 1
|
10319
|
+
[1m[36m (0.1ms)[0m [1mSAVEPOINT active_record_1[0m
|
10320
|
+
[1m[35mSQL (0.1ms)[0m INSERT INTO "plaid_rails_accounts" ("access_token", "available_balance", "bank_name", "created_at", "current_balance", "name", "number", "owner_id", "owner_type", "plaid_id", "plaid_type", "token", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?) [["access_token", "test_wells"], ["available_balance", 9930.0], ["bank_name", "Wells Fargo"], ["created_at", "2017-10-15 15:34:41.470270"], ["current_balance", 2275.58], ["name", "Plaid Credit Card"], ["number", 3002], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "pJPM4LMBNQFrOwp0jqEyTwyxJQrQbgU6kq37k"], ["plaid_type", "wells"], ["token", "test,wells,connected"], ["updated_at", "2017-10-15 15:34:41.470270"]]
|
10321
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
10322
|
+
Completed 200 OK in 2271ms (Views: 4.1ms | ActiveRecord: 2.0ms)
|
10323
|
+
[1m[35m (0.2ms)[0m SELECT COUNT(*) FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."owner_id" = 1 AND "plaid_rails_accounts"."owner_type" = 'User'
|
10324
|
+
[1m[36mPlaidRails::Account Load (0.2ms)[0m [1mSELECT "plaid_rails_accounts".* FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."owner_id" = 1 AND "plaid_rails_accounts"."owner_type" = 'User' ORDER BY "plaid_rails_accounts"."id" ASC LIMIT 1[0m
|
10325
|
+
[1m[35m (0.4ms)[0m rollback transaction
|
10326
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
10327
|
+
[1m[35m (0.1ms)[0m SAVEPOINT active_record_1
|
10328
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "plaid_rails_accounts" ("access_token", "bank_name", "created_at", "name", "owner_id", "owner_type", "plaid_id", "plaid_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "test_wells"], ["bank_name", "Wells Fargo"], ["created_at", "2017-10-15 15:34:41.480646"], ["name", "Wells Fargo Credit Card"], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy"], ["plaid_type", "wells"], ["updated_at", "2017-10-15 15:34:41.480646"]]
|
10329
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
10330
|
+
Processing by PlaidRails::AccountsController#destroy as HTML
|
10331
|
+
Parameters: {"id"=>"1"}
|
10332
|
+
[1m[36mPlaidRails::Account Load (0.1ms)[0m [1mSELECT "plaid_rails_accounts".* FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."id" = ? LIMIT 1[0m [["id", 1]]
|
10333
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
10334
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."access_token" = 'test_wells'[0m
|
10335
|
+
[1m[35mSQL (0.2ms)[0m DELETE FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."id" = ? [["id", 1]]
|
10336
|
+
[1m[36m (0.1ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
10337
|
+
Completed 200 OK in 262ms (Views: 4.4ms | ActiveRecord: 0.5ms)
|
10338
|
+
[1m[35m (0.5ms)[0m rollback transaction
|
10339
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
10340
|
+
Processing by PlaidRails::AccountsController#new as HTML
|
10341
|
+
Parameters: {"account"=>{"access_token"=>"test_wells", "name"=>"Wells Fargo", "type"=>"wells", "owner_id"=>"1", "owner_type"=>"User"}}
|
10342
|
+
Completed 200 OK in 302ms (Views: 4.4ms | ActiveRecord: 0.0ms)
|
10343
|
+
[1m[35m (0.1ms)[0m rollback transaction
|
10344
|
+
[1m[36m (0.1ms)[0m [1mbegin transaction[0m
|
10345
|
+
Processing by PlaidRails::WebhooksController#create as HTML
|
10346
|
+
Parameters: {"webhook"=>{"code"=>"0", "message"=>"hello", "access_token"=>"test_wells"}}
|
10347
|
+
Completed 200 OK in 1ms (Views: 0.2ms | ActiveRecord: 0.0ms)
|
10348
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
10349
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
10350
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
10351
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "plaid_rails_accounts" ("access_token", "bank_name", "created_at", "name", "owner_id", "owner_type", "plaid_id", "plaid_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "test_wells"], ["bank_name", "Wells Fargo"], ["created_at", "2017-10-15 15:34:42.056987"], ["name", "Wells Fargo Credit Card"], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy"], ["plaid_type", "wells"], ["updated_at", "2017-10-15 15:34:42.056987"]]
|
10352
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
10353
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
10354
|
+
[1m[35mSQL (0.0ms)[0m DELETE FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."id" = ? [["id", 1]]
|
10355
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
10356
|
+
[1m[35m (0.3ms)[0m rollback transaction
|
10357
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
10358
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
10359
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "plaid_rails_accounts" ("access_token", "bank_name", "created_at", "name", "owner_id", "owner_type", "plaid_id", "plaid_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "test_wells"], ["bank_name", "Wells Fargo"], ["created_at", "2017-10-15 15:34:42.060243"], ["name", "Wells Fargo Credit Card"], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy"], ["plaid_type", "wells"], ["updated_at", "2017-10-15 15:34:42.060243"]]
|
10360
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
10361
|
+
[1m[36m (0.1ms)[0m [1mSELECT COUNT(*) FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."access_token" = 'test_wells'[0m
|
10362
|
+
[1m[35m (0.2ms)[0m rollback transaction
|
10363
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
10364
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
10365
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
10366
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
10367
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
10368
|
+
[1m[35m (0.0ms)[0m rollback transaction
|
10369
|
+
[1m[36m (0.0ms)[0m [1mbegin transaction[0m
|
10370
|
+
[1m[35m (0.0ms)[0m SAVEPOINT active_record_1
|
10371
|
+
[1m[36mSQL (0.2ms)[0m [1mINSERT INTO "plaid_rails_accounts" ("access_token", "bank_name", "created_at", "name", "owner_id", "owner_type", "plaid_id", "plaid_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?)[0m [["access_token", "test_wells"], ["bank_name", "Wells Fargo"], ["created_at", "2017-10-15 15:34:42.072770"], ["name", "Wells Fargo Credit Card"], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy"], ["plaid_type", "wells"], ["updated_at", "2017-10-15 15:34:42.072770"]]
|
10372
|
+
[1m[35m (0.0ms)[0m RELEASE SAVEPOINT active_record_1
|
10373
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
10374
|
+
[1m[35mSQL (0.0ms)[0m INSERT INTO "plaid_rails_accounts" ("access_token", "bank_name", "created_at", "name", "owner_id", "owner_type", "plaid_id", "plaid_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["access_token", "test_wells"], ["bank_name", "Wells Fargo"], ["created_at", "2017-10-15 15:34:42.074125"], ["name", "Wells Fargo Credit Card"], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy"], ["plaid_type", "wells"], ["updated_at", "2017-10-15 15:34:42.074125"]]
|
10375
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
10376
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."access_token" = 'test_wells'
|
10377
|
+
[1m[36m (0.3ms)[0m [1mrollback transaction[0m
|
10378
|
+
[1m[35m (0.0ms)[0m begin transaction
|
10379
|
+
[1m[36m (0.0ms)[0m [1mSAVEPOINT active_record_1[0m
|
10380
|
+
[1m[35mSQL (0.2ms)[0m INSERT INTO "plaid_rails_accounts" ("access_token", "bank_name", "created_at", "name", "owner_id", "owner_type", "plaid_id", "plaid_type", "updated_at") VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?) [["access_token", "test_wells"], ["bank_name", "Wells Fargo"], ["created_at", "2017-10-15 15:34:42.076409"], ["name", "Wells Fargo Credit Card"], ["owner_id", 1], ["owner_type", "User"], ["plaid_id", "nban4wnPKEtnmEpaKzbYFYQvA7D7pnCaeDBMy"], ["plaid_type", "wells"], ["updated_at", "2017-10-15 15:34:42.076409"]]
|
10381
|
+
[1m[36m (0.0ms)[0m [1mRELEASE SAVEPOINT active_record_1[0m
|
10382
|
+
[1m[35m (0.1ms)[0m SELECT COUNT(*) FROM "plaid_rails_accounts" WHERE "plaid_rails_accounts"."access_token" = 'test_wells'
|
10383
|
+
[1m[36m (0.2ms)[0m [1mrollback transaction[0m
|
10384
|
+
[1m[35m (0.0ms)[0m begin transaction
|
10385
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
10386
|
+
[1m[35m (0.0ms)[0m begin transaction
|
10387
|
+
[1m[36m (0.0ms)[0m [1mrollback transaction[0m
|
metadata
CHANGED
@@ -1,27 +1,27 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: plaid_rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.8.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Curt Wilhelm
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-
|
11
|
+
date: 2017-10-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
15
15
|
requirement: !ruby/object:Gem::Requirement
|
16
16
|
requirements:
|
17
|
-
- - "
|
17
|
+
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
19
|
version: '4.1'
|
20
20
|
type: :runtime
|
21
21
|
prerelease: false
|
22
22
|
version_requirements: !ruby/object:Gem::Requirement
|
23
23
|
requirements:
|
24
|
-
- - "
|
24
|
+
- - ">="
|
25
25
|
- !ruby/object:Gem::Version
|
26
26
|
version: '4.1'
|
27
27
|
- !ruby/object:Gem::Dependency
|
@@ -248,7 +248,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
248
248
|
version: '0'
|
249
249
|
requirements: []
|
250
250
|
rubyforge_project:
|
251
|
-
rubygems_version: 2.
|
251
|
+
rubygems_version: 2.5.1
|
252
252
|
signing_key:
|
253
253
|
specification_version: 4
|
254
254
|
summary: A Rails Engine to work with Plaid
|