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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 853fae28b48ce579ade6a922bb4198169c88e156fe9bde5a789b42a57073630c
4
- data.tar.gz: fd6666c02bb0277079692af6112c13e6b073c452cd1b2cc77c8f509ba2031fd5
3
+ metadata.gz: c95437386cdf36dcf04a7b5fa502bb092edc330cfbe5288528f8a827a90ea493
4
+ data.tar.gz: 59bd3943a61ea2e74d37b3297acd8814ca2fd9b7cd3babc4475c175347f3b7e8
5
5
  SHA512:
6
- metadata.gz: 52b355fa6f04a5cb23a702875dd7c609304ab9728ee515a9fb0618db272a72cd6046b9d5a86b5981877424faa23c185e1b4c0f9b8ce5737cdadd5909f2a9f932
7
- data.tar.gz: 7451f0ef91f72265744d3e424fa27659a50287eccc0bcacf0aeb102bdaff39a9ffe3704ed338a0bfb16160808cb43e5f9cd653ad52e966c4211c5b47695c1a6b
6
+ metadata.gz: 7ef0285d4dae7fdea527d779df01ec74c32076c53dde1e50b62a6c920ad0bad7c0fd07324adc5c79b67c8cf8e5349a5376cc07719b5004d5be8190add8fb54a0
7
+ data.tar.gz: 39be58c8bf59ddec20066493371045c940beaf0dac30dc3bfd5c5716ffd6100b24a30d37f6ac88671624c8c320830ad6ee5487e88a5d9d9c11bb2a36a37577d2
@@ -1,7 +1,7 @@
1
1
  PATH
2
2
  remote: .
3
3
  specs:
4
- globs (0.0.3)
4
+ globs (0.0.4)
5
5
 
6
6
  GEM
7
7
  remote: https://rubygems.org/
@@ -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
- resulting_expressions.map { |exp| res + exp }
90
+ expressions.map { |exp| "#{res}#{non_glob_str}#{exp}" }
93
91
  }
94
92
  end
95
93
 
@@ -1,3 +1,3 @@
1
1
  module Globs
2
- VERSION = "0.0.3"
2
+ VERSION = "0.0.4"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: globs
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.0.3
4
+ version: 0.0.4
5
5
  platform: ruby
6
6
  authors:
7
7
  - Brandon Weaver