ezapi_client 0.4.0 → 0.5.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 10c2d2cd8bad3fad52f1f5c0eeb0a1c57d6de5f1
4
- data.tar.gz: 9b3d0adc8bac74cd5205bb1e23ed9cbe1328bd6e
3
+ metadata.gz: 298d371d9b28dad67b2cabbca8f78725678bfaad
4
+ data.tar.gz: 433db6939b60f08bb7243e39dfa83a6701ba5e7e
5
5
  SHA512:
6
- metadata.gz: 39b6f4c134604674a437009a39e61b6fe4c061e93f3bd08902b3c94edae8667da2b232cc5b7daa7a856b4d7d35272cd5b40a79bdd64e9838c4aa3ee74ff564ae
7
- data.tar.gz: 41d2218fd628182eb7bdceb777c0aec4908bb927917bc0a30fb5a4bcd23bfb79451bdedd009219492a9a8bb37c66c7f7bfb535c364100b80c65a6e6d3457b7d9
6
+ metadata.gz: 6ca8d132ef57a25ca8642c23a0b62eb6ebabe37c76067488c179dea2ccc8fcd25b19e0edac3330d1d6435233924bac9d0c0c23f885d65927cb220dc65245afa0
7
+ data.tar.gz: 760d90804eff9d5caf1ab50c65a323c387d3654d7ab700a245fc59f863400be8786a69cb98a62b43bb543434fc820371c86934282c0eefc66fc23fd8a2b4c3cc
data/CHANGELOG.md CHANGED
@@ -2,6 +2,10 @@
2
2
  All notable changes to this project will be documented in this file.
3
3
  This project adheres to [Semantic Versioning](http://semver.org/).
4
4
 
5
+ ## [0.5.0] - 2017-09-06
6
+ ### Added
7
+ - Set progname in log
8
+
5
9
  ## [0.4.0] - 2017-09-06
6
10
  ### Fixed
7
11
  - Fix formatting of stdout and stderr during command execution
@@ -18,7 +18,9 @@ module EZAPIClient
18
18
  end
19
19
 
20
20
  def call
21
- logger.info(command) if log
21
+ if log
22
+ logger.info(EZAPIClient::LOG_PROGNAME) { command }
23
+ end
22
24
  ExecCommand.(command)
23
25
  end
24
26
 
@@ -1,3 +1,3 @@
1
1
  module EZAPIClient
2
- VERSION = "0.4.0"
2
+ VERSION = "0.5.0"
3
3
  end
data/lib/ezapi_client.rb CHANGED
@@ -28,6 +28,7 @@ require "ezapi_client/schemas/check_transaction_request_schema"
28
28
  module EZAPIClient
29
29
 
30
30
  JAR_PATH = File.join(File.dirname(__FILE__), "ezapi_client/bin/ezapi.jar")
31
+ LOG_PROGNAME = "EZAPIClient"
31
32
 
32
33
  def self.new(opts)
33
34
  client = Client.new(opts)
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: ezapi_client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.4.0
4
+ version: 0.5.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Ramon Tayag