xrbp 0.1.4 → 0.1.5

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: e0ce0d6d6704d00d7fe16278ad96bfd68514f73e7b76486894ae479dee90eef8
4
- data.tar.gz: 149a45a103104f1e5cef4da27d6870ba26f98dcb96a4f7e6e0e1bc18038d7367
3
+ metadata.gz: 9d22207d3716ce82876aa18980ca4a905cefb569b322d332f81a60879ecff900
4
+ data.tar.gz: 66f05eab919c17ef84205a7b16afd0a577bdd7d8b19d3c0f2b8a8a90204d7cd8
5
5
  SHA512:
6
- metadata.gz: ed3630f368f3706c6c87e7031d25a6c3136489d6de8e3c83120c8a638a9e198d376615ed0c2fe7f5dab1f897f6aff6502a0296b0d3e03ea4ec27813d9d62b027
7
- data.tar.gz: f43f8de4dc245cd2b3fe5996fd8a33f5b009ba60ea08858d0e1af9b008a4bfe71855172e734699d32c1b1dc97d853e94285efb4f11a94feac4f2c5b0087754eb
6
+ metadata.gz: 4a1b3a303dce21fff486b306fe95ad5ef930fdc7eaa9331ea2d1c45f28c606d09b6731e96ed326e022873bde6255d67eacc4bddea95df40ee6761cd1314cb096
7
+ data.tar.gz: 9899f54fe7dad90e19f1eec884c55ea8d5d73b7c109dde1b395d3b0908f9b987b9c6fe6ae7604471e4f0ac98d5dbd0c561e528bb0b9e4fccc39f46bfed6d4199
@@ -66,7 +66,7 @@ module XRBP
66
66
  n = new
67
67
 
68
68
  n.addr = p["public_key"]
69
- n.ip = p["ip"]
69
+ n.ip = p["ip"]&.gsub("::ffff:", "")
70
70
  n.port = p["port"] || DEFAULT_CRAWL_PORT
71
71
  n.version = p["version"].split("-").last
72
72
  n.uptime = p["uptime"]
@@ -16,7 +16,9 @@ module XRBP
16
16
  next nil unless id
17
17
 
18
18
  {:id => id,
19
- :domain => v["domain"]}
19
+ :domain => v["domain"],
20
+ :chain => v["chain"],
21
+ :unl => v["unl"]}
20
22
  }.compact
21
23
  end
22
24
  end # class ValidatorParser
data/lib/xrbp/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module XRBP
2
- VERSION = '0.1.4'
2
+ VERSION = '0.1.5'
3
3
  end # module XRBP
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: xrbp
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.4
4
+ version: 0.1.5
5
5
  platform: ruby
6
6
  authors:
7
7
  - Dev Null Productions
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2019-05-06 00:00:00.000000000 Z
11
+ date: 2019-05-09 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: json
@@ -122,6 +122,20 @@ dependencies:
122
122
  - - "~>"
123
123
  - !ruby/object:Gem::Version
124
124
  version: '0.2'
125
+ - !ruby/object:Gem::Dependency
126
+ name: google-protobuf
127
+ requirement: !ruby/object:Gem::Requirement
128
+ requirements:
129
+ - - "~>"
130
+ - !ruby/object:Gem::Version
131
+ version: '3.6'
132
+ type: :runtime
133
+ prerelease: false
134
+ version_requirements: !ruby/object:Gem::Requirement
135
+ requirements:
136
+ - - "~>"
137
+ - !ruby/object:Gem::Version
138
+ version: '3.6'
125
139
  - !ruby/object:Gem::Dependency
126
140
  name: rspec
127
141
  requirement: !ruby/object:Gem::Requirement