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 +4 -4
- data/README.md +1 -1
- data/lib/consul/async/version.rb +1 -1
- data/samples/consul-ui/decorators.js.erb +1 -1
- data/samples/consul-ui/js/utils.js +3 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: abd96f30234a29f87d9eead907c56d0450072926a6b4c4d5b4904fb60c369fce
|
4
|
+
data.tar.gz: 73c98dcae7acb91da0444f439cddde6d6530e4414d6e3e83577a8ca2a72ce671
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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://
|
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)
|
data/lib/consul/async/version.rb
CHANGED
@@ -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,
|
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.
|
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.
|
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:
|
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
|