zipkin 0.4.0 → 0.4.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/zipkin/endpoint.rb +4 -1
- data/zipkin.gemspec +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 32a943f7d66d072c193ed05df46a45e007ed241f
|
4
|
+
data.tar.gz: 3b6c28b781b1d6ff68ff2b013e758f24dcf34ee8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 05c0222105e09de9a3b796ebd6bb50519df45491c04fb1cf9ba0c0df79e08851f474bc85ed33add7e3c59467ae86ffd3debc49306b354ecbc67d0760d659a030
|
7
|
+
data.tar.gz: f086c8eca5e7a3dc72e55d5d7e5a1628d44323dcfe11de82a68f9e68c4c6bad037af0fa7835b6557c8422eab60399b96eeee6da4e5cb1603a8ac9cdd9da8562e
|
data/lib/zipkin/endpoint.rb
CHANGED
@@ -2,7 +2,10 @@ require 'socket'
|
|
2
2
|
|
3
3
|
module Zipkin
|
4
4
|
class Endpoint
|
5
|
-
LOCAL_IP =
|
5
|
+
LOCAL_IP = (
|
6
|
+
Socket.ip_address_list.detect(&:ipv4_private?) ||
|
7
|
+
Socket.ip_address_list.reverse.detect(&:ipv4?)
|
8
|
+
).ip_address
|
6
9
|
|
7
10
|
def self.local_endpoint(service_name)
|
8
11
|
{
|
data/zipkin.gemspec
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: zipkin
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.4.
|
4
|
+
version: 0.4.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- SaleMove TechMovers
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2017-08-
|
11
|
+
date: 2017-08-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|