bloom_remit 0.3.0 → 0.4.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:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a13273f2ee664b853f5e6ea870b119a2c583bd5e
|
4
|
+
data.tar.gz: ceefa048d1ddc8910e60af9a10c68c0ada2b69bb
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d5caf36454e22cae8074bab952e6b578a3efae75071a1dfc9f3f62fd030086ba0ca945ee062918007eda90cde7b4e3528eaaf023969c93bf7adc47a7e7e5fbb5
|
7
|
+
data.tar.gz: 65f6b314d36a123add0ad7b4d9488799e5fd50a36e1a2276f544360146348e6657343bd9bc0b8d42d9e05e8e9977050cd06eddab82f633cc4d7928b3e3d4bcaf
|
data/lib/bloom_remit/version.rb
CHANGED
data/spec/dummy/db/schema.rb
CHANGED
@@ -15,11 +15,22 @@ ActiveRecord::Schema.define(version: 20160808081300) 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"
|
18
19
|
|
19
20
|
create_table "billers", force: :cascade do |t|
|
20
21
|
t.string "slug"
|
21
22
|
end
|
22
23
|
|
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
|
+
|
23
34
|
create_table "bloom_remit_responses", force: :cascade do |t|
|
24
35
|
t.integer "txn_id", null: false
|
25
36
|
t.text "body", null: false
|
@@ -1710,4 +1710,165 @@ WHERE c.contype = 'f'
|
|
1710
1710
|
AND t1.relname = 'users'
|
1711
1711
|
AND t3.nspname = ANY (current_schemas(false))
|
1712
1712
|
ORDER BY c.conname
|
1713
|
+
[0m
|
1714
|
+
[1m[36mActiveRecord::SchemaMigration Load (3.4ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1715
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.4ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
1716
|
+
Migrating to AddExternalIdToTxns (20160808081300)
|
1717
|
+
[1m[36m (0.2ms)[0m [1mBEGIN[0m
|
1718
|
+
[1m[35m (7.3ms)[0m DROP INDEX "index_bloom_remit_txns_on_external_id"
|
1719
|
+
[1m[36m (8.0ms)[0m [1mALTER TABLE "bloom_remit_txns" DROP "external_id"[0m
|
1720
|
+
[1m[35mSQL (0.4ms)[0m DELETE FROM "schema_migrations" WHERE "schema_migrations"."version" = $1 [["version", "20160808081300"]]
|
1721
|
+
[1m[36m (0.7ms)[0m [1mCOMMIT[0m
|
1722
|
+
[1m[35mActiveRecord::SchemaMigration Load (0.4ms)[0m SELECT "schema_migrations".* FROM "schema_migrations"
|
1723
|
+
[1m[36m (2.1ms)[0m [1mSELECT 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
|
1724
|
+
FROM pg_constraint c
|
1725
|
+
JOIN pg_class t1 ON c.conrelid = t1.oid
|
1726
|
+
JOIN pg_class t2 ON c.confrelid = t2.oid
|
1727
|
+
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
1728
|
+
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
1729
|
+
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
1730
|
+
WHERE c.contype = 'f'
|
1731
|
+
AND t1.relname = 'billers'
|
1732
|
+
AND t3.nspname = ANY (current_schemas(false))
|
1733
|
+
ORDER BY c.conname
|
1734
|
+
[0m
|
1735
|
+
[1m[35m (2.6ms)[0m 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
|
1736
|
+
FROM pg_constraint c
|
1737
|
+
JOIN pg_class t1 ON c.conrelid = t1.oid
|
1738
|
+
JOIN pg_class t2 ON c.confrelid = t2.oid
|
1739
|
+
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
1740
|
+
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
1741
|
+
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
1742
|
+
WHERE c.contype = 'f'
|
1743
|
+
AND t1.relname = 'bloom_remit_billers'
|
1744
|
+
AND t3.nspname = ANY (current_schemas(false))
|
1745
|
+
ORDER BY c.conname
|
1746
|
+
|
1747
|
+
[1m[36m (2.0ms)[0m [1mSELECT 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
|
1748
|
+
FROM pg_constraint c
|
1749
|
+
JOIN pg_class t1 ON c.conrelid = t1.oid
|
1750
|
+
JOIN pg_class t2 ON c.confrelid = t2.oid
|
1751
|
+
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
1752
|
+
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
1753
|
+
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
1754
|
+
WHERE c.contype = 'f'
|
1755
|
+
AND t1.relname = 'bloom_remit_responses'
|
1756
|
+
AND t3.nspname = ANY (current_schemas(false))
|
1757
|
+
ORDER BY c.conname
|
1758
|
+
[0m
|
1759
|
+
[1m[35m (2.1ms)[0m 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
|
1760
|
+
FROM pg_constraint c
|
1761
|
+
JOIN pg_class t1 ON c.conrelid = t1.oid
|
1762
|
+
JOIN pg_class t2 ON c.confrelid = t2.oid
|
1763
|
+
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
1764
|
+
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
1765
|
+
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
1766
|
+
WHERE c.contype = 'f'
|
1767
|
+
AND t1.relname = 'bloom_remit_txns'
|
1768
|
+
AND t3.nspname = ANY (current_schemas(false))
|
1769
|
+
ORDER BY c.conname
|
1770
|
+
|
1771
|
+
[1m[36m (1.9ms)[0m [1mSELECT 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
|
1772
|
+
FROM pg_constraint c
|
1773
|
+
JOIN pg_class t1 ON c.conrelid = t1.oid
|
1774
|
+
JOIN pg_class t2 ON c.confrelid = t2.oid
|
1775
|
+
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
1776
|
+
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
1777
|
+
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
1778
|
+
WHERE c.contype = 'f'
|
1779
|
+
AND t1.relname = 'payments'
|
1780
|
+
AND t3.nspname = ANY (current_schemas(false))
|
1781
|
+
ORDER BY c.conname
|
1782
|
+
[0m
|
1783
|
+
[1m[35m (1.9ms)[0m 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
|
1784
|
+
FROM pg_constraint c
|
1785
|
+
JOIN pg_class t1 ON c.conrelid = t1.oid
|
1786
|
+
JOIN pg_class t2 ON c.confrelid = t2.oid
|
1787
|
+
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
1788
|
+
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
1789
|
+
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
1790
|
+
WHERE c.contype = 'f'
|
1791
|
+
AND t1.relname = 'users'
|
1792
|
+
AND t3.nspname = ANY (current_schemas(false))
|
1793
|
+
ORDER BY c.conname
|
1794
|
+
|
1795
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.5ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1796
|
+
Migrating to AddExternalIdToBloomRemitTxns (20160808081300)
|
1797
|
+
[1m[35m (0.2ms)[0m BEGIN
|
1798
|
+
[1m[36m (2.0ms)[0m [1mALTER TABLE "bloom_remit_txns" ADD "external_id" character varying NOT NULL[0m
|
1799
|
+
[1m[35m (8.1ms)[0m CREATE INDEX "index_bloom_remit_txns_on_external_id" ON "bloom_remit_txns" ("external_id")
|
1800
|
+
[1m[36mSQL (0.3ms)[0m [1mINSERT INTO "schema_migrations" ("version") VALUES ($1)[0m [["version", "20160808081300"]]
|
1801
|
+
[1m[35m (0.6ms)[0m COMMIT
|
1802
|
+
[1m[36mActiveRecord::SchemaMigration Load (0.3ms)[0m [1mSELECT "schema_migrations".* FROM "schema_migrations"[0m
|
1803
|
+
[1m[35m (2.0ms)[0m 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
|
1804
|
+
FROM pg_constraint c
|
1805
|
+
JOIN pg_class t1 ON c.conrelid = t1.oid
|
1806
|
+
JOIN pg_class t2 ON c.confrelid = t2.oid
|
1807
|
+
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
1808
|
+
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
1809
|
+
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
1810
|
+
WHERE c.contype = 'f'
|
1811
|
+
AND t1.relname = 'billers'
|
1812
|
+
AND t3.nspname = ANY (current_schemas(false))
|
1813
|
+
ORDER BY c.conname
|
1814
|
+
|
1815
|
+
[1m[36m (1.8ms)[0m [1mSELECT 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
|
1816
|
+
FROM pg_constraint c
|
1817
|
+
JOIN pg_class t1 ON c.conrelid = t1.oid
|
1818
|
+
JOIN pg_class t2 ON c.confrelid = t2.oid
|
1819
|
+
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
1820
|
+
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
1821
|
+
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
1822
|
+
WHERE c.contype = 'f'
|
1823
|
+
AND t1.relname = 'bloom_remit_billers'
|
1824
|
+
AND t3.nspname = ANY (current_schemas(false))
|
1825
|
+
ORDER BY c.conname
|
1826
|
+
[0m
|
1827
|
+
[1m[35m (2.0ms)[0m 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
|
1828
|
+
FROM pg_constraint c
|
1829
|
+
JOIN pg_class t1 ON c.conrelid = t1.oid
|
1830
|
+
JOIN pg_class t2 ON c.confrelid = t2.oid
|
1831
|
+
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
1832
|
+
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
1833
|
+
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
1834
|
+
WHERE c.contype = 'f'
|
1835
|
+
AND t1.relname = 'bloom_remit_responses'
|
1836
|
+
AND t3.nspname = ANY (current_schemas(false))
|
1837
|
+
ORDER BY c.conname
|
1838
|
+
|
1839
|
+
[1m[36m (2.4ms)[0m [1mSELECT 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
|
1840
|
+
FROM pg_constraint c
|
1841
|
+
JOIN pg_class t1 ON c.conrelid = t1.oid
|
1842
|
+
JOIN pg_class t2 ON c.confrelid = t2.oid
|
1843
|
+
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
1844
|
+
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
1845
|
+
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
1846
|
+
WHERE c.contype = 'f'
|
1847
|
+
AND t1.relname = 'bloom_remit_txns'
|
1848
|
+
AND t3.nspname = ANY (current_schemas(false))
|
1849
|
+
ORDER BY c.conname
|
1850
|
+
[0m
|
1851
|
+
[1m[35m (2.0ms)[0m 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
|
1852
|
+
FROM pg_constraint c
|
1853
|
+
JOIN pg_class t1 ON c.conrelid = t1.oid
|
1854
|
+
JOIN pg_class t2 ON c.confrelid = t2.oid
|
1855
|
+
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
1856
|
+
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
1857
|
+
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
1858
|
+
WHERE c.contype = 'f'
|
1859
|
+
AND t1.relname = 'payments'
|
1860
|
+
AND t3.nspname = ANY (current_schemas(false))
|
1861
|
+
ORDER BY c.conname
|
1862
|
+
|
1863
|
+
[1m[36m (2.0ms)[0m [1mSELECT 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
|
1864
|
+
FROM pg_constraint c
|
1865
|
+
JOIN pg_class t1 ON c.conrelid = t1.oid
|
1866
|
+
JOIN pg_class t2 ON c.confrelid = t2.oid
|
1867
|
+
JOIN pg_attribute a1 ON a1.attnum = c.conkey[1] AND a1.attrelid = t1.oid
|
1868
|
+
JOIN pg_attribute a2 ON a2.attnum = c.confkey[1] AND a2.attrelid = t2.oid
|
1869
|
+
JOIN pg_namespace t3 ON c.connamespace = t3.oid
|
1870
|
+
WHERE c.contype = 'f'
|
1871
|
+
AND t1.relname = 'users'
|
1872
|
+
AND t3.nspname = ANY (current_schemas(false))
|
1873
|
+
ORDER BY c.conname
|
1713
1874
|
[0m
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bloom_remit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.4.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Ramon Tayag
|
@@ -382,7 +382,7 @@ files:
|
|
382
382
|
- db/migrate/20160805040950_add_owner_to_bloom_remit_txns.rb
|
383
383
|
- db/migrate/20160805095308_change_txns_sender_id_to_string.rb
|
384
384
|
- db/migrate/20160806054012_create_bloom_remit_responses.rb
|
385
|
-
- db/migrate/
|
385
|
+
- db/migrate/20160808081300_add_external_id_to_bloom_remit_txns.rb
|
386
386
|
- lib/bloom_remit.rb
|
387
387
|
- lib/bloom_remit/engine.rb
|
388
388
|
- lib/bloom_remit/factories.rb
|