autoflow 0.8.6 → 0.8.7

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: 07568fac95957201a864c05b1b1c3ef0192eae30
4
- data.tar.gz: 0132cab640314f6e3146ef8f58f143aba1acecf9
3
+ metadata.gz: 5db665d92bc22dfdf35e0160f45af1510c89563f
4
+ data.tar.gz: b60d8c6b6f1e7891c5925e2d1abb8e02ce15724c
5
5
  SHA512:
6
- metadata.gz: 3a00422dc3a11f24d59b0669a4ad2f2e90a4b6594e2dc4eb6e74d005589bf20045a69fe7f18419344e59bf62240256d873503919e18a42b76489cbf579d01047
7
- data.tar.gz: 93ca17f7c9a8344f04e9a624f6165da4c11e346643e452ab99485bc977e620626d8cc18b55e89a8fcc5c16685b30bcfa0fe3efaec2ccb470cf6f091f24e25906
6
+ metadata.gz: 56247ffdc4228a3256fd259f9899af2c61921a6ef410ef09480591601c44f7b16daa3e0e89249f3e5d7e97285ce5a18bbff2036164345058ec7689aa00e355a8
7
+ data.tar.gz: 16e2f4b8255a2ec76213b001a50257a489d14eed148712a31d75b2c170debe82ef9a0f4138fe46e01eaf6c6983f3d745bbe167e4536dc681d8226e64846d8c37
@@ -336,8 +336,10 @@ class Batch
336
336
  @dependencies << [name, '1to1', "!#{name}*!"]
337
337
  end
338
338
  if command.include?("!#{name}!") && !string_overlap(matched_regions, "!#{name}!", command)
339
- command =~ /!#{name}!([^ \n]+)/
340
- @dependencies << [name, '*to1', "!#{name}!", $1]
339
+ #command =~ /!#{name}!([^ \n]+)/
340
+ command.scan(/!#{name}!([^ \n]+)/).each do |string_match|
341
+ @dependencies << [name, '*to1', "!#{name}!", string_match.first]
342
+ end
341
343
  end
342
344
  local_dependencies = command.scan(/#{name}([^\( \n]+)\)/)
343
345
  local_dependencies.each do |local_dependency|
@@ -1,3 +1,3 @@
1
1
  module Autoflow
2
- VERSION = "0.8.6"
2
+ VERSION = "0.8.7"
3
3
  end
metadata CHANGED
@@ -1,14 +1,14 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: autoflow
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.8.6
4
+ version: 0.8.7
5
5
  platform: ruby
6
6
  authors:
7
7
  - Pedro Seoane
8
8
  autorequire:
9
9
  bindir: bin
10
10
  cert_chain: []
11
- date: 2017-11-30 00:00:00.000000000 Z
11
+ date: 2018-01-04 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: net-ssh