ruboty-wandbox 0.0.1.1 → 0.0.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/ruboty/handlers/wandbox.rb +3 -1
- data/lib/ruboty/wandbox/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 0b5f9d8740976714b9084dd7d3ae314007e7edd4
|
4
|
+
data.tar.gz: 24dca3648c9c58d2dbc33c9c6a111e9ea82710b1
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 1b358aa1b57d5fafc230846b818160310762bf53db2ddfa6067f6be6cbff987202ecda8083829b5e936e9499b357238b162fc154a9652ef9a82e08569114c0a2
|
7
|
+
data.tar.gz: 50c78b60a2994ad41fe86b1e3a2fb644820a5c612c2a95b8d46a8911f25a5c40f6d82ef643f81c1036b1c847513dcb87de9b54148cd1b38e2540793738d62022
|
@@ -21,7 +21,9 @@ module Ruboty
|
|
21
21
|
@compiler_list ||= lambda{
|
22
22
|
lst=JSON.parse Net::HTTP.get URI.parse @base_uri+'api/list.json'
|
23
23
|
Hash[*lst.flat_map{|e|
|
24
|
-
[e['name'],e['switches'].flat_map{|f|
|
24
|
+
[e['name'],e['switches'].flat_map{|f|
|
25
|
+
f['options'] ? f['options'].map{|g|g['name']} : [f['name']]
|
26
|
+
}]
|
25
27
|
}]
|
26
28
|
}.call
|
27
29
|
end
|