tordist 0.1.1 → 0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/tordist/generator.rb +5 -2
- data/lib/tordist/version.rb +1 -1
- data/tordist-0.1.1.gem +0 -0
- metadata +3 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 8284011595f0e408417d88e4b474edd306aac4c7
|
4
|
+
data.tar.gz: 84b94e1533005b7133cef5ad225ccdfcc7698f1f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: f47e70324365b068bdfd7247a787f880ed5312b69c65814b3d55e638e014bb1570786e417776710d12b7ba207973e3fa8f608e5225fe28d3d12ad6c4cf012146
|
7
|
+
data.tar.gz: f85d9cbc6dbe37eca3c63da65a755442ea0f7119471b90fee437e6cbfcfa8f11630e9b83dfd7ae3bb0baeb96cf4546344fcb09cdc67febbddc9e91e4dd15af7d
|
data/Gemfile.lock
CHANGED
data/lib/tordist/generator.rb
CHANGED
@@ -1,5 +1,9 @@
|
|
1
1
|
class Tordist::Generator
|
2
2
|
|
3
|
+
def initialize(clearing_id)
|
4
|
+
@clearing_id = clearing_id
|
5
|
+
end
|
6
|
+
|
3
7
|
def generate(transactions)
|
4
8
|
@transactions = transactions
|
5
9
|
tordist_string = header
|
@@ -11,7 +15,6 @@ class Tordist::Generator
|
|
11
15
|
end
|
12
16
|
|
13
17
|
def body
|
14
|
-
# BBEEF3 0783382000000000680000000000000V216044400001809257C1 +000000000000000
|
15
18
|
body_string = ""
|
16
19
|
@transactions.each do |transaction|
|
17
20
|
@transaction = transaction
|
@@ -27,7 +30,7 @@ class Tordist::Generator
|
|
27
30
|
end
|
28
31
|
|
29
32
|
def header_broker
|
30
|
-
@
|
33
|
+
@clearing_id
|
31
34
|
end
|
32
35
|
|
33
36
|
def symbol
|
data/lib/tordist/version.rb
CHANGED
data/tordist-0.1.1.gem
ADDED
Binary file
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tordist
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.2
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Investtools
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-11-
|
11
|
+
date: 2017-11-28 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -117,6 +117,7 @@ files:
|
|
117
117
|
- lib/tordist/transaction.rb
|
118
118
|
- lib/tordist/version.rb
|
119
119
|
- tordist-0.1.0.gem
|
120
|
+
- tordist-0.1.1.gem
|
120
121
|
- tordist.gemspec
|
121
122
|
homepage: https://github.com/investtools/tordist
|
122
123
|
licenses:
|