mtr_monitor 0.14.0 → 0.14.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: 73a181cc6a8de48749185ba9754fac177d23a521
4
- data.tar.gz: 69e889ab6f97437fd3af5dc41f04c08175477964
3
+ metadata.gz: 9795b0a099078402e4348409e0a176a902da2a47
4
+ data.tar.gz: 47b9ff485612c6a62de9fba7dd3fb5b133c1162c
5
5
  SHA512:
6
- metadata.gz: cce3af5c5b57ed6788ad004cbdd1601960845c5ea0b3a7c852ea4b1548d2ef9bfe5715d1e03d4c725d078f0ed56c164f727af04b039b95fe935f1c20720e5a5c
7
- data.tar.gz: b64090ba0a9b55b42dc4ca0c8a8e3179bd54e50e5c59c0148dab07ebc17d717bd6e3f98244a0bf36a95e1ac5b2a92184814e28909ad43981ae81a251d0f92760
6
+ metadata.gz: a7e60d238ed1a35e7453b4bd09b35ea26e39708a786b2b8c732671bd177bb208dcc74b415194d06d1f2f343f442c9c1facbd25b40bb7fa660a013f58862ea8f0
7
+ data.tar.gz: 4d9c1599054f099b4cdb0e0635c42eaa495c562b0c6241bf009ab3105fcb02ca78ea3b94d5415253db6a1b16257fcd980fc4795e7860968eb2d26733d20dab77
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- mtr_monitor (0.14.0)
4
+ mtr_monitor (0.14.1)
5
5
  rt-watchman (~> 0.10.0)
6
6
 
7
7
  GEM
@@ -1,3 +1,3 @@
1
1
  module MtrMonitor
2
- VERSION = "0.14.0"
2
+ VERSION = "0.14.1"
3
3
  end
data/lib/mtr_monitor.rb CHANGED
@@ -42,13 +42,7 @@ module MtrMonitor
42
42
  @dig_ip_address = dig_ip_address
43
43
  @logger = logger || Logger.new(STDOUT)
44
44
 
45
- path = [
46
- @name,
47
- Time.now.strftime("%Y-%m-%d"),
48
- @host_ip_address.gsub(".", "-"),
49
- Time.now.strftime("%H-%M"),
50
- ".log"
51
- ].join("/")
45
+ path = "#{@name}/#{Time.now.strftime("%Y-%m-%d")}/#{@host_ip_address.gsub(".", "-")}/#{Time.now.strftime("%H-%M")}.log"
52
46
 
53
47
  @log_path = "#{MtrMonitor::REPORTS_PATH}/#{path.gsub("/", "-")}"
54
48
  @s3_path = "s3://#{@s3_bucket}/#{path}"
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: mtr_monitor
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.14.0
4
+ version: 0.14.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - RenderedText DevOps Team