globs 0.0.3 → 0.0.4
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/Gemfile.lock +1 -1
- data/lib/globs.rb +1 -3
- data/lib/globs/version.rb +1 -1
- 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: c95437386cdf36dcf04a7b5fa502bb092edc330cfbe5288528f8a827a90ea493
|
4
|
+
data.tar.gz: 59bd3943a61ea2e74d37b3297acd8814ca2fd9b7cd3babc4475c175347f3b7e8
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 7ef0285d4dae7fdea527d779df01ec74c32076c53dde1e50b62a6c920ad0bad7c0fd07324adc5c79b67c8cf8e5349a5376cc07719b5004d5be8190add8fb54a0
|
7
|
+
data.tar.gz: 39be58c8bf59ddec20066493371045c940beaf0dac30dc3bfd5c5716ffd6100b24a30d37f6ac88671624c8c320830ad6ee5487e88a5d9d9c11bb2a36a37577d2
|
data/Gemfile.lock
CHANGED
data/lib/globs.rb
CHANGED
@@ -86,10 +86,8 @@ module Globs
|
|
86
86
|
expressions = interpret_expression(string[start..finish])
|
87
87
|
end
|
88
88
|
|
89
|
-
resulting_expressions = expressions.map { |exp| non_glob_str + exp }
|
90
|
-
|
91
89
|
results = results.flat_map { |res|
|
92
|
-
|
90
|
+
expressions.map { |exp| "#{res}#{non_glob_str}#{exp}" }
|
93
91
|
}
|
94
92
|
end
|
95
93
|
|
data/lib/globs/version.rb
CHANGED