mina-whenever-hanami 0.6.0 → 0.6.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/mina/whenever/hanami/tasks.rb +3 -3
- data/lib/mina/whenever/hanami/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: d4f913dc0460917a27cb87d83b758fc743a72bbf7acdc9e87d81b3b0637279ab
|
4
|
+
data.tar.gz: efafbbf08990ae42bc56d9c9734e15ec3d3e5238d3b894dead99000bf4abed3f
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: '00725379319ff3ac5257a265ae913e417aa3de250d90394a9d0917c5aa1fce7d663ff77c2366e5f6a13debf95bf9d0a7a6317eca9d610d006662121e47bc0f7b'
|
7
|
+
data.tar.gz: 871f45d369fa4024b2a868e2132c534fbfcee109d75ab5e522d9bd4d3d2cf3ee4d118fbdfe0f4a51f86fa8aabc71eed20888c91001bee47d5a1166e41ee7e23b
|
@@ -4,7 +4,7 @@ set :bundle_command, "#{fetch(:environment_variable)}='#{fetch(:hanami_env)}' bu
|
|
4
4
|
|
5
5
|
namespace :whenever do
|
6
6
|
desc 'Clear crontab'
|
7
|
-
task :
|
7
|
+
task clear: :remote_environment do
|
8
8
|
comment "Clear contrab for #{fetch(:whenever_name)}"
|
9
9
|
in_path fetch(:current_path) do
|
10
10
|
command "#{fetch(:bundle_bin)} exec whenever --clear-crontab #{fetch(:whenever_name)} --set 'environment=#{fetch(:hanami_env)}&path=#{fetch(:current_path)}'"
|
@@ -12,7 +12,7 @@ namespace :whenever do
|
|
12
12
|
end
|
13
13
|
|
14
14
|
desc 'Update crontab'
|
15
|
-
task :
|
15
|
+
task update: :remote_environment do
|
16
16
|
comment "Update crontab for #{fetch(:whenever_name)}"
|
17
17
|
in_path fetch(:current_path) do
|
18
18
|
command "#{fetch(:bundle_bin)} exec whenever --update-crontab #{fetch(:whenever_name)} --set 'environment=#{fetch(:hanami_env)}&path=#{fetch(:current_path)}'"
|
@@ -20,7 +20,7 @@ namespace :whenever do
|
|
20
20
|
end
|
21
21
|
|
22
22
|
desc 'Write crontab'
|
23
|
-
task :
|
23
|
+
task write: :remote_environment do
|
24
24
|
comment "Write crontab for #{fetch(:whenever_name)}"
|
25
25
|
in_path fetch(:current_path) do
|
26
26
|
command "#{fetch(:bundle_bin)} exec whenever --write-crontab #{fetch(:whenever_name)} --set 'environment=#{fetch(:hanami_env)}&path=#{fetch(:current_path)}'"
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mina-whenever-hanami
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.6.
|
4
|
+
version: 0.6.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- apontini
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-05-
|
11
|
+
date: 2019-05-22 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|