mumukit 2.13.0 → 2.13.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/mumukit/templates/with_mashup_file_content.rb +2 -2
- data/lib/mumukit/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: 86b62a563022783219954b33bea90e6edc6a4af6
|
4
|
+
data.tar.gz: ec34af27e0cbd60074835bac9bfd8e0fa77b070d
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2c14598973bb8c7ca0c861815d78598e749a784103671f20017943200e504683d0bd357811770f9d9968fd05f68223e80d2816289dbfbc5a335175c4900e8030
|
7
|
+
data.tar.gz: f6d4bbb8a8ccf36f0b18d42cda29243fec6a3459ced05482c0e1188eec4df555e9b76796cb0678a5cadcb4c00a788d95c13b265c50b3c23f1219548bf0875de9
|
@@ -1,14 +1,14 @@
|
|
1
1
|
module Mumukit
|
2
2
|
module Templates::WithMashupFileContent
|
3
3
|
def compile_file_content(request)
|
4
|
-
map_mashup_fields(mashup_fields.map { |field| request.public_send field }).join("\n")
|
4
|
+
map_mashup_fields(*mashup_fields.map { |field| request.public_send field }).join("\n")
|
5
5
|
end
|
6
6
|
|
7
7
|
def mashup_fields
|
8
8
|
raise 'must define mashup fields'
|
9
9
|
end
|
10
10
|
|
11
|
-
def map_mashup_fields(fields)
|
11
|
+
def map_mashup_fields(*fields)
|
12
12
|
fields
|
13
13
|
end
|
14
14
|
end
|
data/lib/mumukit/version.rb
CHANGED