cw_ec2_cm 0.5.0 → 0.6.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: 55d8ce20ee397e309bdfbff818e2c7c3fcc11267
4
- data.tar.gz: 12e14564bc057dab4224ed4f17447ec82e80d3bc
3
+ metadata.gz: 7b8c809ed3b28c7271ba28d8fc1d41d03dd2601c
4
+ data.tar.gz: 77b3cbd3e191bd63d18b4e3a3d021536ece3ca30
5
5
  SHA512:
6
- metadata.gz: 3035933d9a523fada221dd4880cb3a262bc1afb6a29f463b2ec1adefabb319b42384f6a04f42e058ee858518b114f558c3b1d2be4fa39e423f7640ea13486558
7
- data.tar.gz: fe74b82f7b9425bf86b15199dd91a9d6ca304e53996952a2df744387311356a49351e52b7f9e2e111fc888fe1271a4ccc18571bdfe746627dac685d028f83ef5
6
+ metadata.gz: 0d9456caa718fb2901545f3f7c89d7c8f1aebf4f8d5091eca1cdb376f03e3e4cd2fa7c8a204403de0ab5c613d16eefbf5d6f44baefd28f5f204788f478190ac1
7
+ data.tar.gz: 37456cf178c3641565e8859f09d1bc20e8031cac41381d5907c0012ae199d2335fae8348b7848e53da01e3bfa0d4bb7aab9e6d95364afefd6f9d547a0def72ed
@@ -7,9 +7,10 @@ module CwEc2Cm
7
7
  WHENEVER_ID='cw-ec2-cm-schedule'
8
8
  def update_crontab(update_cmd)
9
9
  Tempfile.open(WHENEVER_ID) do |f|
10
+ push_cmd = `which cw-ec2-cm-push`
10
11
  f.write <<-SCHEDULE
11
12
  every 1.minute do
12
- command "cw-ec2-cm-push"
13
+ command '#{push_cmd}'
13
14
  end
14
15
  SCHEDULE
15
16
  f.close
@@ -1,3 +1,3 @@
1
1
  module CwEc2Cm
2
- VERSION = "0.5.0"
2
+ VERSION = "0.6.0"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: cw_ec2_cm
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.5.0
4
+ version: 0.6.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - George Georgiev