mumukit-platform 3.0.0 → 3.0.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.rb +2 -9
- data/lib/mumukit/platform/version.rb +1 -1
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cfda8a168fcfc14c9f7e6c60fa42f35defcd507fe020a72f9eb5a5583e9d26b8
|
4
|
+
data.tar.gz: 87c8e8302b547452110df47a3144e265b5becc82d06b6737f0669b9b815ba573
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 9ec3c0060e253b621049c2830c9ccf963fdfe372067c0d2496edccc9cfc2bca7addcedf73a9d1544f007a81f2a63ba82a8e007745d3473d25e651a266fa315ca
|
7
|
+
data.tar.gz: 686da66f567dbf5b95ef2da562a8e22c8010e524ba105e66d361cdb95329b7a0363f9b9ff349d599bf4642f06e6a82aad6e35649dc5e21f5449063051c7bce89
|
data/lib/mumukit/platform.rb
CHANGED
@@ -7,12 +7,9 @@ require_relative './platform/version'
|
|
7
7
|
require_relative './platform/uri'
|
8
8
|
|
9
9
|
module Mumukit::Platform
|
10
|
-
|
10
|
+
extend Mumukit::Core::Configurable
|
11
11
|
|
12
|
-
|
13
|
-
@config ||= defaults
|
14
|
-
yield @config
|
15
|
-
end
|
12
|
+
CORE_MODELS = [:organization, :user, :course]
|
16
13
|
|
17
14
|
def self.defaults
|
18
15
|
struct.tap do |config|
|
@@ -28,10 +25,6 @@ module Mumukit::Platform
|
|
28
25
|
end
|
29
26
|
end
|
30
27
|
|
31
|
-
def self.config
|
32
|
-
@config
|
33
|
-
end
|
34
|
-
|
35
28
|
CORE_MODELS.each do |klass|
|
36
29
|
define_singleton_method("#{klass}_class") do
|
37
30
|
begin
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mumukit-platform
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.1
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Franco Leonardo Bulgarelli
|
8
8
|
autorequire:
|
9
9
|
bindir: exe
|
10
10
|
cert_chain: []
|
11
|
-
date: 2018-11-
|
11
|
+
date: 2018-11-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: mumukit-nuntius
|