consul-templaterb 1.33.2 → 1.34.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
  SHA256:
3
- metadata.gz: f55651aacf74759dde1f529be4cb482568b0272067b5b208ff4268828cbfce6b
4
- data.tar.gz: f22a2c679bcaf2a79a1d70f2d375d1707a5a2e58ae99f9186f10d97615b24303
3
+ metadata.gz: abd96f30234a29f87d9eead907c56d0450072926a6b4c4d5b4904fb60c369fce
4
+ data.tar.gz: 73c98dcae7acb91da0444f439cddde6d6530e4414d6e3e83577a8ca2a72ce671
5
5
  SHA512:
6
- metadata.gz: 1b10810197fc2c882d09723203d47c62f6aaed2a94cd463a939e4b9ab34b75c0e3c2f8b2c702bc999dd5e37bd86d1b727f17268f7029b66f0ac75211843340ba
7
- data.tar.gz: cbbec34b47aa8230846ff21dbeb247928519d65f058cded7cf29f76df225fa8148bcb99d3d842e1951a782c992e355b37628b83505c5dd705831d1b7ce49ac6f
6
+ metadata.gz: 9edd80c1aba81b6ad0a563bcb8e55c01e0a3351ee0569e991eb045e2cf17651cabeb8a1d28851f2a6560276a4e4f1300390f6d432f6f257caae2a1f616478f9e
7
+ data.tar.gz: d16c4af125b6410ff8bf33ee143e7576e66d78854a84b35eb13ff6feca90c825dda5886b694d04512c6d37f71e8af8c92270ce6bfb3643b6653d00f249cb951f
data/README.md CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  [![Build Status](https://github.com/criteo/consul-templaterb/workflows/Ruby/badge.svg?branch=master)](https://github.com/criteo/consul-templaterb/actions?query=branch%3Amaster)
4
4
  [![Gem Version](https://badge.fury.io/rb/consul-templaterb.svg)](http://github.com/criteo/consul-templaterb/releases)
5
- [![GEM Downloads](https://ruby-gem-downloads-badge.herokuapp.com/consul-templaterb?type=total&metric=true)](https://rubygems.org/gems/consul-templaterb)
5
+ [![GEM Downloads](https://img.shields.io/gem/dt/consul-templaterb.svg)](https://rubygems.org/gems/consul-templaterb)
6
6
  [![License](https://img.shields.io/badge/license-ApacheV2-yellowgreen.svg)](#license)
7
7
 
8
8
  The ruby GEM [consul-templaterb](https://rubygems.org/gems/consul-templaterb)
@@ -1,5 +1,5 @@
1
1
  module Consul
2
2
  module Async
3
- VERSION = '1.33.2'.freeze
3
+ VERSION = '1.34.1'.freeze
4
4
  end
5
5
  end
@@ -39,7 +39,7 @@ function usefullLinksGenerator(instance, serviceName, node_meta_info) {
39
39
  /**
40
40
  * createNodeDisplayElement resolves and displays the node name.
41
41
  */
42
- function createNodeDisplayElement(nodeName, nodemeta) {
42
+ function createNodeDisplayElement(nodeName, _nodemeta, _instanceFqdn) {
43
43
  return document.createTextNode(nodeName);
44
44
  }
45
45
 
@@ -34,7 +34,7 @@ function padDateUnit(x) {
34
34
  }
35
35
 
36
36
  function formatDate(date) {
37
- return padDateUnit(date.getMonth() + 1) + "/" + padDateUnit(date.getDate()) + " " + padDateUnit(date.getHours()) + ':' + padDateUnit(date.getMinutes()) + ':' + padDateUnit(date.getSeconds());
37
+ return padDateUnit(date.getUTCMonth() + 1) + "/" + padDateUnit(date.getUTCDate()) + " " + padDateUnit(date.getUTCHours()) + ':' + padDateUnit(date.getUTCMinutes()) + ':' + padDateUnit(date.getUTCSeconds()) + " UTC";
38
38
  }
39
39
 
40
40
  function indexOfTimelineEvent(e) {
@@ -87,7 +87,7 @@ function serviceTitleGenerator(instance, serviceName, node_info) {
87
87
  }
88
88
 
89
89
  var nodemeta = (node_info != null) ? node_info.meta : null;
90
- instanceLink.appendChild(createNodeDisplayElement(instance.name, nodemeta));
90
+ instanceLink.appendChild(createNodeDisplayElement(instance.name, nodemeta, instance?.sMeta?.fqdn));
91
91
  instanceLink.appendChild(document.createTextNode(appendPort));
92
92
 
93
93
  const nodeInfo = document.createElement('a');
@@ -493,4 +493,4 @@ function updateURL(arg, value) {
493
493
  }
494
494
 
495
495
  window.history.pushState({}, "", newUrl);
496
- }
496
+ }
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: consul-templaterb
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.33.2
4
+ version: 1.34.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - SRE Core Services
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2022-08-04 00:00:00.000000000 Z
11
+ date: 2023-02-17 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: em-http-request