mutx 0.1.11 → 0.1.12
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 +4 -4
- data/Gemfile +1 -1
- data/lib/generators/task_rack.rb +15 -0
- data/{cron.rb → lib/generators/templates/cron.rb.tt} +0 -0
- data/{cron_alive.sh → lib/generators/templates/cron_alive.sh.tt} +0 -0
- data/{cronned_task.rb → lib/generators/templates/cronned_task.rb.tt} +1 -1
- data/mutx.gemspec +1 -2
- metadata +19 -5
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 86d107b5d77cbf25f0b8711047abb40b0f0a879e
|
4
|
+
data.tar.gz: 3b03e065da489978f4592d43007943637020a376
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4f129cd9e0e2ddad1641cccc0963a3bd5ff47d2e6663a0e94ed8ed3be521575874ba8b49272f9ef6877623358174e08c8b339043d4050af37e8ee01ec3ef372f
|
7
|
+
data.tar.gz: 5a456f88d3167210bbb7a4d2555a2f59b6ca89868a4cbd8f00382ff1d906d35891ab9d834ab548a920d79ade45827a1ab5e1ddf60a4b9e439cd21d3bf69dd812
|
data/Gemfile
CHANGED
data/lib/generators/task_rack.rb
CHANGED
@@ -73,6 +73,9 @@ module Mutx
|
|
73
73
|
empty_directory "mutx/conf"
|
74
74
|
end
|
75
75
|
|
76
|
+
def creates_mutx_cron_dir
|
77
|
+
empty_directory "mutx/cron"
|
78
|
+
end
|
76
79
|
|
77
80
|
|
78
81
|
def copy_server_file
|
@@ -107,6 +110,18 @@ module Mutx
|
|
107
110
|
template "mutx.log.tt", "#{Dir.pwd}/mutx/logs/mutx.log" unless File.exist? "#{Dir.pwd}/mutx/logs/mutx.log"
|
108
111
|
end
|
109
112
|
|
113
|
+
def copy_mutx_cron_alive
|
114
|
+
template "cron_alive.sh.tt", "#{Dir.pwd}/mutx/cron/cron_alive.sh" unless File.exist? "#{Dir.pwd}/mutx/cron/cron_alive.sh"
|
115
|
+
end
|
116
|
+
|
117
|
+
def copy_mutx_cron
|
118
|
+
template "cron.rb.tt", "#{Dir.pwd}/mutx/cron/cron.rb" unless File.exist? "#{Dir.pwd}/mutx/cron/cron.rb"
|
119
|
+
end
|
120
|
+
|
121
|
+
def copy_mutx_cronned_task
|
122
|
+
template "cronned_task.rb.tt", "#{Dir.pwd}/mutx/cron/cronned_task.rb" unless File.exist? "#{Dir.pwd}/mutx/cron/cronned_task.rb"
|
123
|
+
end
|
124
|
+
|
110
125
|
def copy_sidekiq_log_file
|
111
126
|
template "sidekiq.log.tt", "#{Dir.pwd}/mutx/logs/sidekiq.log" unless File.exist? "#{Dir.pwd}/mutx/logs/sidekiq.log"
|
112
127
|
end
|
File without changes
|
File without changes
|
data/mutx.gemspec
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mutx
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.12
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Roman Rodriguez
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-08-
|
11
|
+
date: 2016-08-09 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: thor
|
@@ -234,6 +234,20 @@ dependencies:
|
|
234
234
|
- - ">="
|
235
235
|
- !ruby/object:Gem::Version
|
236
236
|
version: '0'
|
237
|
+
- !ruby/object:Gem::Dependency
|
238
|
+
name: rufus-scheduler
|
239
|
+
requirement: !ruby/object:Gem::Requirement
|
240
|
+
requirements:
|
241
|
+
- - ">="
|
242
|
+
- !ruby/object:Gem::Version
|
243
|
+
version: '0'
|
244
|
+
type: :runtime
|
245
|
+
prerelease: false
|
246
|
+
version_requirements: !ruby/object:Gem::Requirement
|
247
|
+
requirements:
|
248
|
+
- - ">="
|
249
|
+
- !ruby/object:Gem::Version
|
250
|
+
version: '0'
|
237
251
|
- !ruby/object:Gem::Dependency
|
238
252
|
name: bundler
|
239
253
|
requirement: !ruby/object:Gem::Requirement
|
@@ -293,9 +307,6 @@ files:
|
|
293
307
|
- Rakefile
|
294
308
|
- bin/.DS_Store
|
295
309
|
- bin/mutx
|
296
|
-
- cron.rb
|
297
|
-
- cron_alive.sh
|
298
|
-
- cronned_task.rb
|
299
310
|
- documentation/api.md
|
300
311
|
- documentation/api_execution_data.md
|
301
312
|
- documentation/configuration.md
|
@@ -312,6 +323,9 @@ files:
|
|
312
323
|
- lib/generators/templates/.DS_Store
|
313
324
|
- lib/generators/templates/Gemfile.tt
|
314
325
|
- lib/generators/templates/config.ru.tt
|
326
|
+
- lib/generators/templates/cron.rb.tt
|
327
|
+
- lib/generators/templates/cron_alive.sh.tt
|
328
|
+
- lib/generators/templates/cronned_task.rb.tt
|
315
329
|
- lib/generators/templates/mutx.conf.tt
|
316
330
|
- lib/generators/templates/mutx.log.tt
|
317
331
|
- lib/generators/templates/sidekiq.log.tt
|