libis-tools 0.9.13 → 0.9.14

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: 22d6fc69dcf878e87ea28eb0fbfd5965b7d2f15b
4
- data.tar.gz: 48b5bf0cfdbe91755bb535132ad0efe76b29a116
3
+ metadata.gz: 512c7276e67c6ac0bd94efa21580539c5a64aa28
4
+ data.tar.gz: c9b2f0513b64dc7108d39734774e222da6abf0da
5
5
  SHA512:
6
- metadata.gz: 2d90037281c4f2972f18bd44126efac4a1de466a4ea248f5f4e43aed724773f4badee3b66192620171f664ca65cf16fd91d3b6541974b8a152bf02192aef1236
7
- data.tar.gz: fc29123e0c225e5b0755e32948c44f3a080d1697718b9a6ba2cf7e648fac341f134e5905280eb3d1d73fe8413c138cf09d17bc21000a9fe7d575adae9539b4a3
6
+ metadata.gz: 757f0538365ddff2a5d0e76d13ba68d306fcf99f52c1322069cc2dc8d60b3a3943ef11866823dc3a2ed299023b0e95012b059d06c05993362ebead8355f1501c
7
+ data.tar.gz: 445171e74e24c53351d31ac4a590d2c709b9a0f4eee6a6e5884294ae6e41a7de89162c5751ed9eeae4a466c39258e200153d31e5e4570f3354342ecf9045f29e
@@ -17,7 +17,7 @@ module Libis
17
17
  # noinspection RubySuperCallWithoutSuperclassInspection
18
18
  super(*args)
19
19
  self[:options] ||= {}
20
- self[:datatype] ||= guess_datatype if args[1]
20
+ self[:datatype] ||= guess_datatype
21
21
  end
22
22
 
23
23
  def dup
@@ -99,8 +99,8 @@ module Libis
99
99
  raise ParameterValidationError, "No boolean information in '#{v.to_s}'. " +
100
100
  "Valid values are: '#{TRUE_BOOL.join('\', \'')}" +
101
101
  "' and '#{FALSE_BOOL.join('\', \'')}'."
102
- when 'string'
103
- return v.to_s.gsub('%s', Time.now.strftime('%Y%m%d%H%M%S'))
102
+ when 'string', nil
103
+ return v.to_s
104
104
  when 'int'
105
105
  return Integer(v)
106
106
  when 'float'
@@ -1,5 +1,5 @@
1
1
  module Libis
2
2
  module Tools
3
- VERSION = '0.9.13'
3
+ VERSION = '0.9.14'
4
4
  end
5
5
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: libis-tools
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.9.13
4
+ version: 0.9.14
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kris Dekeyser