garnet_client 0.1.11 → 0.1.12

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: 3270821a3eb9eb99fd6e9c8fbef06d8bf2386d11
4
- data.tar.gz: 610231f15b9c91034d75b1b12bee94859152c687
3
+ metadata.gz: 3631638f8edb41dac0c81da69012186626b9a014
4
+ data.tar.gz: 39450c57ed012bfb47105e5409e99efb23f40ba9
5
5
  SHA512:
6
- metadata.gz: 5d8f4341be90084372c3c463843e6e820e56fa1aea57b2ab4107eff398672f9862a18bcfb6baa439d593d9fe801b4dbeb8d127038a2eefb0989ba201a476fb91
7
- data.tar.gz: 02c3490f68c1ecee579f6e75cd267ed6ca9e90e138f0740f9243627b8c25b9a8f8ba494b3565fb2b80374f74c8c617e274cf279e4604794492bd930e29f461e9
6
+ metadata.gz: 543b8bd1bb5dd43fd435315546e8a5126a9c8d133317124ef6d94d115a62808975f8d2fecc19aa2505f31559a6629d9e773cb56694eb8e5e7e075c1fa066b395
7
+ data.tar.gz: 9529b90e0770bb01d2fc585ceb39a8cee8b4e0af56059f4bfcc7dd255fdfea6644e9fd5142133a8b6be54dd98be27d051bc7e5994ab808af629c0d0ff55b667b
data/lib/garnet_client.rb CHANGED
@@ -11,6 +11,7 @@ module GarnetClient
11
11
  @version = GarnetClient::VERSION
12
12
  @content_type = 'application/json'
13
13
  @response_headers = {}
14
+ @debug_mode = true
14
15
 
15
16
  # 接口路径
16
17
  API_POST_NOTICE_DEPOSIT_URL = '/api/garnet_client/notify_deposits'
@@ -1,3 +1,3 @@
1
1
  module GarnetClient
2
- VERSION = "0.1.11"
2
+ VERSION = "0.1.12"
3
3
  end
@@ -6,11 +6,13 @@ class CreateGarnetClientNotices < ActiveRecord::Migration
6
6
  t.string :from
7
7
  t.string :tx_hash
8
8
  t.string :to
9
- t.integer :value
9
+ t.integer :value, :limit=>8
10
10
  t.integer :tx_timestamp
11
11
  t.integer :status
12
12
  t.string :notify_id
13
13
  t.string :error_msg
14
+ t.datetime :read_at
15
+ t.string :read_msg
14
16
  t.timestamps
15
17
  end
16
18
 
@@ -20,11 +22,13 @@ class CreateGarnetClientNotices < ActiveRecord::Migration
20
22
  t.string :from
21
23
  t.string :tx_hash
22
24
  t.string :to
23
- t.integer :value
25
+ t.integer :value, :limit=>8
24
26
  t.integer :tx_timestamp
25
27
  t.integer :status
26
28
  t.string :notify_id
27
29
  t.string :error_msg
30
+ t.datetime :read_at
31
+ t.string :read_msg
28
32
  t.timestamps
29
33
  end
30
34
 
@@ -34,9 +38,11 @@ class CreateGarnetClientNotices < ActiveRecord::Migration
34
38
  t.integer :tx_timestamp
35
39
  t.string :from
36
40
  t.string :to
37
- t.integer :value
41
+ t.integer :value, :limit=>8
38
42
  t.string :contract_address
39
43
  t.integer :status
44
+ t.datetime :read_at
45
+ t.string :read_msg
40
46
  t.timestamps
41
47
  end
42
48
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: garnet_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.11
4
+ version: 0.1.12
5
5
  platform: ruby
6
6
  authors:
7
7
  - tarzansos
8
8
  autorequire:
9
9
  bindir: exe
10
10
  cert_chain: []
11
- date: 2018-08-09 00:00:00.000000000 Z
11
+ date: 2018-08-24 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: httparty