Sha256: 8698224cefb2574e06373e71fb74e41db2ca1570feb8a32fa40fcefaad4c0a60

Contents?: true

Size: 1.72 KB

Versions: 41

Compression:

Stored size: 1.72 KB

Contents

require "mumuki/domain/engine"

require 'mumukit/core'
require 'mumukit/core/activemodel'
require 'mumukit/assistant'
require 'mumukit/auth'
require 'mumukit/bridge'
require 'mumukit/content_type'
require 'mumukit/directives'
require 'mumukit/platform'
require 'mumukit/randomizer'
require 'mumukit/sync'
require 'mumukit/login'
require 'mumukit/inspection'

I18n.load_translations_path File.join(__dir__, 'domain', 'locales', '**', '*.yml')

module Mumuki
  module Domain
  end
end

Mumukit::Platform.configure do |config|
  config.user_class_name = 'User'
  config.organization_class_name = 'Organization'
end

require_relative './domain/area'
require_relative './domain/incognito'
require_relative './domain/evaluation'
require_relative './domain/submission'
require_relative './domain/status'
require_relative './domain/exceptions'
require_relative './domain/file'
require_relative './domain/extensions'
require_relative './domain/organization'
require_relative './domain/workspace'
require_relative './domain/helpers'
require_relative './domain/syncable'
require_relative './domain/store'
require_relative './domain/progress_transfer'

class Mumukit::Assistant
  def self.valid?(rules)
    !!parse(rules.map(&:deep_symbolize_keys)) rescue false
  end
end

class Mumukit::Randomizer
  def self.valid?(randomizations)
    !!parse(randomizations) rescue false
  end
end

Mumukit::Sync::Store::Github.configure do |config|
  config.guide_schema = Mumuki::Domain::Store::Github::GuideSchema
  config.exercise_schema = Mumuki::Domain::Store::Github::ExerciseSchema
end

Mulang::Inspection.register_extension! Mumukit::Inspection::Css
Mulang::Inspection.register_extension! Mumukit::Inspection::Html
Mulang::Inspection.register_extension! Mumukit::Inspection::Source

Version data entries

41 entries across 41 versions & 1 rubygems

Version Path
mumuki-domain-9.22.1 lib/mumuki/domain.rb
mumuki-domain-9.22.0 lib/mumuki/domain.rb
mumuki-domain-9.21.0 lib/mumuki/domain.rb
mumuki-domain-9.20.0 lib/mumuki/domain.rb
mumuki-domain-9.19.0 lib/mumuki/domain.rb
mumuki-domain-9.18.0 lib/mumuki/domain.rb
mumuki-domain-9.17.0 lib/mumuki/domain.rb
mumuki-domain-9.16.0 lib/mumuki/domain.rb
mumuki-domain-9.15.0 lib/mumuki/domain.rb
mumuki-domain-9.14.1 lib/mumuki/domain.rb
mumuki-domain-9.14.0 lib/mumuki/domain.rb
mumuki-domain-9.13.1 lib/mumuki/domain.rb
mumuki-domain-9.13.0 lib/mumuki/domain.rb
mumuki-domain-9.12.0 lib/mumuki/domain.rb
mumuki-domain-9.11.0 lib/mumuki/domain.rb
mumuki-domain-9.10.0 lib/mumuki/domain.rb
mumuki-domain-9.9.0 lib/mumuki/domain.rb
mumuki-domain-9.8.1 lib/mumuki/domain.rb
mumuki-domain-9.8.0 lib/mumuki/domain.rb
mumuki-domain-9.7.0 lib/mumuki/domain.rb