doing 1.0.38 → 1.0.39
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 +4 -4
- data/lib/doing/version.rb +1 -1
- data/lib/doing/wwid.rb +8 -4
- metadata +1 -1
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 62aab464d54aaaa9afbe992bc0e7d466d79ee24b9bdc5127ae8b45cfb4895795
|
|
4
|
+
data.tar.gz: '048bc4ec14d0df9c0c44940b9bd0cfc25c8167ea78db3e64526f8fdbad119588'
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 5500256aa08f6a75a83118a6c4521453f1900a67d69bc57d31a753c4f064c5d9597675152508f5770eb2fbe036b11c7bbe506376cc1da48c6b9919169cb2c849
|
|
7
|
+
data.tar.gz: 51607b30fd337af37e21bea90d5b5e91c3fdf6d15c4909fce3f35836337d5f791504644afb5d9505e376bbd53e7b5e0ae386da2695d877bb3fac455c3cf9778b
|
data/lib/doing/version.rb
CHANGED
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
|
-
|
|
1717
|
-
|
|
1718
|
-
|
|
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
|