messagex 0.1.4 → 0.1.5
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/.gitignore +0 -0
- data/.rspec +0 -0
- data/.rubocop.yml +0 -0
- data/.rubocop_todo.yml +0 -0
- data/.travis.yml +0 -0
- data/Gemfile +0 -0
- data/Gemfile.lock +1 -1
- data/LICENSE.txt +0 -0
- data/README.md +0 -0
- data/Rakefile +0 -0
- data/lib/messagex.rb +5 -3
- data/lib/messagex/exc.rb +0 -0
- data/lib/messagex/loggerx.rb +0 -0
- data/lib/messagex/version.rb +1 -1
- data/messagex.gemspec +0 -0
- 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: 03ad804c74350c2c66f959469e776abd51acd0f278a0405426c19e428a4d4ec4
|
4
|
+
data.tar.gz: 8f33794428e1ea12a1d41ce5bce9a230ae86a9eb711a931395e089097408127a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a167f2f288165e982d2426959c5f28273ec8e9941e0a87284ab81207ee4240fa30abe27539500897632cf5dbd60ebe2440ec69f9e7afc00c385312e7b7eadf43
|
7
|
+
data.tar.gz: 8b95665c25ac290c5f30c31eacea5eea7c7f0d1b46e6c4924da89e8c613397026fff8653accd87a05e65126f28219b4e77c545a62b8afaef49f4a3cc5d5a4d1d
|
data/.gitignore
CHANGED
File without changes
|
data/.rspec
CHANGED
File without changes
|
data/.rubocop.yml
CHANGED
File without changes
|
data/.rubocop_todo.yml
CHANGED
File without changes
|
data/.travis.yml
CHANGED
File without changes
|
data/Gemfile
CHANGED
File without changes
|
data/Gemfile.lock
CHANGED
data/LICENSE.txt
CHANGED
File without changes
|
data/README.md
CHANGED
File without changes
|
data/Rakefile
CHANGED
File without changes
|
data/lib/messagex.rb
CHANGED
@@ -4,6 +4,8 @@ module Messagex
|
|
4
4
|
#
|
5
5
|
# 終了ステータス管理、ログ機能管理のクラス
|
6
6
|
class Messagex
|
7
|
+
require "forwardable"
|
8
|
+
|
7
9
|
extend Forwardable
|
8
10
|
|
9
11
|
# @!method exc
|
@@ -122,7 +124,7 @@ module Messagex
|
|
122
124
|
#
|
123
125
|
# 終了ステータスの値の自動割り当て
|
124
126
|
#
|
125
|
-
# @param
|
127
|
+
# @param str [String] 値の自動割り当て対象の終了ステータスの識別名
|
126
128
|
# @return [Integer] 自動割り当てされた終了ステータスの値
|
127
129
|
def add_exitcode(str)
|
128
130
|
return if @exit_code[str]
|
@@ -198,9 +200,9 @@ module Messagex
|
|
198
200
|
end
|
199
201
|
|
200
202
|
#
|
201
|
-
#
|
203
|
+
# 例外処理
|
202
204
|
#
|
203
|
-
# @param
|
205
|
+
# @param exception [Exception] 発生した例外
|
204
206
|
# @return [void]
|
205
207
|
def output_exception(exception)
|
206
208
|
output_fatal(exception.class)
|
data/lib/messagex/exc.rb
CHANGED
File without changes
|
data/lib/messagex/loggerx.rb
CHANGED
File without changes
|
data/lib/messagex/version.rb
CHANGED
data/messagex.gemspec
CHANGED
File without changes
|
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.5
|
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-
|
11
|
+
date: 2019-08-29 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|