bloom_remit 0.4.1 → 0.5.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f0d3ea428b16ed968b55be8826d9dcee53c64afe
4
- data.tar.gz: b5396535031896344b0165cd9fe57eb9b9c8d785
3
+ metadata.gz: a2470fac46f66988ef9b6d16681f2400da69e10c
4
+ data.tar.gz: 0db3d851093de50a175f1d6ad43327d577810439
5
5
  SHA512:
6
- metadata.gz: e16e9313e53f690512c64673f70639424baec0d7095a300d35b1987a589436a9c6d996bd59421094826c387e154e5f24579cbd743a1aeb9163e355e64af7808b
7
- data.tar.gz: cc925f5aa61df1b592c29ec28f5eeed29d519e8a34ef3fccfe9a69ded76e698b8024c535062c3ad5a5ca0db54d98f143048397235e6c3a56ec71cd34f95f2669
6
+ metadata.gz: 35edffe3ad020b13f091b6c4b775062a3a4df778db5b07633b80a1327c505b706b725e97496c1ef01711204f516f15f16b7c4c370aeb3f3756983e9972bdcb95
7
+ data.tar.gz: aefcd0e63f34ffa72a0e6c127ef334672f41c66fbe2d7d38172981e46e56eb7dfdab653c3c99b07ea85cf85547ef134d71c4ac105726ea5f20798f6fafd6148c
@@ -5,6 +5,7 @@ module BloomRemit
5
5
 
6
6
  model ::BloomRemit::Txn
7
7
  property :status
8
+ property :status_description
8
9
 
9
10
  end
10
11
  end
@@ -25,10 +25,10 @@ module BloomRemit
25
25
 
26
26
  def setup_params!(params)
27
27
  params[:txn] ||= {}
28
- params[:txn].merge!(
29
- status: params[:status],
30
- secret: params[:secret],
31
- )
28
+ params[:txn].merge!(params.slice(*%i[
29
+ status
30
+ status_description
31
+ ]))
32
32
  end
33
33
 
34
34
  def model!(params)
@@ -0,0 +1,5 @@
1
+ class AddStatusDescriptionToBloomRemitTxns < ActiveRecord::Migration
2
+ def change
3
+ add_column :bloom_remit_txns, :status_description, :text
4
+ end
5
+ end
@@ -1,3 +1,3 @@
1
1
  module BloomRemit
2
- VERSION = "0.4.1"
2
+ VERSION = "0.5.0"
3
3
  end
@@ -9,13 +9,18 @@ module BloomRemit
9
9
  let(:txn) { create(:bloom_remit_txn, sender: user) }
10
10
 
11
11
  it "creates the txn, and triggers BloomRemit.on_txn_update" do
12
- op = described_class.
13
- (id: txn.id, secret: txn.secret, status: "paid")
12
+ op = described_class.(
13
+ id: txn.id,
14
+ secret: txn.secret,
15
+ status: "paid",
16
+ status_description: "My status description",
17
+ )
14
18
  txn = op.model
15
19
  expect(txn.status).to eq "paid"
20
+ expect(txn.status_description).to eq "My status description"
16
21
  expect(OnUpdateJob).to have_enqueued_job(txn.id, {
17
22
  status: "paid",
18
- secret: txn.secret,
23
+ status_description: "My status description",
19
24
  })
20
25
  end
21
26
 
@@ -11,26 +11,15 @@
11
11
  #
12
12
  # It's strongly recommended that you check this file into your version control system.
13
13
 
14
- ActiveRecord::Schema.define(version: 20160808081300) do
14
+ ActiveRecord::Schema.define(version: 20160809043433) do
15
15
 
16
16
  # These are extensions that must be enabled in order to support this database
17
17
  enable_extension "plpgsql"
18
- enable_extension "hstore"
19
18
 
20
19
  create_table "billers", force: :cascade do |t|
21
20
  t.string "slug"
22
21
  end
23
22
 
24
- create_table "bloom_remit_billers", force: :cascade do |t|
25
- t.string "slug", null: false
26
- t.text "description"
27
- t.hstore "fields"
28
- t.decimal "service_charge", default: 0.0, null: false
29
- t.datetime "deactivated_at"
30
- t.datetime "created_at", null: false
31
- t.datetime "updated_at", null: false
32
- end
33
-
34
23
  create_table "bloom_remit_responses", force: :cascade do |t|
35
24
  t.integer "txn_id", null: false
36
25
  t.text "body", null: false
@@ -41,17 +30,18 @@ ActiveRecord::Schema.define(version: 20160808081300) do
41
30
  add_index "bloom_remit_responses", ["txn_id"], name: "index_bloom_remit_responses_on_txn_id", using: :btree
42
31
 
43
32
  create_table "bloom_remit_txns", force: :cascade do |t|
44
- t.integer "status", default: 0, null: false
45
- t.string "sender_id", null: false
46
- t.string "sender_type", null: false
47
- t.decimal "amount", null: false
33
+ t.integer "status", default: 0, null: false
34
+ t.string "sender_id", null: false
35
+ t.string "sender_type", null: false
36
+ t.decimal "amount", null: false
48
37
  t.string "account_name"
49
38
  t.string "account_id"
50
- t.uuid "secret", null: false
51
- t.string "target_slug", null: false
39
+ t.uuid "secret", null: false
40
+ t.string "target_slug", null: false
52
41
  t.string "owner_id"
53
42
  t.string "owner_type"
54
- t.string "external_id", null: false
43
+ t.string "external_id", null: false
44
+ t.text "status_description"
55
45
  end
56
46
 
57
47
  add_index "bloom_remit_txns", ["external_id"], name: "index_bloom_remit_txns_on_external_id", using: :btree
@@ -1872,3 +1872,82 @@ WHERE c.contype = 'f'
1872
1872
  AND t3.nspname = ANY (current_schemas(false))
1873
1873
  ORDER BY c.conname
1874
1874
  
1875
+ ActiveRecord::SchemaMigration Load (1.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
1876
+ Migrating to AddStatusDescriptionToBloomRemitTxns (20160809043433)
1877
+  (0.2ms) BEGIN
1878
+  (4.7ms) ALTER TABLE "bloom_remit_txns" ADD "status_description" text
1879
+ SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20160809043433"]]
1880
+  (1.3ms) COMMIT
1881
+ ActiveRecord::SchemaMigration Load (0.9ms) SELECT "schema_migrations".* FROM "schema_migrations"
1882
+  (2.1ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
1883
+ FROM pg_constraint c
1884
+ JOIN pg_class t1 ON c.conrelid = t1.oid
1885
+ JOIN pg_class t2 ON c.confrelid = t2.oid
1886
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
1887
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
1888
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
1889
+ WHERE c.contype = 'f'
1890
+ AND t1.relname = 'billers'
1891
+ AND t3.nspname = ANY (current_schemas(false))
1892
+ ORDER BY c.conname
1893
+ 
1894
+  (1.9ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
1895
+ FROM pg_constraint c
1896
+ JOIN pg_class t1 ON c.conrelid = t1.oid
1897
+ JOIN pg_class t2 ON c.confrelid = t2.oid
1898
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
1899
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
1900
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
1901
+ WHERE c.contype = 'f'
1902
+ AND t1.relname = 'bloom_remit_billers'
1903
+ AND t3.nspname = ANY (current_schemas(false))
1904
+ ORDER BY c.conname
1905
+
1906
+  (2.1ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
1907
+ FROM pg_constraint c
1908
+ JOIN pg_class t1 ON c.conrelid = t1.oid
1909
+ JOIN pg_class t2 ON c.confrelid = t2.oid
1910
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
1911
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
1912
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
1913
+ WHERE c.contype = 'f'
1914
+ AND t1.relname = 'bloom_remit_responses'
1915
+ AND t3.nspname = ANY (current_schemas(false))
1916
+ ORDER BY c.conname
1917
+ 
1918
+  (2.0ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
1919
+ FROM pg_constraint c
1920
+ JOIN pg_class t1 ON c.conrelid = t1.oid
1921
+ JOIN pg_class t2 ON c.confrelid = t2.oid
1922
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
1923
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
1924
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
1925
+ WHERE c.contype = 'f'
1926
+ AND t1.relname = 'bloom_remit_txns'
1927
+ AND t3.nspname = ANY (current_schemas(false))
1928
+ ORDER BY c.conname
1929
+
1930
+  (2.0ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
1931
+ FROM pg_constraint c
1932
+ JOIN pg_class t1 ON c.conrelid = t1.oid
1933
+ JOIN pg_class t2 ON c.confrelid = t2.oid
1934
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
1935
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
1936
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
1937
+ WHERE c.contype = 'f'
1938
+ AND t1.relname = 'payments'
1939
+ AND t3.nspname = ANY (current_schemas(false))
1940
+ ORDER BY c.conname
1941
+ 
1942
+  (2.0ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
1943
+ FROM pg_constraint c
1944
+ JOIN pg_class t1 ON c.conrelid = t1.oid
1945
+ JOIN pg_class t2 ON c.confrelid = t2.oid
1946
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
1947
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
1948
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
1949
+ WHERE c.contype = 'f'
1950
+ AND t1.relname = 'users'
1951
+ AND t3.nspname = ANY (current_schemas(false))
1952
+ ORDER BY c.conname
1953
+
@@ -29656,3 +29656,490 @@ Completed 204 No Content in 52ms (ActiveRecord: 1.4ms)
29656
29656
   (0.2ms) COMMIT
29657
29657
   (0.2ms) BEGIN
29658
29658
   (0.3ms) ROLLBACK
29659
+ ActiveRecord::SchemaMigration Load (1.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
29660
+ Migrating to AddStatusDescriptionToBloomRemitTxns (20160809043433)
29661
+  (0.2ms) BEGIN
29662
+  (3.9ms) ALTER TABLE "bloom_remit_txns" ADD "status_description" text
29663
+ SQL (0.4ms) INSERT INTO "schema_migrations" ("version") VALUES ($1) [["version", "20160809043433"]]
29664
+  (0.6ms) COMMIT
29665
+ ActiveRecord::SchemaMigration Load (0.3ms) SELECT "schema_migrations".* FROM "schema_migrations"
29666
+  (2.2ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
29667
+ FROM pg_constraint c
29668
+ JOIN pg_class t1 ON c.conrelid = t1.oid
29669
+ JOIN pg_class t2 ON c.confrelid = t2.oid
29670
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
29671
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
29672
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
29673
+ WHERE c.contype = 'f'
29674
+ AND t1.relname = 'billers'
29675
+ AND t3.nspname = ANY (current_schemas(false))
29676
+ ORDER BY c.conname
29677
+ 
29678
+  (2.0ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
29679
+ FROM pg_constraint c
29680
+ JOIN pg_class t1 ON c.conrelid = t1.oid
29681
+ JOIN pg_class t2 ON c.confrelid = t2.oid
29682
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
29683
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
29684
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
29685
+ WHERE c.contype = 'f'
29686
+ AND t1.relname = 'bloom_remit_responses'
29687
+ AND t3.nspname = ANY (current_schemas(false))
29688
+ ORDER BY c.conname
29689
+
29690
+  (2.0ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
29691
+ FROM pg_constraint c
29692
+ JOIN pg_class t1 ON c.conrelid = t1.oid
29693
+ JOIN pg_class t2 ON c.confrelid = t2.oid
29694
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
29695
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
29696
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
29697
+ WHERE c.contype = 'f'
29698
+ AND t1.relname = 'bloom_remit_txns'
29699
+ AND t3.nspname = ANY (current_schemas(false))
29700
+ ORDER BY c.conname
29701
+ 
29702
+  (2.0ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
29703
+ FROM pg_constraint c
29704
+ JOIN pg_class t1 ON c.conrelid = t1.oid
29705
+ JOIN pg_class t2 ON c.confrelid = t2.oid
29706
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
29707
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
29708
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
29709
+ WHERE c.contype = 'f'
29710
+ AND t1.relname = 'payments'
29711
+ AND t3.nspname = ANY (current_schemas(false))
29712
+ ORDER BY c.conname
29713
+
29714
+  (2.1ms) SELECT t2.oid::regclass::text AS to_table, a1.attname AS column, a2.attname AS primary_key, c.conname AS name, c.confupdtype AS on_update, c.confdeltype AS on_delete
29715
+ FROM pg_constraint c
29716
+ JOIN pg_class t1 ON c.conrelid = t1.oid
29717
+ JOIN pg_class t2 ON c.confrelid = t2.oid
29718
+ JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
29719
+ JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
29720
+ JOIN pg_namespace t3 ON c.connamespace = t3.oid
29721
+ WHERE c.contype = 'f'
29722
+ AND t1.relname = 'users'
29723
+ AND t3.nspname = ANY (current_schemas(false))
29724
+ ORDER BY c.conname
29725
+ 
29726
+ ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
29727
+  (1.0ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "billers" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "bloom_remit_txns" DISABLE TRIGGER ALL;ALTER TABLE "bloom_remit_responses" DISABLE TRIGGER ALL;ALTER TABLE "payments" DISABLE TRIGGER ALL
29728
+  (1.3ms)  SELECT schemaname || '.' || tablename
29729
+ FROM pg_tables
29730
+ WHERE
29731
+ tablename !~ '_prt_' AND
29732
+ tablename <> 'schema_migrations' AND
29733
+ schemaname = ANY (current_schemas(false))
29734
+ 
29735
+  (3.4ms) select table_name from information_schema.views where table_schema = 'bloom_remit_rails_test'
29736
+  (29.0ms) TRUNCATE TABLE "public"."billers", "public"."users", "public"."bloom_remit_txns", "public"."bloom_remit_responses", "public"."payments" RESTART IDENTITY CASCADE;
29737
+  (0.4ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "billers" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "bloom_remit_txns" ENABLE TRIGGER ALL;ALTER TABLE "bloom_remit_responses" ENABLE TRIGGER ALL;ALTER TABLE "payments" ENABLE TRIGGER ALL
29738
+  (0.3ms) BEGIN
29739
+  (0.2ms) COMMIT
29740
+  (0.2ms) BEGIN
29741
+  (0.3ms) ROLLBACK
29742
+  (0.3ms) BEGIN
29743
+ SQL (0.5ms) INSERT INTO "billers" ("slug") VALUES ($1) RETURNING "id" [["slug", "PLDT"]]
29744
+  (0.4ms) COMMIT
29745
+  (0.3ms) BEGIN
29746
+ SQL (0.4ms) INSERT INTO "users" ("type") VALUES ($1) RETURNING "id" [["type", "SubUser"]]
29747
+  (0.5ms) COMMIT
29748
+  (0.3ms) BEGIN
29749
+ SQL (0.5ms) INSERT INTO "payments" ("type") VALUES ($1) RETURNING "id" [["type", "SubPayment"]]
29750
+  (0.5ms) COMMIT
29751
+  (0.3ms) BEGIN
29752
+ SQL (0.6ms) INSERT INTO "bloom_remit_txns" ("secret", "sender_type", "sender_id", "amount", "account_name", "account_id", "target_slug", "owner_id", "owner_type", "external_id") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) RETURNING "id" [["secret", "c02bcbb3-0a9f-44cb-8dcc-2b3d951ee526"], ["sender_type", "User"], ["sender_id", "1"], ["amount", "800.0"], ["account_name", "028109090"], ["account_id", "Hooli X"], ["target_slug", "PLDT"], ["owner_id", "1"], ["owner_type", "Payment"], ["external_id", "b01c255708b9ca58508fd57d"]]
29753
+  (0.5ms) COMMIT
29754
+ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT 1 [["id", 1]]
29755
+ Payment Load (0.3ms) SELECT "payments".* FROM "payments" WHERE "payments"."id" = $1 LIMIT 1 [["id", 1]]
29756
+  (0.4ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "billers" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "bloom_remit_txns" DISABLE TRIGGER ALL;ALTER TABLE "bloom_remit_responses" DISABLE TRIGGER ALL;ALTER TABLE "payments" DISABLE TRIGGER ALL
29757
+  (19.2ms) TRUNCATE TABLE "public"."billers", "public"."users", "public"."bloom_remit_txns", "public"."bloom_remit_responses", "public"."payments" RESTART IDENTITY CASCADE;
29758
+  (0.4ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "billers" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "bloom_remit_txns" ENABLE TRIGGER ALL;ALTER TABLE "bloom_remit_responses" ENABLE TRIGGER ALL;ALTER TABLE "payments" ENABLE TRIGGER ALL
29759
+  (0.2ms) BEGIN
29760
+ SQL (0.5ms) INSERT INTO "users" DEFAULT VALUES RETURNING "id"
29761
+  (0.5ms) COMMIT
29762
+  (0.2ms) BEGIN
29763
+ SQL (0.5ms) INSERT INTO "bloom_remit_txns" ("target_slug", "amount", "secret", "external_id", "sender_id", "sender_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["target_slug", "TARGET_SLUG"], ["amount", "2500.0"], ["secret", "b6695252-42ac-4728-b7c6-83a13f16c176"], ["external_id", "75be0fe90ae690b466aac2a2"], ["sender_id", "1"], ["sender_type", "User"]]
29764
+  (1.0ms) COMMIT
29765
+ BloomRemit::Txn Load (0.6ms) SELECT "bloom_remit_txns".* FROM "bloom_remit_txns" WHERE "bloom_remit_txns"."id" = $1 AND "bloom_remit_txns"."secret" = $2 LIMIT 1 [["id", 1], ["secret", "b6695252-42ac-4728-b7c6-83a13f16c176"]]
29766
+  (0.3ms) BEGIN
29767
+ SQL (0.3ms) UPDATE "bloom_remit_txns" SET "status" = $1 WHERE "bloom_remit_txns"."id" = $2 [["status", 1], ["id", 1]]
29768
+  (0.5ms) COMMIT
29769
+  (0.3ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "billers" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "bloom_remit_txns" DISABLE TRIGGER ALL;ALTER TABLE "bloom_remit_responses" DISABLE TRIGGER ALL;ALTER TABLE "payments" DISABLE TRIGGER ALL
29770
+  (18.2ms) TRUNCATE TABLE "public"."billers", "public"."users", "public"."bloom_remit_txns", "public"."bloom_remit_responses", "public"."payments" RESTART IDENTITY CASCADE;
29771
+  (0.4ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "billers" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "bloom_remit_txns" ENABLE TRIGGER ALL;ALTER TABLE "bloom_remit_responses" ENABLE TRIGGER ALL;ALTER TABLE "payments" ENABLE TRIGGER ALL
29772
+ ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
29773
+  (0.4ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "billers" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "bloom_remit_txns" DISABLE TRIGGER ALL;ALTER TABLE "bloom_remit_responses" DISABLE TRIGGER ALL;ALTER TABLE "payments" DISABLE TRIGGER ALL
29774
+  (1.2ms)  SELECT schemaname || '.' || tablename
29775
+ FROM pg_tables
29776
+ WHERE
29777
+ tablename !~ '_prt_' AND
29778
+ tablename <> 'schema_migrations' AND
29779
+ schemaname = ANY (current_schemas(false))
29780
+ 
29781
+  (1.1ms) select table_name from information_schema.views where table_schema = 'bloom_remit_rails_test'
29782
+  (13.5ms) TRUNCATE TABLE "public"."billers", "public"."users", "public"."bloom_remit_txns", "public"."bloom_remit_responses", "public"."payments" RESTART IDENTITY CASCADE;
29783
+  (0.5ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "billers" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "bloom_remit_txns" ENABLE TRIGGER ALL;ALTER TABLE "bloom_remit_responses" ENABLE TRIGGER ALL;ALTER TABLE "payments" ENABLE TRIGGER ALL
29784
+  (0.3ms) BEGIN
29785
+  (0.2ms) COMMIT
29786
+  (0.2ms) BEGIN
29787
+  (0.3ms) ROLLBACK
29788
+  (0.2ms) BEGIN
29789
+ SQL (0.5ms) INSERT INTO "billers" ("slug") VALUES ($1) RETURNING "id" [["slug", "PLDT"]]
29790
+  (0.4ms) COMMIT
29791
+  (0.3ms) BEGIN
29792
+ SQL (0.5ms) INSERT INTO "users" ("type") VALUES ($1) RETURNING "id" [["type", "SubUser"]]
29793
+  (0.5ms) COMMIT
29794
+  (0.7ms) BEGIN
29795
+ SQL (0.5ms) INSERT INTO "payments" ("type") VALUES ($1) RETURNING "id" [["type", "SubPayment"]]
29796
+  (0.5ms) COMMIT
29797
+  (0.3ms) BEGIN
29798
+ SQL (0.6ms) INSERT INTO "bloom_remit_txns" ("secret", "sender_type", "sender_id", "amount", "account_name", "account_id", "target_slug", "owner_id", "owner_type", "external_id") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) RETURNING "id" [["secret", "fdbf89a5-56ce-44db-b030-67fba130d498"], ["sender_type", "User"], ["sender_id", "1"], ["amount", "800.0"], ["account_name", "028109090"], ["account_id", "Hooli X"], ["target_slug", "PLDT"], ["owner_id", "1"], ["owner_type", "Payment"], ["external_id", "f055cb277cf1bcd7c0e7a9d2"]]
29799
+  (0.5ms) COMMIT
29800
+ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT 1 [["id", 1]]
29801
+ Payment Load (0.3ms) SELECT "payments".* FROM "payments" WHERE "payments"."id" = $1 LIMIT 1 [["id", 1]]
29802
+  (0.3ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "billers" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "bloom_remit_txns" DISABLE TRIGGER ALL;ALTER TABLE "bloom_remit_responses" DISABLE TRIGGER ALL;ALTER TABLE "payments" DISABLE TRIGGER ALL
29803
+  (16.4ms) TRUNCATE TABLE "public"."billers", "public"."users", "public"."bloom_remit_txns", "public"."bloom_remit_responses", "public"."payments" RESTART IDENTITY CASCADE;
29804
+  (0.3ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "billers" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "bloom_remit_txns" ENABLE TRIGGER ALL;ALTER TABLE "bloom_remit_responses" ENABLE TRIGGER ALL;ALTER TABLE "payments" ENABLE TRIGGER ALL
29805
+  (0.2ms) BEGIN
29806
+ SQL (0.5ms) INSERT INTO "users" DEFAULT VALUES RETURNING "id"
29807
+  (0.5ms) COMMIT
29808
+  (0.2ms) BEGIN
29809
+ SQL (0.5ms) INSERT INTO "bloom_remit_txns" ("target_slug", "amount", "secret", "external_id", "sender_id", "sender_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["target_slug", "TARGET_SLUG"], ["amount", "2500.0"], ["secret", "bf10e586-8919-4761-a989-52142d4e3ea0"], ["external_id", "5998298abae9db4fbffc374e"], ["sender_id", "1"], ["sender_type", "User"]]
29810
+  (0.5ms) COMMIT
29811
+ BloomRemit::Txn Load (0.4ms) SELECT "bloom_remit_txns".* FROM "bloom_remit_txns" WHERE "bloom_remit_txns"."id" = $1 AND "bloom_remit_txns"."secret" = $2 LIMIT 1 [["id", 1], ["secret", "bf10e586-8919-4761-a989-52142d4e3ea0"]]
29812
+  (0.3ms) BEGIN
29813
+ SQL (0.3ms) UPDATE "bloom_remit_txns" SET "status" = $1 WHERE "bloom_remit_txns"."id" = $2 [["status", 1], ["id", 1]]
29814
+  (0.5ms) COMMIT
29815
+  (0.3ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "billers" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "bloom_remit_txns" DISABLE TRIGGER ALL;ALTER TABLE "bloom_remit_responses" DISABLE TRIGGER ALL;ALTER TABLE "payments" DISABLE TRIGGER ALL
29816
+  (17.1ms) TRUNCATE TABLE "public"."billers", "public"."users", "public"."bloom_remit_txns", "public"."bloom_remit_responses", "public"."payments" RESTART IDENTITY CASCADE;
29817
+  (0.4ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "billers" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "bloom_remit_txns" ENABLE TRIGGER ALL;ALTER TABLE "bloom_remit_responses" ENABLE TRIGGER ALL;ALTER TABLE "payments" ENABLE TRIGGER ALL
29818
+ ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
29819
+  (0.4ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "billers" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "bloom_remit_txns" DISABLE TRIGGER ALL;ALTER TABLE "bloom_remit_responses" DISABLE TRIGGER ALL;ALTER TABLE "payments" DISABLE TRIGGER ALL
29820
+  (1.1ms)  SELECT schemaname || '.' || tablename
29821
+ FROM pg_tables
29822
+ WHERE
29823
+ tablename !~ '_prt_' AND
29824
+ tablename <> 'schema_migrations' AND
29825
+ schemaname = ANY (current_schemas(false))
29826
+ 
29827
+  (0.9ms) select table_name from information_schema.views where table_schema = 'bloom_remit_rails_test'
29828
+  (16.4ms) TRUNCATE TABLE "public"."billers", "public"."users", "public"."bloom_remit_txns", "public"."bloom_remit_responses", "public"."payments" RESTART IDENTITY CASCADE;
29829
+  (0.5ms) ALTER TABLE "billers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "bloom_remit_txns" ENABLE TRIGGER ALL;ALTER TABLE "bloom_remit_responses" ENABLE TRIGGER ALL;ALTER TABLE "payments" ENABLE TRIGGER ALL
29830
+  (0.1ms) BEGIN
29831
+  (0.1ms) COMMIT
29832
+  (0.2ms) BEGIN
29833
+  (0.2ms) ROLLBACK
29834
+  (0.1ms) BEGIN
29835
+ SQL (0.4ms) INSERT INTO "billers" ("slug") VALUES ($1) RETURNING "id" [["slug", "PLDT"]]
29836
+  (0.4ms) COMMIT
29837
+  (0.1ms) BEGIN
29838
+ SQL (0.3ms) INSERT INTO "users" ("type") VALUES ($1) RETURNING "id" [["type", "SubUser"]]
29839
+  (0.4ms) COMMIT
29840
+  (0.3ms) BEGIN
29841
+ SQL (2.6ms) INSERT INTO "payments" ("type") VALUES ($1) RETURNING "id" [["type", "SubPayment"]]
29842
+  (0.5ms) COMMIT
29843
+  (0.3ms) BEGIN
29844
+ SQL (0.6ms) INSERT INTO "bloom_remit_txns" ("secret", "sender_type", "sender_id", "amount", "account_name", "account_id", "target_slug", "owner_id", "owner_type", "external_id") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) RETURNING "id" [["secret", "0757d278-3353-4b60-82cf-159638f1e6c3"], ["sender_type", "User"], ["sender_id", "1"], ["amount", "800.0"], ["account_name", "028109090"], ["account_id", "Hooli X"], ["target_slug", "PLDT"], ["owner_id", "1"], ["owner_type", "Payment"], ["external_id", "4a2aa2b414a5b36db7efd83d"]]
29845
+  (0.5ms) COMMIT
29846
+ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT 1 [["id", 1]]
29847
+ Payment Load (0.4ms) SELECT "payments".* FROM "payments" WHERE "payments"."id" = $1 LIMIT 1 [["id", 1]]
29848
+  (0.3ms) ALTER TABLE "billers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "bloom_remit_txns" DISABLE TRIGGER ALL;ALTER TABLE "bloom_remit_responses" DISABLE TRIGGER ALL;ALTER TABLE "payments" DISABLE TRIGGER ALL
29849
+  (9.7ms) TRUNCATE TABLE "public"."billers", "public"."users", "public"."bloom_remit_txns", "public"."bloom_remit_responses", "public"."payments" RESTART IDENTITY CASCADE;
29850
+  (0.4ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "billers" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "bloom_remit_txns" ENABLE TRIGGER ALL;ALTER TABLE "bloom_remit_responses" ENABLE TRIGGER ALL;ALTER TABLE "payments" ENABLE TRIGGER ALL
29851
+  (0.2ms) BEGIN
29852
+ SQL (0.5ms) INSERT INTO "users" DEFAULT VALUES RETURNING "id"
29853
+  (0.5ms) COMMIT
29854
+  (0.3ms) BEGIN
29855
+ SQL (0.6ms) INSERT INTO "bloom_remit_txns" ("target_slug", "amount", "secret", "external_id", "sender_id", "sender_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["target_slug", "TARGET_SLUG"], ["amount", "2500.0"], ["secret", "0fb10c4c-b263-40fd-9aab-1ea75ab02961"], ["external_id", "49e89ad18441b75f3b9f7802"], ["sender_id", "1"], ["sender_type", "User"]]
29856
+  (0.5ms) COMMIT
29857
+ BloomRemit::Txn Load (0.4ms) SELECT "bloom_remit_txns".* FROM "bloom_remit_txns" WHERE "bloom_remit_txns"."id" = $1 AND "bloom_remit_txns"."secret" = $2 LIMIT 1 [["id", 1], ["secret", "0fb10c4c-b263-40fd-9aab-1ea75ab02961"]]
29858
+  (0.2ms) BEGIN
29859
+ SQL (0.4ms) UPDATE "bloom_remit_txns" SET "status" = $1 WHERE "bloom_remit_txns"."id" = $2 [["status", 1], ["id", 1]]
29860
+  (0.5ms) COMMIT
29861
+  (0.3ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "billers" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "bloom_remit_txns" DISABLE TRIGGER ALL;ALTER TABLE "bloom_remit_responses" DISABLE TRIGGER ALL;ALTER TABLE "payments" DISABLE TRIGGER ALL
29862
+  (19.1ms) TRUNCATE TABLE "public"."billers", "public"."users", "public"."bloom_remit_txns", "public"."bloom_remit_responses", "public"."payments" RESTART IDENTITY CASCADE;
29863
+  (0.4ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "billers" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "bloom_remit_txns" ENABLE TRIGGER ALL;ALTER TABLE "bloom_remit_responses" ENABLE TRIGGER ALL;ALTER TABLE "payments" ENABLE TRIGGER ALL
29864
+ ActiveRecord::SchemaMigration Load (0.6ms) SELECT "schema_migrations".* FROM "schema_migrations"
29865
+  (0.4ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "billers" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "bloom_remit_txns" DISABLE TRIGGER ALL;ALTER TABLE "bloom_remit_responses" DISABLE TRIGGER ALL;ALTER TABLE "payments" DISABLE TRIGGER ALL
29866
+  (1.1ms)  SELECT schemaname || '.' || tablename
29867
+ FROM pg_tables
29868
+ WHERE
29869
+ tablename !~ '_prt_' AND
29870
+ tablename <> 'schema_migrations' AND
29871
+ schemaname = ANY (current_schemas(false))
29872
+ 
29873
+  (1.1ms) select table_name from information_schema.views where table_schema = 'bloom_remit_rails_test'
29874
+  (10.1ms) TRUNCATE TABLE "public"."billers", "public"."users", "public"."bloom_remit_txns", "public"."bloom_remit_responses", "public"."payments" RESTART IDENTITY CASCADE;
29875
+  (0.4ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "billers" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "bloom_remit_txns" ENABLE TRIGGER ALL;ALTER TABLE "bloom_remit_responses" ENABLE TRIGGER ALL;ALTER TABLE "payments" ENABLE TRIGGER ALL
29876
+  (0.2ms) BEGIN
29877
+  (0.2ms) COMMIT
29878
+  (0.2ms) BEGIN
29879
+  (0.3ms) ROLLBACK
29880
+  (0.2ms) BEGIN
29881
+ SQL (0.7ms) INSERT INTO "billers" ("slug") VALUES ($1) RETURNING "id" [["slug", "PLDT"]]
29882
+  (0.5ms) COMMIT
29883
+  (0.3ms) BEGIN
29884
+ SQL (0.5ms) INSERT INTO "users" ("type") VALUES ($1) RETURNING "id" [["type", "SubUser"]]
29885
+  (0.5ms) COMMIT
29886
+  (0.2ms) BEGIN
29887
+ SQL (0.9ms) INSERT INTO "payments" ("type") VALUES ($1) RETURNING "id" [["type", "SubPayment"]]
29888
+  (0.9ms) COMMIT
29889
+  (0.3ms) BEGIN
29890
+ SQL (0.7ms) INSERT INTO "bloom_remit_txns" ("secret", "sender_type", "sender_id", "amount", "account_name", "account_id", "target_slug", "owner_id", "owner_type", "external_id") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) RETURNING "id" [["secret", "b8adc87d-230c-4bcb-935f-eafab38f225e"], ["sender_type", "User"], ["sender_id", "1"], ["amount", "800.0"], ["account_name", "028109090"], ["account_id", "Hooli X"], ["target_slug", "PLDT"], ["owner_id", "1"], ["owner_type", "Payment"], ["external_id", "573bd6ea81c8095cea333c8f"]]
29891
+  (0.6ms) COMMIT
29892
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT 1 [["id", 1]]
29893
+ Payment Load (0.4ms) SELECT "payments".* FROM "payments" WHERE "payments"."id" = $1 LIMIT 1 [["id", 1]]
29894
+  (0.3ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "billers" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "bloom_remit_txns" DISABLE TRIGGER ALL;ALTER TABLE "bloom_remit_responses" DISABLE TRIGGER ALL;ALTER TABLE "payments" DISABLE TRIGGER ALL
29895
+  (10.5ms) TRUNCATE TABLE "public"."billers", "public"."users", "public"."bloom_remit_txns", "public"."bloom_remit_responses", "public"."payments" RESTART IDENTITY CASCADE;
29896
+  (0.4ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "billers" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "bloom_remit_txns" ENABLE TRIGGER ALL;ALTER TABLE "bloom_remit_responses" ENABLE TRIGGER ALL;ALTER TABLE "payments" ENABLE TRIGGER ALL
29897
+  (0.2ms) BEGIN
29898
+ SQL (0.6ms) INSERT INTO "users" DEFAULT VALUES RETURNING "id"
29899
+  (0.6ms) COMMIT
29900
+  (0.3ms) BEGIN
29901
+ SQL (0.6ms) INSERT INTO "bloom_remit_txns" ("target_slug", "amount", "secret", "external_id", "sender_id", "sender_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["target_slug", "TARGET_SLUG"], ["amount", "2500.0"], ["secret", "bc743859-2a49-4219-b131-d4b82fcdbfeb"], ["external_id", "f783f1d07ef6ea05a9aad2cd"], ["sender_id", "1"], ["sender_type", "User"]]
29902
+  (0.5ms) COMMIT
29903
+ BloomRemit::Txn Load (0.5ms) SELECT "bloom_remit_txns".* FROM "bloom_remit_txns" WHERE "bloom_remit_txns"."id" = $1 AND "bloom_remit_txns"."secret" = $2 LIMIT 1 [["id", 1], ["secret", "bc743859-2a49-4219-b131-d4b82fcdbfeb"]]
29904
+  (0.2ms) BEGIN
29905
+ SQL (0.4ms) UPDATE "bloom_remit_txns" SET "status" = $1, "status_description" = $2 WHERE "bloom_remit_txns"."id" = $3 [["status", 1], ["status_description", "My status description"], ["id", 1]]
29906
+  (0.5ms) COMMIT
29907
+  (0.5ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "billers" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "bloom_remit_txns" DISABLE TRIGGER ALL;ALTER TABLE "bloom_remit_responses" DISABLE TRIGGER ALL;ALTER TABLE "payments" DISABLE TRIGGER ALL
29908
+  (11.2ms) TRUNCATE TABLE "public"."billers", "public"."users", "public"."bloom_remit_txns", "public"."bloom_remit_responses", "public"."payments" RESTART IDENTITY CASCADE;
29909
+  (0.4ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "billers" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "bloom_remit_txns" ENABLE TRIGGER ALL;ALTER TABLE "bloom_remit_responses" ENABLE TRIGGER ALL;ALTER TABLE "payments" ENABLE TRIGGER ALL
29910
+ ActiveRecord::SchemaMigration Load (0.4ms) SELECT "schema_migrations".* FROM "schema_migrations"
29911
+  (0.3ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "billers" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "bloom_remit_txns" DISABLE TRIGGER ALL;ALTER TABLE "bloom_remit_responses" DISABLE TRIGGER ALL;ALTER TABLE "payments" DISABLE TRIGGER ALL
29912
+  (1.0ms)  SELECT schemaname || '.' || tablename
29913
+ FROM pg_tables
29914
+ WHERE
29915
+ tablename !~ '_prt_' AND
29916
+ tablename <> 'schema_migrations' AND
29917
+ schemaname = ANY (current_schemas(false))
29918
+ 
29919
+  (0.9ms) select table_name from information_schema.views where table_schema = 'bloom_remit_rails_test'
29920
+  (14.9ms) TRUNCATE TABLE "public"."billers", "public"."users", "public"."bloom_remit_txns", "public"."bloom_remit_responses", "public"."payments" RESTART IDENTITY CASCADE;
29921
+  (0.3ms) ALTER TABLE "billers" ENABLE TRIGGER ALL;ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "bloom_remit_txns" ENABLE TRIGGER ALL;ALTER TABLE "bloom_remit_responses" ENABLE TRIGGER ALL;ALTER TABLE "payments" ENABLE TRIGGER ALL
29922
+  (0.1ms) BEGIN
29923
+  (0.1ms) COMMIT
29924
+  (0.1ms) BEGIN
29925
+  (0.1ms) ROLLBACK
29926
+  (0.2ms) BEGIN
29927
+ SQL (0.3ms) INSERT INTO "billers" ("slug") VALUES ($1) RETURNING "id" [["slug", "PLDT"]]
29928
+  (0.3ms) COMMIT
29929
+  (0.1ms) BEGIN
29930
+ SQL (0.4ms) INSERT INTO "users" ("type") VALUES ($1) RETURNING "id" [["type", "SubUser"]]
29931
+  (0.3ms) COMMIT
29932
+  (0.1ms) BEGIN
29933
+ SQL (0.3ms) INSERT INTO "payments" ("type") VALUES ($1) RETURNING "id" [["type", "SubPayment"]]
29934
+  (0.3ms) COMMIT
29935
+  (0.1ms) BEGIN
29936
+ SQL (0.4ms) INSERT INTO "bloom_remit_txns" ("secret", "sender_type", "sender_id", "amount", "account_name", "account_id", "target_slug", "owner_id", "owner_type", "external_id") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) RETURNING "id" [["secret", "a591a4fb-27f3-429a-8bd3-c6942c95dcec"], ["sender_type", "User"], ["sender_id", "1"], ["amount", "800.0"], ["account_name", "028109090"], ["account_id", "Hooli X"], ["target_slug", "PLDT"], ["owner_id", "1"], ["owner_type", "Payment"], ["external_id", "08ab3e2020d7d80373da4e29"]]
29937
+  (0.3ms) COMMIT
29938
+ User Load (0.3ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT 1 [["id", 1]]
29939
+ Payment Load (0.2ms) SELECT "payments".* FROM "payments" WHERE "payments"."id" = $1 LIMIT 1 [["id", 1]]
29940
+  (0.2ms) ALTER TABLE "billers" DISABLE TRIGGER ALL;ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "bloom_remit_txns" DISABLE TRIGGER ALL;ALTER TABLE "bloom_remit_responses" DISABLE TRIGGER ALL;ALTER TABLE "payments" DISABLE TRIGGER ALL
29941
+  (13.6ms) TRUNCATE TABLE "public"."billers", "public"."users", "public"."bloom_remit_txns", "public"."bloom_remit_responses", "public"."payments" RESTART IDENTITY CASCADE;
29942
+  (0.3ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "billers" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "bloom_remit_txns" ENABLE TRIGGER ALL;ALTER TABLE "bloom_remit_responses" ENABLE TRIGGER ALL;ALTER TABLE "payments" ENABLE TRIGGER ALL
29943
+  (0.2ms) BEGIN
29944
+ SQL (0.8ms) INSERT INTO "users" DEFAULT VALUES RETURNING "id"
29945
+  (0.6ms) COMMIT
29946
+  (0.1ms) BEGIN
29947
+ SQL (0.5ms) INSERT INTO "bloom_remit_txns" ("target_slug", "amount", "secret", "external_id", "sender_id", "sender_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["target_slug", "TARGET_SLUG"], ["amount", "2500.0"], ["secret", "5e5807b3-ac19-4a0c-bc5f-12ea8ff269ae"], ["external_id", "f1aeb5d8f72e08329ad4b3ba"], ["sender_id", "1"], ["sender_type", "User"]]
29948
+  (0.4ms) COMMIT
29949
+ BloomRemit::Txn Load (0.2ms) SELECT "bloom_remit_txns".* FROM "bloom_remit_txns" WHERE "bloom_remit_txns"."id" = $1 AND "bloom_remit_txns"."secret" = $2 LIMIT 1 [["id", 1], ["secret", "5e5807b3-ac19-4a0c-bc5f-12ea8ff269ae"]]
29950
+  (0.1ms) BEGIN
29951
+ SQL (0.5ms) UPDATE "bloom_remit_txns" SET "status" = $1, "status_description" = $2 WHERE "bloom_remit_txns"."id" = $3 [["status", 1], ["status_description", "My status description"], ["id", 1]]
29952
+  (0.4ms) COMMIT
29953
+  (0.2ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "billers" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "bloom_remit_txns" DISABLE TRIGGER ALL;ALTER TABLE "bloom_remit_responses" DISABLE TRIGGER ALL;ALTER TABLE "payments" DISABLE TRIGGER ALL
29954
+  (11.8ms) TRUNCATE TABLE "public"."billers", "public"."users", "public"."bloom_remit_txns", "public"."bloom_remit_responses", "public"."payments" RESTART IDENTITY CASCADE;
29955
+  (0.4ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "billers" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "bloom_remit_txns" ENABLE TRIGGER ALL;ALTER TABLE "bloom_remit_responses" ENABLE TRIGGER ALL;ALTER TABLE "payments" ENABLE TRIGGER ALL
29956
+ ActiveRecord::SchemaMigration Load (0.5ms) SELECT "schema_migrations".* FROM "schema_migrations"
29957
+  (0.5ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "billers" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "bloom_remit_txns" DISABLE TRIGGER ALL;ALTER TABLE "bloom_remit_responses" DISABLE TRIGGER ALL;ALTER TABLE "payments" DISABLE TRIGGER ALL
29958
+  (1.2ms)  SELECT schemaname || '.' || tablename
29959
+ FROM pg_tables
29960
+ WHERE
29961
+ tablename !~ '_prt_' AND
29962
+ tablename <> 'schema_migrations' AND
29963
+ schemaname = ANY (current_schemas(false))
29964
+ 
29965
+  (1.1ms) select table_name from information_schema.views where table_schema = 'bloom_remit_rails_test'
29966
+  (12.8ms) TRUNCATE TABLE "public"."billers", "public"."users", "public"."bloom_remit_txns", "public"."bloom_remit_responses", "public"."payments" RESTART IDENTITY CASCADE;
29967
+  (0.4ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "billers" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "bloom_remit_txns" ENABLE TRIGGER ALL;ALTER TABLE "bloom_remit_responses" ENABLE TRIGGER ALL;ALTER TABLE "payments" ENABLE TRIGGER ALL
29968
+  (0.3ms) BEGIN
29969
+  (0.2ms) COMMIT
29970
+  (0.2ms) BEGIN
29971
+  (0.2ms) ROLLBACK
29972
+  (0.2ms) BEGIN
29973
+  (0.2ms) COMMIT
29974
+  (0.2ms) BEGIN
29975
+  (0.3ms) ROLLBACK
29976
+  (0.2ms) BEGIN
29977
+  (0.2ms) COMMIT
29978
+  (0.2ms) BEGIN
29979
+  (0.3ms) ROLLBACK
29980
+  (0.3ms) BEGIN
29981
+ SQL (2.4ms) INSERT INTO "billers" ("slug") VALUES ($1) RETURNING "id" [["slug", "PLDT"]]
29982
+  (0.5ms) COMMIT
29983
+  (0.3ms) BEGIN
29984
+ SQL (0.5ms) INSERT INTO "users" ("type") VALUES ($1) RETURNING "id" [["type", "SubUser"]]
29985
+  (0.6ms) COMMIT
29986
+  (0.3ms) BEGIN
29987
+ SQL (0.6ms) INSERT INTO "payments" ("type") VALUES ($1) RETURNING "id" [["type", "SubPayment"]]
29988
+  (0.5ms) COMMIT
29989
+  (0.3ms) BEGIN
29990
+ SQL (0.6ms) INSERT INTO "bloom_remit_txns" ("secret", "sender_type", "sender_id", "amount", "account_name", "account_id", "target_slug", "owner_id", "owner_type", "external_id") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) RETURNING "id" [["secret", "899385a4-6b40-4f61-aba6-f54b7545d690"], ["sender_type", "User"], ["sender_id", "1"], ["amount", "800.0"], ["account_name", "028109090"], ["account_id", "Hooli X"], ["target_slug", "PLDT"], ["owner_id", "1"], ["owner_type", "Payment"], ["external_id", "5f550beca5c53cddc85d234a"]]
29991
+  (0.5ms) COMMIT
29992
+ User Load (0.4ms) SELECT "users".* FROM "users" WHERE "users"."id" = $1 LIMIT 1 [["id", 1]]
29993
+ Payment Load (0.4ms) SELECT "payments".* FROM "payments" WHERE "payments"."id" = $1 LIMIT 1 [["id", 1]]
29994
+  (0.6ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "billers" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "bloom_remit_txns" DISABLE TRIGGER ALL;ALTER TABLE "bloom_remit_responses" DISABLE TRIGGER ALL;ALTER TABLE "payments" DISABLE TRIGGER ALL
29995
+  (20.4ms) TRUNCATE TABLE "public"."billers", "public"."users", "public"."bloom_remit_txns", "public"."bloom_remit_responses", "public"."payments" RESTART IDENTITY CASCADE;
29996
+  (0.8ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "billers" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "bloom_remit_txns" ENABLE TRIGGER ALL;ALTER TABLE "bloom_remit_responses" ENABLE TRIGGER ALL;ALTER TABLE "payments" ENABLE TRIGGER ALL
29997
+  (0.3ms) BEGIN
29998
+ SQL (0.5ms) INSERT INTO "users" DEFAULT VALUES RETURNING "id"
29999
+  (0.2ms) COMMIT
30000
+  (0.1ms) BEGIN
30001
+ SQL (0.4ms) INSERT INTO "bloom_remit_txns" ("target_slug", "amount", "secret", "external_id", "sender_id", "sender_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["target_slug", "TARGET_SLUG"], ["amount", "2500.0"], ["secret", "7995c271-419e-466e-8abb-13b27b28d167"], ["external_id", "134f50d8815165507b8a78a9"], ["sender_id", "1"], ["sender_type", "User"]]
30002
+  (0.4ms) COMMIT
30003
+ BloomRemit::Txn Load (0.3ms) SELECT "bloom_remit_txns".* FROM "bloom_remit_txns" WHERE "bloom_remit_txns"."id" = $1 AND "bloom_remit_txns"."secret" = $2 LIMIT 1 [["id", 1], ["secret", "7995c271-419e-466e-8abb-13b27b28d167"]]
30004
+  (0.1ms) BEGIN
30005
+ SQL (0.2ms) UPDATE "bloom_remit_txns" SET "status" = $1, "status_description" = $2 WHERE "bloom_remit_txns"."id" = $3 [["status", 1], ["status_description", "My status description"], ["id", 1]]
30006
+  (0.3ms) COMMIT
30007
+  (0.2ms) ALTER TABLE "schema_migrations" DISABLE TRIGGER ALL;ALTER TABLE "billers" DISABLE TRIGGER ALL;ALTER TABLE "users" DISABLE TRIGGER ALL;ALTER TABLE "bloom_remit_txns" DISABLE TRIGGER ALL;ALTER TABLE "bloom_remit_responses" DISABLE TRIGGER ALL;ALTER TABLE "payments" DISABLE TRIGGER ALL
30008
+  (11.1ms) TRUNCATE TABLE "public"."billers", "public"."users", "public"."bloom_remit_txns", "public"."bloom_remit_responses", "public"."payments" RESTART IDENTITY CASCADE;
30009
+  (0.3ms) ALTER TABLE "schema_migrations" ENABLE TRIGGER ALL;ALTER TABLE "billers" ENABLE TRIGGER ALL;ALTER TABLE "users" ENABLE TRIGGER ALL;ALTER TABLE "bloom_remit_txns" ENABLE TRIGGER ALL;ALTER TABLE "bloom_remit_responses" ENABLE TRIGGER ALL;ALTER TABLE "payments" ENABLE TRIGGER ALL
30010
+  (0.1ms) BEGIN
30011
+  (0.1ms) COMMIT
30012
+  (0.1ms) BEGIN
30013
+  (0.1ms) ROLLBACK
30014
+  (0.1ms) BEGIN
30015
+  (0.1ms) COMMIT
30016
+  (0.1ms) BEGIN
30017
+  (0.1ms) ROLLBACK
30018
+  (0.1ms) BEGIN
30019
+  (0.1ms) COMMIT
30020
+  (0.1ms) BEGIN
30021
+  (0.1ms) ROLLBACK
30022
+  (0.1ms) BEGIN
30023
+  (0.1ms) COMMIT
30024
+  (0.1ms) BEGIN
30025
+  (0.1ms) ROLLBACK
30026
+  (0.1ms) BEGIN
30027
+  (0.1ms) COMMIT
30028
+  (0.1ms) BEGIN
30029
+  (0.1ms) ROLLBACK
30030
+  (0.1ms) BEGIN
30031
+  (0.1ms) COMMIT
30032
+  (0.1ms) BEGIN
30033
+  (0.1ms) ROLLBACK
30034
+  (0.1ms) BEGIN
30035
+  (0.1ms) COMMIT
30036
+  (0.1ms) BEGIN
30037
+  (0.1ms) ROLLBACK
30038
+  (0.1ms) BEGIN
30039
+  (0.1ms) COMMIT
30040
+  (0.1ms) BEGIN
30041
+  (0.2ms) SAVEPOINT active_record_1
30042
+ SQL (0.4ms) INSERT INTO "users" DEFAULT VALUES RETURNING "id"
30043
+  (0.1ms) RELEASE SAVEPOINT active_record_1
30044
+  (0.1ms) SAVEPOINT active_record_1
30045
+ SQL (0.5ms) INSERT INTO "bloom_remit_txns" ("target_slug", "amount", "secret", "external_id", "sender_id", "sender_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["target_slug", "TARGET_SLUG"], ["amount", "2500.0"], ["secret", "f3471204-7e7c-42e4-a585-3357d2ee9842"], ["external_id", "a9bc29543b64e3a4501c4f8b"], ["sender_id", "1"], ["sender_type", "User"]]
30046
+  (0.1ms) RELEASE SAVEPOINT active_record_1
30047
+ Started POST "/bloom_remit/api/v1/txns/1" for 127.0.0.1 at 2016-08-09 04:40:13 +0000
30048
+ Processing by BloomRemit::Api::V1::TxnsController#post_update as JSON
30049
+ Parameters: {"secret"=>"fake", "status"=>"doesn't matter", "id"=>"1", "txn"=>{"status"=>"doesn't matter", "secret"=>"fake"}}
30050
+ BloomRemit::Txn Load (0.3ms) SELECT "bloom_remit_txns".* FROM "bloom_remit_txns" WHERE "bloom_remit_txns"."id" = $1 AND "bloom_remit_txns"."secret" = $2 LIMIT 1 [["id", 1], ["secret", nil]]
30051
+ Rendered text template (0.0ms)
30052
+ Completed 404 Not Found in 41ms (Views: 39.5ms | ActiveRecord: 0.3ms)
30053
+ Started POST "/bloom_remit/api/v1/txns/1" for 127.0.0.1 at 2016-08-09 04:40:13 +0000
30054
+ Processing by BloomRemit::Api::V1::TxnsController#post_update as JSON
30055
+ Parameters: {"secret"=>"f3471204-7e7c-42e4-a585-3357d2ee9842", "status"=>"paid", "id"=>"1", "txn"=>{"status"=>"paid", "secret"=>"f3471204-7e7c-42e4-a585-3357d2ee9842"}}
30056
+ BloomRemit::Txn Load (0.3ms) SELECT "bloom_remit_txns".* FROM "bloom_remit_txns" WHERE "bloom_remit_txns"."id" = $1 AND "bloom_remit_txns"."secret" = $2 LIMIT 1 [["id", 1], ["secret", "f3471204-7e7c-42e4-a585-3357d2ee9842"]]
30057
+  (0.2ms) SAVEPOINT active_record_1
30058
+ SQL (0.2ms) UPDATE "bloom_remit_txns" SET "status" = $1 WHERE "bloom_remit_txns"."id" = $2 [["status", 1], ["id", 1]]
30059
+  (0.1ms) RELEASE SAVEPOINT active_record_1
30060
+ Completed 200 OK in 5ms (Views: 0.4ms | ActiveRecord: 0.7ms)
30061
+ BloomRemit::Txn Load (0.2ms) SELECT "bloom_remit_txns".* FROM "bloom_remit_txns" WHERE "bloom_remit_txns"."id" = $1 LIMIT 1 [["id", 1]]
30062
+  (0.2ms) ROLLBACK
30063
+  (0.1ms) BEGIN
30064
+  (0.1ms) COMMIT
30065
+  (0.1ms) BEGIN
30066
+  (0.1ms) SAVEPOINT active_record_1
30067
+ SQL (0.3ms) INSERT INTO "users" DEFAULT VALUES RETURNING "id"
30068
+  (0.1ms) RELEASE SAVEPOINT active_record_1
30069
+  (0.2ms) SAVEPOINT active_record_1
30070
+ SQL (0.3ms) INSERT INTO "bloom_remit_txns" ("target_slug", "amount", "secret", "external_id", "sender_id", "sender_type") VALUES ($1, $2, $3, $4, $5, $6) RETURNING "id" [["target_slug", "TARGET_SLUG"], ["amount", "2500.0"], ["secret", "2cd76032-3512-427f-a54d-fc22149bfb4d"], ["external_id", "282acf38a5ce7b9a658fda97"], ["sender_id", "2"], ["sender_type", "User"]]
30071
+  (0.1ms) RELEASE SAVEPOINT active_record_1
30072
+ Started PATCH "/bloom_remit/api/v1/txns/2" for 127.0.0.1 at 2016-08-09 04:40:13 +0000
30073
+ Processing by BloomRemit::Api::V1::TxnsController#update as JSON
30074
+ Parameters: {"secret"=>"fake", "status"=>"doesn't matter", "id"=>"2", "txn"=>{"status"=>"doesn't matter", "secret"=>"fake"}}
30075
+ BloomRemit::Txn Load (0.3ms) SELECT "bloom_remit_txns".* FROM "bloom_remit_txns" WHERE "bloom_remit_txns"."id" = $1 AND "bloom_remit_txns"."secret" = $2 LIMIT 1 [["id", 2], ["secret", nil]]
30076
+ Rendered text template (0.0ms)
30077
+ Completed 404 Not Found in 2ms (Views: 0.5ms | ActiveRecord: 0.3ms)
30078
+ Started PATCH "/bloom_remit/api/v1/txns/2" for 127.0.0.1 at 2016-08-09 04:40:13 +0000
30079
+ Processing by BloomRemit::Api::V1::TxnsController#update as JSON
30080
+ Parameters: {"secret"=>"2cd76032-3512-427f-a54d-fc22149bfb4d", "status"=>"paid", "id"=>"2", "txn"=>{"status"=>"paid", "secret"=>"2cd76032-3512-427f-a54d-fc22149bfb4d"}}
30081
+ BloomRemit::Txn Load (0.3ms) SELECT "bloom_remit_txns".* FROM "bloom_remit_txns" WHERE "bloom_remit_txns"."id" = $1 AND "bloom_remit_txns"."secret" = $2 LIMIT 1 [["id", 2], ["secret", "2cd76032-3512-427f-a54d-fc22149bfb4d"]]
30082
+  (0.1ms) SAVEPOINT active_record_1
30083
+ SQL (0.2ms) UPDATE "bloom_remit_txns" SET "status" = $1 WHERE "bloom_remit_txns"."id" = $2 [["status", 1], ["id", 2]]
30084
+  (0.1ms) RELEASE SAVEPOINT active_record_1
30085
+ Completed 204 No Content in 50ms (ActiveRecord: 0.8ms)
30086
+ BloomRemit::Txn Load (0.2ms) SELECT "bloom_remit_txns".* FROM "bloom_remit_txns" WHERE "bloom_remit_txns"."id" = $1 LIMIT 1 [["id", 2]]
30087
+  (0.1ms) ROLLBACK
30088
+  (0.1ms) BEGIN
30089
+  (0.1ms) COMMIT
30090
+  (0.1ms) BEGIN
30091
+  (0.1ms) SAVEPOINT active_record_1
30092
+ SQL (0.2ms) INSERT INTO "users" ("type") VALUES ($1) RETURNING "id" [["type", "SubUser"]]
30093
+  (0.1ms) RELEASE SAVEPOINT active_record_1
30094
+  (0.2ms) SAVEPOINT active_record_1
30095
+ SQL (0.3ms) INSERT INTO "billers" ("slug") VALUES ($1) RETURNING "id" [["slug", "PLDT"]]
30096
+  (0.1ms) RELEASE SAVEPOINT active_record_1
30097
+  (0.1ms) SAVEPOINT active_record_1
30098
+ SQL (0.5ms) INSERT INTO "payments" ("type") VALUES ($1) RETURNING "id" [["type", "SubPayment"]]
30099
+  (0.1ms) RELEASE SAVEPOINT active_record_1
30100
+  (0.1ms) SAVEPOINT active_record_1
30101
+ SQL (0.3ms) INSERT INTO "bloom_remit_txns" ("secret", "sender_type", "sender_id", "amount", "account_name", "account_id", "target_slug", "owner_id", "owner_type", "external_id") VALUES ($1, $2, $3, $4, $5, $6, $7, $8, $9, $10) RETURNING "id" [["secret", "5286fa46-8e7a-4cf8-bd6b-6c5e9f132e87"], ["sender_type", "User"], ["sender_id", "3"], ["amount", "800.0"], ["account_name", "028109090"], ["account_id", "Hooli X"], ["target_slug", "PLDT"], ["owner_id", "1"], ["owner_type", "Payment"], ["external_id", "7420b1a022dac898cc2e688d"]]
30102
+  (0.1ms) RELEASE SAVEPOINT active_record_1
30103
+  (0.1ms) ROLLBACK
30104
+  (0.1ms) BEGIN
30105
+  (0.1ms) COMMIT
30106
+  (0.1ms) BEGIN
30107
+  (0.1ms) ROLLBACK
30108
+  (0.1ms) BEGIN
30109
+  (0.1ms) COMMIT
30110
+  (0.1ms) BEGIN
30111
+  (0.1ms) SAVEPOINT active_record_1
30112
+ SQL (0.2ms) INSERT INTO "payments" DEFAULT VALUES RETURNING "id"
30113
+  (0.1ms) RELEASE SAVEPOINT active_record_1
30114
+  (0.1ms) SAVEPOINT active_record_1
30115
+ SQL (0.2ms) INSERT INTO "users" DEFAULT VALUES RETURNING "id"
30116
+  (0.1ms) RELEASE SAVEPOINT active_record_1
30117
+  (0.1ms) SAVEPOINT active_record_1
30118
+ SQL (0.2ms) INSERT INTO "bloom_remit_txns" ("target_slug", "amount", "secret", "external_id", "owner_id", "owner_type", "sender_id", "sender_type") VALUES ($1, $2, $3, $4, $5, $6, $7, $8) RETURNING "id" [["target_slug", "TARGET_SLUG"], ["amount", "2500.0"], ["secret", "0a2d59b6-df5e-419b-aa7f-1aca924c67c4"], ["external_id", "872394c691b07b206be34881"], ["owner_id", "2"], ["owner_type", "Payment"], ["sender_id", "4"], ["sender_type", "User"]]
30119
+  (0.1ms) RELEASE SAVEPOINT active_record_1
30120
+  (0.1ms) SAVEPOINT active_record_1
30121
+ SQL (0.3ms) INSERT INTO "bloom_remit_responses" ("body", "txn_id", "created_at", "updated_at") VALUES ($1, $2, $3, $4) RETURNING "id" [["body", "{\"i\":\"am body\"}"], ["txn_id", 4], ["created_at", "2016-08-09 04:40:13.881725"], ["updated_at", "2016-08-09 04:40:13.881725"]]
30122
+  (0.2ms) RELEASE SAVEPOINT active_record_1
30123
+  (0.2ms) SELECT COUNT(*) FROM "bloom_remit_responses" WHERE "bloom_remit_responses"."txn_id" = $1 [["txn_id", 4]]
30124
+ BloomRemit::Response Load (0.2ms) SELECT "bloom_remit_responses".* FROM "bloom_remit_responses" WHERE "bloom_remit_responses"."txn_id" = $1 ORDER BY "bloom_remit_responses"."id" ASC LIMIT 1 [["txn_id", 4]]
30125
+  (0.1ms) ROLLBACK
30126
+  (0.1ms) BEGIN
30127
+  (0.1ms) COMMIT
30128
+  (0.1ms) BEGIN
30129
+  (0.1ms) ROLLBACK
30130
+  (0.1ms) BEGIN
30131
+  (0.1ms) COMMIT
30132
+  (0.7ms) BEGIN
30133
+  (0.1ms) ROLLBACK
30134
+  (0.2ms) BEGIN
30135
+  (0.1ms) COMMIT
30136
+  (0.1ms) BEGIN
30137
+  (0.1ms) ROLLBACK
30138
+  (0.1ms) BEGIN
30139
+  (0.1ms) COMMIT
30140
+  (0.1ms) BEGIN
30141
+  (0.1ms) ROLLBACK
30142
+  (0.1ms) BEGIN
30143
+  (0.1ms) COMMIT
30144
+  (0.1ms) BEGIN
30145
+  (0.1ms) ROLLBACK
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: bloom_remit
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.1
4
+ version: 0.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ramon Tayag
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-08-08 00:00:00.000000000 Z
11
+ date: 2016-08-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: rails
@@ -383,6 +383,7 @@ files:
383
383
  - db/migrate/20160805095308_change_txns_sender_id_to_string.rb
384
384
  - db/migrate/20160806054012_create_bloom_remit_responses.rb
385
385
  - db/migrate/20160808081300_add_external_id_to_bloom_remit_txns.rb
386
+ - db/migrate/20160809043433_add_status_description_to_bloom_remit_txns.rb
386
387
  - lib/bloom_remit.rb
387
388
  - lib/bloom_remit/engine.rb
388
389
  - lib/bloom_remit/factories.rb