istox 0.1.85.pre.test2 → 0.1.85

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
  SHA256:
3
- metadata.gz: e11e830821144550d4de53072e19a20469c91ba790c02fcb958d0bd37943492b
4
- data.tar.gz: 3afc73b96c0f0fe8871c81393d272f7c7b5f691be9b0b3939848fb137c08747d
3
+ metadata.gz: b8ec6a87b62bf9494255ce75b1e4f2846bd5b49570638f5bae67d16e39c33c57
4
+ data.tar.gz: a583149b0541c739dc7d3a6ede3a401d17a232a85aba8a0dc0e871fec5805470
5
5
  SHA512:
6
- metadata.gz: dccaa2baf64e3bb4f391b6349d58c060308ceb7629304da5f2b51d51960cf62da620654f5462085ac61e4f52b7b01fdbb1490778beb15c30c36a7e4764d01b1e
7
- data.tar.gz: ba825a68040599239ad850a101c5c3079a63ecb81c7e94a3c9e9aea8d05aea517525352257e7f2b12b4eae3105112beaa49d7e820b9f65649d7e9fb600ba8029
6
+ metadata.gz: 16ac68b6afe74d3ee0ae227c57e4e3f6d4611b2388fbbcfbd4265e9703cf94c2e8d5438c33bfa058c26baad1b82c4d02fba75e9c954aa94c01f1ccb0eb25bc1a
7
+ data.tar.gz: 91aee78c433dbb2e06a682de87cd21d23160a6cee18d98f317566581f90d18eadd83f6a1bc687b7010a59dda342e9fdb99d2a4b833549a358568a487bdff0c7f
@@ -28,7 +28,8 @@ module Istox
28
28
  require 'istox/models/blockchain_receipt'
29
29
  require 'istox/models/concerns/blockchain_receipt_query'
30
30
  require 'istox/consumers/blockchain_status_handler'
31
+ require 'istox/migrations/create_blockchain_receipts'
31
32
  require 'istox/logging/hash_logging'
32
33
  require 'istox/logging/log_formatter'
33
- require 'istox/quant/bond'
34
+ require "istox/quant/bond"
34
35
  end
@@ -0,0 +1,26 @@
1
+ module Istox
2
+ class CreateBlockchainReceipts < ActiveRecord::Migration[5.0]
3
+ def initialize(_, _, table_name = nil)
4
+ @table_name = table_name
5
+ @table_name ||= :blockchain_receipts
6
+ end
7
+
8
+ def change
9
+ create_table @table_name do |t|
10
+ t.string :txid
11
+ t.string :txhash
12
+ t.integer :resource_id
13
+ t.string :resource_action
14
+ t.string :resource_name
15
+ t.boolean :resource_handled
16
+ t.datetime :deleted_at, index: true
17
+ t.timestamps
18
+ t.string :sid
19
+ t.string :status, default: 'pending'
20
+ t.text :message
21
+ t.boolean :is_request, default: false
22
+ t.integer :lock_version
23
+ end
24
+ end
25
+ end
26
+ end
@@ -1,3 +1,3 @@
1
1
  module Istox
2
- VERSION = '0.1.85-test2'.freeze
2
+ VERSION = '0.1.85'.freeze
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: istox
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.85.pre.test2
4
+ version: 0.1.85
5
5
  platform: ruby
6
6
  authors:
7
7
  - Siong Leng
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2019-09-17 00:00:00.000000000 Z
11
+ date: 2019-09-16 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bunny
@@ -305,6 +305,7 @@ files:
305
305
  - lib/istox/interfaces/chainhub/transaction.rb
306
306
  - lib/istox/logging/hash_logging.rb
307
307
  - lib/istox/logging/log_formatter.rb
308
+ - lib/istox/migrations/create_blockchain_receipts.rb
308
309
  - lib/istox/models/blockchain_receipt.rb
309
310
  - lib/istox/models/concerns/blockchain_receipt_query.rb
310
311
  - lib/istox/quant/bond.rb
@@ -323,9 +324,9 @@ required_ruby_version: !ruby/object:Gem::Requirement
323
324
  version: '0'
324
325
  required_rubygems_version: !ruby/object:Gem::Requirement
325
326
  requirements:
326
- - - ">"
327
+ - - ">="
327
328
  - !ruby/object:Gem::Version
328
- version: 1.3.1
329
+ version: '0'
329
330
  requirements: []
330
331
  rubygems_version: 3.0.6
331
332
  signing_key: