marathon-template 0.0.8 → 0.0.9

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: 77fe2d6c3ca6b3012424241494522beb2438014f
4
- data.tar.gz: 4a9a4fd5d97b14461454026ddb9a4dbb832bdb8e
3
+ metadata.gz: 37c91f7a6747113bb782bf70d58268004c547037
4
+ data.tar.gz: 14ed3073c1881891ab9d5e51ffb5ecde7c9ac246
5
5
  SHA512:
6
- metadata.gz: 6c720a8d6835e2bb062a1bbe4e73e70da33c2136c5e64e3adf66faa339c502017471acf639f7a9bbd35fc915670c1cd1af92625345a7756f78cb06a9ff18d5fa
7
- data.tar.gz: 0b091b7ea53f78509ed87fdbd8e87e00e155073db4cadba3776cb75f1f998251b8020f348ebfa90eeff3625bd92a30ca211f02a15429dd588af5d94aa3015ed6
6
+ metadata.gz: 3b5698575e0d4736dd3fb51cd592528bc742c483f94ba242d52b6b8562f4237569ccfc016a478a9a44089d2b7e768b4eb810ba9ca833f383a20b23ff54b7aa43
7
+ data.tar.gz: 0ed5014331e5bc57c232a30e24baaf7fc18148f83941ace001cc8450de3caa5240a3c076dff11d9421e03d88d951b6b8b7bf2b0ee4ab49b39491e019bd79ff25
@@ -10,13 +10,13 @@ module Marathon_template
10
10
  else
11
11
  File.open('/etc/crontab', 'a') do |w|
12
12
  LOG.info "Appending #{CONFIG[:cron_splay]} to /etc/crontab"
13
- w.write CONFIG[:cron_splay]
13
+ w.write "#{CONFIG[:cron_splay]}\n"
14
14
  end
15
15
  end
16
16
  else
17
17
  LOG.info "No crontab found, creating and adding #{CONFIG[:cron_splay]}"
18
18
  File.open('/etc/crontab', 'wb') do |w|
19
- w.write CONFIG[:cron_splay]
19
+ w.write "#{CONFIG[:cron_splay]}\n"
20
20
  end
21
21
  end
22
22
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: marathon-template
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.8
4
+ version: 0.0.9
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jeff Malnick