logstash-filter-fix_protocol 0.3.2 → 0.3.3
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 +5 -5
- data/lib/logstash/filters/fix_message.rb +2 -2
- data/logstash-filter-fix_protocol.gemspec +2 -2
- data/spec/filters/fix_message_spec.rb +1 -1
- metadata +11 -5
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
|
-
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
2
|
+
SHA256:
|
|
3
|
+
metadata.gz: dda9baf9205bd95ca72f3220cde90b47b006e51def0333ef6f9ba8e332d670f9
|
|
4
|
+
data.tar.gz: ec5135c9f211a0aab551104c1531cb144a0327450e78ac34cb5487f114db93ea
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 757717846681934458f012e64b23c448625e2a2574c0a64847ef8fa79d87cb633f60d1c94492047f3d3ee9692861be27ddb5df7ff8d8a2d82723d05b7b94eccc
|
|
7
|
+
data.tar.gz: 20c8f7470fc8ccfd1905f399089abe03cc77f15932942597fcd32c4e522a5431ec412704a3d8a751c0c7f0e9eb3290bb3ad7a96d8ef2baa6cb78c068c16a9176
|
|
@@ -32,8 +32,8 @@ module LogStash
|
|
|
32
32
|
|
|
33
33
|
def field_type(tag)
|
|
34
34
|
@all_dictionaries.each do |dd|
|
|
35
|
-
enum = dd.
|
|
36
|
-
value = enum.
|
|
35
|
+
enum = dd.get_field_type(tag)
|
|
36
|
+
value = enum.name unless enum.nil?
|
|
37
37
|
return value if value.present?
|
|
38
38
|
end
|
|
39
39
|
end
|
|
@@ -5,7 +5,7 @@ require 'logstash/filters/version'
|
|
|
5
5
|
|
|
6
6
|
Gem::Specification.new do |s|
|
|
7
7
|
s.name = "logstash-filter-fix_protocol"
|
|
8
|
-
s.version = "0.3.
|
|
8
|
+
s.version = "0.3.3"
|
|
9
9
|
s.authors = ["Connamara Systems"]
|
|
10
10
|
s.email = ["info@connamara.com"]
|
|
11
11
|
|
|
@@ -31,7 +31,7 @@ Gem::Specification.new do |s|
|
|
|
31
31
|
end
|
|
32
32
|
s.add_runtime_dependency "logstash-input-generator"
|
|
33
33
|
s.add_runtime_dependency "activesupport"
|
|
34
|
-
s.add_runtime_dependency "quickfix-jruby"
|
|
34
|
+
s.add_runtime_dependency "quickfix-jruby", '~> 1.6', '>= 1.6.5'
|
|
35
35
|
|
|
36
36
|
s.add_development_dependency "logstash-devutils"
|
|
37
37
|
s.add_development_dependency "bundler", "~> 1.8"
|
|
@@ -2,7 +2,7 @@ require 'spec_helper'
|
|
|
2
2
|
|
|
3
3
|
describe LF::FixMessage do
|
|
4
4
|
let(:message_str) { "8=FIXT.1.1\x0135=8\x0149=ITG\x0156=SILO\x01315=8\x016=100.25\x01410=50.25\x01424=23.45\x01411=Y\x0143=N\x0140=1\x015=N\x01" }
|
|
5
|
-
let(:another_str) { "8=FIXT.1.1\x0135=B\x0149=ITG\x0156=SILO\x01148=Market Bulls Have Short Sellers on the Run\x0133=2\x0158=The bears have been cowed by the bulls.\x0158=Buy buy buy\x01354=0\
|
|
5
|
+
let(:another_str) { "8=FIXT.1.1\x0135=B\x0149=ITG\x0156=SILO\x0140=1\x015=N\x0143=N\x01148=Market Bulls Have Short Sellers on the Run\x0133=2\x0158=The bears have been cowed by the bulls.\x0158=Buy buy buy\x01354=0\x01" }
|
|
6
6
|
|
|
7
7
|
let(:data_dictionary) { LF::DataDictionary.new(load_fixture("FIX50SP1.xml")) }
|
|
8
8
|
let(:session_dictionary) { LF::DataDictionary.new(load_fixture("FIXT11.xml")) }
|
metadata
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: logstash-filter-fix_protocol
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.3.
|
|
4
|
+
version: 0.3.3
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Connamara Systems
|
|
8
8
|
autorequire:
|
|
9
9
|
bindir: bin
|
|
10
10
|
cert_chain: []
|
|
11
|
-
date: 2017-
|
|
11
|
+
date: 2017-09-15 00:00:00.000000000 Z
|
|
12
12
|
dependencies:
|
|
13
13
|
- !ruby/object:Gem::Dependency
|
|
14
14
|
requirement: !ruby/object:Gem::Requirement
|
|
@@ -55,17 +55,23 @@ dependencies:
|
|
|
55
55
|
- !ruby/object:Gem::Dependency
|
|
56
56
|
requirement: !ruby/object:Gem::Requirement
|
|
57
57
|
requirements:
|
|
58
|
+
- - "~>"
|
|
59
|
+
- !ruby/object:Gem::Version
|
|
60
|
+
version: '1.6'
|
|
58
61
|
- - ">="
|
|
59
62
|
- !ruby/object:Gem::Version
|
|
60
|
-
version:
|
|
63
|
+
version: 1.6.5
|
|
61
64
|
name: quickfix-jruby
|
|
62
65
|
prerelease: false
|
|
63
66
|
type: :runtime
|
|
64
67
|
version_requirements: !ruby/object:Gem::Requirement
|
|
65
68
|
requirements:
|
|
69
|
+
- - "~>"
|
|
70
|
+
- !ruby/object:Gem::Version
|
|
71
|
+
version: '1.6'
|
|
66
72
|
- - ">="
|
|
67
73
|
- !ruby/object:Gem::Version
|
|
68
|
-
version:
|
|
74
|
+
version: 1.6.5
|
|
69
75
|
- !ruby/object:Gem::Dependency
|
|
70
76
|
requirement: !ruby/object:Gem::Requirement
|
|
71
77
|
requirements:
|
|
@@ -197,7 +203,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
197
203
|
version: '0'
|
|
198
204
|
requirements: []
|
|
199
205
|
rubyforge_project:
|
|
200
|
-
rubygems_version: 2.
|
|
206
|
+
rubygems_version: 2.6.13
|
|
201
207
|
signing_key:
|
|
202
208
|
specification_version: 4
|
|
203
209
|
summary: FIX Protocol Logstash Filter
|