messagex 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 +1 -1
- data/lib/messagex.rb +5 -5
- data/lib/messagex/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1210c621ea510418004082f9d04c88aa3e3a8c4a19245c2b9d0c1b33297f3653
|
4
|
+
data.tar.gz: d37903a15c0cc39a290e8d7fa9e9bcbbeea998571f08bb7be44e3106d601d3bf
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5d322a5618c5f119de53a739e5fda6cb34c54843fccd0cf1b333a9bf937f7999c49eefcdd98e3cc998dd51d1edb3268fc8c69664406c965ed4c5533fd8e7b0c3
|
7
|
+
data.tar.gz: e926d9134224b5e99d138528124f5df3df9016d361f74e0d112e932c85b85506d91ce5adb8a01a355bacad527853310ff14335c58cfed5073c58bccfd551086a
|
data/Gemfile.lock
CHANGED
data/lib/messagex.rb
CHANGED
@@ -59,20 +59,20 @@ module Messagex
|
|
59
59
|
end
|
60
60
|
|
61
61
|
def ec(name)
|
62
|
-
@
|
62
|
+
@exit_code[name]
|
63
63
|
end
|
64
64
|
|
65
65
|
def set_initial_exitcode(name, num)
|
66
|
-
@
|
67
|
-
@
|
66
|
+
@exit_code = {}
|
67
|
+
@exit_code[name] = num
|
68
68
|
@cur_exitcode = num
|
69
69
|
end
|
70
70
|
|
71
71
|
def add_exitcode(str)
|
72
|
-
return if @
|
72
|
+
return if @exit_code[str]
|
73
73
|
|
74
74
|
num = (@cur_exitcode + 1)
|
75
|
-
@
|
75
|
+
@exit_code[str] = num
|
76
76
|
@cur_exitcode = num
|
77
77
|
end
|
78
78
|
|
data/lib/messagex/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: messagex
|
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
|
- yasuo kominami
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2019-05-
|
11
|
+
date: 2019-05-25 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|