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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: a386955590d1742849e32e2de7d704fef132fe0c8c6c34be514affdb56423537
4
- data.tar.gz: 76666c405b63c7e1996c91d638eb3dca914d82bbe3a0aee0b90fd5ff8760bf56
3
+ metadata.gz: 03ad804c74350c2c66f959469e776abd51acd0f278a0405426c19e428a4d4ec4
4
+ data.tar.gz: 8f33794428e1ea12a1d41ce5bce9a230ae86a9eb711a931395e089097408127a
5
5
  SHA512:
6
- metadata.gz: 1d44edde11c7dc2229f0a30569ca117a6fd06e79d18630f7ee65169b3d47a40cb74b5a9e78352d9c8567ea42674b1437c767259a796e759e2acd4cfe9e96e080
7
- data.tar.gz: 7cf625ba7aaa239dfe4d425518c144d5733ad86a2fbc76e978064bb421d43fb38422fc2cfdd25f845bef35bb47d0bd6ae97f8737abaf876d3c97342e6a0d532c
6
+ metadata.gz: a167f2f288165e982d2426959c5f28273ec8e9941e0a87284ab81207ee4240fa30abe27539500897632cf5dbd60ebe2440ec69f9e7afc00c385312e7b7eadf43
7
+ data.tar.gz: 8b95665c25ac290c5f30c31eacea5eea7c7f0d1b46e6c4924da89e8c613397026fff8653accd87a05e65126f28219b4e77c545a62b8afaef49f4a3cc5d5a4d1d
data/.gitignore CHANGED
File without changes
data/.rspec CHANGED
File without changes
File without changes
File without changes
File without changes
data/Gemfile CHANGED
File without changes
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- messagex (0.1.4)
4
+ messagex (0.1.5)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
File without changes
data/README.md CHANGED
File without changes
data/Rakefile CHANGED
File without changes
@@ -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 name [String] 値の自動割り当て対象の終了ステータスの識別名
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
- # ログレベルが ERROR のメッセージを出力
203
+ # 例外処理
202
204
  #
203
- # @param msg [String]
205
+ # @param exception [Exception] 発生した例外
204
206
  # @return [void]
205
207
  def output_exception(exception)
206
208
  output_fatal(exception.class)
File without changes
File without changes
@@ -1,4 +1,4 @@
1
1
  module Messagex
2
2
  # バージョン番号
3
- VERSION = "0.1.4"
3
+ VERSION = "0.1.5"
4
4
  end
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
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-06-01 00:00:00.000000000 Z
11
+ date: 2019-08-29 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler