mumukit-platform 2.3.0 → 2.3.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/platform/bridge.rb +1 -1
- data/lib/mumukit/platform/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: 5a8d8edda8789daddf9eef5e3aab3545729138ba9b0da6acbefd221919031749
|
4
|
+
data.tar.gz: 419a2eea431848f2048ff0ef37aa648b2cdb16e70a2c267daf8a64ff6c702236
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 5a3a2f813cd30fcd8176dceb95a9a0334a13ea4134f1e991cc05f41a98e97f8ac69f45f447aab00c99f6cbe7352948c72558b2e10e5fd04aae42d7107497806e
|
7
|
+
data.tar.gz: bd4f0b9f2548c567c961e9bbf763a9bcd2ec21d9a38157d8d45aad772ae8b31c99407dfe4f9a874cfda1304d26f566f537ef4cc39da3ca8068a5402dacd9d59b
|
@@ -50,7 +50,7 @@ class Mumukit::Bridge::Bibliotheca
|
|
50
50
|
def import_content!(resource_type, slug_regex = /.*/, &block)
|
51
51
|
send(resource_type.to_s.pluralize).each do |resource|
|
52
52
|
slug = resource['slug']
|
53
|
-
|
53
|
+
next unless slug_regex.matches? slug
|
54
54
|
|
55
55
|
puts "Importing #{resource_type} #{slug}"
|
56
56
|
begin
|