tasks_scheduler 0.2.2 → 0.2.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/exe/tasks_scheduler +4 -2
- data/lib/tasks_scheduler/version.rb +1 -1
- metadata +26 -26
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7ffe5fd69eab67510ab378506158799d08b21d4577ed368ddbadf12cfb0a6957
|
4
|
+
data.tar.gz: e471eaeb074d10557c8c3bd55dff0d8bbd0a9e1b83723d28f6255b2b2907fe29
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 435c0e3aa4e1c7a721933b6a47bd3b72f33ab51d5a5c67323cee7a179c2aef731bc6a39119763fa169c064670883a50728703c1ad37614c9d7996ba7b7993336
|
7
|
+
data.tar.gz: 9112b3ad93fd00dfc3d10d8487befc0c698461d046a8fdeead98611c86ecdd0d4f44dcb929864fa53e95fcf409fedd9eefcd85abe7ccf0817269f44d50b2b3df
|
data/exe/tasks_scheduler
CHANGED
@@ -14,6 +14,8 @@ rails_root = find_rails_root
|
|
14
14
|
dir = File.expand_path('tmp/pids', rails_root)
|
15
15
|
FileUtils.mkdir_p(dir)
|
16
16
|
Daemons.run_proc 'tasks_scheduler', dir_mode: :normal, dir: dir do
|
17
|
-
|
18
|
-
|
17
|
+
::Dir.chdir(rails_root) do
|
18
|
+
require File.join(rails_root, 'config', 'environment')
|
19
|
+
::TasksScheduler::Checker.instance.run
|
20
|
+
end
|
19
21
|
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: tasks_scheduler
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.2.
|
4
|
+
version: 0.2.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Eduardo H. Bogoni
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-
|
11
|
+
date: 2019-07-02 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: active_scaffold
|
@@ -207,41 +207,41 @@ signing_key:
|
|
207
207
|
specification_version: 4
|
208
208
|
summary: Scheduler for Rake tasks.
|
209
209
|
test_files:
|
210
|
-
- test/
|
211
|
-
- test/dummy/README.rdoc
|
212
|
-
- test/dummy/config.ru
|
213
|
-
- test/dummy/config/boot.rb
|
214
|
-
- test/dummy/config/database.yml
|
215
|
-
- test/dummy/config/secrets.yml
|
216
|
-
- test/dummy/config/locales/en.yml
|
217
|
-
- test/dummy/config/application.rb
|
218
|
-
- test/dummy/config/environments/development.rb
|
219
|
-
- test/dummy/config/environments/test.rb
|
220
|
-
- test/dummy/config/environments/production.rb
|
221
|
-
- test/dummy/config/environment.rb
|
210
|
+
- test/models/scheduled_task_test.rb
|
222
211
|
- test/dummy/config/routes.rb
|
223
212
|
- test/dummy/config/initializers/assets.rb
|
224
213
|
- test/dummy/config/initializers/cookies_serializer.rb
|
225
|
-
- test/dummy/config/initializers/inflections.rb
|
226
214
|
- test/dummy/config/initializers/session_store.rb
|
215
|
+
- test/dummy/config/initializers/backtrace_silencers.rb
|
227
216
|
- test/dummy/config/initializers/wrap_parameters.rb
|
228
217
|
- test/dummy/config/initializers/filter_parameter_logging.rb
|
229
|
-
- test/dummy/config/initializers/
|
218
|
+
- test/dummy/config/initializers/inflections.rb
|
230
219
|
- test/dummy/config/initializers/mime_types.rb
|
231
|
-
- test/dummy/
|
232
|
-
- test/dummy/
|
233
|
-
- test/dummy/
|
234
|
-
- test/dummy/
|
235
|
-
- test/dummy/
|
236
|
-
- test/dummy/
|
237
|
-
- test/dummy/
|
238
|
-
- test/dummy/
|
220
|
+
- test/dummy/config/database.yml
|
221
|
+
- test/dummy/config/secrets.yml
|
222
|
+
- test/dummy/config/locales/en.yml
|
223
|
+
- test/dummy/config/environment.rb
|
224
|
+
- test/dummy/config/boot.rb
|
225
|
+
- test/dummy/config/application.rb
|
226
|
+
- test/dummy/config/environments/production.rb
|
227
|
+
- test/dummy/config/environments/test.rb
|
228
|
+
- test/dummy/config/environments/development.rb
|
229
|
+
- test/dummy/Rakefile
|
239
230
|
- test/dummy/public/favicon.ico
|
231
|
+
- test/dummy/public/404.html
|
240
232
|
- test/dummy/public/500.html
|
241
|
-
- test/dummy/
|
233
|
+
- test/dummy/public/422.html
|
234
|
+
- test/dummy/config.ru
|
235
|
+
- test/dummy/app/assets/stylesheets/application.css
|
236
|
+
- test/dummy/app/assets/javascripts/application.js
|
237
|
+
- test/dummy/app/helpers/application_helper.rb
|
238
|
+
- test/dummy/app/views/layouts/application.html.erb
|
239
|
+
- test/dummy/app/controllers/application_controller.rb
|
242
240
|
- test/dummy/bin/setup
|
241
|
+
- test/dummy/bin/bundle
|
243
242
|
- test/dummy/bin/rails
|
244
243
|
- test/dummy/bin/rake
|
244
|
+
- test/dummy/db/schema.rb
|
245
|
+
- test/dummy/README.rdoc
|
245
246
|
- test/test_helper.rb
|
246
247
|
- test/fixtures/scheduled_tasks.yml
|
247
|
-
- test/models/scheduled_task_test.rb
|