libis-tools 0.9.40 → 0.9.41

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
  SHA1:
3
- metadata.gz: a5148788cf3b8e6f14ab072a09ccaaec0d6698cd
4
- data.tar.gz: f69d737f7c8cbd7af69c949feffd7074acc4cb91
3
+ metadata.gz: f9dc7a8cd9d65582c0cf3de6ea1bad9d8fdd3b53
4
+ data.tar.gz: 8229aa496f6d9412e628c3a3d2b75f244ec3ba94
5
5
  SHA512:
6
- metadata.gz: d4d53232d21d1ea99ab69b6d0302e735787c61d09c977b986f46870baa5bf4c2aa7937e47f496cb9250bcf520f3343d025d50c4369b08caaab74dccdba174987
7
- data.tar.gz: 6ff44a80101faa634c66a12d54aaae86055218e96eca8a9b739a97aca1edd5d3bdd54f82f41228e8a5fb070352f9ae2c624c3170223c4f602056ca209f6e4cb5
6
+ metadata.gz: 247b7a642bac76968a5dad8ddd85b926878f6735bf44493c25b4e08a244c74a8435bc0f2d6c47b92732d48dc98489310707835bc4dfd92f153edd6c129d99983
7
+ data.tar.gz: 717da212d03e14cb52fe6fbf08c60f71f18e0adf0ba787dc670ce1f1fc69be06cb2b1a90255e9a73c5a6059833970cc02964bfd7e81037857c9c5f0f5d5e35c0
@@ -120,11 +120,10 @@ module Libis
120
120
  # @param [Object] args optional list of extra arguments
121
121
  # @!method(message(severity, msg, *args))
122
122
  def message(severity, msg, *args)
123
- message_text = (msg % args rescue ((msg + ' - %s') % args.to_s))
123
+ message_text = (msg % args rescue "#{msg}#{args.empty? ? '' : " - #{args}"}")
124
124
  self.logger.add(::Logging.level_num(severity), message_text)
125
125
  end
126
126
 
127
-
128
127
  end
129
128
 
130
129
  end
@@ -1,5 +1,5 @@
1
1
  module Libis
2
2
  module Tools
3
- VERSION = '0.9.40'
3
+ VERSION = '0.9.41'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: libis-tools
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.40
4
+ version: 0.9.41
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kris Dekeyser
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2016-07-04 00:00:00.000000000 Z
11
+ date: 2016-07-28 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: bundler
@@ -381,4 +381,3 @@ test_files:
381
381
  - test/test_helper.rb
382
382
  - test/webservices/test_ca_item_info.rb
383
383
  - test/webservices/test_ca_search.rb
384
- has_rdoc: yard