mumukit 2.5.0 → 2.6.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/mumukit/runtime/symbol.rb +2 -2
- data/lib/mumukit/version.rb +1 -1
- data/lib/mumukit.rb +2 -9
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a6d0b647d318cdc6cc5072e736638106eefc9dcd
|
4
|
+
data.tar.gz: 25a632bffaa00647f377301fba3885afb513ae45
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3f24e318953114610768cf28ebad44a95a614fbf90fb09cb6366d0e6724e7d2cd1f7a95dffc20cb1d2df40b2218f0b4ad3a487b88905e08ed75f1681cdbc1013
|
7
|
+
data.tar.gz: 4c7e254ba9a1eed3925a8eba6e45561226e38545036ac0b8869ea379a42616a8e1b89633a81ecc9ab7d30cbacf77ee89fa7eea451e05923d642d97e74d25ae79
|
@@ -8,10 +8,10 @@ class Symbol
|
|
8
8
|
end
|
9
9
|
|
10
10
|
def to_mumukit_hook_class
|
11
|
-
|
11
|
+
to_mumukit_hook_class_name.constantize
|
12
12
|
end
|
13
13
|
|
14
14
|
def to_default_mumukit_hook_class
|
15
|
-
|
15
|
+
"Mumukit::Defaults::#{to_simple_mumukit_hook_class_name}".constantize
|
16
16
|
end
|
17
17
|
end
|
data/lib/mumukit/version.rb
CHANGED
data/lib/mumukit.rb
CHANGED
@@ -1,15 +1,8 @@
|
|
1
|
-
require 'i18n'
|
2
|
-
require 'i18n/backend/fallbacks'
|
3
1
|
require 'mumukit/core'
|
4
2
|
require 'mumukit/directives'
|
5
3
|
require 'ostruct'
|
6
4
|
|
7
|
-
|
8
|
-
|
9
|
-
I18n::Backend::Simple.send(:include, I18n::Backend::Fallbacks)
|
10
|
-
I18n.load_path += Dir[File.join(pwd, 'locales', '*.yml')]
|
11
|
-
|
12
|
-
I18n.backend.load_translations
|
5
|
+
I18n.load_translations_path File.join(__dir__, 'locales', '*.yml')
|
13
6
|
|
14
7
|
module Mumukit
|
15
8
|
def self.current_runner=(runner)
|
@@ -41,7 +34,7 @@ end
|
|
41
34
|
require_relative 'mumukit/runner'
|
42
35
|
|
43
36
|
Mumukit.configure_defaults do |config|
|
44
|
-
config.limit_script = File.join(
|
37
|
+
config.limit_script = File.join(__dir__, '..', 'bin', 'limit')
|
45
38
|
config.content_type = :plain
|
46
39
|
config.comment_type = Mumukit::Directives::CommentType::Cpp
|
47
40
|
config.preprocessor_enabled = true
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: mumukit
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 2.
|
4
|
+
version: 2.6.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Franco Leonardo Bulgarelli
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2016-
|
11
|
+
date: 2016-09-27 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: bundler
|
@@ -156,14 +156,14 @@ dependencies:
|
|
156
156
|
requirements:
|
157
157
|
- - "~>"
|
158
158
|
- !ruby/object:Gem::Version
|
159
|
-
version: '0.
|
159
|
+
version: '0.2'
|
160
160
|
type: :runtime
|
161
161
|
prerelease: false
|
162
162
|
version_requirements: !ruby/object:Gem::Requirement
|
163
163
|
requirements:
|
164
164
|
- - "~>"
|
165
165
|
- !ruby/object:Gem::Version
|
166
|
-
version: '0.
|
166
|
+
version: '0.2'
|
167
167
|
- !ruby/object:Gem::Dependency
|
168
168
|
name: mumukit-directives
|
169
169
|
requirement: !ruby/object:Gem::Requirement
|