libis-workflow 2.0.beta.24 → 2.0.beta.25

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: 0c82dac72c127c0156b94b1201238bccb31a4732
4
- data.tar.gz: fffbc7000e7142315c9aae2b68173937877b60ec
3
+ metadata.gz: 6ea4a050e42493e2962e8824acc6094e8b54187a
4
+ data.tar.gz: 5458a8c05c9de70f18b50e4d1c7052c2358b6f5b
5
5
  SHA512:
6
- metadata.gz: b7c0890903d1b836b9f60ed94c1bf6d23cf9d769be5a7af10b3a43b36e064a3b39a6b19b28c6d2a6d53d0a9f86679048334fd51d322325dea1a60963cb3be7da
7
- data.tar.gz: c8ec666d8bec3d1c7ce5396edf2736d16ded25997768d46c9a7b7def27d089372c911abec4f18398fae5841d0b4a4b722c81c6bbf0f3de1ca07b792af4b38626
6
+ metadata.gz: a549c0faf2812ca296aebfb95a561f2ddbdec431dd27f54e39c37d53794048a2f9878b1a1b8f3f97a9063a1a849e152b62f6478b4557e4b0fb199b5f06469dc3
7
+ data.tar.gz: cf52e3fa44c72cd31d4590cb4a4865058d955fe90c4e9119c14cefa0e32c6491b0770b5b39765efa134e4128d16e7c92e5d9631efb66f9df31ea4e31ffa4f773
@@ -124,7 +124,7 @@ module Libis
124
124
  task_name, param_name = target.split('#')
125
125
  param_name ||= key
126
126
  result[task_name] ||= {}
127
- result[task_name][param_name.to_sym] = value
127
+ result[task_name][param_name.to_s] = value
128
128
  end
129
129
  end
130
130
  result
@@ -106,15 +106,14 @@ module Libis
106
106
  o = {}
107
107
  o.merge!(opts[self.class.to_s] || {})
108
108
  o.merge!(opts[self.name] || opts[self.names.join('/')] || {})
109
- o.key_strings_to_symbols! recursive: true
110
109
 
111
110
  if o and o.is_a? Hash
112
111
  default_values.each do |name, _|
113
- next unless o.key?(name)
114
- next if o[name].nil?
115
- paramdef = get_parameter_definition name
116
- value = paramdef.parse(o[name])
117
- self.parameter(name, value)
112
+ next unless o.key?(name.to_s)
113
+ next if o[name.to_s].nil?
114
+ paramdef = get_parameter_definition name.to_sym
115
+ value = paramdef.parse(o[name.to_s])
116
+ self.parameter(name.to_sym, value)
118
117
  end
119
118
  end
120
119
 
@@ -2,6 +2,6 @@
2
2
 
3
3
  module Libis
4
4
  module Workflow
5
- VERSION = '2.0.beta.24' unless const_defined? :VERSION # the guard is against a redefinition warning that happens on Travis
5
+ VERSION = '2.0.beta.25' unless const_defined? :VERSION # the guard is against a redefinition warning that happens on Travis
6
6
  end
7
7
  end
@@ -62,7 +62,7 @@ describe 'TestWorkflow' do
62
62
  # noinspection RubyResolve
63
63
  it 'should camelize the workitem name' do
64
64
  run = job.execute
65
- expect(run.options['CollectFiles'][:location]).to eq dirname
65
+ expect(run.options['CollectFiles']['location']).to eq dirname
66
66
  expect(run.size).to eq 1
67
67
  expect(run.items.size).to eq 1
68
68
  expect(run.items.first.class).to eq TestDirItem
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: libis-workflow
3
3
  version: !ruby/object:Gem::Version
4
- version: 2.0.beta.24
4
+ version: 2.0.beta.25
5
5
  platform: ruby
6
6
  authors:
7
7
  - Kris Dekeyser