doing 1.0.38 → 1.0.39

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
  SHA256:
3
- metadata.gz: 9638a33587192a9a5146ace1e3d8e6937efb34922b7b93c71ba088880f136ed4
4
- data.tar.gz: 07bc825013ac19e6b4a1b4ef3103ac0f04ce186575ec65c724e55664b74087d6
3
+ metadata.gz: 62aab464d54aaaa9afbe992bc0e7d466d79ee24b9bdc5127ae8b45cfb4895795
4
+ data.tar.gz: '048bc4ec14d0df9c0c44940b9bd0cfc25c8167ea78db3e64526f8fdbad119588'
5
5
  SHA512:
6
- metadata.gz: '087fa6df46f96bb25ddb7904505e10669a5bb28104e0652b890a497067ed8255ec2d6ce9e3e54018372efdf86b7272bd4a81c09b1a93b99e8f90e09ed86af381'
7
- data.tar.gz: e395fd115d20f77cd522d086fa19b1bde92a51ea7785cf3f8b16ae39004f490ebc918be798d70e3ce133effcc15948c774493ddf84e541fd0b3a3e83271e0d90
6
+ metadata.gz: 5500256aa08f6a75a83118a6c4521453f1900a67d69bc57d31a753c4f064c5d9597675152508f5770eb2fbe036b11c7bbe506376cc1da48c6b9919169cb2c849
7
+ data.tar.gz: 51607b30fd337af37e21bea90d5b5e91c3fdf6d15c4909fce3f35836337d5f791504644afb5d9505e376bbd53e7b5e0ae386da2695d877bb3fac455c3cf9778b
data/lib/doing/version.rb CHANGED
@@ -1,3 +1,3 @@
1
1
  module Doing
2
- VERSION = '1.0.38'
2
+ VERSION = '1.0.39'
3
3
  end
data/lib/doing/wwid.rb CHANGED
@@ -1711,11 +1711,15 @@ EOS
1711
1711
  regex = Regexp.new('@' + rx + '\b')
1712
1712
 
1713
1713
  matches = text.scan(regex)
1714
-
1715
1714
  matches.each {|m|
1716
- puts rx,r
1717
- new_tag = m[0].sub(Regexp.new(rx), r)
1718
- puts new_tag
1715
+ new_tag = r
1716
+ if m.kind_of?(Array)
1717
+ index = 1
1718
+ m.each {|v|
1719
+ new_tag = new_tag.sub('\\' + index.to_s, v)
1720
+ index = index + 1
1721
+ }
1722
+ end
1719
1723
  tail_tags.push(new_tag)
1720
1724
  } if matches
1721
1725
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: doing
3
3
  version: !ruby/object:Gem::Version
4
- version: 1.0.38
4
+ version: 1.0.39
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brett Terpstra