cjsonci 0.1.0 → 0.2.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/cjsonci/servant.rb +12 -0
- data/lib/cjsonci/version.rb +1 -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: 6d20ea4ee438dc151cb4ac7950f4f1286b5148259bb689e338276358095a83b0
|
4
|
+
data.tar.gz: d923a6b139bed91cbf54ceed6dfda50b7272b492865f1e64d67a4f95bbdf4266
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: afcce336f531b2ceb43ecdf538a7514d476bc098651c55593a640c8c2d33d0b258a28ef8fcf1995387967521279f457b14c6c260521dbcb10c93a5b089bb491d
|
7
|
+
data.tar.gz: ad529b3a3217a646a833ad495565d9282e0c6ce7d918218515b9287a4cf8d6d334bb9b8880239f65df4361de173570febe8e8aa5b26876b4b113eb90fd1c5e05
|
data/Gemfile.lock
CHANGED
data/lib/cjsonci/servant.rb
CHANGED
@@ -39,6 +39,18 @@ module CJSONCI
|
|
39
39
|
rescue Exception => ex
|
40
40
|
eval_result = ex
|
41
41
|
end
|
42
|
+
|
43
|
+
case eval_result.class.name
|
44
|
+
when "SignalException"
|
45
|
+
case eval_result.message
|
46
|
+
when "SIGTERM"
|
47
|
+
exit 0
|
48
|
+
end
|
49
|
+
when "SystemExit"
|
50
|
+
exit 0
|
51
|
+
end
|
52
|
+
|
53
|
+
eval_result
|
42
54
|
end
|
43
55
|
|
44
56
|
def self.format_message(result)
|
data/lib/cjsonci/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: cjsonci
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.2.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Matti Paksula
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-
|
11
|
+
date: 2018-12-05 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -112,7 +112,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
112
112
|
version: '0'
|
113
113
|
requirements: []
|
114
114
|
rubyforge_project:
|
115
|
-
rubygems_version: 2.7.
|
115
|
+
rubygems_version: 2.7.7
|
116
116
|
signing_key:
|
117
117
|
specification_version: 4
|
118
118
|
summary: Common JSON Command Interface
|