mtr_monitor 0.5.0 → 0.5.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: 5f4fc19a4c802efd3bc96fca5ca2f737c0147eb0
4
- data.tar.gz: df11b7d5705fdc2a086702889bec29cf3bcc4c77
3
+ metadata.gz: 3d142d1340651cfbff92f5025f77d7d676074f7e
4
+ data.tar.gz: c76308cee28bc3e09c63980b4d8e71ce73067011
5
5
  SHA512:
6
- metadata.gz: ddb342e7429f1018777e1e98e1e198f31df57e084709f5229686da3937c94a28fb81a93766907c6a9485a7a2f25be2196a24cec23f7dc3462508b9248c64518f
7
- data.tar.gz: 980bb3e934e45d20f729f47710f770e0f5ee8dacf4b14f7a5775ffb047257cf24f6f2874cec3874fc6a27b32371812ffe2b9250bef0639a3dee39477f86c2fc4
6
+ metadata.gz: 2b166329ca5de218c0e3c1641c1c759feb0f50d58511229e373102d47498f1088c811f6b1bb5dfc0b5a349e1f0ae792ef07657723595738799b1176fdfd6bca8
7
+ data.tar.gz: fa79972410e2e683bdd7dd60c8ba5409e54e035b0d2623121a86bec95d82a4c12d20a9c35853c0168dfd810204c1064407df0430861195422f5e92d7975f1f6c
data/Gemfile.lock CHANGED
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- mtr_monitor (0.5.0)
4
+ mtr_monitor (0.5.1)
5
5
  rt-watchman (~> 0.10.0)
6
6
 
7
7
  GEM
data/lib/mtr_monitor.rb CHANGED
@@ -26,8 +26,8 @@ module MtrMonitor
26
26
  puts "S3 Path : #{@s3_path}"
27
27
 
28
28
  run "sudo mkdir -p /var/log/mtr"
29
- run "sudo sh -c 'mtr --report #{@mtr_options} #{@domain} > #{@log_path}'"
30
- run "AWS_ACCESS_KEY_ID='#{@aws_access_key_id}' AWS_SECRET_ACCESS_KEY='#{@aws_secret_access_key}' aws s3 cp #{@log_path} #{@s3_path}"
29
+ run "sudo bash -c 'mtr --report #{@mtr_options} #{@domain} > #{@log_path}'"
30
+ run "AWS_ACCESS_KEY_ID='#{@aws_access_key_id}' AWS_SECRET_ACCESS_KEY='#{@aws_secret_access_key}' bash -c 'aws s3 cp #{@log_path} #{@s3_path}'"
31
31
  end
32
32
 
33
33
  def submit_metrics
@@ -1,3 +1,3 @@
1
1
  module MtrMonitor
2
- VERSION = "0.5.0"
2
+ VERSION = "0.5.1"
3
3
  end
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.5.0
4
+ version: 0.5.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - RenderedText DevOps Team