istox 0.1.48.6 → 0.1.49

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: d02c6a19059a3e34b9ac864e0d45dcb51ef20120e600d82e9ad12b5fd5c6b70c
4
- data.tar.gz: 23abea14a809e21c5fa9b5e8ba733796e7deb801020a5c05520b47fb70eafa38
3
+ metadata.gz: 03e23c188c24e12bb7379c507bc748e2175c0a6c514be4a428da848beea2cfb0
4
+ data.tar.gz: 3e97d011a7573807eb0ef06ba2219dc45ae1ceb29d2dc1796a6716fa21365341
5
5
  SHA512:
6
- metadata.gz: bc5d32e89386f03ce8ad6e54e4a4d2b7ecb671fb5e6eeda551efbafb1cc6e667daf786df3303f5b3ffa7972b3caf3bd2d049200ead0020a9360267845b2dc749
7
- data.tar.gz: 1d688f26a10416896f7e9189c70dcdee42c4c1c6422cf3d1d93fe05cab9745d9000c3e8946d21a08a97c266c7570191a74fd00e0782c39b14955e94de1c0ce11
6
+ metadata.gz: 4d4b5646f2be32172e92e57c820382cd93443fbb512d609bbd63aafafe8184589568f53f6d46aae5f97ee641f4ef9b1701517ce99923c54c35d2f076e1e5bbb3
7
+ data.tar.gz: 011cea9f9aa15d6d3a3771f38f5b249e46cd79b27d2546ca8a2c828147f8951265471ab0275379d0b55efca7fbae76fb042e31049cdbf0521985b3807bf52934
@@ -1,11 +1,10 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- istox (0.1.48.5)
4
+ istox (0.1.44)
5
5
  bunny (>= 2.12.0)
6
6
  graphlient
7
- istox_gruf
8
- listen (~> 3.0.5)
7
+ gruf
9
8
  paranoia (~> 2.2)
10
9
 
11
10
  GEM
@@ -58,7 +57,7 @@ GEM
58
57
  bullet (5.7.6)
59
58
  activesupport (>= 3.0.0)
60
59
  uniform_notifier (~> 1.11.0)
61
- bunny (2.14.2)
60
+ bunny (2.14.1)
62
61
  amq-protocol (~> 2.3, >= 2.3.0)
63
62
  concurrent-ruby (1.1.4)
64
63
  crass (1.0.4)
@@ -76,35 +75,31 @@ GEM
76
75
  multipart-post (>= 1.2, < 3)
77
76
  faraday_middleware (0.13.1)
78
77
  faraday (>= 0.7.4, < 1.0)
79
- ffi (1.11.1)
80
78
  globalid (0.4.2)
81
79
  activesupport (>= 4.2.0)
82
- google-protobuf (3.8.0)
83
- googleapis-common-protos-types (1.0.4)
80
+ google-protobuf (3.7.0-universal-darwin)
81
+ googleapis-common-protos-types (1.0.3)
84
82
  google-protobuf (~> 3.0)
85
83
  graphlient (0.3.5)
86
84
  faraday
87
85
  faraday_middleware
88
86
  graphql-client
89
- graphql (1.9.6)
87
+ graphql (1.9.3)
90
88
  graphql-client (0.14.0)
91
89
  activesupport (>= 3.0, < 6.0)
92
90
  graphql (~> 1.6)
93
- grpc (1.21.0)
94
- google-protobuf (~> 3.7)
95
- googleapis-common-protos-types (~> 1.0)
96
- grpc-tools (1.21.0)
97
- i18n (0.9.5)
98
- concurrent-ruby (~> 1.0)
99
- istox_gruf (2.7.1)
100
- activesupport (> 4)
101
- concurrent-ruby (> 1)
91
+ grpc (1.19.0-universal-darwin)
92
+ google-protobuf (~> 3.1)
93
+ googleapis-common-protos-types (~> 1.0.0)
94
+ grpc-tools (1.19.0)
95
+ gruf (2.5.2)
96
+ activesupport
97
+ concurrent-ruby
102
98
  grpc (~> 1.10)
103
99
  grpc-tools (~> 1.10)
104
100
  slop (~> 4.6)
105
- listen (3.0.8)
106
- rb-fsevent (~> 0.9, >= 0.9.4)
107
- rb-inotify (~> 0.9, >= 0.9.7)
101
+ i18n (0.9.5)
102
+ concurrent-ruby (~> 1.0)
108
103
  loofah (2.2.3)
109
104
  crass (~> 1.0.2)
110
105
  nokogiri (>= 1.5.9)
@@ -117,12 +112,12 @@ GEM
117
112
  mini_mime (1.0.1)
118
113
  mini_portile2 (2.4.0)
119
114
  minitest (5.11.3)
120
- multipart-post (2.1.1)
115
+ multipart-post (2.0.0)
121
116
  nio4r (2.3.1)
122
117
  nokogiri (1.10.1)
123
118
  mini_portile2 (~> 2.4.0)
