mtr_monitor 1.2.1 → 1.3.0

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: 9c1ae91ed9bd4cc5cdace5a8e2e348a80138401e
4
- data.tar.gz: ca8a306ea9aa87dd6ffd919cded83c4ef83d11cb
3
+ metadata.gz: ff6b4c4b726106fd0654fbc8ef65b25a9ba9a93e
4
+ data.tar.gz: 1bd6f6c3f5719f6f47b954330e4ee09ead71890b
5
5
  SHA512:
6
- metadata.gz: 8e071b79a6e14c86bafbf82d63d2fceb2e048cc8b5be46551cde6bdc9f0200e296b2d7784baabc757dd279a630413d34efe3ce51ff2332acb446f23b96dc0242
7
- data.tar.gz: 9f84f8bec6b0443e68631ec13689d4a5b5f5a35b5fc02cb2a18c1e80d148d8a22e80522208a4711403843638bdf3733b977c4d763fddbe057ddd78e404f97022
6
+ metadata.gz: d86b880cf3dc19fa7a9b50f1c2cceddb7cc876c61337d2ff4e435bcf73fe8ec8ba37398bffa9e720658f0a9698007c6cb23492c51323d20e4099e4f3b5f7ff81
7
+ data.tar.gz: 5b97dad3d6c818c79027c901b7f67ef0a11a44dc72cf1ad03b4f222482640a1e7f839ab7148b322759a423bf777716b9fc3f24931fae6971857f5614e5fa5602
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- mtr_monitor (1.2.1)
4
+ mtr_monitor (1.3.0)
5
5
  logdna
6
6
  rt-watchman (~> 0.10.0)
7
7
 
@@ -1,3 +1,3 @@
1
1
  module MtrMonitor
2
- VERSION = "1.2.1"
2
+ VERSION = "1.3.0"
3
3
  end
data/lib/mtr_monitor.rb CHANGED
@@ -56,11 +56,11 @@ module MtrMonitor
56
56
  end
57
57
 
58
58
  def local_log_path
59
- "#{MtrMonitor::LOCAL_REPORTS_DIR}/#{path.gsub("/", "-")}"
59
+ "#{MtrMonitor::LOCAL_REPORTS_DIR}/#{path.gsub("/", "__")}"
60
60
  end
61
61
 
62
62
  def path
63
- "#{@name}/#{@created_at.strftime("%Y-%m-%d")}/#{@host_ip_address.gsub(".", "-")}/#{@domain}/#{@created_at.strftime("%H-%M")}.log"
63
+ "#{@name}/#{@created_at.strftime("%Y-%m-%d_%H-%M")}/#{@host_ip_address.gsub(".", "-")}_to_#{@domain.gsub(".", "-")}.log"
64
64
  end
65
65
 
66
66
  def generate
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: 1.2.1
4
+ version: 1.3.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - RenderedText DevOps Team