istox 0.1.149 → 0.1.150.pre.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.idea/istox-gem.iml +1 -1
- data/.idea/workspace.xml +183 -14
- data/Gemfile.lock +5 -5
- data/lib/istox/helpers/bunny_boot.rb +1 -0
- data/lib/istox/helpers/dlm.rb +4 -0
- data/lib/istox/helpers/remote_model_cache.rb +2 -2
- data/lib/istox/version.rb +1 -1
- data/lib/istox.rb +0 -1
- metadata +5 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 77b70b5d7c38137999eaaa301f0a74571453cc41d009b0ecdcae688a5139c0f8
|
4
|
+
data.tar.gz: 2a298b4615aecea457483f440e0c5cfaf79f95539ed0ae43b4474e07582176d8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3920f1b7a98b42ce6af12405b6e09105d8cd208f487256ed768ab0ed8a59546fd708f90c7c37f9f2dd9a99d747d877dc8312c2e468e485fe4480bb79412781ee
|
7
|
+
data.tar.gz: e1d9e36b288688133b513bd89b902fcb1b64f126125a9033482f795c91f068b975570ef6d50df8e4ac4c9eb7c10a4b01b6ed1d0d8d5690700eaafdeb1615e46b
|
data/.idea/istox-gem.iml
CHANGED
@@ -7,6 +7,6 @@
|
|
7
7
|
<content url="file://$MODULE_DIR$" />
|
8
8
|
<orderEntry type="inheritedJdk" />
|
9
9
|
<orderEntry type="sourceFolder" forTests="false" />
|
10
|
-
<orderEntry type="library" scope="PROVIDED" name="bundler (v1.
|
10
|
+
<orderEntry type="library" scope="PROVIDED" name="bundler (v1.16.6, RVM: ruby-2.5.3 [global]) [gem]" level="application" />
|
11
11
|
</component>
|
12
12
|
</module>
|
data/.idea/workspace.xml
CHANGED
@@ -2,35 +2,144 @@
|
|
2
2
|
<project version="4">
|
3
3
|
<component name="ChangeListManager">
|
4
4
|
<list default="true" id="f70e0449-76c0-44d8-bcb9-7991f2a7e0f8" name="Default Changelist" comment="">
|
5
|
-
<change beforePath="$PROJECT_DIR
|
6
|
-
<change beforePath="$PROJECT_DIR$/.idea/workspace.xml" beforeDir="false" afterPath="$PROJECT_DIR$/.idea/workspace.xml" afterDir="false" />
|
7
|
-
<change beforePath="$PROJECT_DIR$/lib/istox.rb" beforeDir="false" afterPath="$PROJECT_DIR$/lib/istox.rb" afterDir="false" />
|
8
|
-
<change beforePath="$PROJECT_DIR$/lib/istox/helpers/bunny_boot.rb" beforeDir="false" afterPath="$PROJECT_DIR$/lib/istox/helpers/bunny_boot.rb" afterDir="false" />
|
9
|
-
<change beforePath="$PROJECT_DIR$/lib/istox/helpers/dlm.rb" beforeDir="false" afterPath="$PROJECT_DIR$/lib/istox/helpers/dlm.rb" afterDir="false" />
|
5
|
+
<change beforePath="$PROJECT_DIR$/lib/istox/helpers/publisher.rb" beforeDir="false" afterPath="$PROJECT_DIR$/lib/istox/helpers/publisher.rb" afterDir="false" />
|
10
6
|
<change beforePath="$PROJECT_DIR$/lib/istox/version.rb" beforeDir="false" afterPath="$PROJECT_DIR$/lib/istox/version.rb" afterDir="false" />
|
11
7
|
</list>
|
8
|
+
<option name="EXCLUDED_CONVERTED_TO_IGNORED" value="true" />
|
12
9
|
<option name="SHOW_DIALOG" value="false" />
|
13
10
|
<option name="HIGHLIGHT_CONFLICTS" value="true" />
|
14
11
|
<option name="HIGHLIGHT_NON_ACTIVE_CHANGELIST" value="false" />
|
15
12
|
<option name="LAST_RESOLUTION" value="IGNORE" />
|
16
13
|
</component>
|
14
|
+
<component name="FileEditorManager">
|
15
|
+
<leaf>
|
16
|
+
<file pinned="false" current-in-tab="false">
|
17
|
+
<entry file="file://$PROJECT_DIR$/lib/istox/helpers/bunny_boot.rb">
|
18
|
+
<provider selected="true" editor-type-id="text-editor">
|
19
|
+
<state relative-caret-position="165">
|
20
|
+
<caret line="13" column="24" selection-start-line="13" selection-start-column="24" selection-end-line="13" selection-end-column="24" />
|
21
|
+
</state>
|
22
|
+
</provider>
|
23
|
+
</entry>
|
24
|
+
</file>
|
25
|
+
<file pinned="false" current-in-tab="false">
|
26
|
+
<entry file="file://$PROJECT_DIR$/lib/istox/helpers/publisher.rb">
|
27
|
+
<provider selected="true" editor-type-id="text-editor">
|
28
|
+
<state relative-caret-position="310">
|
29
|
+
<caret line="25" column="16" lean-forward="true" selection-start-line="25" selection-start-column="16" selection-end-line="25" selection-end-column="16" />
|
30
|
+
</state>
|
31
|
+
</provider>
|
32
|
+
</entry>
|
33
|
+
</file>
|
34
|
+
<file pinned="false" current-in-tab="false">
|
35
|
+
<entry file="file://$PROJECT_DIR$/README.md">
|
36
|
+
<provider selected="true" editor-type-id="split-provider[text-editor;markdown-preview-editor]">
|
37
|
+
<state split_layout="SPLIT">
|
38
|
+
<first_editor relative-caret-position="120">
|
39
|
+
<caret line="8" column="51" selection-start-line="8" selection-start-column="19" selection-end-line="8" selection-end-column="51" />
|
40
|
+
</first_editor>
|
41
|
+
<second_editor />
|
42
|
+
</state>
|
43
|
+
</provider>
|
44
|
+
</entry>
|
45
|
+
</file>
|
46
|
+
<file pinned="false" current-in-tab="true">
|
47
|
+
<entry file="file://$PROJECT_DIR$/lib/istox/version.rb">
|
48
|
+
<provider selected="true" editor-type-id="text-editor">
|
49
|
+
<state relative-caret-position="15">
|
50
|
+
<caret line="1" column="19" selection-start-line="1" selection-start-column="19" selection-end-line="1" selection-end-column="19" />
|
51
|
+
</state>
|
52
|
+
</provider>
|
53
|
+
</entry>
|
54
|
+
</file>
|
55
|
+
</leaf>
|
56
|
+
</component>
|
17
57
|
<component name="Git.Settings">
|
18
58
|
<option name="RECENT_GIT_ROOT_PATH" value="$PROJECT_DIR$" />
|
19
59
|
</component>
|
20
|
-
<component name="
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
60
|
+
<component name="IdeDocumentHistory">
|
61
|
+
<option name="CHANGED_PATHS">
|
62
|
+
<list>
|
63
|
+
<option value="$PROJECT_DIR$/lib/istox/helpers/publisher.rb" />
|
64
|
+
<option value="$PROJECT_DIR$/lib/istox/version.rb" />
|
65
|
+
</list>
|
66
|
+
</option>
|
67
|
+
</component>
|
68
|
+
<component name="ProjectFrameBounds" extendedState="6">
|
69
|
+
<option name="y" value="23" />
|
70
|
+
<option name="width" value="1440" />
|
71
|
+
<option name="height" value="852" />
|
72
|
+
</component>
|
73
|
+
<component name="ProjectView">
|
74
|
+
<navigator proportions="" version="1">
|
75
|
+
<foldersAlwaysOnTop value="true" />
|
76
|
+
</navigator>
|
77
|
+
<panes>
|
78
|
+
<pane id="ProjectPane">
|
79
|
+
<subPane>
|
80
|
+
<expand>
|
81
|
+
<path>
|
82
|
+
<item name="istox-gem" type="b2602c69:ProjectViewProjectNode" />
|
83
|
+
<item name="istox-gem" type="462c0819:PsiDirectoryNode" />
|
84
|
+
</path>
|
85
|
+
<path>
|
86
|
+
<item name="istox-gem" type="b2602c69:ProjectViewProjectNode" />
|
87
|
+
<item name="istox-gem" type="462c0819:PsiDirectoryNode" />
|
88
|
+
<item name="lib" type="462c0819:PsiDirectoryNode" />
|
89
|
+
</path>
|
90
|
+
<path>
|
91
|
+
<item name="istox-gem" type="b2602c69:ProjectViewProjectNode" />
|
92
|
+
<item name="istox-gem" type="462c0819:PsiDirectoryNode" />
|
93
|
+
<item name="lib" type="462c0819:PsiDirectoryNode" />
|
94
|
+
<item name="istox" type="462c0819:PsiDirectoryNode" />
|
95
|
+
</path>
|
96
|
+
<path>
|
97
|
+
<item name="istox-gem" type="b2602c69:ProjectViewProjectNode" />
|
98
|
+
<item name="istox-gem" type="462c0819:PsiDirectoryNode" />
|
99
|
+
<item name="lib" type="462c0819:PsiDirectoryNode" />
|
100
|
+
<item name="istox" type="462c0819:PsiDirectoryNode" />
|
101
|
+
<item name="helpers" type="462c0819:PsiDirectoryNode" />
|
102
|
+
</path>
|
103
|
+
<path>
|
104
|
+
<item name="istox-gem" type="b2602c69:ProjectViewProjectNode" />
|
105
|
+
<item name="istox-gem" type="462c0819:PsiDirectoryNode" />
|
106
|
+
<item name="lib" type="462c0819:PsiDirectoryNode" />
|
107
|
+
<item name="istox" type="462c0819:PsiDirectoryNode" />
|
108
|
+
<item name="interfaces" type="462c0819:PsiDirectoryNode" />
|
109
|
+
</path>
|
110
|
+
<path>
|
111
|
+
<item name="istox-gem" type="b2602c69:ProjectViewProjectNode" />
|
112
|
+
<item name="istox-gem" type="462c0819:PsiDirectoryNode" />
|
113
|
+
<item name="lib" type="462c0819:PsiDirectoryNode" />
|
114
|
+
<item name="istox" type="462c0819:PsiDirectoryNode" />
|
115
|
+
<item name="models" type="462c0819:PsiDirectoryNode" />
|
116
|
+
</path>
|
117
|
+
</expand>
|
118
|
+
<select />
|
119
|
+
</subPane>
|
120
|
+
</pane>
|
121
|
+
<pane id="Scope" />
|
122
|
+
</panes>
|
25
123
|
</component>
|
26
124
|
<component name="PropertiesComponent">
|
27
|
-
<property name="RunOnceActivity.ShowReadmeOnStart" value="true" />
|
28
125
|
<property name="WebServerToolWindowFactoryState" value="false" />
|
29
126
|
<property name="last_opened_file_path" value="$PROJECT_DIR$" />
|
30
127
|
<property name="nodejs_interpreter_path.stuck_in_default_project" value="undefined stuck path" />
|
31
128
|
<property name="nodejs_npm_path_reset_for_default_project" value="true" />
|
32
129
|
</component>
|
33
|
-
<component name="
|
130
|
+
<component name="RunDashboard">
|
131
|
+
<option name="ruleStates">
|
132
|
+
<list>
|
133
|
+
<RuleState>
|
134
|
+
<option name="name" value="ConfigurationTypeDashboardGroupingRule" />
|
135
|
+
</RuleState>
|
136
|
+
<RuleState>
|
137
|
+
<option name="name" value="StatusDashboardGroupingRule" />
|
138
|
+
</RuleState>
|
139
|
+
</list>
|
140
|
+
</option>
|
141
|
+
</component>
|
142
|
+
<component name="SpringUtil" SPRING_PRE_LOADER_OPTION="true" />
|
34
143
|
<component name="SvnConfiguration">
|
35
144
|
<configuration />
|
36
145
|
</component>
|
@@ -42,12 +151,72 @@
|
|
42
151
|
<option name="presentableId" value="Default" />
|
43
152
|
<updated>1566200631090</updated>
|
44
153
|
<workItem from="1566200632743" duration="997000" />
|
45
|
-
<workItem from="1588041821198" duration="7000" />
|
46
|
-
<workItem from="1588041848702" duration="662000" />
|
47
154
|
</task>
|
48
155
|
<servers />
|
49
156
|
</component>
|
157
|
+
<component name="TimeTrackingManager">
|
158
|
+
<option name="totallyTimeSpent" value="1001000" />
|
159
|
+
</component>
|
160
|
+
<component name="ToolWindowManager">
|
161
|
+
<frame x="0" y="23" width="1440" height="852" extended-state="6" />
|
162
|
+
<editor active="true" />
|
163
|
+
<layout>
|
164
|
+
<window_info id="Favorites" side_tool="true" />
|
165
|
+
<window_info active="true" content_ui="combo" id="Project" order="0" visible="true" weight="0.33547926" />
|
166
|
+
<window_info id="Structure" order="1" side_tool="true" weight="0.25" />
|
167
|
+
<window_info anchor="bottom" id="Docker" show_stripe_button="false" />
|
168
|
+
<window_info anchor="bottom" id="Database Changes" />
|
169
|
+
<window_info anchor="bottom" id="Version Control" />
|
170
|
+
<window_info anchor="bottom" id="Messages" visible="true" weight="0.42062417" />
|
171
|
+
<window_info anchor="bottom" id="Terminal" />
|
172
|
+
<window_info anchor="bottom" id="Event Log" side_tool="true" />
|
173
|
+
<window_info anchor="bottom" id="Message" order="0" />
|
174
|
+
<window_info anchor="bottom" id="Find" order="1" />
|
175
|
+
<window_info anchor="bottom" id="Run" order="2" />
|
176
|
+
<window_info anchor="bottom" id="Debug" order="3" weight="0.4" />
|
177
|
+
<window_info anchor="bottom" id="Cvs" order="4" weight="0.25" />
|
178
|
+
<window_info anchor="bottom" id="Inspection" order="5" weight="0.4" />
|
179
|
+
<window_info anchor="bottom" id="TODO" order="6" />
|
180
|
+
<window_info anchor="right" id="Database" />
|
181
|
+
<window_info anchor="right" id="Commander" internal_type="SLIDING" order="0" type="SLIDING" weight="0.4" />
|
182
|
+
<window_info anchor="right" id="Ant Build" order="1" weight="0.25" />
|
183
|
+
<window_info anchor="right" content_ui="combo" id="Hierarchy" order="2" weight="0.25" />
|
184
|
+
</layout>
|
185
|
+
</component>
|
50
186
|
<component name="TypeScriptGeneratedFilesManager">
|
51
187
|
<option name="version" value="1" />
|
52
188
|
</component>
|
189
|
+
<component name="editorHistoryManager">
|
190
|
+
<entry file="file://$PROJECT_DIR$/lib/istox/helpers/bunny_boot.rb">
|
191
|
+
<provider selected="true" editor-type-id="text-editor">
|
192
|
+
<state relative-caret-position="165">
|
193
|
+
<caret line="13" column="24" selection-start-line="13" selection-start-column="24" selection-end-line="13" selection-end-column="24" />
|
194
|
+
</state>
|
195
|
+
</provider>
|
196
|
+
</entry>
|
197
|
+
<entry file="file://$PROJECT_DIR$/README.md">
|
198
|
+
<provider selected="true" editor-type-id="split-provider[text-editor;markdown-preview-editor]">
|
199
|
+
<state split_layout="SPLIT">
|
200
|
+
<first_editor relative-caret-position="120">
|
201
|
+
<caret line="8" column="51" selection-start-line="8" selection-start-column="19" selection-end-line="8" selection-end-column="51" />
|
202
|
+
</first_editor>
|
203
|
+
<second_editor />
|
204
|
+
</state>
|
205
|
+
</provider>
|
206
|
+
</entry>
|
207
|
+
<entry file="file://$PROJECT_DIR$/lib/istox/helpers/publisher.rb">
|
208
|
+
<provider selected="true" editor-type-id="text-editor">
|
209
|
+
<state relative-caret-position="310">
|
210
|
+
<caret line="25" column="16" lean-forward="true" selection-start-line="25" selection-start-column="16" selection-end-line="25" selection-end-column="16" />
|
211
|
+
</state>
|
212
|
+
</provider>
|
213
|
+
</entry>
|
214
|
+
<entry file="file://$PROJECT_DIR$/lib/istox/version.rb">
|
215
|
+
<provider selected="true" editor-type-id="text-editor">
|
216
|
+
<state relative-caret-position="15">
|
217
|
+
<caret line="1" column="19" selection-start-line="1" selection-start-column="19" selection-end-line="1" selection-end-column="19" />
|
218
|
+
</state>
|
219
|
+
</provider>
|
220
|
+
</entry>
|
221
|
+
</component>
|
53
222
|
</project>
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
istox (0.1.
|
4
|
+
istox (0.1.148)
|
5
5
|
awesome_print
|
6
6
|
binding_of_caller
|
7
7
|
bunny (>= 2.12.0)
|
@@ -65,7 +65,7 @@ GEM
|
|
65
65
|
arel (9.0.0)
|
66
66
|
awesome_print (1.8.0)
|
67
67
|
aws-eventstream (1.1.0)
|
68
|
-
aws-sigv4 (1.1.
|
68
|
+
aws-sigv4 (1.1.1)
|
69
69
|
aws-eventstream (~> 1.0, >= 1.0.2)
|
70
70
|
binding_of_caller (0.8.0)
|
71
71
|
debug_inspector (>= 0.0.1)
|
@@ -98,18 +98,18 @@ GEM
|
|
98
98
|
ffi (1.12.2)
|
99
99
|
globalid (0.4.2)
|
100
100
|
activesupport (>= 4.2.0)
|
101
|
-
google-protobuf (3.11.4)
|
101
|
+
google-protobuf (3.11.4-universal-darwin)
|
102
102
|
googleapis-common-protos-types (1.0.5)
|
103
103
|
google-protobuf (~> 3.11)
|
104
104
|
graphlient (0.3.7)
|
105
105
|
faraday
|
106
106
|
faraday_middleware
|
107
107
|
graphql-client
|
108
|
-
graphql (1.10.
|
108
|
+
graphql (1.10.6)
|
109
109
|
graphql-client (0.16.0)
|
110
110
|
activesupport (>= 3.0)
|
111
111
|
graphql (~> 1.8)
|
112
|
-
grpc (1.28.0)
|
112
|
+
grpc (1.28.0-universal-darwin)
|
113
113
|
google-protobuf (~> 3.11)
|
114
114
|
googleapis-common-protos-types (~> 1.0)
|
115
115
|
grpc-tools (1.28.0)
|
data/lib/istox/helpers/dlm.rb
CHANGED
@@ -48,7 +48,7 @@ module Istox
|
|
48
48
|
end
|
49
49
|
end
|
50
50
|
|
51
|
-
def get(key:, field:)
|
51
|
+
def get(key:, field:, auto_convert_openstruct: true)
|
52
52
|
raise 'You must provide a callback block if cache doesnt exist' unless block_given?
|
53
53
|
|
54
54
|
key = key.to_s
|
@@ -60,7 +60,7 @@ module Istox
|
|
60
60
|
|
61
61
|
if result.present?
|
62
62
|
begin
|
63
|
-
return ::Istox::CommonHelper.to_open_struct(JSON.parse(result))
|
63
|
+
return auto_convert_openstruct ? ::Istox::CommonHelper.to_open_struct(JSON.parse(result)) : result
|
64
64
|
rescue StandardError => e
|
65
65
|
log.warn('Unable to process result from cache store, is it not a json?')
|
66
66
|
log.warn(e)
|
data/lib/istox/version.rb
CHANGED
data/lib/istox.rb
CHANGED
@@ -33,7 +33,6 @@ module Istox
|
|
33
33
|
require 'istox/helpers/regex_helper'
|
34
34
|
require 'istox/helpers/result_handler'
|
35
35
|
require 'istox/helpers/redis'
|
36
|
-
require 'istox/helpers/dlm'
|
37
36
|
require 'istox/helpers/remote_model_cache'
|
38
37
|
require 'istox/models/blockchain_receipt'
|
39
38
|
require 'istox/models/concerns/blockchain_receipt_query'
|
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.
|
4
|
+
version: 0.1.150.pre.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Siong Leng
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2020-
|
11
|
+
date: 2020-05-11 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: awesome_print
|
@@ -471,11 +471,11 @@ required_ruby_version: !ruby/object:Gem::Requirement
|
|
471
471
|
version: '0'
|
472
472
|
required_rubygems_version: !ruby/object:Gem::Requirement
|
473
473
|
requirements:
|
474
|
-
- - "
|
474
|
+
- - ">"
|
475
475
|
- !ruby/object:Gem::Version
|
476
|
-
version:
|
476
|
+
version: 1.3.1
|
477
477
|
requirements: []
|
478
|
-
rubygems_version: 3.0.
|
478
|
+
rubygems_version: 3.0.3
|
479
479
|
signing_key:
|
480
480
|
specification_version: 4
|
481
481
|
summary: istox backend shared gem
|