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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 7de1201678c4bcf5b483ea4ba8c646b4502a30ade56628da305809679a38745c
4
- data.tar.gz: 9579f36f09b3ad720509c3059040ba4597c907a8d0077c9542ccf068af2d0434
3
+ metadata.gz: 6d20ea4ee438dc151cb4ac7950f4f1286b5148259bb689e338276358095a83b0
4
+ data.tar.gz: d923a6b139bed91cbf54ceed6dfda50b7272b492865f1e64d67a4f95bbdf4266
5
5
  SHA512:
6
- metadata.gz: 5579117a08a420b89ae94b321c79b539ee6e31ef47d68c87b7267d7d37ee086f608508414edcdd9b67327f364fd31b93acc93c86844a825bd0d7a2d1c9ced165
7
- data.tar.gz: d70758d03a7493f1d5041a4794fd05f5859b24f2571fec6809d9a2f9e98db8f5185e67e4256697533980d70c3547dff274e8b422bd6609bc85b73cc83b3c9916
6
+ metadata.gz: afcce336f531b2ceb43ecdf538a7514d476bc098651c55593a640c8c2d33d0b258a28ef8fcf1995387967521279f457b14c6c260521dbcb10c93a5b089bb491d
7
+ data.tar.gz: ad529b3a3217a646a833ad495565d9282e0c6ce7d918218515b9287a4cf8d6d334bb9b8880239f65df4361de173570febe8e8aa5b26876b4b113eb90fd1c5e05
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- cjsonci (0.1.0)
4
+ cjsonci (0.2.0)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -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)
@@ -1,3 +1,3 @@
1
1
  module CJSONCI
2
- VERSION = "0.1.0"
2
+ VERSION = "0.2.0"
3
3
  end
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.1.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-08-28 00:00:00.000000000 Z
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.6
115
+ rubygems_version: 2.7.7
116
116
  signing_key:
117
117
  specification_version: 4
118
118
  summary: Common JSON Command Interface