Sha256: cc1d386be882e9d0bc874cb609c8523e83897f379bb50fbc6aa9da9ecad02e16
Contents?: true
Size: 893 Bytes
Versions: 93
Compression:
Stored size: 893 Bytes
Contents
require 'mumukit/bridge' module Mumuki::Domain::Seed # Those are organizations that provide content # that was actually curated by the Mumuki Project and # as such must be supported by each platform release MAIN_CONTENT_ORGANIZATIONS = %w( mumuki mumukiproject sagrado-corazon-alcal pdep-utn smartedu-mumuki 10pines-mumuki arquitecturas-concurrentes flbulgarelli ) def self.contents_syncer Mumukit::Sync::Syncer.new(Mumuki::Domain::Store::Bibliotheca.new(Mumukit::Platform.bibliotheca_bridge)) end def self.languages_syncer Mumukit::Sync::Syncer.new(Mumuki::Domain::Store::Thesaurus.new(Mumukit::Platform.thesaurus_bridge)) end def self.import_main_contents! self.contents_syncer.import_all! /^#{MAIN_CONTENT_ORGANIZATIONS.join('|')}\/.*$/i end def self.import_languages! self.languages_syncer.import_all! end end
Version data entries
93 entries across 93 versions & 2 rubygems