oni 3.1.1 → 3.2.0
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/.gitignore +12 -2
- data/Gemfile.lock +54 -0
- data/lib/oni/daemon.rb +3 -1
- data/lib/oni/version.rb +1 -1
- metadata +4 -4
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 5e99a96dc46db570b1065827caf321fd84ce594a
|
|
4
|
+
data.tar.gz: f503693b9833520c2fb0af1ad727e6e40c84744a
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 899afbc20589b9c182fddd5df27a87b48dbea3148d7fdedbbcd05174c58b0b0a5164400c4a0bdd80562d971a28ba6374e150c1e9b3c038a590c8dc28a7b57b8f
|
|
7
|
+
data.tar.gz: 0f5db4e324ed9172647fbaee4378dcb103f827baafa7026e72069cf465c7978e399b453c054030326480d107200cb369a2c0b448cf9d3251f748b774063156fa
|
data/.gitignore
CHANGED
data/Gemfile.lock
ADDED
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
PATH
|
|
2
|
+
remote: .
|
|
3
|
+
specs:
|
|
4
|
+
oni (3.1.1)
|
|
5
|
+
|
|
6
|
+
GEM
|
|
7
|
+
remote: https://rubygems.org/
|
|
8
|
+
specs:
|
|
9
|
+
aws-sdk-v1 (1.67.0)
|
|
10
|
+
json (~> 1.4)
|
|
11
|
+
nokogiri (~> 1)
|
|
12
|
+
diff-lcs (1.3)
|
|
13
|
+
docile (1.1.5)
|
|
14
|
+
json (1.8.6)
|
|
15
|
+
kramdown (1.15.0)
|
|
16
|
+
mini_portile2 (2.3.0)
|
|
17
|
+
nokogiri (1.8.1)
|
|
18
|
+
mini_portile2 (~> 2.3.0)
|
|
19
|
+
rake (12.1.0)
|
|
20
|
+
rspec (3.6.0)
|
|
21
|
+
rspec-core (~> 3.6.0)
|
|
22
|
+
rspec-expectations (~> 3.6.0)
|
|
23
|
+
rspec-mocks (~> 3.6.0)
|
|
24
|
+
rspec-core (3.6.0)
|
|
25
|
+
rspec-support (~> 3.6.0)
|
|
26
|
+
rspec-expectations (3.6.0)
|
|
27
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
|
28
|
+
rspec-support (~> 3.6.0)
|
|
29
|
+
rspec-mocks (3.6.0)
|
|
30
|
+
diff-lcs (>= 1.2.0, < 2.0)
|
|
31
|
+
rspec-support (~> 3.6.0)
|
|
32
|
+
rspec-support (3.6.0)
|
|
33
|
+
simplecov (0.15.1)
|
|
34
|
+
docile (~> 1.1.0)
|
|
35
|
+
json (>= 1.8, < 3)
|
|
36
|
+
simplecov-html (~> 0.10.0)
|
|
37
|
+
simplecov-html (0.10.2)
|
|
38
|
+
yard (0.9.9)
|
|
39
|
+
|
|
40
|
+
PLATFORMS
|
|
41
|
+
ruby
|
|
42
|
+
|
|
43
|
+
DEPENDENCIES
|
|
44
|
+
aws-sdk-v1
|
|
45
|
+
bundler
|
|
46
|
+
kramdown
|
|
47
|
+
oni!
|
|
48
|
+
rake
|
|
49
|
+
rspec (~> 3.0)
|
|
50
|
+
simplecov
|
|
51
|
+
yard
|
|
52
|
+
|
|
53
|
+
BUNDLED WITH
|
|
54
|
+
1.15.4
|
data/lib/oni/daemon.rb
CHANGED
|
@@ -101,7 +101,9 @@ module Oni
|
|
|
101
101
|
mapper = create_mapper
|
|
102
102
|
input = mapper.map_input(message)
|
|
103
103
|
worker = option(:worker).new(*input)
|
|
104
|
-
output =
|
|
104
|
+
output = Timeout.timeout option :worker_timeout do
|
|
105
|
+
worker.process
|
|
106
|
+
end
|
|
105
107
|
|
|
106
108
|
return mapper.map_output(output)
|
|
107
109
|
end
|
data/lib/oni/version.rb
CHANGED
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: oni
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 3.
|
|
4
|
+
version: 3.2.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Yorick Peterse
|
|
@@ -9,7 +9,7 @@ authors:
|
|
|
9
9
|
autorequire:
|
|
10
10
|
bindir: bin
|
|
11
11
|
cert_chain: []
|
|
12
|
-
date:
|
|
12
|
+
date: 2017-09-26 00:00:00.000000000 Z
|
|
13
13
|
dependencies:
|
|
14
14
|
- !ruby/object:Gem::Dependency
|
|
15
15
|
name: rake
|
|
@@ -119,6 +119,7 @@ files:
|
|
|
119
119
|
- ".travis.yml"
|
|
120
120
|
- ".yardopts"
|
|
121
121
|
- Gemfile
|
|
122
|
+
- Gemfile.lock
|
|
122
123
|
- LICENSE
|
|
123
124
|
- README.md
|
|
124
125
|
- Rakefile
|
|
@@ -168,7 +169,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
|
168
169
|
version: '0'
|
|
169
170
|
requirements: []
|
|
170
171
|
rubyforge_project:
|
|
171
|
-
rubygems_version: 2.
|
|
172
|
+
rubygems_version: 2.6.13
|
|
172
173
|
signing_key:
|
|
173
174
|
specification_version: 4
|
|
174
175
|
summary: Framework for building concurrent daemons in Ruby.
|
|
@@ -181,4 +182,3 @@ test_files:
|
|
|
181
182
|
- spec/oni/wrapped_error_spec.rb
|
|
182
183
|
- spec/spec_helper.rb
|
|
183
184
|
- spec/support/simplecov.rb
|
|
184
|
-
has_rdoc: yard
|