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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: f40bfd7013e202f01779a9f96f9df369a1a97d5b
4
- data.tar.gz: 4c8a2b4331229e5e4fd1c683e936d32a43415e83
3
+ metadata.gz: 32a943f7d66d072c193ed05df46a45e007ed241f
4
+ data.tar.gz: 3b6c28b781b1d6ff68ff2b013e758f24dcf34ee8
5
5
  SHA512:
6
- metadata.gz: 470a4dc281e01160f3c2f02fd6ce86c15f3ce849b014a845ddd2f0eb2409b02a15534007612a1ce3075ccd04b80dba2d54359ff9de84b772179c323f637d2fb3
7
- data.tar.gz: ddf4f97347e70b48ec9d458627fb8b39ba88c99519e6d34f0f2408bb4b8d9fc03b5c33f9850d8e37ae0854e692346c352df8a95c5a1187dce19c2d1e7b954998
6
+ metadata.gz: 05c0222105e09de9a3b796ebd6bb50519df45491c04fb1cf9ba0c0df79e08851f474bc85ed33add7e3c59467ae86ffd3debc49306b354ecbc67d0760d659a030
7
+ data.tar.gz: f086c8eca5e7a3dc72e55d5d7e5a1628d44323dcfe11de82a68f9e68c4c6bad037af0fa7835b6557c8422eab60399b96eeee6da4e5cb1603a8ac9cdd9da8562e
@@ -2,7 +2,10 @@ require 'socket'
2
2
 
3
3
  module Zipkin
4
4
  class Endpoint
5
- LOCAL_IP = Socket.ip_address_list.detect(&:ipv4_private?).ip_address
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
  {
@@ -4,7 +4,7 @@ $LOAD_PATH.unshift(lib) unless $LOAD_PATH.include?(lib)
4
4
 
5
5
  Gem::Specification.new do |spec|
6
6
  spec.name = 'zipkin'
7
- spec.version = '0.4.0'
7
+ spec.version = '0.4.1'
8
8
  spec.authors = ['SaleMove TechMovers']
9
9
  spec.email = ['techmovers@salemove.com']
10
10
 
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.0
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-14 00:00:00.000000000 Z
11
+ date: 2017-08-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler