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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: d0bcd9af2725a5e0ad248a2315cead3ca98b37e9a055a575c589a9993a1d911d
4
- data.tar.gz: 63d88b251ede6678845e78ae3b0893959bba9d142ad52388312f8fcdac30fe0f
3
+ metadata.gz: cfda8a168fcfc14c9f7e6c60fa42f35defcd507fe020a72f9eb5a5583e9d26b8
4
+ data.tar.gz: 87c8e8302b547452110df47a3144e265b5becc82d06b6737f0669b9b815ba573
5
5
  SHA512:
6
- metadata.gz: dec4847ca7a0ce8fd9333e69e9edafa3b56aedcb102555fef9bc2bcda0c798ee5813ed093f368de869a141639ad13906166c12f0477148f680f1e7124e594f51
7
- data.tar.gz: ef717a1fcf9cdc805f7ea10e5b8216df34b4f8dbd152b9f578026a30979c6fb8da22965bf1758302f58fbc5008639fcc019e76e160839ce2641920652a613467
6
+ metadata.gz: 9ec3c0060e253b621049c2830c9ccf963fdfe372067c0d2496edccc9cfc2bca7addcedf73a9d1544f007a81f2a63ba82a8e007745d3473d25e651a266fa315ca
7
+ data.tar.gz: 686da66f567dbf5b95ef2da562a8e22c8010e524ba105e66d361cdb95329b7a0363f9b9ff349d599bf4642f06e6a82aad6e35649dc5e21f5449063051c7bce89
@@ -7,12 +7,9 @@ require_relative './platform/version'
7
7
  require_relative './platform/uri'
8
8
 
9
9
  module Mumukit::Platform
10
- CORE_MODELS = [:organization, :user, :course]
10
+ extend Mumukit::Core::Configurable
11
11
 
12
- def self.configure
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
@@ -1,5 +1,5 @@
1
1
  module Mumukit
2
2
  module Platform
3
- VERSION = '3.0.0'
3
+ VERSION = '3.0.1'
4
4
  end
5
5
  end
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.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-05 00:00:00.000000000 Z
11
+ date: 2018-11-15 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: mumukit-nuntius