crontab_rb 0.2.3 → 0.2.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5b60c0a525c46f023908c26bbe2ea37089d5716e
4
- data.tar.gz: 2f15e35e88fd24da38870480787bfd13786fed87
3
+ metadata.gz: ab17c3a440df6c408cb6f8370fbe53967a561873
4
+ data.tar.gz: 8c5f205eca09a69fa2d84d75c96f95990fea181b
5
5
  SHA512:
6
- metadata.gz: 5b83653cf9035dd3cdc15bf4726bb30c145ee9302c20ffa17efbd2bd767e97351ab22b2354d633fa7a2e44161eb13582744ed2f52fde70480d178f04967c6f75
7
- data.tar.gz: 16492f6abce8b3a0e993fc149ed1d41208cb32cb90f50e236618419bcdc075ee1de168b8e65fb04f0f23d3619673adac218fb48b5ebb4825e8aaa39e5eaf02e5
6
+ metadata.gz: 37d6875b7f85d0deb0f17a5a00b3950e7add1c24147da95af9848ea70d1abf87ced7e912b27a555e2e03af275f4cbd748c4f13c785372c6de31cf5b6c1c2264b
7
+ data.tar.gz: 9fba7f604be23d128146541277f9880d32f662f902ace0370e78b906133f70db92e7208a42004278a783292c77cd1eb11f95016e8fa00e1c5e8b2aa0a28bc643
@@ -5,7 +5,7 @@ module CrontabRb
5
5
  end
6
6
 
7
7
  def initialize
8
- @template = "cd :path && bundle exec bin/rails runner -e production ':command'"
8
+ @template = "cd :path && bundle exec bin/rails runner -e #{Rails.env} ':command' >/dev/null 2>&1"
9
9
  @job_template = "/bin/bash -l -c ':job'"
10
10
  @path = Dir.pwd
11
11
  end
@@ -1,3 +1,3 @@
1
1
  module CrontabRb
2
- VERSION = "0.2.3"
2
+ VERSION = "0.2.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: crontab_rb
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.2.3
4
+ version: 0.2.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Nguyen Anh