keoken 0.2.1 → 0.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/.yardoc/checksums +8 -4
- data/.yardoc/object_types +0 -0
- data/.yardoc/objects/root.dat +0 -0
- data/Gemfile.lock +1 -1
- data/doc/Bitcoin/Script.html +1 -1
- data/doc/Keoken/Backend/Base.html +347 -0
- data/doc/Keoken/Backend/BitcoinRuby/Transaction.html +106 -192
- data/doc/Keoken/Backend/BitcoinRuby.html +1 -1
- data/doc/Keoken/Backend/Trezor/Transaction.html +512 -0
- data/doc/Keoken/Backend/Trezor.html +115 -0
- data/doc/Keoken/Backend.html +7 -3
- data/doc/Keoken/Bitprim/Transaction.html +1 -1
- data/doc/Keoken/Bitprim.html +1 -1
- data/doc/Keoken/DataNotParsed.html +202 -0
- data/doc/Keoken/IdNotFound.html +1 -1
- data/doc/Keoken/NameNotFound.html +1 -1
- data/doc/Keoken/OutputNotFound.html +1 -1
- data/doc/Keoken/Parser.html +479 -0
- data/doc/Keoken/Token.html +289 -108
- data/doc/Keoken.html +11 -11
- data/doc/_index.html +55 -1
- data/doc/class_list.html +1 -1
- data/doc/file.README.html +13 -13
- data/doc/index.html +13 -13
- data/doc/method_list.html +120 -16
- data/doc/top-level-namespace.html +1 -1
- data/lib/keoken/backend/trezor/transaction.rb +2 -2
- data/lib/keoken/errors/data_not_parsed.rb +5 -3
- data/lib/keoken/errors/id_not_found.rb +5 -3
- data/lib/keoken/errors/name_not_found.rb +5 -3
- data/lib/keoken/errors/output_not_found.rb +5 -3
- data/lib/keoken/parser.rb +6 -6
- data/lib/keoken/token.rb +2 -2
- data/lib/keoken/version.rb +1 -1
- data/lib/keoken.rb +5 -3
- data/spec/keoken_spec.rb +111 -45
- metadata +6 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 6e040de8b579d5b532fca1decf9638a909f18d5e3b4716eb03f5a3d4e6942132
|
4
|
+
data.tar.gz: 68e9cd981688494f71c7915c7fafd7a5c754cacf5537c8a18500f9f5d584648a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 61094af95fb3965059549ee90a90c3c867009a2f3efd2303a753289775c3dc28b066f712b15b2fb13e84e53a96257e54ef281f60266f9fc0bfd9c0ebc1a868ea
|
7
|
+
data.tar.gz: 4cfcc9d22946949c6e720ceff9fc85879cc5cda32d201bbd6ae639476a272349b93982d0f56322ba455a93d159d43f74eaf710c49a4ba8396d2d04c690336b18
|
data/.yardoc/checksums
CHANGED
@@ -1,9 +1,13 @@
|
|
1
|
-
lib/keoken.rb
|
2
|
-
lib/keoken/token.rb
|
3
|
-
lib/keoken/
|
1
|
+
lib/keoken.rb 585acfa6afc7a5779ad940f6ed058a5554b0ec6a
|
2
|
+
lib/keoken/token.rb 4d453fea214db176ec491c923a721c698890f0d4
|
3
|
+
lib/keoken/parser.rb 02f354045054ce85a12fbffb6b82421eea29ee0a
|
4
|
+
lib/keoken/version.rb cb712ddfa6a95cd630b073be04a307eddf15fb77
|
5
|
+
lib/keoken/backend/base.rb bf5ffd0571635d615a83277d11a6ea2b5d8b790e
|
4
6
|
lib/keoken/bitprim/transaction.rb 1982e35d5cdc322b049c392cef3e6e07443da688
|
5
7
|
lib/keoken/errors/id_not_found.rb 45dfceaab128e711ab1f277b82d09cc48170ab5b
|
6
8
|
lib/keoken/errors/name_not_found.rb 301c119c6dc84db6f063897a65a4a4c1ceb0a230
|
9
|
+
lib/keoken/errors/data_not_parsed.rb e3d90b6d3f019ff60d3b09abe6cd723a7c9b478a
|
7
10
|
lib/keoken/errors/output_not_found.rb 67356831d3cfa5694fbb573c5061d63871c52e95
|
8
11
|
lib/keoken/extensions/bitcoin/script.rb 16430adf292ff593b004914854759677653cd751
|
9
|
-
lib/keoken/backend/
|
12
|
+
lib/keoken/backend/trezor/transaction.rb dad7073525292cb745cc833e3c1fbaf6b442355d
|
13
|
+
lib/keoken/backend/bitcoin_ruby/transaction.rb 1b7935b960eb81944f4b95504336cbff771be462
|
data/.yardoc/object_types
CHANGED
Binary file
|
data/.yardoc/objects/root.dat
CHANGED
Binary file
|
data/Gemfile.lock
CHANGED
data/doc/Bitcoin/Script.html
CHANGED
@@ -180,7 +180,7 @@
|
|
180
180
|
</div>
|
181
181
|
|
182
182
|
<div id="footer">
|
183
|
-
Generated on
|
183
|
+
Generated on Tue Feb 5 12:51:34 2019 by
|
184
184
|
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
185
185
|
0.9.18 (ruby-2.3.3).
|
186
186
|
</div>
|
@@ -0,0 +1,347 @@
|
|
1
|
+
<!DOCTYPE html>
|
2
|
+
<html>
|
3
|
+
<head>
|
4
|
+
<meta charset="utf-8">
|
5
|
+
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
6
|
+
<title>
|
7
|
+
Class: Keoken::Backend::Base
|
8
|
+
|
9
|
+
— Documentation by YARD 0.9.18
|
10
|
+
|
11
|
+
</title>
|
12
|
+
|
13
|
+
<link rel="stylesheet" href="../../css/style.css" type="text/css" charset="utf-8" />
|
14
|
+
|
15
|
+
<link rel="stylesheet" href="../../css/common.css" type="text/css" charset="utf-8" />
|
16
|
+
|
17
|
+
<script type="text/javascript" charset="utf-8">
|
18
|
+
pathId = "Keoken::Backend::Base";
|
19
|
+
relpath = '../../';
|
20
|
+
</script>
|
21
|
+
|
22
|
+
|
23
|
+
<script type="text/javascript" charset="utf-8" src="../../js/jquery.js"></script>
|
24
|
+
|
25
|
+
<script type="text/javascript" charset="utf-8" src="../../js/app.js"></script>
|
26
|
+
|
27
|
+
|
28
|
+
</head>
|
29
|
+
<body>
|
30
|
+
<div class="nav_wrap">
|
31
|
+
<iframe id="nav" src="../../class_list.html?1"></iframe>
|
32
|
+
<div id="resizer"></div>
|
33
|
+
</div>
|
34
|
+
|
35
|
+
<div id="main" tabindex="-1">
|
36
|
+
<div id="header">
|
37
|
+
<div id="menu">
|
38
|
+
|
39
|
+
<a href="../../_index.html">Index (B)</a> »
|
40
|
+
<span class='title'><span class='object_link'><a href="../../Keoken.html" title="Keoken (module)">Keoken</a></span></span> » <span class='title'><span class='object_link'><a href="../Backend.html" title="Keoken::Backend (module)">Backend</a></span></span>
|
41
|
+
»
|
42
|
+
<span class="title">Base</span>
|
43
|
+
|
44
|
+
</div>
|
45
|
+
|
46
|
+
<div id="search">
|
47
|
+
|
48
|
+
<a class="full_list_link" id="class_list_link"
|
49
|
+
href="../../class_list.html">
|
50
|
+
|
51
|
+
<svg width="24" height="24">
|
52
|
+
<rect x="0" y="4" width="24" height="4" rx="1" ry="1"></rect>
|
53
|
+
<rect x="0" y="12" width="24" height="4" rx="1" ry="1"></rect>
|
54
|
+
<rect x="0" y="20" width="24" height="4" rx="1" ry="1"></rect>
|
55
|
+
</svg>
|
56
|
+
</a>
|
57
|
+
|
58
|
+
</div>
|
59
|
+
<div class="clear"></div>
|
60
|
+
</div>
|
61
|
+
|
62
|
+
<div id="content"><h1>Class: Keoken::Backend::Base
|
63
|
+
|
64
|
+
|
65
|
+
|
66
|
+
</h1>
|
67
|
+
<div class="box_info">
|
68
|
+
|
69
|
+
<dl>
|
70
|
+
<dt>Inherits:</dt>
|
71
|
+
<dd>
|
72
|
+
<span class="inheritName">Object</span>
|
73
|
+
|
74
|
+
<ul class="fullTree">
|
75
|
+
<li>Object</li>
|
76
|
+
|
77
|
+
<li class="next">Keoken::Backend::Base</li>
|
78
|
+
|
79
|
+
</ul>
|
80
|
+
<a href="#" class="inheritanceTree">show all</a>
|
81
|
+
|
82
|
+
</dd>
|
83
|
+
</dl>
|
84
|
+
|
85
|
+
|
86
|
+
|
87
|
+
|
88
|
+
|
89
|
+
|
90
|
+
|
91
|
+
|
92
|
+
|
93
|
+
|
94
|
+
|
95
|
+
<dl>
|
96
|
+
<dt>Defined in:</dt>
|
97
|
+
<dd>lib/keoken/backend/base.rb</dd>
|
98
|
+
</dl>
|
99
|
+
|
100
|
+
</div>
|
101
|
+
|
102
|
+
<div id="subclasses">
|
103
|
+
<h2>Direct Known Subclasses</h2>
|
104
|
+
<p class="children"><span class='object_link'><a href="BitcoinRuby/Transaction.html" title="Keoken::Backend::BitcoinRuby::Transaction (class)">Keoken::Backend::BitcoinRuby::Transaction</a></span>, <span class='object_link'><a href="Trezor/Transaction.html" title="Keoken::Backend::Trezor::Transaction (class)">Trezor::Transaction</a></span></p>
|
105
|
+
</div>
|
106
|
+
|
107
|
+
|
108
|
+
|
109
|
+
|
110
|
+
<h2>Instance Attribute Summary <small><a href="#" class="summary_toggle">collapse</a></small></h2>
|
111
|
+
<ul class="summary">
|
112
|
+
|
113
|
+
<li class="public ">
|
114
|
+
<span class="summary_signature">
|
115
|
+
|
116
|
+
<a href="#bitprim_transaction-instance_method" title="#bitprim_transaction (instance method)">#<strong>bitprim_transaction</strong> ⇒ Object </a>
|
117
|
+
|
118
|
+
|
119
|
+
|
120
|
+
</span>
|
121
|
+
|
122
|
+
|
123
|
+
|
124
|
+
|
125
|
+
|
126
|
+
|
127
|
+
|
128
|
+
|
129
|
+
|
130
|
+
|
131
|
+
|
132
|
+
|
133
|
+
<span class="summary_desc"><div class='inline'>Returns the value of attribute bitprim_transaction.</div></span>
|
134
|
+
|
135
|
+
</li>
|
136
|
+
|
137
|
+
|
138
|
+
<li class="public ">
|
139
|
+
<span class="summary_signature">
|
140
|
+
|
141
|
+
<a href="#inputs-instance_method" title="#inputs (instance method)">#<strong>inputs</strong> ⇒ Object </a>
|
142
|
+
|
143
|
+
|
144
|
+
|
145
|
+
</span>
|
146
|
+
|
147
|
+
|
148
|
+
|
149
|
+
|
150
|
+
|
151
|
+
|
152
|
+
|
153
|
+
|
154
|
+
|
155
|
+
|
156
|
+
|
157
|
+
|
158
|
+
<span class="summary_desc"><div class='inline'>Returns the value of attribute inputs.</div></span>
|
159
|
+
|
160
|
+
</li>
|
161
|
+
|
162
|
+
|
163
|
+
</ul>
|
164
|
+
|
165
|
+
|
166
|
+
|
167
|
+
|
168
|
+
|
169
|
+
<h2>
|
170
|
+
Instance Method Summary
|
171
|
+
<small><a href="#" class="summary_toggle">collapse</a></small>
|
172
|
+
</h2>
|
173
|
+
|
174
|
+
<ul class="summary">
|
175
|
+
|
176
|
+
<li class="public ">
|
177
|
+
<span class="summary_signature">
|
178
|
+
|
179
|
+
<a href="#initialize-instance_method" title="#initialize (instance method)">#<strong>initialize</strong> ⇒ Base </a>
|
180
|
+
|
181
|
+
|
182
|
+
|
183
|
+
</span>
|
184
|
+
|
185
|
+
|
186
|
+
<span class="note title constructor">constructor</span>
|
187
|
+
|
188
|
+
|
189
|
+
|
190
|
+
|
191
|
+
|
192
|
+
|
193
|
+
|
194
|
+
|
195
|
+
<span class="summary_desc"><div class='inline'>A new instance of Base.</div></span>
|
196
|
+
|
197
|
+
</li>
|
198
|
+
|
199
|
+
|
200
|
+
</ul>
|
201
|
+
|
202
|
+
|
203
|
+
<div id="constructor_details" class="method_details_list">
|
204
|
+
<h2>Constructor Details</h2>
|
205
|
+
|
206
|
+
<div class="method_details first">
|
207
|
+
<h3 class="signature first" id="initialize-instance_method">
|
208
|
+
|
209
|
+
#<strong>initialize</strong> ⇒ <tt><span class='object_link'><a href="" title="Keoken::Backend::Base (class)">Base</a></span></tt>
|
210
|
+
|
211
|
+
|
212
|
+
|
213
|
+
|
214
|
+
|
215
|
+
</h3><div class="docstring">
|
216
|
+
<div class="discussion">
|
217
|
+
Returns a new instance of Base
|
218
|
+
|
219
|
+
</div>
|
220
|
+
</div>
|
221
|
+
<div class="tags">
|
222
|
+
|
223
|
+
|
224
|
+
</div><table class="source_code">
|
225
|
+
<tr>
|
226
|
+
<td>
|
227
|
+
<pre class="lines">
|
228
|
+
|
229
|
+
|
230
|
+
6
|
231
|
+
7
|
232
|
+
8
|
233
|
+
9</pre>
|
234
|
+
</td>
|
235
|
+
<td>
|
236
|
+
<pre class="code"><span class="info file"># File 'lib/keoken/backend/base.rb', line 6</span>
|
237
|
+
|
238
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_initialize'>initialize</span>
|
239
|
+
<span class='ivar'>@inputs</span> <span class='op'>=</span> <span class='lbracket'>[</span><span class='rbracket'>]</span>
|
240
|
+
<span class='ivar'>@bitprim_transaction</span> <span class='op'>=</span> <span class='const'><span class='object_link'><a href="../../Keoken.html" title="Keoken (module)">Keoken</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../Bitprim.html" title="Keoken::Bitprim (module)">Bitprim</a></span></span><span class='op'>::</span><span class='const'><span class='object_link'><a href="../Bitprim/Transaction.html" title="Keoken::Bitprim::Transaction (class)">Transaction</a></span></span><span class='period'>.</span><span class='id identifier rubyid_new'>new</span>
|
241
|
+
<span class='kw'>end</span></pre>
|
242
|
+
</td>
|
243
|
+
</tr>
|
244
|
+
</table>
|
245
|
+
</div>
|
246
|
+
|
247
|
+
</div>
|
248
|
+
|
249
|
+
<div id="instance_attr_details" class="attr_details">
|
250
|
+
<h2>Instance Attribute Details</h2>
|
251
|
+
|
252
|
+
|
253
|
+
<span id="bitprim_transaction=-instance_method"></span>
|
254
|
+
<div class="method_details first">
|
255
|
+
<h3 class="signature first" id="bitprim_transaction-instance_method">
|
256
|
+
|
257
|
+
#<strong>bitprim_transaction</strong> ⇒ <tt>Object</tt>
|
258
|
+
|
259
|
+
|
260
|
+
|
261
|
+
|
262
|
+
|
263
|
+
</h3><div class="docstring">
|
264
|
+
<div class="discussion">
|
265
|
+
Returns the value of attribute bitprim_transaction
|
266
|
+
|
267
|
+
</div>
|
268
|
+
</div>
|
269
|
+
<div class="tags">
|
270
|
+
|
271
|
+
|
272
|
+
</div><table class="source_code">
|
273
|
+
<tr>
|
274
|
+
<td>
|
275
|
+
<pre class="lines">
|
276
|
+
|
277
|
+
|
278
|
+
4
|
279
|
+
5
|
280
|
+
6</pre>
|
281
|
+
</td>
|
282
|
+
<td>
|
283
|
+
<pre class="code"><span class="info file"># File 'lib/keoken/backend/base.rb', line 4</span>
|
284
|
+
|
285
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_bitprim_transaction'>bitprim_transaction</span>
|
286
|
+
<span class='ivar'>@bitprim_transaction</span>
|
287
|
+
<span class='kw'>end</span></pre>
|
288
|
+
</td>
|
289
|
+
</tr>
|
290
|
+
</table>
|
291
|
+
</div>
|
292
|
+
|
293
|
+
|
294
|
+
<span id="inputs=-instance_method"></span>
|
295
|
+
<div class="method_details ">
|
296
|
+
<h3 class="signature " id="inputs-instance_method">
|
297
|
+
|
298
|
+
#<strong>inputs</strong> ⇒ <tt>Object</tt>
|
299
|
+
|
300
|
+
|
301
|
+
|
302
|
+
|
303
|
+
|
304
|
+
</h3><div class="docstring">
|
305
|
+
<div class="discussion">
|
306
|
+
Returns the value of attribute inputs
|
307
|
+
|
308
|
+
</div>
|
309
|
+
</div>
|
310
|
+
<div class="tags">
|
311
|
+
|
312
|
+
|
313
|
+
</div><table class="source_code">
|
314
|
+
<tr>
|
315
|
+
<td>
|
316
|
+
<pre class="lines">
|
317
|
+
|
318
|
+
|
319
|
+
4
|
320
|
+
5
|
321
|
+
6</pre>
|
322
|
+
</td>
|
323
|
+
<td>
|
324
|
+
<pre class="code"><span class="info file"># File 'lib/keoken/backend/base.rb', line 4</span>
|
325
|
+
|
326
|
+
<span class='kw'>def</span> <span class='id identifier rubyid_inputs'>inputs</span>
|
327
|
+
<span class='ivar'>@inputs</span>
|
328
|
+
<span class='kw'>end</span></pre>
|
329
|
+
</td>
|
330
|
+
</tr>
|
331
|
+
</table>
|
332
|
+
</div>
|
333
|
+
|
334
|
+
</div>
|
335
|
+
|
336
|
+
|
337
|
+
</div>
|
338
|
+
|
339
|
+
<div id="footer">
|
340
|
+
Generated on Tue Feb 5 12:51:34 2019 by
|
341
|
+
<a href="http://yardoc.org" title="Yay! A Ruby Documentation Tool" target="_parent">yard</a>
|
342
|
+
0.9.18 (ruby-2.3.3).
|
343
|
+
</div>
|
344
|
+
|
345
|
+
</div>
|
346
|
+
</body>
|
347
|
+
</html>
|