fleiss 0.1.2 → 0.1.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +2 -2
- data/fleiss.gemspec +1 -1
- data/lib/fleiss/cli.rb +4 -1
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 45bf4b9f2a7a9d88cbdd4feb8fb2992d6545554695c791a1f327a5a26da3e53d
|
4
|
+
data.tar.gz: 4434eac634c36952365be272f5f8327462577db2cc338c97b1f242f2f59d14bf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: d008669212582e7e5190ee0901024555c5031d0295b934d08dd91508d0b83251ea7790540c0e4d8339cae15b6aa9c6c043d5fc39eaa18bc5a696a30e23bc4a0f
|
7
|
+
data.tar.gz: fc3f5555a6290abebd712e545172fea30eb4be0074da2eb86bc1cb136216af563054111d45599f2e9ddb3560a94c00256e7a8d00b3f7b69e849d39264911131d
|
data/Gemfile.lock
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
PATH
|
2
2
|
remote: .
|
3
3
|
specs:
|
4
|
-
fleiss (0.1.
|
4
|
+
fleiss (0.1.3)
|
5
5
|
activejob (>= 5.0)
|
6
6
|
activerecord (>= 5.0)
|
7
7
|
concurrent-ruby
|
@@ -29,7 +29,7 @@ GEM
|
|
29
29
|
diff-lcs (1.3)
|
30
30
|
globalid (0.4.1)
|
31
31
|
activesupport (>= 4.2.0)
|
32
|
-
i18n (1.
|
32
|
+
i18n (1.2.0)
|
33
33
|
concurrent-ruby (~> 1.0)
|
34
34
|
jaro_winkler (1.5.1)
|
35
35
|
minitest (5.11.3)
|
data/fleiss.gemspec
CHANGED
data/lib/fleiss/cli.rb
CHANGED
@@ -46,11 +46,14 @@ module Fleiss
|
|
46
46
|
opts[:require].each {|n| require n }
|
47
47
|
require 'fleiss/worker'
|
48
48
|
|
49
|
+
logdev = opts[:logfile]
|
50
|
+
logdev.sync = true if logdev.respond_to?(:sync=)
|
51
|
+
|
49
52
|
Fleiss::Worker.run \
|
50
53
|
queues: opts[:queues],
|
51
54
|
concurrency: opts[:concurrency],
|
52
55
|
wait_time: opts[:wait_time],
|
53
|
-
logger: Logger.new(
|
56
|
+
logger: Logger.new(logdev)
|
54
57
|
end
|
55
58
|
|
56
59
|
def parser # rubocop:disable Metrics/MethodLength
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: fleiss
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.1.
|
4
|
+
version: 0.1.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Black Square Media Ltd
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-12-
|
11
|
+
date: 2018-12-19 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: activejob
|
@@ -201,7 +201,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
201
201
|
version: '0'
|
202
202
|
requirements: []
|
203
203
|
rubyforge_project:
|
204
|
-
rubygems_version: 2.7.
|
204
|
+
rubygems_version: 2.7.7
|
205
205
|
signing_key:
|
206
206
|
specification_version: 4
|
207
207
|
summary: Minimialist background jobs backed by ActiveJob and ActiveRecord.
|