124
- paranoia (2.4.2)
125
- activerecord (>= 4.0, < 6.1)
119
+ paranoia (2.4.1)
120
+ activerecord (>= 4.0, < 5.3)
126
121
  rack (2.0.6)
127
122
  rack-test (1.1.0)
128
123
  rack (>= 1.0, < 3)
@@ -151,9 +146,6 @@ GEM
151
146
  rake (>= 0.8.7)
152
147
  thor (>= 0.19.0, < 2.0)
153
148
  rake (10.5.0)
154
- rb-fsevent (0.10.3)
155
- rb-inotify (0.10.0)
156
- ffi (~> 1.0)
157
149
  rspec (3.8.0)
158
150
  rspec-core (~> 3.8.0)
159
151
  rspec-expectations (~> 3.8.0)
@@ -32,10 +32,9 @@ Gem::Specification.new do |spec|
32
32
  spec.require_paths = ["lib"]
33
33
 
34
34
  spec.add_dependency "bunny", ">= 2.12.0"
35
- spec.add_dependency "istox_gruf"
35
+ spec.add_dependency "gruf"
36
36
  spec.add_dependency "paranoia", "~> 2.2"
37
37
  spec.add_dependency "graphlient"
38
- spec.add_dependency 'listen', '~> 3.0.5'
39
38
  spec.add_development_dependency "bundler", "~> 1.16"
40
39
  spec.add_development_dependency "rake", "~> 10.0"
41
40
  spec.add_development_dependency "rspec", "~> 3.0"
@@ -1,6 +1,5 @@
1
1
  require 'active_record'
2
2
  require 'paranoia'
3
- require "gruf"
4
3
  require "istox/version"
5
4
 
6
5
  module Istox
@@ -17,7 +16,6 @@ module Istox
17
16
  require "istox/helpers/order_book"
18
17
  require "istox/helpers/grpc_client"
19
18
  require "istox/helpers/graphql_client"
20
- require "istox/helpers/gruf_listener_hook"
21
19
  require "istox/helpers/message_service"
22
20
  require "istox/helpers/blockchain_receipt_service"
23
21
  require "istox/models/blockchain_receipt"
@@ -1,3 +1,3 @@
1
1
  module Istox
2
- VERSION = "0.1.48.6"
2
+ VERSION = "0.1.49"
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.48.6
4
+ version: 0.1.49
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-06-15 00:00:00.000000000 Z
11
+ date: 2019-06-12 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bunny
@@ -25,7 +25,7 @@ dependencies:
25
25
  - !ruby/object:Gem::Version
26
26
  version: 2.12.0
27
27
  - !ruby/object:Gem::Dependency
28
- name: istox_gruf
28
+ name: gruf
29
29
  requirement: !ruby/object:Gem::Requirement
30
30
  requirements:
31
31
  - - ">="
@@ -66,20 +66,6 @@ dependencies:
66
66
  - - ">="
67
67
  - !ruby/object:Gem::Version
68
68
  version: '0'
69
- - !ruby/object:Gem::Dependency
70
- name: listen
71
- requirement: !ruby/object:Gem::Requirement
72
- requirements:
73
- - - "~>"
74
- - !ruby/object:Gem::Version
75
- version: 3.0.5
76
- type: :runtime
77
- prerelease: false
78
- version_requirements: !ruby/object:Gem::Requirement
79
- requirements:
80
- - - "~>"
81
- - !ruby/object:Gem::Version
82
- version: 3.0.5
83
69
  - !ruby/object:Gem::Dependency
84
70
  name: bundler
85
71
  requirement: !ruby/object:Gem::Requirement
@@ -243,7 +229,6 @@ files:
243
229
  - lib/istox/helpers/bunny_boot.rb
244
230
  - lib/istox/helpers/graphql_client.rb
245
231
  - lib/istox/helpers/grpc_client.rb
246
- - lib/istox/helpers/gruf_listener_hook.rb
247
232
  - lib/istox/helpers/message_service.rb
248
233
  - lib/istox/helpers/order_book.rb
249
234
  - lib/istox/helpers/publisher.rb
@@ -271,7 +256,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
271
256
  version: '0'
272
257
  requirements: []
273
258
  rubyforge_project:
274
- rubygems_version: 2.7.9
259
+ rubygems_version: 2.7.8
275
260
  signing_key:
276
261
  specification_version: 4
277
262
  summary: istox backend shared gem
@@ -1,21 +0,0 @@
1
- module Istox
2
- class GrufListenerHook < ::Gruf::Hooks::Base
3
- def before_server_start(server:)
4
- # do my thing before the server starts
5
-
6
- @listener = Listen.to('app/rpc') do |modified, added, removed|
7
- puts "modified absolute path: #{modified}"
8
- puts "added absolute path: #{added}"
9
- puts "removed absolute path: #{removed}"
10
-
11
- server.init_restart
12
- end
13
- @listener.start # not blocking
14
- end
15
-
16
- def after_server_stop(server:)
17
- # do my thing after the server stops
18
- @listener.stop
19
- end
20
- end
21
- end